]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Add build-many-glibcs.py powerpc-linux-gnu-power4 build.
[thirdparty/glibc.git] / ChangeLog
1 2017-01-02 Joseph Myers <joseph@codesourcery.com>
2
3 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
4 power4 glibc for powerpc-linux-gnu.
5
6 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7
8 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
9 semctl.
10
11 2017-01-02 Joseph Myers <joseph@codesourcery.com>
12
13 * math/test-nearbyint-except.c: Include <stdbool.h>.
14 (any_supported): New variable.
15 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
16 set any_supported.
17 (do_test): Return 77 if no floating-point type supported
18 exceptions.
19
20 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
21 condition on [__mips_hard_float].
22
23 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24
25 [BZ #21014]
26 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
27 in pointer addition.
28 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
29
30 2017-01-02 Torvald Riegel <triegel@redhat.com>
31
32 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
33 new condvar.
34
35 2017-01-02 Joseph Myers <joseph@codesourcery.com>
36
37 * scripts/build-many-glibcs.py (Context.checkout): Default
38 binutils version to 2.28 branch.
39
40 2017-01-01 Florian Weimer <fweimer@redhat.com>
41
42 * support/support_format_netent.c (support_format_netent): Work
43 around alpha struct netent definition difference.
44
45 2017-01-01 Florian Weimer <fweimer@redhat.com>
46
47 * support/xwrite.c (xwrite): Use %td for pointer difference.
48
49 2017-01-01 Florian Weimer <fweimer@redhat.com>
50
51 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
52 have-tunables only.
53 (tests-static): Add tst-malloc-usable-static-tunables for
54 have-tunables only.
55
56 2017-01-01 Joseph Myers <joseph@codesourcery.com>
57
58 * scripts/config.guess: Update to version 2017-01-01.
59 * scripts/config.sub: Update to version 2017-01-01.
60
61 * NEWS: Update copyright dates.
62 * catgets/gencat.c (print_version): Likewise.
63 * csu/version.c (banner): Likewise.
64 * debug/catchsegv.sh: Likewise.
65 * debug/pcprofiledump.c (print_version): Likewise.
66 * debug/xtrace.sh (do_version): Likewise.
67 * elf/ldconfig.c (print_version): Likewise.
68 * elf/ldd.bash.in: Likewise.
69 * elf/pldd.c (print_version): Likewise.
70 * elf/sotruss.sh: Likewise.
71 * elf/sprof.c (print_version): Likewise.
72 * iconv/iconv_prog.c (print_version): Likewise.
73 * iconv/iconvconfig.c (print_version): Likewise.
74 * locale/programs/locale.c (print_version): Likewise.
75 * locale/programs/localedef.c (print_version): Likewise.
76 * login/programs/pt_chown.c (print_version): Likewise.
77 * malloc/memusage.sh (do_version): Likewise.
78 * malloc/memusagestat.c (print_version): Likewise.
79 * malloc/mtrace.pl: Likewise.
80 * manual/libc.texinfo: Likewise.
81 * nptl/version.c (banner): Likewise.
82 * nscd/nscd.c (print_version): Likewise.
83 * nss/getent.c (print_version): Likewise.
84 * nss/makedb.c (print_version): Likewise.
85 * posix/getconf.c (main): Likewise.
86 * scripts/test-installation.pl: Likewise.
87 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
88
89 * All files with FSF copyright notices: Update copyright dates
90 using scripts/update-copyrights.
91 * intl/plural.c: Regenerated.
92 * locale/programs/charmap-kw.h: Likewise.
93 * locale/programs/locfile-kw.h: Likewise.
94
95 2016-12-31 Florian Weimer <fweimer@redhat.com>
96
97 [BZ #20593]
98 Update DNS RR type definitions.
99 * scripts/gen-rrtypes.py: New file.
100 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
101 BIND-internal RR type not used on the Internet. Add ns_t_ds,
102 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
103 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
104 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
105 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
106 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
107 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
108 ns_t_ta, ns_t_dlv.
109 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
110 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
111 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
112 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
113 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
114 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
115 Define.
116 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
117 entry for ns_t_zxfr.
118
119 2016-12-31 Florian Weimer <fweimer@redhat.com>
120
121 [BZ #18784]
122 CVE-2015-5180
123 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
124 T_UNSPEC. Adjust value.
125 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
126 * resolv/res_query.c (__libc_res_nquery): Likewise.
127 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
128 QTYPEs.
129 * resolv/tst-resolv-qtypes.c: New file.
130 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
131 (tst-resolv-qtypes): Link against libresolv and libpthread.
132
133 2016-12-31 Florian Weimer <fweimer@redhat.com>
134
135 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
136
137 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
138
139 * manual/tunables.texi: New chapter.
140 * manual/Makefile (chapters): Add it.
141 * manual/probes.texi (@node): Point to the Tunables chapter.
142
143 * Makeconfig (have-tunables): Check for non-negative instead
144 of positive.
145 * configure.ac: Add 'valstring' as a valid value for
146 --enable-tunables.
147 * configure: Regenerate.
148 * elf/Makefile (have-tunables): Check for non-negative instead
149 of positive.
150 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
151 dl-tunables.c.
152 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
153 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
154 (tunables_strdup): Likewise.
155 (disable_tunables): Likewise.
156 (parse_tunables): Likewise.
157 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
158 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
159 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
160 (TUNABLES_FRONTEND_yes): New macro, define as
161 TUNABLES_FRONTEND_valstring by default.
162 * manual/install.texi: Document new acceptable values for
163 --enable-tunables.
164 * INSTALL: Regenerate.
165
166 * config.make.in (have-loop-to-function): Define.
167 * elf/Makefile (CFLAGS-dl-tunables.c): Add
168 -fno-tree-loop-distribute-patterns.
169 * elf/dl-tunables.c: Include libc-internals.h.
170 (GLIBC_TUNABLES): New macro.
171 (tunables_strdup): New function.
172 (parse_tunables): New function.
173 (min_strlen): New function.
174 (__tunables_init): Use the new functions and macro.
175 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
176 * malloc/tst-malloc-usable-tunables.c: New test case.
177 * malloc/tst-malloc-usable-static-tunables.c: New test case.
178 * malloc/Makefile (tests, tests-static): Add tests.
179
180 * manual/install.texi: Add --enable-tunables option.
181 * INSTALL: Regenerate.
182 * README.tunables: New file.
183 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
184 (before-compile): Generate dl-tunable-list.h early.
185 * config.h.in: Add HAVE_TUNABLES.
186 * config.make.in: Add have-tunables.
187 * configure.ac: Add --enable-tunables option.
188 * configure: Regenerate.
189 * csu/init-first.c (__libc_init_first): Move
190 __libc_init_secure earlier...
191 * csu/init-first.c (LIBC_START_MAIN):... to here.
192 Include dl-tunables.h, libc-internal.h.
193 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
194 binaries.
195 * elf/Makefile (dl-routines): Add dl-tunables.
196 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
197 namespace.
198 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
199 only when !HAVE_TUNABLES.
200 * elf/rtld.c (process_envvars): Likewise.
201 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
202 (_dl_sysdep_start): Call __tunables_init.
203 * elf/dl-tunable-types.h: New file.
204 * elf/dl-tunables.c: New file.
205 * elf/dl-tunables.h: New file.
206 * elf/dl-tunables.list: New file.
207 * malloc/tst-malloc-usable-static.c: New test case.
208 * malloc/Makefile (tests-static): Add it.
209 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
210 Define TUNABLE_NAMESPACE.
211 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
212 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
213 callback functions.
214 (ptmalloc_init): Set tunable values.
215 * scripts/gen-tunables.awk: New file.
216 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
217 (_dl_sysdep_start): Call __tunables_init.
218
219 2016-12-31 Florian Weimer <fweimer@redhat.com>
220
221 * resolv/resolv.h (RES_BLAST): Deprecate.
222 * resolv/res_debug.c (p_option): Remove RES_BLAST.
223 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
224 to RES_BLAST.
225
226 2016-12-27 Florian Weimer <fweimer@redhat.com>
227
228 [BZ #19582]
229 Deprecate RES_USE_INET6.
230 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
231 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
232 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
233 RES_USE_INET6.
234 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
235 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
236 (_nss_nisplus_gethostbyaddr_r): Likewise.
237 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
238 of res_use_inet6.
239 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
240 instead of RES_USE_INET6.
241 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
242 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
243 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
244 Likewise.
245 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
246 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
247 Likewise.
248 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
249 (_nss_dns_gethostbyname_r): Likewise.
250 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
251 alternate RES_USE_INET6 handling.
252 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
253 instead of RES_USE_INET6.
254 * resolv/res_init.c (res_setoptions): Likewise.
255 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
256 * resolv/resolv-internal.h: New file.
257 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
258 make the deprecation warning non-fatal.
259 * resolv/README (Using the resolver in multi-threaded code): Drop
260 reference to RES_USE_INET6.
261 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
262 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
263
264 2016-12-31 Florian Weimer <fweimer@redhat.com>
265
266 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
267 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
268 tst-resolv-search.
269 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
270 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
271 with libresolv and libpthread.
272 * resolv/tst-bug18665.c: New file.
273 * resolv/tst-bug18665-tcp: Likewise.
274 * resolv/tst-res_use_inet6: Likewise.
275 * resolv/tst-resolv-basic: Likewise.
276 * resolv/tst-resolv-network: Likewise.
277 * resolv/tst-resolv-search: Likewise.
278 * support/Makefile (libsupport-routines): Add check_addrinfo,
279 check_dns_packet, check_hostent, check_netent, resolv_test,
280 support_format_address_family, support_format_addrinfo,
281 support_format_dns_packet, support_format_herrno,
282 support_format_hostent, support_format_netent, support_run_diff,
283 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
284 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
285 xstrdup, xwrite.
286 * support/check_addrinfo.c: New file.
287 * support/check_dns_packet.c: Likewise.
288 * support/check_hostent.c: Likewise.
289 * support/check_netent.c: Likewise.
290 * support/check_nss.h: Likewise.
291 * support/format_nss.h: Likewise.
292 * support/resolv_test.c: Likewise.
293 * support/resolv_test.h: Likewise.
294 * support/run_diff.h: Likewise.
295 * support/support_format_address_family.c: Likewise.
296 * support/support_format_addrinfo.c: Likewise.
297 * support/support_format_dns_packet.c: Likewise.
298 * support/support_format_herrno.c: Likewise.
299 * support/support_format_hostent.c: Likewise.
300 * support/support_format_netent.c: Likewise.
301 * support/support_run_diff.c: Likewise.
302 * support/xaccept.c: Likewise.
303 * support/xbind.c: Likewise.
304 * support/xconnect.c: Likewise.
305 * support/xfclose.c: Likewise.
306 * support/xfopen.c: Likewise.
307 * support/xgetsockname.c: Likewise.
308 * support/xlisten.c: Likewise.
309 * support/xmemstream.c: Likewise.
310 * support/xmemstream.h: Likewise.
311 * support/xpoll.c: Likewise.
312 * support/xpthread_once.c: Likewise.
313 * support/xrecvfrom.c: Likewise.
314 * support/xsendto.c: Likewise.
315 * support/xsetsockopt.c: Likewise.
316 * support/xstdio.h: Likewise.
317 * support/xstrdup.c: Likewise.
318 * support/support.h (xstrdup): Declare.
319 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
320 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
321 * support/xthread.h (xpthread_once): Likwise.
322 * support/xunistd.h (xwrite): Declare.
323
324 2016-12-31 Florian Weimer <fweimer@redhat.com>
325
326 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
327 (test_verbose): Declare.
328 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
329 * support/support_test_main.c (default_options): Likewise.
330 (usage, support_test_main): Handle 'v'.
331 (test_verbose): Define.
332 * support/tst-support_record_failure.c (do_test): Use
333 test_verbose.
334 * support/tst-support_record_failure-2.sh (different_status): Add
335 --verbose test.
336
337 2016-12-31 Florian Weimer <fweimer@redhat.com>
338
339 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
340 test failures are recorded.
341 * support/check.c (support_print_failure_impl): Call
342 support_record_failure.
343 (support_exit_failure_impl): Call support_record_failure if status
344 indicates failure.
345 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
346 * support/xasprintf.c (xasprintf): Likewise.
347 * support/xfork.c (xfork): Likewise.
348 * support/xpthread_check_return.c (xpthread_check_return):
349 Likewise.
350 * support/xsocket.c (xsocket): Likeweise.
351 * support/xwaitpid.c (xwaitpid): Likewise.
352 * support/support_record_failure.c (struct test_failures): Adjust
353 to coding style.
354 * support/support_test_verify_impl.c (support_test_verify_impl):
355 Adjust error messages.
356 * support/tst-support_record_failure-2.sh (different_status):
357 Adjust error messages.
358
359 2016-12-31 Florian Weimer <fweimer@redhat.com>
360
361 * support/namespace.h: New file.
362 * support/support_become_root.c: Likewise.
363 * support/support_enter_network_namespace.c: Likewise.
364 * support/tst-support-namespace.c: Likewise.
365 * support/xsocket.c: Likewise.
366 * support/xsocket.h: Likewise.
367 * support/Makefile (libsupport-routines): Add support_become_root,
368 support_enter_network_namespace, xsocket.
369 (tests): Add tst-support-namespace.
370
371 2016-12-31 Florian Weimer <fweimer@redhat.com>
372
373 [BZ #17252]
374 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
375 __USE_GNU.
376
377 2016-12-31 Torvald Riegel <triegel@redhat.com>
378
379 [BZ #13165]
380 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
381 use new algorithm.
382 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
383 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
384 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
385 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
386 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
387 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
388 __condvar_cleanup_waiting, __condvar_dec_grefs,
389 __pthread_cond_wait_common): New.
390 (__condvar_cleanup): Remove.
391 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
392 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
393 Likewise.
394 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
395 Likewise.
396 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
397 * nptl/tst-cond1.c: Add comment.
398 * nptl/tst-cond20.c (do_test): Adapt.
399 * nptl/tst-cond22.c (do_test): Likewise.
400 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
401 structure.
402 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
403 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
404 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
405 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
406 Likewise.
407 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
408 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
409 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
410 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
411 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
412 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
413 Likewise.
414 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
415 Likewise.
416 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
417 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
418 (COND_CLOCK_BITS): Adapt.
419 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
420 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
421 __PTHREAD_COND_SHARED_MASK): New.
422 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
423 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
424 * nptl/nptl_lock_constants.pysym: Adapt.
425 * nptl/test-cond-printers.py: Adapt.
426 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
427 cond_compat_check_and_clear): Adapt.
428 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
429 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
430 (__pthread_cond_timedwait): ... and move here.
431 * nptl/DESIGN-condvar.txt: Remove file.
432 * nptl/lowlevelcond.sym: Likewise.
433 * nptl/pthread_cond_timedwait.c: Likewise.
434 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
435 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
436 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
437 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
438 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
439 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
440 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
441 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
442 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
443 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
444 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
445 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
446 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
447 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
448 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
449 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
450
451 2016-12-31 Joseph Myers <joseph@codesourcery.com>
452
453 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
454 (fromfp): New declaration.
455 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
456 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
457 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
458 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
459 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
460 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
461 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
462 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
463 * math/math.h: Include <bits/types.h>.
464 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
465 constant and macro.
466 (FP_INT_DOWNWARD): Likewise.
467 (FP_INT_TOWARDZERO): Likewise.
468 (FP_INT_TONEARESTFROMZERO): Likewise.
469 (FP_INT_TONEAREST): Likewise.
470 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
471 (fromfpf): Likewise.
472 (fromfpl): Likewise.
473 (ufromfp): Likewise.
474 (ufromfpf): Likewise.
475 (ufromfpl): Likewise.
476 (fromfpx): Likewise.
477 (fromfpxf): Likewise.
478 (fromfpxl): Likewise.
479 (ufromfpx): Likewise.
480 (ufromfpxf): Likewise.
481 (ufromfpxl): Likewise.
482 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
483 s_fromfpxF and s_ufromfpxF.
484 * math/gen-fromfp-tests.py: New file.
485 * math/gen-fromfp-tests-inputs: Likewise.
486 * math/libm-test.inc: Include <stdint.h>
487 (check_intmax_t): New function.
488 (check_uintmax_t): Likewise.
489 (struct test_fiu_M_data): New type.
490 (struct test_fiu_U_data): Likewise.
491 (RUN_TEST_fiu_M): New macro.
492 (RUN_TEST_LOOP_fiu_M): Likewise.
493 (RUN_TEST_fiu_U): Likewise.
494 (RUN_TEST_LOOP_fiu_U): Likewise.
495 (fromfp_test_data): New array.
496 (fromfp_test): New function.
497 (fromfpx_test_data): New array.
498 (fromfpx_test): New function.
499 (ufromfp_test_data): New array.
500 (ufromfp_test): New function.
501 (ufromfpx_test_data): New array.
502 (ufromfpx_test): New function.
503 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
504 ufromfpx_test.
505 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
506 characters.
507 * math/test-tgmath-ret.c: Include <stdint.h>.
508 (rm): New variable.
509 (width): Likewise.
510 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
511 called function.
512 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
513 CHECK_RET_CONST_TYPE.
514 (CHECK_RET_CONST_DOUBLE): Likewise.
515 (CHECK_RET_CONST_LDOUBLE): Likewise.
516 (CHECK_RET_CONST): Take extra arguments and pass them to calls
517 macros.
518 (fromfp): New CHECK_RET_CONST call.
519 (ufromfp): Likewise.
520 (fromfpx): Likewise.
521 (ufromfpx): Likewise.
522 (do_test): Call check_return_fromfp, check_return_ufromfp,
523 check_return_fromfpx and check_return_ufromfpx.
524 * math/test-tgmath.c: Include <stdint.h>
525 (NCALLS): Increase to 138.
526 (F(compile_test)): Initialize i. Call fromfp functions.
527 (F(fromfp)): New function.
528 (F(fromfpx)): Likewise.
529 (F(ufromfp)): Likewise.
530 (F(ufromfpx)): Likewise.
531 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
532 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
533 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
534 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
535 ufromfpxl.
536 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
537 ufromfp and ufromfpx.
538 * math/fromfp.h: New file.
539 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
540 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
541 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
542 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
543 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
544 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
545 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
546 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
547 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
548 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
549 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
550 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
551 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
552 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
553 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
554 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
555 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
556 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
557 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
558 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
559 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
560 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
561 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
562 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
563 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
564 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
565 ufromfp, fromfpx and ufromfpx.
566 (CFLAGS-nldbl-fromfp.c): New variable.
567 (CFLAGS-nldbl-fromfpx.c): Likewise.
568 (CFLAGS-nldbl-ufromfp.c): Likewise.
569 (CFLAGS-nldbl-ufromfpx.c): Likewise.
570 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
571 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
572 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
573 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
574 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
575 * sysdeps/nacl/libm.abilist: Update.
576 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
577 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
578 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
579 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
580 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
581 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
582 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
583 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
584 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
585 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
586 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
587 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
589 Likewise.
590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
591 Likewise.
592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
593 Likewise.
594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
595 Likewise.
596 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
597 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
598 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
599 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
600 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
602 Likewise.
603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
604 Likewise.
605 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
606 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
607 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
608
609 2016-12-30 Florian Weimer <fweimer@redhat.com>
610
611 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
612 compat-gethnamaddr.
613 (CPPFLAGS): Remove.
614 * resolv/gethnamaddr.c: Rename ...
615 * resolv/compat-gethnamaddr.c: ... to this file.
616 (_endhtent): Make static.
617 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
618 symbol.
619 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
620 compat symbol.
621 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
622 symbol.
623 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
624 Turn into compat symbol.
625 * include/resolv.h (_endhtent): Remove declaration.
626
627 2016-12-30 Joseph Myers <joseph@codesourcery.com>
628
629 * bits/types.h (__intmax_t): New typedef.
630 (__uintmax_t): Likewise.
631 * sysdeps/generic/stdint.h: Include <bits/types.h>.
632 (intmax_t): Define using __intmax_t.
633 (uintmax_t): Define using __uintmax_t.
634
635 * support/Makefile (tests-special): Make definition conditional on
636 [$(run-built-tests) = yes].
637 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
638 on [$(run-built-tests) = yes].
639
640 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
641
642 * Rules (tests): Add tests-printers-programs to tests to be
643 built.
644
645 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
646
647 * sysvipc/Makefile (tests): Add test-sysvshm.
648 * sysvipc/test-sysvshm.c: New file.
649
650 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
651 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
652 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
653 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
654 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
655 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
656 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
657 Likewise.
658 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
659 Likewise.
660 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
661 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
662 is defined.
663
664 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
665 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
666 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
667 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
668 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
669 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
670 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
671 Likewise.
672 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
673 Likewise.
674 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
675 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
676 defined.
677
678 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
679 oldshmctl.
680 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
681 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
682 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
683 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
684 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
685 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
686 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
687 Likewise.
688 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
689 Likewise.
690 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
691 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
692 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
693 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
694 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
695 implementation.
696 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
697 if it is defined.
698
699 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
700 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
701 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
702 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
703 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
704 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
705 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
706 Likewise.
707 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
708 Likewise.
709 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
710 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
711 Define to __NR_osf_shmat.
712 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
713 defined.
714
715 * sysvipc/Makefile (tests): Add test-sysvsem.
716 * sysvipc/test-sysvsem.c: New file.
717
718 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
719 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
720 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
721 Likewise.
722 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
723 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
724 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
725 Likewise.
726 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
727 Likewise.
728 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
729 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
730 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
731 add a comment about s390 syscall difference from default one.
732 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
733 syscall if it is defined.
734
735 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
736 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
737 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
738 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
739 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
740 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
741 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
742 Likewise.
743 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
744 Likewise.
745 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
746 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
747 defined.
748
749 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
750 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
751 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
752 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
753 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
754 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
755 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
756 Likewise.
757 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
758 Likewise.
759 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
760 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
761 if it is defined.
762
763 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
764 oldsemctl.
765 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
766 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
767 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
768 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
769 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
770 implementation.
771 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
772 syscall if it is defined.
773 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
774 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
775 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
776 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
777 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
778 Likewise.
779 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
780
781 * sysvipc/Makefile (tests): Add test-sysvmsg.
782 * sysvipc/test-sysvmsg.c: New file.
783 * support/check.h (FAIL_UNSUPPORTED): New define.
784
785 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
786 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
787 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
788 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
789 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
790 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
791 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
792 Likewise.
793 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
794 Likewise.
795 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
796 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
797 define.
798
799 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
800 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
801 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
802 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
803 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
804 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
805 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
806 Likewise.
807 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
808 Likewise.
809 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
810 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
811 if defined.
812
813 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
814 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
815 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
816 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
817 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
818 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
819 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
820 Likewise.
821 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
822 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
823 Likewise.
824 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
825 if defined.
826 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
827
828 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
829 oldmsgctl.
830 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
831 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
832 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
833 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
834 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
835 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
836 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
837 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
838 Likewise.
839 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
840 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
841 implementation.
842 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
843 if defined.
844
845 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
846 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
847 definition and define its own.
848 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
849 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
850 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
851 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
852 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
853 definitions to common header.
854 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
855 operation from ipc_ops.h.
856
857 * sysdeps/unix/sysv/linux/kernel-features.h
858 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
859 * sysdeps/unix/sysv/linux/i386/kernel-features.h
860 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
861 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
862 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
863 * sysdeps/unix/sysv/linux/mips/kernel-features.h
864 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
865 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
866 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
867 * sysdeps/unix/sysv/linux/s390/kernel-features.h
868 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
869 * sysdeps/unix/sysv/linux/sh/kernel-features.h
870 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
871 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
872 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
873
874 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
875
876 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
877 overflow in pointer addition.
878
879 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
880
881 * sysdeps/powerpc/powerpc64/multiarch/Makefile
882 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
883 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
884 (strchr): Add __strchr_power8 to list of strchr functions.
885 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
886 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
887 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
888 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
889 (strchr): Add __strchr_power8 to ifunc list.
890 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
891 (__strchrnul): Add __strchrnul_power8 to ifunc list.
892 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
893 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
894
895 2016-12-28 Florian Weimer <fweimer@redhat.com>
896
897 * support/Makefile (libsupport-routines): Add
898 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
899 (tests): Add tst-support_record_failure.
900 (tests-special): tst-support_record_failure-2.
901 (tst-support_record_failure-2.out): Depend on
902 tst-support_record_failure-2.sh and tst-support_record_failure.
903 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
904 (support_test_verify_impl, support_record_failure)
905 (support_report_failure, support_report_failure_reset): Declare.
906 * support/support_test_main.c (adjust_exit_status): New function.
907 (support_test_main): Call it to incorporate record test failures.
908 * support/support_test_verify_impl.c: New file.
909 * support/support_record_failure.c: Likewise.
910 * support/tst-support_record_failure.c: Likewise.
911 * support/tst-support_record_failure-2.sh: Likewise.
912 * support/xunistd.h: Likewise.
913 * support/xfork.c: Likewise.
914 * support/xwaitpid.c: Likewise.
915
916 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
917
918 * scripts/check-c++-types.sh: Add comments.
919
920 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
921
922 [BZ #19514]
923 * resolv/res_send.c: Fix typo in comment.
924 * sysdeps/i386/i386-mcount.S: Likewise.
925 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
926 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
927 * sysdeps/sparc/sparc-mcount.S: Likewise.
928
929 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
930
931 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
932 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
933 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
934 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
935 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
936 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
937 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
938 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
939
940 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
941
942 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
943
944 2016-12-27 Florian Weimer <fweimer@redhat.com>
945
946 [BZ #17252]
947 * posix/unistd.h (getentropy): Declare.
948
949 2016-12-27 Florian Weimer <fweimer@redhat.com>
950
951 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
952 Remove.
953 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
954 (cmd): Remove spoof, nospoof, spoofalert.
955 (parse_line): Ignore spoof-related lines.
956 (do_init): Do not process RESOLV_SPOOF_CHECK.
957
958 2016-12-27 Florian Weimer <fweimer@redhat.com>
959
960 [BZ #20964]
961 sunrpc: Always obtain AF_INET addresses from NSS.
962 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
963 * sunrpc/rpc_gethostbyname.c: New file.
964 * sunrpc/Makefile (routines): Add it.
965 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
966 * sunrpc/clnt_simp.c (callrpc): Likewise.
967 * sunrpc/getrpcport.c (getrpcport): Likewise.
968
969 2016-12-27 Florian Weimer <fweimer@redhat.com>
970
971 * sunrpc/rpcinfo.c: Remove.
972 * sunrpc/Makefile: Remove comments referring to rpcinfo.
973
974 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
975
976 [BZ# 19387]
977 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
978 addition.
979 * string/test-memchr.c (do_test): Remove alignment limitation.
980 (test_main): Add test that trigger BZ# 19387.
981
982 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
983
984 [BZ #7065]
985 Enable stack protectore if requested by ./configure.
986 * Makeconfig (+stack-protector): New variable.
987 (+cflags): Use it.
988
989 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
990
991 [BZ #7065]
992 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
993 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
994 (__rt_sigreturn_stub): Use inhibit_stack_protector.
995 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
996 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
997
998 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
999
1000 [BZ #7065]
1001 * login/Makefile (pt_chown-cflags): Remove.
1002 * nscd/Makefile (CFLAGS-nscd): Likewise.
1003 * resolv/Makefile (CFLAGS-libresolv): Likewise.
1004
1005 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1006
1007 [BZ #7065]
1008 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
1009 non-libc-linking testcase.
1010
1011 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1012 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1013 Florian Weimer <fweimer@redhat.com>
1014
1015 [BZ #7065]
1016 PLT avoidance for __stack_chk_fail*.
1017 * debug/Makefile (CFLAGS-stack_chk_fail.c)
1018 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
1019 * debug/stack_chk_fail.c (__stack_chk_fail): Add
1020 __stack_chk_fail_local alias.
1021 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
1022 (__stack_chk_fail): Turn into hidden reference to
1023 __stack_chk_fail_local.
1024
1025 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1026
1027 [BZ #7065]
1028 * configure.ac: Add check for unsupported stack-protection level.
1029 (libc_cv_predef_stack_protector): Remove.
1030 (no_ssp): New variable.
1031 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
1032 (stack_protector): Set to -fno-stack-protector similarly.
1033 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
1034 (libc_cv_asm_set_directive): Likewise.
1035 (libc_cv_protected_data): Likewise.
1036 (libc_cv_z_combreloc): Likewise.
1037 (libc_cv_hashstyle): Likewise.
1038 (libc_cv_has_glob_dat): Likewise.
1039 (libc_cv_output_format): Likewise.
1040 (libc_cv_output_format): Likewise.
1041 (libc_cv_ehdr_start): Likewise.
1042 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
1043 (LIBC_LINKER_FEATURE): Likewise.
1044 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
1045
1046 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1047
1048 [BZ #7065]
1049 * elf/Makefile (dummy-stack-chk-fail): New.
1050 (librtld.map): Use it.
1051
1052 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1053
1054 [BZ #7065]
1055 Compile the dynamic linker without stack protection.
1056 * elf/Makefile (elide-stack-protector): New.
1057 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
1058 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
1059 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
1060 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
1061
1062 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1063
1064 [BZ #7065]
1065 * config.make.in (have-ssp, no-stack-protector): New.
1066 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
1067 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
1068 (CFLAGS-sbrk.op): Likewise.
1069 (CFLAGS-brk.o): Likewise.
1070 (CFLAGS-brk.op): Likewise.
1071 * string/Makefile (CFLAGS-memcpy.c): Likewise.
1072 (CFLAGS-wordcopy.c): Likewise.
1073
1074 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1075
1076 [BZ #7065]
1077 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
1078 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
1079 * include/libc-symbols.h (inhibit_stack_protector): New macro.
1080 (__ifunc_resolver): Use it.
1081 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
1082 inhibit_stack_protector.
1083 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
1084 * elf/ifuncmain7.c (foo_ifunc): Likewise.
1085 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
1086 (foo_protected_ifunc): Likewise.
1087 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
1088 (foo_protected_ifunc): Likewise.
1089 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1090 * sysdeps/nacl/nacl_interface_query.c
1091 (nacl_interface_query_ifunc): Likewise.
1092 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1093 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
1094 Likewise.
1095 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
1096 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
1097 the generated vDSO syscall resolver.
1098
1099 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1100 Florian Weimer <fweimer@redhat.com>
1101
1102 [BZ #7065]
1103 Initialize the stack guard earlier when linking statically.
1104 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
1105 (__pthread_initialize_minimal): Declare.
1106 * csu/libc-start.c (__pthread_initialize_minimal): Remove
1107 declaration.
1108 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
1109 stack canary and apply_irel initialization up. Call
1110 __pthread_initialize_minimal only if linked in.
1111 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
1112 constant values.
1113 (__pthread_initialize_minimal): Remove.
1114 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
1115 (__pthread_initialize_minimal_internal): Do not call
1116 __libc_setup_tls.
1117
1118 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1119
1120 [BZ #7065]
1121 * configure.ac (libc_cv_ssp): Move up.
1122 (libc_cv_ssp_strong): Likewise.
1123 (libc_cv_ssp_all): New.
1124 (stack_protector): Augment, adding -fstack-protector-all.
1125 (no_stack_protector): New.
1126 (STACK_PROTECTOR_LEVEL): New.
1127 (AC_ARG_ENABLE(stack-protector)): New configure flag.
1128 * manual/install.texi (--enable-stack-protector): Document it.
1129 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
1130
1131 2016-12-24 Carlos O'Donell <carlos@redhat.com>
1132
1133 * README.pretty-printers: Must specify CPPFLAGS-* also.
1134 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
1135 (CPPFLAGS-test-mutex-printers.c): Define.
1136 (CPPFLAGS-test-condattr-printers.c): Define.
1137 (CPPFLAGS-test-cond-printers.c): Define.
1138 (CPPFLAGS-test-rwlockattr-printers.c): Define.
1139 (CPPFLAGS-test-rwlock-printers.c): Define.
1140
1141 * nss/Makefile [ifeq (yes,$(have-thread-library))]
1142 (tests): Add tst-cancel-getpwuid_r.
1143 * nss/tst-cancel-getpwuid_r.c: New file.
1144
1145 [BZ #11941]
1146 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
1147 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
1148 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
1149 tst-nodelete-dlclose.
1150 (modules-names): Add tst-nodelete-dlclose-dso and
1151 tst-nodelete-dlclose-plugin.
1152 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
1153 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
1154 ($(objpfx)tst-nodelete-dlclose): Define.
1155 ($(objpfx)tst-nodelete-dlclose.out): Define.
1156
1157 2016-12-23 Florian Weimer <fweimer@redhat.com>
1158
1159 * scripts/test_printers_common.py: Log GDB output in case of
1160 Python detection failure.
1161
1162 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1163
1164 * configure.ac: Check for python3 or python.
1165 * configure: Regenerated.
1166 * config.make.in (PYTHON): New variable.
1167 * benchtests/Makefile: Don't define PYTHON.
1168 (bench): Define target only if PYTHON was defined.
1169 * Rules: Don't define PYTHON.
1170 Define pretty printer targets only if PYTHON was defined.
1171 (tests-printers): Add to tests-unsupported if PYTHON is not
1172 found.
1173 (python-flags, python-invoke): Remove.
1174 (tests-printers-out): Use PYTHON instead of python-invoke.
1175
1176 2016-12-21 Joseph Myers <joseph@codesourcery.com>
1177
1178 [BZ #20978]
1179 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1180 Compare name == NULL, not name != NULL.
1181
1182 * manual/texinfo.tex: Update to version 2016-09-18.18 with
1183 trailing whitespace removed.
1184 * scripts/config.guess: Update to version 2016-10-02.
1185 * scripts/config.sub: Update to version 2016-11-19.
1186 * scripts/install-sh: Update to version 2016-01-11.22.
1187 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
1188 * scripts/move-if-change: Update to version 2016-01-11 22:04.
1189
1190 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
1191
1192 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
1193 (do_one_test) Restore original string so iteration works.
1194 * string/string-inlines.c (do_test): Create better input strings.
1195 (test_main) Reduce number of testruns.
1196 * string/string-inlines.c (__old_strsep_1c): New function.
1197 (__old_strsep_2c): Likewise.
1198 (__old_strsep_3c): Likewise.
1199 * string/strsep.c (__strsep): Remove case of small delim string.
1200 Call strcspn directly rather than strpbrk.
1201 * string/bits/string2.h (__strsep): Remove define.
1202 (__strsep_1c): Remove.
1203 (__strsep_2c): Remove.
1204 (__strsep_3c): Remove.
1205 (strsep): Remove.
1206 * sysdeps/unix/sysv/linux/internal_statvfs.c
1207 (__statvfs_getflags): Rename to __strsep.
1208
1209 2016-12-21 Florian Weimer <fweimer@redhat.com>
1210
1211 * csu/libc-tls.c (_dl_tls_setup): Remove.
1212 * elf/dl-tls.c (_dl_tls_setup): Likewise.
1213 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
1214 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
1215
1216 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
1217
1218 [BZ #7065]
1219 * sysdeps/x86_64/Makefile [$(subdir) = elf]
1220 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
1221
1222 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
1223 Florian Weimer <fweimer@redhat.com>
1224
1225 [BZ #7065]
1226 * csu/Makefile (tests): Empty assignment and document it.
1227 (tests-static): Remove.
1228 * csu/tst-empty.c: Move to...
1229 * misc/tst-empty.c: ... here. Switch to new test driver.
1230 * csu/tst-atomic.c: Move to...
1231 * misc/tst-atomic.c: ... here. Switch to new test driver.
1232 * csu/tst-atomic-long.c: Move to...
1233 * misc/tst-atomic-long.c: ... here.
1234 * misc/Makefile (tests): Add tst-empty, tst-atomic,
1235 tst-atomic-long.
1236 (tests-static): Add tst-empty.
1237
1238 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
1239
1240 * manual/nss.texi: Change incorrect @vtable to @table.
1241 * manual/arith.texi: Convert @tables of variables to @vtables
1242 and remove unnecessary indexing.
1243 * manual/filesys.texi: Likewise.
1244 * manual/llio.texi: Likewise.
1245 * manual/memory.texi: Likewise.
1246 * manual/process.texi: Likewise.
1247 * manual/resource.texi: Likewise.
1248 * manual/search.texi: Likewise.
1249 * manual/signal.texi: Likewise.
1250 * manual/socket.texi: Likewise.
1251 * manual/stdio.texi: Likewise.
1252 * manual/sysinfo.texi: Likewise.
1253 * manual/syslog.texi: Likewise.
1254 * manual/terminal.texi: Likewise.
1255 * manual/time.texi: Likewise.
1256 * manual/users.texi: Likewise.
1257
1258 2016-12-21 Joseph Myers <joseph@codesourcery.com>
1259
1260 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1261 (roundeven): New declaration.
1262 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
1263 macro.
1264 * math/Versions (roundeven): New libm symbol at version
1265 GLIBC_2.25.
1266 (roundevenf): Likewise.
1267 (roundevenl): Likewise.
1268 * math/Makefile (libm-calls): Add s_roundevenF.
1269 * math/libm-test.inc (roundeven_test_data): New array.
1270 (roundeven_test): New function.
1271 (main): Call roundeven_test.
1272 * math/test-tgmath.c (NCALLS): Increase to 134.
1273 (F(compile_test)): Call roundeven.
1274 (F(roundeven)): New function.
1275 * manual/arith.texi (Rounding Functions): Document roundeven,
1276 roundevenf and roundevenl.
1277 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
1278 * include/math.h (roundeven): Use libm_hidden_proto.
1279 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
1280 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
1281 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
1282 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
1283 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
1284 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
1285 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1286 roundeven.
1287 (CFLAGS-nldbl-roundeven.c): New variable.
1288 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
1289 * sysdeps/nacl/libm.abilist: Update.
1290 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1291 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1292 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1293 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1294 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1295 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1296 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1297 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1298 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1299 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1300 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1301 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1303 Likewise.
1304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1305 Likewise.
1306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1307 Likewise.
1308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1309 Likewise.
1310 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1311 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1312 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1313 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1314 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1315 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1316 Likewise.
1317 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1318 Likewise.
1319 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1320 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1321 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1322
1323 2016-12-20 Joseph Myers <joseph@codesourcery.com>
1324
1325 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
1326 preprocessor indentation inside #if.
1327
1328 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1329
1330 * math/libm-test.inc (fmt_ftostr): New function.
1331 (print_float, check_float_internal): Replace some uses of
1332 FTOSTR with uses of fmt_ftostr.
1333 (print_max_error, print_complex_max_error, print_function_ulps)
1334 (print_complex_function_ulps): Remove uses of the macros
1335 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
1336 * math/test-double.h (FTOSTR): Define to strfromd.
1337 (PRINTF_EXPR): Delete.
1338 (PRINTF_XEXPR): Likewise.
1339 (PRINTF_NEXPR): Likewise.
1340 * math/test-float.h (FTOSTR): Define to strfromf.
1341 (PRINTF_EXPR): Delete.
1342 (PRINTF_XEXPR): Likewise.
1343 (PRINTF_NEXPR): Likewise.
1344 * math/test-ldouble.h (FTOSTR): Define to strfroml.
1345 (PRINTF_EXPR): Delete.
1346 (PRINTF_XEXPR): Likewise.
1347 (PRINTF_NEXPR): Likewise.
1348
1349 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1350
1351 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
1352 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
1353 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
1354 (__lll_lock_elision): Decrement adapt_count while unlocking
1355 instead of before locking.
1356 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
1357 (__lll_trylock_elision): Likewise.
1358 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
1359 (__lll_unlock_elision): Likewise.
1360
1361 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1362
1363 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
1364 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
1365 Use __libc_tbegin_retry macro.
1366
1367 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1368
1369 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
1370 Add -msoft-float.
1371 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
1372 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
1373 Use __libc_t* transaction macros instead of __builtin_t*.
1374 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1375 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1376
1377 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1378
1379 * sysdeps/unix/sysv/linux/s390/elision-lock.c
1380 (__lll_lock_elision): Use atomics to load / store adapt_count.
1381 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
1382 (__lll_trylock_elision): Likewise.
1383
1384 2016-12-20 Florian Weimer <fweimer@redhat.com>
1385
1386 Do not require memset elimination in explicit_bzero test.
1387 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
1388 (enum test_expectation): Add NO_EXPECTATIONS.
1389 (subtests): NO_EXPECTATIONS for ordinary clear.
1390 (check_test_buffer): Handle NO_EXPECTATIONS.
1391 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
1392
1393 2016-12-20 Joseph Myers <joseph@codesourcery.com>
1394
1395 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1396 (fmaxmag): New declaration.
1397 (fminmag): Likewise.
1398 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
1399 macro.
1400 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
1401 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
1402 (fmaxmagf): Likewise.
1403 (fmaxmagl): Likewise.
1404 (fminmag): Likewise.
1405 (fminmagf): Likewise.
1406 (fminmagl): Likewise.
1407 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
1408 * math/s_fmaxmag_template.c: New file.
1409 * math/s_fminmag_template.c: Likewise.
1410 * math/libm-test.inc (fmaxmag_test_data): New array.
1411 (fmaxmag_test): New function.
1412 (fminmag_test_data): New array.
1413 (fminmag_test): New function.
1414 (main): Call fmaxmag_test and fminmag_test.
1415 * math/test-tgmath.c (NCALLS): Increase to 132.
1416 (F(compile_test)): Call fmaxmag and fminmag.
1417 (F(fminmag)): New function.
1418 (F(fmaxmag)): Likewise.
1419 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
1420 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
1421 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
1422 fminmag.
1423 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
1424 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
1425 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
1426 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
1427 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
1428 and fminmag.
1429 (CFLAGS-nldbl-fmaxmag.c): New variable.
1430 (CFLAGS-nldbl-fminmag.c): Likewise.
1431 * sysdeps/nacl/libm.abilist: Update.
1432 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1433 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1434 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1435 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1436 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1437 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1438 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1439 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1440 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1441 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1442 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1443 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1445 Likewise.
1446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1447 Likewise.
1448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1449 Likewise.
1450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1451 Likewise.
1452 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1453 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1454 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1455 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1456 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1458 Likewise.
1459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1460 Likewise.
1461 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1462 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1463 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1464
1465 2016-12-19 Torvald Riegel <triegel@redhat.com>
1466
1467 [BZ #20973]
1468 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
1469 wake-up in robust mutexes.
1470 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1471
1472 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1473
1474 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
1475 (CFLAGS-bench-fmaxf.c): New rule.
1476 (CFLAGS-bench-fminf.c): Likewise.
1477 * benchtests/fmaxf-inputs: New file.
1478 * benchtests/fminf-inputs: Likewise.
1479
1480 * benchtests/Makefile (bench-math): Add fmin and fmax.
1481 (CFLAGS-bench-fmax.c): New rule.
1482 (CFLAGS-bench-fmin.c): Likewise.
1483 * benchtests/fmax-inputs: New file.
1484 * benchtests/fmin-inputs: Likewise.
1485
1486 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
1487 parenthesis.
1488 (CMDLINE_PROCESS): Define using function instead of macro.
1489 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
1490 of test-skeleton.
1491 * benchtests/bench-memchr.c: Likewise.
1492 * benchtests/bench-memcmp.c: Likewise.
1493 * benchtests/bench-memcpy-large.c: Likewise.
1494 * benchtests/bench-memcpy.c: Likewise.
1495 * benchtests/bench-memmem.c: Likewise.
1496 * benchtests/bench-memmove-large.c: Likewise.
1497 * benchtests/bench-memmove.c: Likewise.
1498 * benchtests/bench-memset-large.c: Likewise.
1499 * benchtests/bench-memset.c: Likewise.
1500 * benchtests/bench-rawmemchr.c: Likewise.
1501 * benchtests/bench-strcasecmp.c: Likewise.
1502 * benchtests/bench-strcasestr.c: Likewise.
1503 * benchtests/bench-strcat.c: Likewise.
1504 * benchtests/bench-strchr.c: Likewise.
1505 * benchtests/bench-strcmp.c: Likewise.
1506 * benchtests/bench-strcpy.c: Likewise.
1507 * benchtests/bench-strcpy_chk.c: Likewise.
1508 * benchtests/bench-strlen.c: Likewise.
1509 * benchtests/bench-strncasecmp.c: Likewise.
1510 * benchtests/bench-strncmp.c: Likewise.
1511 * benchtests/bench-strncpy.c: Likewise.
1512 * benchtests/bench-strnlen.c: Likewise.
1513 * benchtests/bench-strpbrk.c: Likewise.
1514 * benchtests/bench-strrchr.c: Likewise.
1515 * benchtests/bench-strsep.c: Likewise.
1516 * benchtests/bench-strspn.c: Likewise.
1517 * benchtests/bench-strstr.c: Likewise.
1518 * benchtests/bench-strtok.c: Likewise.
1519
1520 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
1521
1522 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
1523 stepping identification.
1524 (init_cpu_features): Add handle of Haswell.
1525
1526 2016-11-25 Jim Meyering <meyering@fb.com>
1527
1528 [BZ #20386]
1529 Let gcc detect assert(a = 1) errors.
1530 * assert/assert.h (assert): Rewrite, retaining the old definintion
1531 when required, but otherwise putting the expression as-is in an "if"
1532 expression (hence, with no added parentheses) within a statement
1533 expression.
1534
1535 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
1536
1537 * benchtests/Makefile (binaries-benchset): Depend on libsupport
1538 DSO.
1539
1540 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
1541
1542 * Rules (python-flags, python-invoke): New.
1543 ($(test-printers-out)): Use $(python-flags).
1544
1545 2016-12-16 Joseph Myers <joseph@codesourcery.com>
1546
1547 * manual/arith.texi (Math Error Reporting): Document that sNaN
1548 arguments are not considered domain errors.
1549
1550 2016-12-16 Zack Weinberg <zackw@panix.com>
1551 Florian Weimer <fweimer@redhat.com>
1552 Nick Mathewson <nickm@torproject.org>
1553
1554 * string/explicit_bzero.c: New routine.
1555 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
1556 * string/Makefile (routines, strop-tests, tests): Add them.
1557 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
1558 * string/string.h [__USE_MISC]: Declare explicit_bzero.
1559
1560 * debug/explicit_bzero_chk.c: New routine.
1561 * debug/Makefile (routines): Add it.
1562 * debug/tst-chk1.c: Test fortification of explicit_bzero.
1563 * string/bits/string3.h: Fortify explicit_bzero.
1564
1565 * manual/string.texi: Document explicit_bzero.
1566 * NEWS: Mention addition of explicit_bzero.
1567
1568 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
1569 data before returning, using explicit_bzero.
1570 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
1571 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1572 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1573
1574 * include/string.h: Redirect internal uses of explicit_bzero
1575 to __explicit_bzero_chk[_internal].
1576 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
1577 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
1578 * sysdeps/arm/nacl/libc.abilist
1579 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
1580 * sysdeps/unix/sysv/linux/alpha/libc.abilist
1581 * sysdeps/unix/sysv/linux/arm/libc.abilist
1582 * sysdeps/unix/sysv/linux/hppa/libc.abilist
1583 * sysdeps/unix/sysv/linux/i386/libc.abilist
1584 * sysdeps/unix/sysv/linux/ia64/libc.abilist
1585 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1586 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
1587 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
1588 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1589 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1590 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1591 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1592 * sysdeps/unix/sysv/linux/nios2/libc.abilist
1593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1597 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
1598 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
1599 * sysdeps/unix/sysv/linux/sh/libc.abilist
1600 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1601 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1602 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1604 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
1605 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
1606 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
1607 Add entries for explicit_bzero and __explicit_bzero_chk.
1608
1609 2016-12-16 Joseph Myers <joseph@codesourcery.com>
1610
1611 * math/fenv.h
1612 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
1613 (FE_SNANS_ALWAYS_SIGNAL): New macro.
1614 * math/test-fe-snans-always-signal.c: New file.
1615 * math/Makefile (tests): Add test-fe-snans-always-signal.
1616 (CFLAGS-test-fe-snans-always-signal.c): New variable.
1617 * manual/arith.texi (Infinity and NaN): Document
1618 FE_SNANS_ALWAYS_SIGNAL.
1619
1620 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1621
1622 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
1623 bracket.
1624
1625 2016-12-16 Joseph Myers <joseph@codesourcery.com>
1626
1627 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
1628 before calling execv.
1629
1630 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1631
1632 [BZ# 20971]
1633 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
1634 overflow in pointer addition.
1635 * string/test-memchr.c (do_test): Add an argument to pass as
1636 the size on memchr.
1637 (test_main): Add check for SIZE_MAX.
1638
1639 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1640
1641 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
1642 (libm-calls): Add w_scalblnF.
1643 * math/w_scalbln.c: Remove.
1644 * math/w_scalblnf.c: Likewise.
1645 * math/w_scalblnl.c: Likewise.
1646 * math/w_scalbln_template.c: New file with type-generic
1647 implementation based on math/w_scalbln.c.
1648 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
1649 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
1650
1651 2016-12-15 Joseph Myers <joseph@codesourcery.com>
1652
1653 [BZ #20947]
1654 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
1655 either is a signaling NaN.
1656 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
1657 follow fmaxl more closely.
1658 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
1659 when either is a signaling NaN.
1660 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
1661 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
1662 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
1663 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
1664 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
1665 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
1666 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
1667 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
1668 (fmin_test_data): Likewise.
1669
1670 2016-12-15 Andreas Schwab <schwab@suse.de>
1671
1672 * support/support_test_main.c (support_test_main): Don't shadow
1673 file-local variable test_pid.
1674
1675 2016-12-15 Joseph Myers <joseph@codesourcery.com>
1676
1677 [BZ #20947]
1678 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
1679 either is a signaling NaN.
1680 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
1681
1682 2016-12-14 Joseph Myers <joseph@codesourcery.com>
1683
1684 [BZ #20947]
1685 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
1686 when either is a signaling NaN.
1687 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
1688
1689 * bits/long-double.h: New file.
1690 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
1691 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
1692 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
1693 * sysdeps/mips/bits/long-double.h: Likewise.
1694 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
1695 * math/Makefile (headers): Add bits/long-double.h.
1696 * misc/sys/cdefs.h: Include <bits/long-double.h>.
1697 * stdlib/strtold.c: Include <bits/long-double.h> instead of
1698 <bits/wordsize.h>.
1699 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
1700 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
1701 * math/math.h: Do not include <bits/mathdef.h>.
1702 * sysdeps/aarch64/bits/mathdef.h: Remove file.
1703 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
1704 inclusion.
1705 * sysdeps/ia64/bits/mathdef.h: Remove file.
1706 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
1707 * sysdeps/mips/bits/mathdef.h: Likewise.
1708 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1709 * sysdeps/s390/bits/mathdef.h: Likewise.
1710 * sysdeps/sparc/bits/mathdef.h: Likewise.
1711 * sysdeps/x86/bits/mathdef.h: Likewise.
1712 * sysdeps/s390/s390-32/bits/wordsize.h
1713 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
1714 conditional code.
1715 * sysdeps/s390/s390-64/bits/wordsize.h
1716 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1717 Likewise.
1718 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
1719 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1720 Likewise.
1721 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
1722 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1723 Likewise.
1724 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
1725 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1726 Likewise.
1727
1728 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
1729 <linux/falloc.h>.
1730 (FALLOC_FL_KEEP_SIZE): Remove.
1731 (FALLOC_FL_PUNCH_HOLE): Likewise.
1732 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
1733 (FALLOC_FL_ZERO_RANGE): Likewise.
1734
1735 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1736
1737 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
1738
1739 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1740
1741 * sysdeps/unix/sysv/linux/renameat.c: New file.
1742 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
1743
1744 * sysdeps/unix/sysv/linux/rename.c: New file.
1745 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
1746
1747 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
1748
1749 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
1750 * string/strtok.c (strtok): Change to tailcall __strtok_r.
1751 * string/strtok_r.c (__strtok_r): Optimize for performance.
1752 * string/string-inlines.c (__old_strtok_r_1c): New function.
1753 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
1754
1755 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1756
1757 * math/Makefile (gen-libm-calls): Add w_log1pF.
1758 (libm-calls): Remove w_log1pF.
1759 * math/w_log1p.c: Remove.
1760 * math/w_log1pf.c: Likewise.
1761 * math/w_log1pl.c: Likewise.
1762 * math/w_log1p_template.c: New file with type-generic
1763 implementation based on math/w_log1p.c.
1764 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
1765 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
1766
1767 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
1768
1769 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
1770
1771 2016-12-14 Joseph Myers <joseph@codesourcery.com>
1772
1773 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1774 kernel version to 4.9.
1775
1776 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
1777
1778 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
1779 ($(inst_libdir)/libm.a): Fix rule to create the target only.
1780
1781 2016-12-13 Andreas Schwab <schwab@suse.de>
1782
1783 * sysdeps/powerpc/dl-procinfo.c: Don't define
1784 _dl_powerpc_platforms.
1785 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
1786 constants instead of referencing _dl_powerpc_platforms.
1787 (_dl_platform_string): Remove.
1788
1789 2016-12-13 Florian Weimer <fweimer@redhat.com>
1790
1791 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
1792
1793 2016-12-13 Florian Weimer <fweimer@redhat.com>
1794
1795 * Rules (binaries-shared-tests, binaries-pie-tests)
1796 (binaries-static-tests): Link with $(link-extra-libs-tests).
1797 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
1798 Remove $(link-extra-libs-tests).
1799
1800 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1801
1802 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1803 (sysdep_routines): Add strncmp_power9.
1804 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1805 (strncmp): Add __strncmp_power9 to list of strncmp functions.
1806 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
1807 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
1808 (strncmp): Add __strncmp_power9 to ifunc list.
1809 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
1810
1811 2016-12-12 Florian Weimer <fweimer@redhat.com>
1812
1813 [BZ #17252]
1814 Add getentropy, getrandom.
1815 * stdlib/sys/random.h: New file.
1816 (headers): Add it.
1817 * stdlib/Makefile (routines): Add getentropy, getrandom.
1818 (tests): Add tst-getrandom.
1819 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
1820 * stdlib/getentropy.c: New file.
1821 * stdlib/getrandom.c: Likewise.
1822 * stdlib/tst-getrandom.c: Likewise.
1823 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
1824 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
1825 * manual/crypt.texi (Unpredictable Bytes): New section.
1826 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
1827 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
1828 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
1829 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1830 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1831 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1832 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1833 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1834 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1835 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1836 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1837 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1838 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1839 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1840 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1841 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1843 Likewise.
1844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1845 Likewise.
1846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1848 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1849 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1850 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1851 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1852 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1855 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1856 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1857 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1858
1859 2016-12-10 Florian Weimer <fweimer@redhat.com>
1860
1861 [BZ #20956]
1862 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
1863 as additional compiler barriers.
1864 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
1865 (fn2, do_test): Declare with external linkage.
1866 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
1867 (do_test): Declare with external linkage.
1868 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
1869 (do_test): Declare with external linkage.
1870 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
1871 (do_test): Declare with external linkage.
1872
1873 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
1874
1875 * support/support_test_main.c (support_test_main): Use correct
1876 timeout.
1877
1878 2016-12-09 Carlos O'Donell <carlos@redhat.com>
1879 Florian Weimer <fweimer@redhat.com>
1880
1881 [BZ #16421]
1882 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
1883 and __u6_addr32 members.
1884 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
1885 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
1886 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
1887 Use __u6_addr32.
1888 * inet/tst-checks.c: Use <support/test-driver.c>
1889 * inet/tst-checks-posix.c: New file.
1890 * inet/Makefile (tests): Add it.
1891 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
1892
1893 2016-12-09 Florian Weimer <fweimer@redhat.com>
1894
1895 New subdirectory support for build and test infrastructure.
1896 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
1897 setting install-lib.
1898 * Makeconfig (link-extra-libs-tests): Define.
1899 (+link-pie-tests, +link-static-tests, +link-tests): Use
1900 link-extra-libs-tests.
1901 (rpath-dirs, all-subdirs): Add support.
1902 (built-modules): Add libsupport.
1903 (libsupport): Define.
1904 * support: New directory.
1905 * support/Makefile: New file.
1906 * support/check.c: Likewise.
1907 * support/check.h: Likewise.
1908 * support/delayed_exit.c: Likewise.
1909 * support/ignore_stderr.c: Likewise.
1910 * support/oom_error.c: Likewise.
1911 * support/set_fortify_handler.c: Likewise.
1912 * support/support.h: Likewise.
1913 * support/temp_file-internal.h: Likewise.
1914 * support/temp_file.c: Likewise.
1915 * support/test-driver.c: Likewise.
1916 * support/test-driver.h: Likewise.
1917 * support/test_main.c: Likewise.
1918 * support/write_message.c: Likewise.
1919 * support/xasprintf.c: Likewise.
1920 * support/xcalloc.c: Likewise.
1921 * support/xmalloc.c: Likewise.
1922 * support/xpthread_barrier_destroy.c: Likewise.
1923 * support/xpthread_barrier_init.c: Likewise.
1924 * support/xpthread_barrier_wait.c: Likewise.
1925 * support/xpthread_cancel.c: Likewise.
1926 * support/xpthread_check_return.c: Likewise.
1927 * support/xpthread_cond_wait.c: Likewise.
1928 * support/xpthread_create.c: Likewise.
1929 * support/xpthread_detach.c: Likewise.
1930 * support/xpthread_join.c: Likewise.
1931 * support/xpthread_mutex_lock.c: Likewise.
1932 * support/xpthread_mutex_unlock.c: Likewise.
1933 * support/xpthread_sigmask.c: Likewise.
1934 * support/xpthread_spin_lock.c: Likewise.
1935 * support/xpthread_spin_unlock.c: Likewise.
1936 * support/xrealloc.c: Likewise.
1937 * support/xsignal.h: Likewise.
1938 * support/xthread.h: Likewise.
1939 * support_tempfile.h: Likewise.
1940 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
1941 (TEST_DATA_LIMIT): Remove unused macro.
1942 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
1943 <support/check.h>.
1944 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
1945 (ignore_stderr, set_fortify_handler): Remove. Now in
1946 <support/support.h>.
1947 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
1948 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
1949 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
1950 (xpthread_join): Remove. Now in <support/xthread.h>.
1951 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
1952 Introduce legacy wrappers.
1953 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
1954 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
1955 (write_message): Remove.
1956 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
1957 test-skeleton.c.
1958 * io/test-open-tmpfile: Likewise.
1959 * io/tst-posix_fallocate-common.c: Likewise.
1960 * libio/tst-fseek.c: Likewise.
1961 * malloc/tst-malloc-backtrace.c: Likewise.
1962 * malloc/tst-malloc-fork-deadlock.c: Likewise.
1963 * malloc/tst-malloc-thread-exit.c: Likewise.
1964 * nptl/tst-cancel7.c: Likewise.
1965 * nptl/tst-cleanup0.c: Likewise.
1966 * posix/tst-posix_fadvise-common.c: Likewise.
1967 * rt/tst-shm.c: Likewise.
1968 * time/bug-getdate1.c: Likewise.
1969 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
1970 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
1971 * elf/Makefile (tst-piemod1.so): Link against libsupport.
1972
1973 2016-12-08 Joseph Myers <joseph@codesourcery.com>
1974
1975 * Rules [$(run-built-tests) != no] (tests-expected): Add
1976 $(tests-printers).
1977 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
1978
1979 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
1980
1981 [BZ #20539]
1982 * math/Makefile (install-lib-ldscripts): Add libm.a.
1983 (install_subdir): Remove.
1984 (install-others): Add.
1985 ($(inst_libdir)/libm.a): Add rule for installation as
1986 linker script.
1987 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
1988
1989 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
1990
1991 * INSTALL: Regenerated.
1992 * Makeconfig: Add comments and whitespace to make the control flow
1993 clearer.
1994 (+link-printers-tests, +link-pie-printers-tests,
1995 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
1996 built-rtld-LDFLAGS, link-libc-rpath,
1997 link-libc-tests-after-rpath-link,
1998 link-libc-printers-tests): New.
1999 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
2000 link-libc-tests): Use the new variables as required.
2001 * Makerules ($(py-const)): New rule.
2002 generated: Add $(py-const).
2003 * README.pretty-printers: New file.
2004 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
2005 (others): Depend on $(py-const).
2006 (tests): Depend on $(tests-printers-programs) or
2007 $(tests-printers-out),
2008 as required. Pass $(tests-printers) to merge-test-results.sh.
2009 * manual/install.texi: Add requirements for testing the pretty
2010 printers.
2011 * nptl/Makefile (gen-py-const-headers, pretty-printers,
2012 tests-printers, CFLAGS-test-mutexattr-printers.c
2013 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
2014 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
2015 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
2016 * nptl/nptl-printers.py: New file.
2017 * nptl/nptl_lock_constants.pysym: Likewise.
2018 * nptl/test-cond-printers.c: Likewise.
2019 * nptl/test-cond-printers.py: Likewise.
2020 * nptl/test-condattr-printers.c: Likewise.
2021 * nptl/test-condattr-printers.py: Likewise.
2022 * nptl/test-mutex-printers.c: Likewise.
2023 * nptl/test-mutex-printers.py: Likewise.
2024 * nptl/test-mutexattr-printers.c: Likewise.
2025 * nptl/test-mutexattr-printers.py: Likewise.
2026 * nptl/test-rwlock-printers.c: Likewise.
2027 * nptl/test-rwlock-printers.py: Likewise.
2028 * nptl/test-rwlockattr-printers.c: Likewise.
2029 * nptl/test-rwlockattr-printers.py: Likewise.
2030 * scripts/gen-py-const.awk: Likewise.
2031 * scripts/test_printers_common.py: Likewise.
2032 * scripts/test_printers_exceptions.py: Likewise.
2033
2034 2016-12-07 Joseph Myers <joseph@codesourcery.com>
2035
2036 * scripts/build-many-glibcs.py (Context.__init__): Take strip
2037 argument.
2038 (Glibc.build_glibc): Strip installed shared libraries if
2039 requested.
2040 (get_parser): Add --strip option.
2041 (main): Update Context call.
2042
2043 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2044 Dominik Vogt <vogt@linux.vnet.ibm.com>
2045
2046 [BZ #20847]
2047 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2048 array bounds for else branch.
2049 (__execvpe): Style fixes.
2050 * posix/tst-vfork3.c (run_script): New function.
2051 (create_script): Likewise.
2052 (do_test): Use run_script internal function.
2053 (do_prepare): Use create_script internal function.
2054
2055 2016-12-07 Andreas Schwab <schwab@suse.de>
2056
2057 * sysdeps/unix/sysv/linux/x86/elision-conf.h
2058 (__elision_available): Don't declare.
2059 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2060 (__elision_available): Don't define.
2061 (elision_init): Don't set __elision_available.
2062
2063 2016-12-07 Joseph Myers <joseph@codesourcery.com>
2064
2065 [BZ #20940]
2066 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
2067 return Inf for arguments Inf and sNaN.
2068 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
2069 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2070 Likewise.
2071 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2072 Likewise.
2073 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2074 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
2075 for arguments Inf and sNaN. When returning a NaN, compute it by
2076 arithmetic on the arguments.
2077 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
2078 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
2079 arguments.
2080
2081 2016-12-06 Joseph Myers <joseph@codesourcery.com>
2082
2083 [BZ #20916]
2084 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
2085 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
2086 to compute result.
2087 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2088 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
2089
2090 2016-12-05 Torvald Riegel <triegel@redhat.com>
2091
2092 * include/atomic.h (__atomic_check_size_ls): New.
2093 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
2094 atomic_store_release): Use it.
2095 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
2096 (elision_adapt, ELIDE_LOCK): Use atomics.
2097 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
2098 atomics and improve code comments.
2099 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
2100 (__lll_trylock_elision): Likewise.
2101
2102 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2103
2104 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
2105 programs.
2106
2107 2016-12-02 Joseph Myers <joseph@codesourcery.com>
2108
2109 [BZ #20916]
2110 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
2111 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
2112 arguments to compute result.
2113 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
2114 1 for arguments (sNaN, 0) or (1, sNaN).
2115 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2116 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2117
2118 [BZ #20919]
2119 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
2120 NaN first argument when raised to power 0.
2121 * math/w_pow.c (__pow): Do not check for NaN or zero results from
2122 raising to power zero.
2123 * math/w_powf.c (__powf): Likewise.
2124 * math/w_powl.c (__powl): Likewise.
2125 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
2126 pow (0, 0) or pow (NaN, 0).
2127
2128 2016-12-02 Carlos O'Donell <carlos@redhat.com>
2129
2130 [BZ #20918]
2131 * configure.ac: Test for static NSS cryptographic libraries and set
2132 libc_cv_static_nss_crypt.
2133 * configure: Regenerate.
2134 * config.make.in (static-nss-crypt): Define.
2135 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
2136 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
2137 (CFLAGS-tst-linkall-static.c): Define.
2138 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
2139 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
2140 ($(objpfx)tst-linkall-static): Define.
2141 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
2142 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
2143
2144 2016-12-02 Florian Weimer <fweimer@redhat.com>
2145
2146 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
2147 (one-hundred, tst-tls-many-dynamic-modules): Define.
2148 (modules-names): Add $(tst-tls-many-dynamic-modules).
2149 (tst-tls-manydynamic%mod.os): Build with special preprocessor
2150 macros.
2151 (tst-tls-manydynamic): Link against libdl, libpthread.
2152 (tst-tls-manydynamic.out): The test needs the test modules at run
2153 time.
2154 * elf/tst-tls-manydynamic.c: New file.
2155 * elf/tst-tls-manydynamic.h: Likewise.
2156 * elf/tst-tls-manydynamicmod.c: Likewise.
2157
2158 2016-12-02 Florian Weimer <fweimer@redhat.com>
2159
2160 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
2161 (TLS_DTV_UNALLOCATED): Add.
2162 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
2163 offsets.
2164
2165 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
2166
2167 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2168
2169 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
2170
2171 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
2172 Add -fno-optimize-sibling-calls.
2173
2174 2016-12-02 Joseph Myers <joseph@codesourcery.com>
2175
2176 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
2177 New declaration.
2178 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
2179 macro.
2180 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
2181 New macro.
2182 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
2183 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
2184 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
2185 (llogbf): Likewise.
2186 (llogbl): Likewise.
2187 * math/Makefile (gen-libm-calls): Add w_llogbF.
2188 (tests): Add test-fp-llogb-constants.
2189 * math/w_llogb_template.c: New file. Based on
2190 math/w_ilogb_template.c.
2191 * math/libm-test.inc (llogb_test_data): New array.
2192 (llogb_test): New function.
2193 (main): Call llogb_test.
2194 * math/test-fp-llogb-constants.c: New file. Based on
2195 math/test-fp-ilogb-constants.c.
2196 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
2197 (do_test): Call check_return_llogb.
2198 * math/test-tgmath.c (NCALLS): Increase to 126.
2199 (F(compile_test)): Call llogb.
2200 (F(llogb)): New function.
2201 * manual/math.texi (Exponents and Logarithms): Document llogb,
2202 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
2203 * manual/libm-err-tab.pl (@all_functions): Add llogb.
2204 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
2205 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
2206 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
2207 (CFLAGS-nldbl-llogb.c): New variable.
2208 * sysdeps/nacl/libm.abilist: Update.
2209 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2210 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2211 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2212 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2213 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2214 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2215 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2216 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2217 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2218 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2219 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2220 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2222 Likewise.
2223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2224 Likewise.
2225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2226 Likewise.
2227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2228 Likewise.
2229 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2230 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2231 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2232 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2233 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2234 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2235 Likewise.
2236 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2237 Likewise.
2238 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2239 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2240 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2241
2242 2016-12-01 Joseph Myers <joseph@codesourcery.com>
2243
2244 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
2245 _Float128 instead of long double.
2246 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
2247
2248 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
2249 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
2250 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
2251 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
2252 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
2253 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
2254 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
2255 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
2256 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
2257 Likewise.
2258
2259 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2260
2261 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
2262 Remove redirection to __strrchr_ppc.
2263
2264 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2265
2266 * sysdeps/powerpc/powerpc64/multiarch/Makefile
2267 (sysdep_routines): Add strcmp_power9.
2268 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2269 (strcmp): Add __strcmp_power9 to list of strcmp functions.
2270 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
2271 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
2272 (strcmp): Add __strcmp_power9 to ifunc list.
2273 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
2274
2275 2016-12-01 Joseph Myers <joseph@codesourcery.com>
2276
2277 * bits/fp-logb.h: New file.
2278 * sysdeps/ia64/bits/fp-logb.h: Likewise.
2279 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
2280 * sysdeps/x86/bits/fp-logb.h: Likewise.
2281 * math/Makefile (headers): Add bits/fp-logb.h.
2282 * math/math.h: Include <bits/fp-logb.h>.
2283 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
2284 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
2285 * bits/mathdef.h (FP_ILOGB0): Remove.
2286 (FP_ILOGBNAN): Likewise.
2287 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
2288 (FP_ILOGBNAN): Likewise.
2289 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
2290 (FP_ILOGBNAN): Likewise.
2291 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
2292 (FP_ILOGBNAN): Likewise.
2293 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
2294 (FP_ILOGBNAN): Likewise.
2295 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
2296 (FP_ILOGBNAN): Likewise.
2297 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
2298 (FP_ILOGBNAN): Likewise.
2299 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
2300 (FP_ILOGBNAN): Likewise.
2301 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
2302 (FP_ILOGBNAN): Likewise.
2303 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
2304 (FP_ILOGBNAN): Likewise.
2305
2306 * scripts/build-many-glibcs.py: Add bot to usage message. Import
2307 time module.
2308 (Context.__init__): Initialize self.logsdir_old.
2309 (Context.run_builds): Handle bot action.
2310 (Context.bot_cycle): Copy logs directory before running builds.
2311 (Context.bot_run_self): Take argument for whether to check
2312 subprocess result. Flush stdout before running subprocess.
2313 (Context.bot): New function.
2314 (get_parser): Allow bot action.
2315
2316 2016-11-30 Joseph Myers <joseph@codesourcery.com>
2317
2318 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
2319 Import email.mime.text, email.utils and smtplib modules.
2320 (Context.__init__): Initialize self.bot_config_json.
2321 (Context.run_builds): Handle bot-cycle action.
2322 (Context.load_bot_config_json): New function.
2323 (Context.part_build_old): Likewise.
2324 (Context.bot_cycle): Likewise.
2325 (Context.bot_build_mail): Likewise.
2326 (Context.bot_run_self): Likewise.
2327 (get_parser): Allow bot-cycle action.
2328
2329 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2330
2331 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
2332 Remove redirection to __stpcpy_ppc.
2333
2334 2016-11-30 Florian Weimer <fweimer@redhat.com>
2335
2336 Remove __libc_memalign from ld.so because it is unused.
2337 * elf/dl-minimal.c: Update comment on the malloc implementation.
2338 (malloc): Renamed from __libc_memalign, replacing the original
2339 malloc implementation. Replace the align parameter with
2340 MALLOC_ALIGNMENT.
2341 * elf/Versions (ld): Update comment and remove __libc_memalign.
2342 * sysdeps/nacl/ld.abilist: Likewise.
2343 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
2344 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
2345 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
2346 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
2347 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
2348 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
2349 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
2350 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
2351 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
2352 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
2353 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
2354 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
2355 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
2356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
2357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2359 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
2360 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
2361 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
2362 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
2363 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
2364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
2365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
2366 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
2367 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
2368 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
2369 * sysdeps/generic/localplt.data (ld.so): Likewise.
2370 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2371 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2372 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2373 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2374 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2375 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2376 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2377 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
2378 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2380 (ld.so): Likewise.
2381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2382 (ld.so): Likewise.
2383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2384 Likewise.
2385 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2386 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2387 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
2388 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
2389 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2390
2391 2016-11-30 Florian Weimer <fweimer@redhat.com>
2392
2393 [BZ #16628]
2394 Implement _dl_catch_error, _dl_signal_error in libc.so.
2395 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
2396 (catch_hook): Define as thread-local or regular variable,
2397 depending on DL_ERROR_BOOTSTRAP.
2398 (CATCH_HOOK): Remove.
2399 (dl_signal_error, _dl_catch_error): Use
2400 catch_hook. Add hidden definition for libc.
2401 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
2402 for DL_ERROR_BOOTSTRAP only.
2403 * elf/dl-error.c: New file.
2404 * elf/dl-error-minimal.c: Likewise.
2405 * elf/tst-latepthread.c: Likewise.
2406 * elf/tst-latepthreadmod.c: Likewise.
2407 * elf/Makefile (routines): Add dl-error.
2408 (dl-routines): Remove dl-error.
2409 (rtld-routines): Add dl-error-minimal.
2410 [build-shared] (tests): Add tst-latepthread.
2411 (module-names): Add tst-latepthreadmod.
2412 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
2413 symbol.
2414 (tst-latepthreadmod.so): Link against libpthread.
2415 (tst-latepthread): Link against libdbl.
2416 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
2417 _dl_catch_error.
2418 [ld] (GLIBC_PRIVATE): Likewise.
2419 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
2420 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
2421 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
2422 directly.
2423 * elf/dl-tsd.c: Remove file.
2424 * elf/rtld.c (_rtld_global_ro): Remove initializers for
2425 _dl_catch_error, _dl_signal_error.
2426 (_dl_initial_error_catch_tsd): Remove definition.
2427 (do_preload): Remove initialization of dl_error_catch_tsd.
2428 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
2429 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
2430 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2431 * dlfcn/dlopen.c (dlopen_doit): Likewise.
2432 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
2433 set dl_error_catch_tsd.
2434 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
2435 _dl_error_catch_tsd member.
2436 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
2437 members.
2438 (_dl_initial_error_catch_tsd): Remove declaration.
2439 (_dl_dprintf): Provide definition for use outside of ld.so.
2440 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
2441 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
2442 prototype for libc.
2443 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
2444 _dl_catch_error.
2445 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2446 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2447 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2448 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2449 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2450 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2451 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2452 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
2453 Likewise.
2454 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2456 (ld.so): Likewise.
2457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2458 (ld.so): Likewise.
2459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2460 Likewise.
2461 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2462 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2463 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
2464 Likewise.
2465 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
2466 Likewise.
2467 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2468
2469 2016-11-30 Florian Weimer <fweimer@redhat.com>
2470
2471 [BZ #4099]
2472 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
2473 _IO_BUFSIZ (8192).
2474
2475 2016-11-30 Carlos O'Donell <carlos@redhat.com>
2476
2477 * PROJECTS: Remove file.
2478
2479 2016-11-29 Florian Weimer <fweimer@redhat.com>
2480
2481 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
2482
2483 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
2484 Steve Ellcey <sellcey@caviumnetworks.com>
2485
2486 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
2487 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
2488 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
2489 fxstatat.
2490 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
2491 lxstat.
2492 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
2493 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
2494 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
2495 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
2496 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
2497 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
2498 __xstat.
2499
2500 2016-11-29 Florian Weimer <fweimer@redhat.com>
2501
2502 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
2503 Define.
2504 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
2505 definition.
2506
2507 2016-11-29 Florian Weimer <fweimer@redhat.com>
2508
2509 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
2510 version and turn into strong alias. Remove compat symbol.
2511
2512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2513 (__longjmp): Remove.
2514
2515 2016-11-29 Joseph Myers <joseph@codesourcery.com>
2516
2517 * bits/fp-fast.h: New file.
2518 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
2519 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
2520 * math/Makefile (headers): Add bits/fp-fast.h.
2521 * math/math.h: Include <bits/fp-fast.h>.
2522 * bits/mathdef.h (FP_FAST_FMA): Remove.
2523 (FP_FAST_FMAF): Likewise.
2524 (FP_FAST_FMAL): Likewise.
2525 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
2526 (FP_FAST_FMAF): Likewise.
2527 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
2528 (FP_FAST_FMAF): Likewise.
2529 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
2530 (FP_FAST_FMAF): Likewise.
2531 (FP_FAST_FMAL): Likewise.
2532 * sysdeps/arm/bits/mathdef.h: Remove file.
2533 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
2534 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2535 * sysdeps/tile/bits/mathdef.h: Likewise.
2536
2537 2016-11-28 Joseph Myers <joseph@codesourcery.com>
2538
2539 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
2540 * math/w_ilogb.c: Remove.
2541 * math/w_ilogbf.c: Likewise.
2542 * math/w_ilogbl.c: Likewise.
2543 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
2544 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
2545 * math/Makefile (gen-libm-calls): Add w_ilogbF.
2546 (libm-calls): Remove w_ilogbF.
2547 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
2548 (LDOUBLE_ilogbl_libm_version): New macro.
2549
2550 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
2551
2552 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
2553 [!__STRICT_ANSI__ && !__cplusplus].
2554
2555 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
2556
2557 [BZ #20750]
2558 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
2559 of PIC.
2560
2561 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2562 Yury Norov <ynorov@caviumnetworks.com>
2563 Steve Ellcey <sellcey@caviumnetworks.com>
2564
2565 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
2566 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
2567 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
2568 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
2569 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
2570 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
2571 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
2572 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
2573 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
2574 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
2575 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
2576 to get correct reg name for ILP32.
2577 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
2578 (RELA_SIZE): New Macro.
2579 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
2580 to support ILP32.
2581 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
2582 cast for ILP32 mode.
2583 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
2584 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
2585 * sysdeps/aarch64/memset.S (__memset): Ditto.
2586 * sysdeps/aarch64/strchr.S (strchr): Ditto.
2587 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
2588 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
2589 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
2590 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
2591 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
2592 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
2593 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
2594 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
2595 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
2596 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
2597 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
2598 change PTR_MANGLE call to use register numbers instead of names.
2599 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
2600 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
2601 ILP32 mode, change PTR_MANGLE calls to use register numbers.
2602 * sysdeps/aarch64/start.S (_start): Ditto.
2603 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
2604 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
2605 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
2606 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
2607 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
2608 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
2609 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
2610 Make defined values dependent on __ILP32__.
2611 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
2612 (sem_t): Change __align type.
2613 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
2614 PTR_SIZE): New Macros.
2615 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
2616 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
2617 Set when in ILP32 mode.
2618 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
2619 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
2620 Set elf flags for ILP32.
2621 (add_system_dir): Set ILP32 library directories.
2622 * sysdeps/unix/sysv/linux/aarch64/init-first.c
2623 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
2624 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
2625 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
2626 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
2627 New Macros.
2628 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
2629
2630 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
2631
2632 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
2633 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
2634 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
2635
2636 2016-11-28 Joseph Myers <joseph@codesourcery.com>
2637
2638 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
2639 <asm/cachectl.h>.
2640
2641 2016-11-27 Zack Weinberg <zackw@panix.com>
2642
2643 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
2644 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
2645
2646 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2647
2648 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
2649 error_t to fix usage in C++ programs.
2650
2651 2016-11-26 Joseph Myers <joseph@codesourcery.com>
2652
2653 * scripts/build-many-glibcs.py: Import datetime module.
2654 (Context.__init__): Load JSON build state. Initialize list of
2655 status logs.
2656 (Context.run_builds): Update saved build state.
2657 (Context.add_makefile_cmdlist): Update list of status logs.
2658 (Context.load_build_state_json): New function.
2659 (Context.store_build_state_json): Likewise.
2660 (Context.clear_last_build_state): Likewise.
2661 (Context.update_build_state): Likewise.
2662 (CommandList.status_logs): Likewise.
2663
2664 2016-11-25 Joseph Myers <joseph@codesourcery.com>
2665
2666 * scripts/build-many-glibcs.py (Context.__init__): Save text of
2667 script being executed.
2668 (Context.get_script_text): New function.
2669 (Context.exec_self): Likewise.
2670 (Context.checkout): Re-exec script if changed by checkout process.
2671
2672 2016-11-24 Joseph Myers <joseph@codesourcery.com>
2673
2674 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2675 (setpayloadsig): New declaration.
2676 * math/Versions (setpayloadsig): New libm symbol at version
2677 GLIBC_2.25.
2678 (setpayloadsigf): Likewise.
2679 (setpayloadsigl): Likewise.
2680 * math/Makefile (libm-calls): Add s_setpayloadsigF.
2681 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
2682 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
2683 (setpayloadsig_test_data): New array.
2684 (setpayloadsig_test): New function.
2685 (main): Call setpayloadsig_test.
2686 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
2687 setpayloadsigf and setpayloadsigl.
2688 * manual/libm-err-tab.pl: Update comment on interfaces without
2689 ulps tabulated.
2690 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
2691 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
2692 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
2693 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
2694 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
2695 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
2696 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2697 setpayloadsig.
2698 (CFLAGS-nldbl-setpayloadsig.c): New variable.
2699 * sysdeps/nacl/libm.abilist: Update.
2700 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2701 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2702 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2703 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2704 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2705 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2706 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2707 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2708 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2709 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2710 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2711 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2713 Likewise.
2714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2715 Likewise.
2716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2717 Likewise.
2718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2719 Likewise.
2720 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2721 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2722 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2723 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2724 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2725 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2726 Likewise.
2727 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2728 Likewise.
2729 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2730 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2731 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2732
2733 * scripts/build-many-glibcs.py: Import json module.
2734 (Context.__init__): Take replace_sources argument. Load
2735 versions.json.
2736 (Context.load_versions_json): New function.
2737 (Context.store_json): Likewise.
2738 (Context.store_versions_json): Likewise.
2739 (Context.set_component_version): Likewise.
2740 (Context.checkout): Update versions.json. Check for and handle
2741 changes of version. Prefer previously explicitly specified
2742 version to default version.
2743 (Context.checkout_vcs): Return a revision identifier.
2744 (Context.git_checkout): Likewise.
2745 (Context.gcc_checkout): Likewise.
2746 (get_parser): Add --replace-sources option.
2747 (main): Pass replace_sources argument to Context call.
2748
2749 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2750
2751 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
2752 * nptl/allocatestack.c (allocate_stack): Likewise.
2753 (__reclaim_stacks): Likewise.
2754 (setxid_signal_thread): Obtain pid through syscall.
2755 * nptl/nptl-init.c (sigcancel_handler): Likewise.
2756 (sighandle_setxid): Likewise.
2757 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
2758 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2759 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
2760 Likewise.
2761 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
2762 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
2763 comment.
2764 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
2765 * nptl/descr.h (struct pthread): Change comment about pid value.
2766 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
2767 pid assert.
2768 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
2769 Do not set pid value.
2770 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
2771 pid cache check.
2772 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
2773 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
2774 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
2775 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
2776 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
2777 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2778 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
2779 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
2780 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
2781 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
2782 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
2783 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2784 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
2785 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2786 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
2787 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
2788 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2789 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
2790 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
2791 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
2792 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
2793 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2794 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
2795 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
2796 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
2797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2799 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2800 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2801 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2802 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
2803 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2804 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
2805 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2806 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
2807 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2808 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
2809 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2810 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
2811 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2812 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2813 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
2814 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
2815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2817 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2818 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2819 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2820 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2821 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2822 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
2823 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2824 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2825 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
2826 struct access.
2827 (clone_test): Remove function.
2828 (do_test): Rewrite to take in consideration pid is not cached anymore.
2829
2830 2016-11-24 Joseph Myers <joseph@codesourcery.com>
2831
2832 * bits/flt-eval-method.h: New file.
2833 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
2834 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
2835 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
2836 * math/Makefile (headers): Add bits/flt-eval-method.h.
2837 * math/math.h: Include <bits/flt-eval-method.h>.
2838 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
2839 [__USE_ISOC99] (double_t): Likewise.
2840 * bits/mathdef.h (float_t): Remove.
2841 (double_t): Likewise.
2842 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
2843 (double_t): Likewise.
2844 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
2845 (double_t): Likewise.
2846 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
2847 (double_t): Likewise.
2848 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
2849 (double_t): Likewise.
2850 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
2851 (double_t): Likewise.
2852 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
2853 (double_t): Likewise.
2854 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
2855 (double_t): Likewise.
2856 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
2857 (double_t): Likewise.
2858 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
2859 (double_t): Likewise.
2860 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
2861 (double_t): Likewise.
2862 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
2863 (double_t): Likewise.
2864 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
2865 (double_t): Likewise.
2866 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
2867 (double_t): Likewise.
2868
2869 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
2870
2871 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
2872 instead of PIC.
2873
2874 2016-11-23 Joseph Myers <joseph@codesourcery.com>
2875
2876 [BZ #20859]
2877 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
2878 (-0x7fffffff) instead of 0x80000001.
2879 * math/test-fp-ilogb-constants.c: New file.
2880 * math/Makefile (tests): Add test-fp-ilogb-constants.
2881
2882 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
2883
2884 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
2885 (_init): Use it in place of hardcoded R_MIPS_JALR.
2886 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
2887 (_init): Use it in place of hardcoded R_MIPS_JALR.
2888 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
2889 (_init): Use it in place of hardcoded R_MIPS_JALR.
2890
2891 2016-11-23 Joseph Myers <joseph@codesourcery.com>
2892
2893 [BZ #20787]
2894 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
2895 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
2896 (double_t): Do not define to double if [__x86_64__] when
2897 __FLT_EVAL_METHOD__ is nonzero.
2898 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
2899 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
2900 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2901 test-flt-eval-method-387 and test-flt-eval-method-sse.
2902 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
2903 variable.
2904 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
2905
2906 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
2907
2908 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
2909 use of -fno-isolate-erroneous-paths options for tilepro.
2910
2911 2016-11-23 Florian Weimer <fweimer@redhat.com>
2912
2913 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
2914 structure initialization is no longer needed.
2915
2916 2016-11-23 Joseph Myers <joseph@codesourcery.com>
2917
2918 [BZ #20855]
2919 * bits/mathdef.h (float_t): Define to float.
2920 * math/test-flt-eval-method.c: New file.
2921 * math/Makefile (tests): Add test-flt-eval-method.
2922 (CFLAGS-test-flt-eval-method.c): New variable.
2923
2924 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
2925
2926 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
2927 and __fstatfs. Make them aliases of __fstatfs64 if
2928 STATFS_IS_STATFS64 is set to non-zero.
2929 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
2930 and __statfs64.
2931 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
2932 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
2933 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
2934 for __statfs and statfs.
2935 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
2936 to 0.
2937 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
2938 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
2939 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
2940 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
2941 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
2942 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
2943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
2944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
2945 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
2946 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
2947 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
2948 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
2949
2950 2016-11-22 Andreas Schwab <schwab@suse.de>
2951
2952 * misc/mkstemp.c: Include <fcntl.h>.
2953 * misc/mkstemps.c: Likewise.
2954 * misc/mkostemp.c: Likewise.
2955 * misc/mkostemps.c: Likewise.
2956
2957 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
2958
2959 [BZ #20847]
2960 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2961 array bounds.
2962 (__execvpe): Likewise.
2963
2964 2016-11-22 Joseph Myers <joseph@codesourcery.com>
2965
2966 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
2967 -fno-isolate-erroneous-paths options for tilepro.
2968
2969 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
2970
2971 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
2972 to 0 when in 32 bit mode.
2973 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
2974 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
2975 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
2976 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
2977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
2978 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
2979 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
2980 XSTAT_IS_XSTAT64 test.
2981 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
2982 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
2983 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
2984 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
2985 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
2986 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
2987 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
2988 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
2989 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
2990 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
2991 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
2992
2993 2016-11-19 Joseph Myers <joseph@codesourcery.com>
2994
2995 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2996 (setpayload): New declaration.
2997 * math/Versions (setpayload): New libm symbol at version
2998 GLIBC_2.25.
2999 (setpayloadf): Likewise.
3000 (setpayloadl): Likewise.
3001 * math/Makefile (libm-calls): Add s_setpayloadF.
3002 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
3003 test_Ff_b1_data.
3004 (RUN_TEST_Ff_b1): New macro.
3005 (RUN_TEST_LOOP_Ff_b1): Likewise.
3006 (canonicalize_test_data): Update type.
3007 (setpayload_test_data): New array.
3008 (setpayload_test): New function.
3009 (main): Call setpayload_test.
3010 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
3011 setpayloadf and setpayloadl.
3012 * manual/libm-err-tab.pl: Update comment on interfaces without
3013 ulps tabulated.
3014 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
3015 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
3016 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
3017 Likewise.
3018 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
3019 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
3020 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
3021 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
3022 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
3023 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
3024 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
3025 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
3026 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
3027 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3028 setpayload.
3029 (CFLAGS-nldbl-setpayload.c): New variable.
3030 * sysdeps/nacl/libm.abilist: Update.
3031 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3032 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3033 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3034 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3035 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3036 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3037 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3038 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3039 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3040 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3041 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3042 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3044 Likewise.
3045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3046 Likewise.
3047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3048 Likewise.
3049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3050 Likewise.
3051 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3052 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3053 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3054 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3055 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3057 Likewise.
3058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3059 Likewise.
3060 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3061 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3062 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3063
3064 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3065
3066 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
3067 * include/unistd.h: Extend comment about __access_noerrno return
3068 semantics.
3069 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
3070 (access_common): Correct typo for EACCES.
3071
3072 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
3073
3074 * sysdeps/tile/math-tests.h: New file.
3075
3076 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
3077 (__old_set_dataplane): Rename from set_dataplane and make a
3078 compatibility symbol.
3079 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
3080 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
3081 sys/dataplane.h.
3082
3083 2016-11-18 Joseph Myers <joseph@codesourcery.com>
3084
3085 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
3086 script quote words in command output to log suitably for input to
3087 the shell.
3088
3089 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
3090 Maciej W. Rozycki <macro@imgtec.com>
3091
3092 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
3093 `.Lno_weak_fn' label.
3094 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
3095 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
3096
3097 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3098 Yury Norov <ynorov@caviumnetworks.com>
3099
3100 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
3101 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
3102 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3103 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
3104 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3105 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
3106 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3107 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3108 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3109 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
3110 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3111 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
3112 (sysdep_routines): Remove oldgetrlimit64.
3113 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
3114 (sysdep_routines): Likewise.
3115 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
3116 (sysdep_routines): Likewise.
3117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3118 [$(subdir) = resource] (sysdep_routines): Likewise.
3119 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3120 [$(subdir) = resource] (sysdep_routines): Likewise.
3121 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
3122 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
3123 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
3124 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
3125 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
3126 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
3127 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
3128 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
3129 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
3130 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
3131 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
3132 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
3133 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
3134 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
3135 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
3136 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
3137 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
3138 setrlimit and getrlimit.
3139 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3140 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3141 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
3142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
3143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
3144 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3145 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3146 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3147 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3148 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
3149 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
3150 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
3151 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
3152 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
3153 (__old_getrlimit64): Add compatibility symbol.
3154 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
3155
3156 2016-11-17 Joseph Myers <joseph@codesourcery.com>
3157
3158 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
3159 newly built gmp, mpfr and mpc.
3160
3161 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
3162
3163 2016-11-16 Joseph Myers <joseph@codesourcery.com>
3164
3165 * conform/Makefile (linknamespace-libs): Rename to
3166 linknamespace-libs-thr.
3167 (linknamespace-libs-posix): New variable.
3168 (linknamespace-libs-xsi): Likewise.
3169 (linknamespace-libs-XPG3): Include libcrypt.a.
3170 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
3171 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
3172 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
3173 (linknamespace-libs-XOPEN2K): Likewise.
3174 (linknamespace-libs-XOPEN2K8): Likewise.
3175 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
3176
3177 [BZ #20829]
3178 * stdio-common/Versions (__snprintf): Add to version
3179 GLIBC_PRIVATE.
3180 * include/stdio.h (__snprintf): Use libc_hidden_proto.
3181 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
3182 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
3183 of snprintf.
3184 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3185
3186 2016-11-16 Zack Weinberg <zackw@panix.com>
3187
3188 * string/string.h: Remove obsolete comment stating that
3189 strcoll_l and strxfrm_l have not yet been standardized.
3190
3191 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3192
3193 * hurd/hurd.h (__hurd_fail_noerrno): New function.
3194 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
3195 __access_noerrno.
3196 * io/access.c (__access_noerrno): New function.
3197 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
3198 (hurd_fail_seterrno): Likewise.
3199 (access_common): Likewise.
3200 (__access_noerrno): Likewise.
3201 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
3202 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
3203 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
3204 macro.
3205
3206 2016-11-16 Joseph Myers <joseph@codesourcery.com>
3207
3208 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
3209 Only declare fpregs if [__SH_FPU_ANY__].
3210
3211 2016-11-15 Joseph Myers <joseph@codesourcery.com>
3212
3213 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
3214 Make code unconditional.
3215 [!(__SH4__ || __SH4A__)]: Remove conditional code.
3216
3217 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
3218
3219 * manual/sysinfo.texi (S_APPEND): Delete.
3220 (S_IMMUTABLE): Likewise.
3221
3222 2016-11-15 Denis Kaganovich <mahatma@eu.by>
3223 Magnus Granberg <zorry@gentoo.org>
3224 Mike Frysinger <vapier@gentoo.org>
3225
3226 [BZ #20662]
3227 * configure.ac (libc_cv_predef_stack_protector): Also check for
3228 __stack_chk_fail_local symbols.
3229 * configure: Regenerated.
3230
3231 2016-11-15 Florian Weimer <fweimer@redhat.com>
3232
3233 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3234 (libc_hidden_def): Remove redefinition.
3235 (__sigsetjmp): Add hidden definition.
3236 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3237 (libc_hidden_def): Remove redefinition.
3238 (__sigsetjmp): Add hidden definition.
3239
3240 2016-11-14 Joseph Myers <joseph@codesourcery.com>
3241
3242 * scripts/build-many-glibcs.py (os.path): Do not import.
3243 (Context): Inherit explicitly from object. Remove blank line
3244 between class and docstring.
3245 (Config): Likewise.
3246 (Glibc): Likewise.
3247 (Command): Likewise.
3248 (CommandList): Likewise.
3249 (Context.write_files): Store chmod mode in a variable.
3250
3251 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
3252 LIBC_SLIBDIR_RTLDDIR for tilegx32.
3253 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
3254
3255 2016-11-14 Zack Weinberg <zackw@panix.com>
3256
3257 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
3258 creating or re-creating it.
3259
3260 * string/bits/string2.h: Fix typo in comment.
3261
3262 2016-11-14 Zack Weinberg <zackw@panix.com>
3263
3264 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
3265 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
3266 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
3267 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
3268 of redirected function names.
3269
3270 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
3271 as well. Document that MESSAGE must be a single string literal.
3272
3273 2016-11-11 Joseph Myers <joseph@codesourcery.com>
3274
3275 * scripts/build-many-glibcs.py: New file.
3276
3277 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
3278 (do_test): Disable -Wmaybe-uninitialized around uses of
3279 except_mask.
3280
3281 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
3282
3283 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
3284
3285 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
3286 (atomic_store_release): Provide tilepro-specific implementations.
3287
3288 2016-11-10 Joseph Myers <joseph@codesourcery.com>
3289
3290 * math/math.h (__MATH_TG): New macro.
3291 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
3292 [__USE_ISOC99] (signbit): Likewise.
3293 [__USE_ISOC99] (isfinite): Likewise.
3294 [__USE_ISOC99] (isnan): Likewise.
3295 [__USE_ISOC99] (isinf): Likewise.
3296 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
3297 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
3298 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
3299 __MATH_TG and __MATH_EVAL_FMT2.
3300 * sysdeps/generic/math_private.h (fabs_tg): Define using
3301 __MATH_TG.
3302 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3303 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
3304 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
3305 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
3306 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
3307 macro.
3308 (__iscanonical): Likewise.
3309 (iscanonical): Define using __MATH_TG.
3310
3311 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3312
3313 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
3314 guards.
3315
3316 * sysdeps/unix/sysv/linux/access.c: New file.
3317 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
3318
3319 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
3320
3321 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
3322 and __WORDSIZE32_PTRDIFF_LONG.
3323
3324 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
3325
3326 * sysdeps/aarch64/libm-test-ulps: Regenerated.
3327
3328 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3329
3330 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
3331 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
3332 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
3333 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
3334 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
3335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
3336 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
3337 * sysdeps/unix/sysv/linux/truncate.c: New file.
3338 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
3339 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3340 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
3341 Remove.
3342 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
3343 Likewise.
3344
3345 * posix/tst-truncate-common.c: New file.
3346 * posix/tst-truncate.c: Use tst-truncate-common.c.
3347 * posix/tst-truncate64.c: Likewise and add LFS tests.
3348 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
3349 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
3350 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
3351 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
3352 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
3353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
3354 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
3355 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
3356 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
3357 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3358 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
3359 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
3360 Remove.
3361 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
3362 Likewise.
3363
3364 2016-11-08 Joseph Myers <joseph@codesourcery.com>
3365
3366 [BZ #20790]
3367 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
3368 to MAXLINESIZE.
3369 * sunrpc/bug20790.x: New file.
3370 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
3371 variable.
3372 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
3373 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
3374
3375 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
3376
3377 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
3378
3379 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
3380 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
3381 calloc, realloc, free, memalign and __libc_memalign rather than
3382 making them optional.
3383
3384 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
3385 for libc.so.
3386
3387 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3388
3389 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
3390 ptw-lseek64.
3391 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
3392 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
3393 Likewise.
3394 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
3395 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
3396 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
3397 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
3398 * sysdeps/unix/sysv/linux/lseek.c: New file.
3399 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
3400 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
3401 __libc_lseek64 from auto-generation.
3402 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3403 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
3404
3405 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3406
3407 * nptl/tst-basic1.c (tf, do_test): Use write_message.
3408 * nptl/tst-cleanup1.c (do_test): Likewise.
3409 * nptl/tst-cleanup3.c (do_test): Likewise.
3410 * nptl/tst-key1.c (do_test): Likewise.
3411 * nptl/tst-key2.c (tf, do_test): Likewise.
3412 * nptl/tst-key3.c (tf, do_test): Likewise.
3413 * nptl/tst-stdio1.c (do_test): Likewise.
3414 * nptl/tst-stdio2.c (do_test): Likewise.
3415
3416 * nptl/tst-kill3.c (handler): Use write_message in place of write.
3417 * nptl/tst-kill6.c (handler): Likewise.
3418 * nptl/tst-tls2.c (CB): Likewise.
3419 * nptl/tst-tls3.c (CB): Likewise.
3420
3421 2016-11-07 Joseph Myers <joseph@codesourcery.com>
3422
3423 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
3424
3425 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
3426 Steve Ellcey <sellcey@caviumnetworks.com>
3427
3428 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
3429 __ASSUME_ST_INO_64_BIT as 0
3430 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
3431 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
3432 over the code where __ASSUME_ST_INO_64_BIT is used.
3433 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3434 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3435 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3436
3437 2016-11-07 Florian Weimer <fweimer@redhat.com>
3438
3439 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3440 Document ABI exposure of the __kind offset.
3441 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3442 Mention reason for the __kind offset exposure in the ABI.
3443 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3444 Likewise.
3445 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3446 Likewise.
3447 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3448 Likewise.
3449 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
3450 (struct __pthread_mutex_s): Likewise.
3451 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3452 Likewise.
3453 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3454 Likewise.
3455 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3456 Likewise.
3457 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3458 Likewise.
3459 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3460 Likewise.
3461 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3462 Likewise.
3463 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
3464 (struct __pthread_mutex_s): Likewise.
3465 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3466 (struct __pthread_mutex_s): Likewise.
3467 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
3468 Likewise.
3469
3470 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
3471
3472 * test-skeleton.c: Document do_test usage.
3473
3474 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
3475
3476 * iconv/gconv.h (__gconv_info): Define __data element using a
3477 zero-length array.
3478
3479 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
3480
3481 * math/test-tgmath2.c: Split up test function.
3482
3483 2016-11-04 Joseph Myers <joseph@codesourcery.com>
3484
3485 * Rules (tests-expected): New variable, depending on
3486 $(run-built-tests).
3487 (tests): Pass $(tests-expected) to merge-test-results.sh, not
3488 $(tests).
3489
3490 * Rules [$(run-built-tests) = no] (tests): Do not depend on
3491 $(tests-unsupported).
3492
3493 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3494
3495 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
3496 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
3497
3498 2016-11-04 Joseph Myers <joseph@codesourcery.com>
3499
3500 [BZ #20768]
3501 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
3502 __fegetenv instead of fegetenv.
3503
3504 [BZ #14139]
3505 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
3506 (find_files): Obtain platform name from libm-test-ulps-name and
3507 store in %pplatforms.
3508 (canonicalize_platform): Remove.
3509 (print_platforms): Use $pplatforms directly.
3510 (by_platforms): Do not allow for platforms missing from
3511 %pplatforms.
3512 * sysdeps/aarch64/libm-test-ulps-name: New file.
3513 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
3514 * sysdeps/arm/libm-test-ulps-name: Likewise.
3515 * sysdeps/generic/libm-test-ulps-name: Likewise.
3516 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
3517 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
3518 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
3519 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
3520 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
3521 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
3522 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
3523 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
3524 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
3525 * sysdeps/nios2/libm-test-ulps-name: Likewise.
3526 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
3527 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
3528 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
3529 * sysdeps/sh/libm-test-ulps-name: Likewise.
3530 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
3531 * sysdeps/tile/libm-test-ulps-name: Likewise.
3532 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
3533
3534 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
3535
3536 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
3537 (test-xfail-check-execstack): New variable.
3538
3539 * sysdeps/mips/localplt.data: New file.
3540
3541 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
3542 Steve Ellcey <sellcey@caviumnetworks.com>
3543
3544 * bits/wordsize.h: Add documentation.
3545 * sysdeps/aarch64/bits/wordsize.h : New file
3546 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
3547 definitions.
3548 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
3549 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
3550 with #if instead of #ifdef.
3551 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
3552 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
3553 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
3554 Add or change defines.
3555 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
3556 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3557 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
3558 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
3559 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3560 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3561 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
3562 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
3563 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
3564 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3565 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
3566 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
3567 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
3568 * sysdeps/x86/bits/wordsize.h: Likewise.
3569
3570 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
3571 Kevin Petit <kevin.petit@arm.com>
3572
3573 * sysdeps/aarch64/memchr.S (__memchr): New file.
3574
3575 2016-11-04 Joseph Myers <joseph@codesourcery.com>
3576
3577 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
3578
3579 2016-11-03 Joseph Myers <joseph@codesourcery.com>
3580
3581 [BZ #19398]
3582 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
3583 $(linknamespace-symlists-tests).
3584
3585 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
3586
3587 * time/tst-strptime2.c: Ignore -Wformat-length warning.
3588
3589 2016-11-02 Florian Weimer <fweimer@redhat.com>
3590 Carlos O'Donell <carlos@redhat.com>
3591
3592 [Bug #20729]
3593 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
3594 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
3595 for -Os related change.
3596
3597 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
3598
3599 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
3600
3601 2016-11-01 Joseph Myers <joseph@codesourcery.com>
3602
3603 [BZ #19673]
3604 * manual/math.texi (Exponents and Logarithms): Correct description
3605 of clog10.
3606
3607 2016-10-31 Carlos O'Donell <carlos@redhat.com>
3608
3609 [Bz #20729]
3610 * locale/weight.h: Include libc-internal.h.
3611 * locale/weightwc.h: Likewise.
3612 * nptl/nptl_dbP.h: Likewise.
3613
3614 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
3615
3616 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
3617 when it is MACH_PORT_NULL.
3618
3619 2016-10-31 Andreas Schwab <schwab@suse.de>
3620
3621 [BZ #20707]
3622 * posix/glob.c (glob): Initialize pglob before checking for
3623 GLOB_BRACE. Don't call glob recursively if pattern contains no
3624 valid brace expression despite GLOB_BRACE.
3625 * posix/globtest.sh: Test it.
3626
3627 2016-10-28 Carlos O'Donell <carlos@redhat.com>
3628
3629 [BZ #20729]
3630 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
3631 Define.
3632 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
3633 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
3634 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
3635 for seq2.back_us and seq1.back_us only for -Os compiles.
3636 * locale/weightwc.h (findix): Likewise.
3637 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
3638 DB_GET_FIELD_ADDRESS only for -Os compiles.
3639 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
3640 for slen only for -Os compiles.
3641 * string/strcoll_l.c (get_next_seq): Ignore
3642 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
3643 for -Os compiles.
3644
3645 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
3646 * include/crypt.h: New file.
3647
3648 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3649
3650 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
3651 from test-skeleton.c.
3652 (statclass): Replace calls to write with calls to write_message.
3653
3654 2016-10-28 Joseph Myers <joseph@codesourcery.com>
3655
3656 * math/math.h
3657 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
3658 New macro.
3659 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
3660 Likewise.
3661 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
3662 Likewise.
3663 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
3664 SNANL.
3665 * math/test-double.h (snan_value_MACRO): New macro.
3666 * math/test-float.h (snan_value_MACRO): Likewise.
3667 * math/test-ldouble.h (snan_value_MACRO): Likewise.
3668 * math/libm-test.inc (issignaling_test_data): Add tests of
3669 snan_value_MACRO.
3670
3671 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3672
3673 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
3674 behavior when eliding a lock not held by the current thread.
3675 * sysdeps/powerpc/nptl/elide.h: Likewise.
3676
3677 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3678
3679 [BZ #20728]
3680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
3681 branch to _exit() by a function call.
3682
3683 2016-10-28 Florian Weimer <fweimer@redhat.com>
3684
3685 * malloc/malloc.c: Update chunk layout comments.
3686 (chunk_main_arena): Update comment.
3687
3688 2016-10-28 Florian Weimer <fweimer@redhat.com>
3689
3690 * crypt/sha256.c, crypt/sha256-block.c,
3691 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
3692 sha256_process_block to __sha256_process_block.
3693 * crypt/sha512.c, crypt/sha512-block.c,
3694 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
3695 sha512_process_block to __sha512_process_block.
3696
3697 2016-10-28 Carlos O'Donell <carlos@redhat.com>
3698
3699 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
3700
3701 * math/test-nan-overflow.c: Include stdlib.h for malloc.
3702
3703 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
3704
3705 [BZ #20019]
3706 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
3707 definition in unrelocated shared library.
3708 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3709
3710 2016-10-28 Florian Weimer <fweimer@redhat.com>
3711
3712 [BZ #20729]
3713 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
3714 * sysdeps/unix/sysv/linux/i386/Makefile
3715 (uses-6-syscall-arguments): Define.
3716 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
3717 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
3718 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
3719 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
3720 Likewise.
3721 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
3722 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
3723 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
3724 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
3725 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
3726 (CFLAGS-fallocate64.os): Likewise.
3727 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
3728 (CFLAGS-pthread_rwlock_timedrdlock.os)
3729 (CFLAGS-pthread_rwlock_timedwrlock.o)
3730 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
3731 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
3732 (CFLAGS-sem_timedwait.os): Likewise.
3733
3734 2016-10-28 Florian Weimer <fweimer@redhat.com>
3735
3736 * elf/tst-linkall-static.c: New file.
3737 * elf/Makefile (tests-static): Add tst-linkall-static.
3738 (tst-linkall-static): Link against static libraries.
3739
3740 2016-10-27 Florian Weimer <fweimer@redhat.com>
3741
3742 * malloc/malloc.c (sysmalloc): Initialize previous size field of
3743 mmaped chunks.
3744
3745 2016-10-28 Florian Weimer <fweimer@redhat.com>
3746
3747 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
3748 members to mchunk_prev_size, mchunk_size.
3749 (chunk_main_arena): Reverse sense and rename from
3750 chunk_non_main_arena.
3751 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
3752 mchunk_size instead of size.
3753 (set_non_main_arena): Define.
3754 (chunksize): Use chunksize_nomask instead of direct member access.
3755 (chunksize_nomask): Define.
3756 (next_chunk): Use chunksize instead of direct member access.
3757 (prev_size, set_prev_size): Define.
3758 (prev_chunk): Use prev_size instead of direct member access.
3759 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
3760 (inuse_bit_at_offset, set_inuse_bit_at_offset)
3761 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
3762 (mchunk_prev_size, mchunk_size): Poison tokens.
3763 (unlink): Use chunksize_nomask, prev_size accessors.
3764 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
3765 (do_check_free_chunk): Use prev_size accessor.
3766 (sysmalloc): Use set_prev_size, set_head accessors.
3767 (munmap_chunk, mremap_chunk): Use prev_size accessor.
3768 (__libc_free): Use chunksize_nomask accessor.
3769 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
3770 chunk_main_arena accessors.
3771 (_int_free): Use chunksize_nomask, prev_size accessors.
3772 (malloc_consolidate): Use chunksize, prev_size accessors.
3773 (_int_realloc): Use chunksize_nomask accessor.
3774 (_int_memalign): Use set_prev_size accessor.
3775 (__malloc_info): Use chunksize_nomask accessor.
3776 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
3777 accessors.
3778 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
3779 (heap_trim): Use chunksize_nomask, prev_size accessors.
3780
3781 2016-10-28 Joseph Myers <joseph@codesourcery.com>
3782
3783 [BZ #19380]
3784 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
3785 for inexact results.
3786 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
3787 of inexact result where mpfr_subnormalize is the only inexact
3788 step.
3789 * stdlib/tst-strtod-round-data.h: Regenerated.
3790 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
3791 Define to 0.
3792 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
3793
3794 2016-10-27 David S. Miller <davem@davemloft.net>
3795
3796 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
3797
3798 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
3799
3800 * malloc/malloc.c (do_set_mallopt_check): New function.
3801 (do_set_mmap_threshold): Likewise.
3802 (do_set_mmaps_max): Likewise.
3803 (do_set_top_pad): Likewise.
3804 (do_set_perturb_byte): Likewise.
3805 (do_set_trim_threshold): Likewise.
3806 (do_set_arena_max): Likewise.
3807 (do_set_arena_test): Likewise.
3808 (__libc_mallopt): Use them.
3809
3810 2016-10-26 Joseph Myers <joseph@codesourcery.com>
3811
3812 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3813 (canonicalize): New declaration.
3814 * math/Versions (canonicalize): New libm symbol at version
3815 GLIBC_2.25.
3816 (canonicalizef): Likewise.
3817 (canonicalizel): Likewise.
3818 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
3819 * math/s_canonicalize_template.c: New file.
3820 * math/libm-test.inc: Update comment on functions tested and
3821 testing of NaN payloads.
3822 (TEST_NAN_PAYLOAD): New macro.
3823 (NO_TEST_INLINE): Update value.
3824 (XFAIL_TEST): Likewise.
3825 (ERRNO_UNCHANGED): Likewise.
3826 (ERRNO_EDOM): Likewise.
3827 (ERRNO_ERANGE): Likewise.
3828 (IGNORE_RESULT): Likewise.
3829 (NON_FINITE): Likewise.
3830 (TEST_SNAN): Likewise.
3831 (NO_TEST_MATHVEC): Likewise.
3832 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
3833 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
3834 (struct test_Ffp_b1_data): New type.
3835 (RUN_TEST_Ffp_b1): New macro.
3836 (RUN_TEST_LOOP_Ffp_b1): Likewise.
3837 (canonicalize_test_data): New array.
3838 (canonicalize_test): New function.
3839 (main): Call canonicalize_test.
3840 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
3841 canonicalizef and canonicalizel.
3842 * manual/libm-err-tab.pl: Update comment on interfaces without
3843 ulps tabulated.
3844 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
3845 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
3846 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3847 canonicalize.
3848 (CFLAGS-nldbl-canonicalize.c): New variable.
3849 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
3850 to ...
3851 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
3852 ... here.
3853 (do_test): Also test canonicalizel.
3854 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
3855 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
3856 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
3857 file.
3858 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
3859 Use libm_hidden_def.
3860 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
3861 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
3862 (do_test): Also test canonicalizel.
3863 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
3864 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
3865 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
3866 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
3867 libm_hidden_def.
3868 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
3869 macro.
3870 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
3871 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
3872 * sysdeps/nacl/libm.abilist: Update.
3873 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3874 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3875 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3876 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3877 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3878 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3879 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3880 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3881 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3882 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3883 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3884 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3886 Likewise.
3887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3888 Likewise.
3889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3890 Likewise.
3891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3892 Likewise.
3893 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3894 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3895 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3896 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3897 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3899 Likewise.
3900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3901 Likewise.
3902 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3903 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3904 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3905
3906 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
3907 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3908 getpayload.
3909 (CFLAGS-nldbl-getpayload.c): New variable.
3910
3911 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3912
3913 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
3914 integer from the format string.
3915
3916 2016-10-26 Florian Weimer <fweimer@redhat.com>
3917
3918 [BZ #19473]
3919 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
3920 declarations.
3921 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
3922 weak aliases.
3923 * malloc/hooks.c (__malloc_get_state): Remove definition.
3924 (malloc_get_state): New stub implementation as
3925 compatibility symbol.
3926 (malloc_set_state): Rename from __malloc_set_state. Turn into
3927 compat symbol.
3928 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
3929 malloc_set_state.
3930 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
3931
3932 2016-10-26 Florian Weimer <fweimer@redhat.com>
3933
3934 * iconvdata/iso646.c (enum variant): Drop illegal_var.
3935 (names): Turn into concatenation of strings.
3936 (gconv_init): Adapt iteration over names.
3937
3938 2016-10-26 Florian Weimer <fweimer@redhat.com>
3939
3940 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
3941 make const.
3942 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
3943 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
3944 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
3945 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
3946 character in sbconv.
3947 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
3948 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
3949 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
3950
3951 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
3952
3953 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
3954
3955 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
3956 (M_TRIM_THRESHOLD): Likewise.
3957
3958 * manual/memory.texi (M_ARENA_TEST): Add documentation.
3959 (M_ARENA_MAX): Likewise.
3960 * malloc/malloc.c: Remove obsolete comment.
3961
3962 * manual/memory.texi: Add environment variable alternatives to
3963 setting mallopt parameters.
3964
3965 2016-10-26 Carlos O'Donell <carlos@redhat.com>
3966
3967 * include/atomic.h
3968 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
3969 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
3970
3971 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3972
3973 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
3974 * stdlib/tst-strfrom.h: New file.
3975 * stdlib/tst-strfrom.c: New file.
3976 * stdlib/tst-strfrom-locale.c: New file.
3977
3978 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
3979 * stdlib/bug-strtod2.c: Likewise.
3980 * stdlib/tst-strtod-round-skeleton.c: Likewise.
3981 * stdlib/tst-strtod6.c: Likewise.
3982 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
3983
3984 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3985
3986 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
3987 * manual/arith.texi: Document strfromd, strfromf, strfroml.
3988 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
3989 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
3990 * stdlib/stdlib.h (strfromd): New declaration.
3991 (strfromf): Likewise.
3992 (strfroml): Likewise.
3993 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
3994 strfrom.
3995 * stdlib/strfromd.c: New file.
3996 * stdlib/strfromf.c: Likewise.
3997 * stdlib/strfroml.c: Likewise.
3998 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
3999 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
4000 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
4001 * sysdeps/arm/nacl/libc.abilist: Update.
4002 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4003 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4004 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4005 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4006 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4007 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4008 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4009 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4010 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4011 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4012 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4013 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4014 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4015 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
4017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4020 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4021 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4022 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4023 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4024 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4027 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4028 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4029 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4030
4031 2016-10-25 Joseph Myers <joseph@codesourcery.com>
4032
4033 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
4034 instead of cmpli.
4035 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
4036 instead of cmpli.
4037
4038 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
4039
4040 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
4041 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4042 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4043 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4044 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4045 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4046
4047 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4048
4049 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
4050 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4051 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
4052 SYSCALL_LL64_PRW.
4053 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4054 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
4055 __ASSUME_PRW_DUMMY_ARG.
4056 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
4057 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4058 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4059 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4060 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
4061 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
4062
4063 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
4064
4065 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
4066
4067 2016-10-22 Florian Weimer <fweimer@redhat.com>
4068
4069 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
4070 "C++", to override a potential extern "C" directive around the
4071 header file inclusion.
4072
4073 2016-10-21 Joseph Myers <joseph@codesourcery.com>
4074
4075 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
4076
4077 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4078
4079 * sysdeps/powerpc/fpu/fenv_private.h:
4080 (_FPU_MASK_ALL): Rename to...
4081 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
4082 XE FPSCR bits.
4083
4084 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
4085
4086 (_FPU_MASK_ROUNDING): Rename to...
4087 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
4088 NI bits.
4089
4090 (_FPU_MASK_EXCEPT_ROUND): Rename to...
4091 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
4092 bits and rounding bits.
4093
4094 (__libc_feholdbits_ppc): New inline function to mask, set,
4095 and pontentially clear FSPCR bits, and change MSR[FE] bits.
4096 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
4097 (libc_feholdexcept_setround_ppc): Likewise.
4098
4099 (__libc_femergeenv_ppc): New function to dynamically mask both
4100 old and new FP environments and merge.
4101 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
4102 (libc_feresetround_ppc): Likewise.
4103 (libc_feupdateenv_test_ppc): Likewise.
4104 (libc_feupdateenv_ppc): Likewise.
4105
4106 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
4107 of ISA RN bits, and update macro names.
4108 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
4109 effectively the same as the previously mentioned function.
4110
4111 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
4112 usage with fe_resetround_ppc.
4113
4114 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
4115 to be used.
4116 (libc_feholdexcept_setround_ctxf): Likewise.
4117 (libc_feholdexcept_setround_ctxl): Likewise.
4118
4119 2016-10-21 Florian Weimer <fweimer@redhat.com>
4120
4121 [BZ #20715]
4122 * math/math.h [__cplusplus] (iszero): Define as function template.
4123 * math/Makefile [CXX] (tests): Add test-math-iszero.
4124 (CFLAGS-test-math-iszero.cc): Set.
4125 * math/test-math-iszero.cc: New file.
4126
4127 2016-10-20 Joseph Myers <joseph@codesourcery.com>
4128
4129 [BZ #20660]
4130 * sysdeps/arm/e_sqrt.c: New file.
4131 * sysdeps/arm/e_sqrtf.c: Likewise.
4132
4133 2016-10-19 Joseph Myers <joseph@codesourcery.com>
4134
4135 [BZ #20718]
4136 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
4137 not use floating-point comparisons to test sign.
4138 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
4139 Likewise.
4140
4141 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4142 (getpayload): New declaration.
4143 * math/Versions (getpayload): New libm symbol at version
4144 GLIBC_2.25.
4145 (getpayloadf): Likewise.
4146 (getpayloadl): Likewise.
4147 * math/Makefile (libm-calls): Add s_getpayloadF.
4148 * math/libm-test.inc: Include <nan-high-order-bit.h>.
4149 (struct test_f_f_data): Add comment.
4150 (RUN_TEST_fp_f): New macro.
4151 (RUN_TEST_LOOP_fp_f): Likewise.
4152 (getpayload_test_data): New array.
4153 (getpayload_test): New function.
4154 (main): Call getpayload_test.
4155 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
4156 descriptor.
4157 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
4158 getpayloadf and getpayloadl.
4159 * manual/libm-err-tab.pl: Update comment on interfaces without
4160 ulps tabulated.
4161 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
4162 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
4163 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
4164 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
4165 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
4166 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
4167 * sysdeps/nacl/libm.abilist: Update.
4168 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4169 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4170 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4171 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4172 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4173 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4174 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4175 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4176 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4177 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4178 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4179 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4181 Likewise.
4182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4183 Likewise.
4184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4185 Likewise.
4186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4187 Likewise.
4188 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4189 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4190 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4191 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4192 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4193 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4194 Likewise.
4195 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4196 Likewise.
4197 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4198 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4199 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4200
4201 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4202
4203 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
4204 tst-fallocate{64}.
4205 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
4206 on syscall return.
4207
4208 2016-10-17 Carlos O'Donell <carlos@redhat.com>
4209
4210 [BZ #20689]
4211 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
4212 usable.
4213
4214 2016-10-17 Joseph Myers <joseph@codesourcery.com>
4215
4216 * sysdeps/generic/nan-high-order-bit.h: New file.
4217 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
4218 * sysdeps/mips/nan-high-order-bit.h: Likewise.
4219 * sysdeps/hppa/math_private.h: Remove file.
4220 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
4221 not define here.
4222 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
4223 <nan-high-order-bit.h>.
4224 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4225 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
4226 <nan-high-order-bit.h>.
4227 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4228 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
4229 <nan-high-order-bit.h>.
4230 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4231 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
4232 <nan-high-order-bit.h>.
4233 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4234 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
4235 <nan-high-order-bit.h>.
4236 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4237 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
4238 <nan-high-order-bit.h>.
4239 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4240 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
4241 <nan-high-order-bit.h>.
4242 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4243 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
4244 <nan-high-order-bit.h>.
4245 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4246 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
4247 <nan-high-order-bit.h>.
4248 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4249 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
4250 <nan-high-order-bit.h>.
4251 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4252 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
4253 <nan-high-order-bit.h>.
4254 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4255 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
4256 <nan-high-order-bit.h>.
4257 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4258 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
4259 <nan-high-order-bit.h>.
4260 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4261 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
4262 <nan-high-order-bit.h>.
4263 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4264 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
4265 <nan-high-order-bit.h>.
4266 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4267 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
4268 <nan-high-order-bit.h>.
4269 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4270 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
4271 <nan-high-order-bit.h>.
4272 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4273 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
4274 <nan-high-order-bit.h>.
4275 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4276
4277 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4278
4279 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
4280
4281 2016-09-22 John David Anglin <dave.anglin@bell.net>
4282
4283 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
4284 abort-instr.h.
4285 (EFAULT): Remove conditional define.
4286 (ENOSYS): Likewise.
4287 (atomic_compare_and_exchange_val_acq): Use instruction nullification
4288 instead of conditional branch instructions.
4289
4290 2016-10-15 Joseph Myers <joseph@codesourcery.com>
4291
4292 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4293 (totalordermag): New declaration.
4294 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
4295 New macro.
4296 * math/Versions (totalordermag): New libm symbol at version
4297 GLIBC_2.25.
4298 (totalordermagf): Likewise.
4299 (totalordermagl): Likewise.
4300 * math/Makefile (libm-calls): Add s_totalordermagF.
4301 * math/libm-test.inc (totalordermag_test_data): New array.
4302 (totalordermag_test): New function.
4303 (main): Call totalordermag_test.
4304 * math/test-tgmath.c (NCALLS): Increase to 125.
4305 (F(compile_test)): Call totalordermag.
4306 (F(totalordermag)): New function.
4307 * manual/arith.texi (FP Comparison Functions): Document
4308 totalordermag, totalordermagf and totalordermagl.
4309 * manual/libm-err-tab.pl: Update comment on interfaces without
4310 ulps tabulated.
4311 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
4312 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
4313 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
4314 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
4315 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
4316 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
4317 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
4318 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4319 totalordermag.
4320 (CFLAGS-nldbl-totalordermag.c): New variable.
4321 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
4322 (do_test): Also test totalordermagl.
4323 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
4324 Likewise.
4325 * sysdeps/nacl/libm.abilist: Update.
4326 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4327 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4328 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4329 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4330 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4331 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4332 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4333 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4334 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4335 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4336 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4337 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4339 Likewise.
4340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4341 Likewise.
4342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4343 Likewise.
4344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4345 Likewise.
4346 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4347 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4348 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4349 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4350 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4352 Likewise.
4353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4354 Likewise.
4355 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4356 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4357 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4358
4359 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
4360
4361 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
4362 boolean.
4363
4364 2016-10-13 Joseph Myers <joseph@codesourcery.com>
4365
4366 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
4367 raising FE_INVALID with feraisexcept in case where part of
4368 argument is infinite, subtract that part of argument from itself.
4369 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
4370 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
4371 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
4372
4373 2016-10-12 Joseph Myers <joseph@codesourcery.com>
4374
4375 * math/libm-test.inc (totalorder_test_data): Add more tests.
4376
4377 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
4378
4379 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
4380 Undefine weak_alias and add a comment why mips64 require
4381 versioning.
4382
4383 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
4384
4385 [BZ #20647]
4386 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
4387 maximum CPUID level is less than 2.
4388
4389 2016-10-12 Joseph Myers <joseph@codesourcery.com>
4390
4391 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4392 (totalorder): New declaration.
4393 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
4394 New macro.
4395 * math/Versions (totalorder): New libm symbol at version
4396 GLIBC_2.25.
4397 (totalorderf): Likewise.
4398 (totalorderl): Likewise.
4399 * math/Makefile (libm-calls): Add s_totalorderF.
4400 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
4401 string.
4402 * math/libm-test.inc (PAYLOAD_DIG): New macro.
4403 (qnan_value_pl): Likewise.
4404 (snan_value_pl): Likewise.
4405 (qnan_value): Define using qnan_value_pl.
4406 (snan_value): Define using snan_value_pl.
4407 (struct test_ff_i_data): Add comment about which tests use this
4408 structure.
4409 (RUN_TEST_ff_b): New macro.
4410 (RUN_TEST_LOOP_ff_b): Likewise.
4411 (totalorder_test_data): New array.
4412 (totalorder_test): New function.
4413 (main): Call totalorder_test.
4414 * math/test-tgmath.c (NCALLS): Increase to 122.
4415 (F(compile_test)): Call totalorder.
4416 (F(totalorder)): New function.
4417 * manual/arith.texi (FP Comparison Functions): Document
4418 totalorder, totalorderf and totalorderl.
4419 * manual/libm-err-tab.pl: Update comment on interfaces without
4420 ulps tabulated.
4421 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
4422 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
4423 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
4424 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
4425 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
4426 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
4427 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
4428 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4429 totalorder.
4430 (CFLAGS-nldbl-totalorder.c): New variable.
4431 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
4432 file.
4433 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
4434 Add test-totalorderl-ldbl-128ibm.
4435 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
4436 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
4437 test-totalorderl-ldbl-96.
4438 * sysdeps/nacl/libm.abilist: Update.
4439 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4440 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4441 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4442 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4443 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4444 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4445 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4446 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4447 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4448 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4449 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4450 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4452 Likewise.
4453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4454 Likewise.
4455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4456 Likewise.
4457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4458 Likewise.
4459 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4460 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4461 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4462 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4463 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4465 Likewise.
4466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4467 Likewise.
4468 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4469 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4470 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4471
4472 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4473
4474 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
4475 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
4476 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
4477 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
4478 remove ENOSYS implementation.
4479 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
4480 Consolidate all Linux implementations.
4481
4482 2016-10-11 Florian Weimer <fweimer@redhat.com>
4483
4484 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
4485 * resolv/herror.c (herror): Cast away const-ness.
4486 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
4487 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
4488
4489 2016-10-11 Joseph Myers <joseph@codesourcery.com>
4490
4491 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
4492 instead of M_NAN + M_NAN.
4493 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
4494
4495 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4496
4497 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
4498 unused variable 'p'.
4499
4500 2016-10-09 Alan Modra <amodra@gmail.com>
4501 Andreas Schwab <schwab@linux-m68k.org>
4502
4503 [BZ #20554]
4504 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
4505 [PIC && !SHARED]: Set up PIC register for PLT call.
4506
4507 2016-10-07 Joseph Myers <joseph@codesourcery.com>
4508
4509 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
4510 conditional on value of [__FLT_EVAL_METHOD__].
4511 * math/test-iseqsig-excess-precision.c: New file.
4512 * math/Makefile (tests): Add test-iseqsig-excess-precision.
4513
4514 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4515
4516 * math/s_iseqsig_template.c: Include math-private.h.
4517
4518 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
4519 * posix/tst-posix_fadvise.c: New file.
4520 * posix/tst-posix_fadvise64.c: Likewise.
4521 * posix/tst-posix_fadvise-common.c: Likewise.
4522 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4523 (__ASSUME_FADVISE64_64_6ARG): Define.
4524 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4525 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
4526 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4527 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
4528 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
4529 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
4530 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
4531 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
4532 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
4533 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
4534 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
4535 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
4536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
4537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
4538 Likewise.
4539 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
4540 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
4541 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
4542 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
4543 Alias to __posix_fadvise64_l32.
4544 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
4545 Add compat definition to posix_fadvise64.
4546 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
4547 Add versioned definition to posix_fadvise64.
4548 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
4549 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
4550 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
4551 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
4552 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
4553
4554 * io/Makefile (tests): Add tst-posix_fallocate and
4555 tst-posix_fallocate64.
4556 * io/tst-posix_fallocate-common.c: New file.
4557 * io/tst-posix_fallocate.c: Likewise.
4558 * io/tst-posix_fallocate64.c: Likewise.
4559 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
4560 file.
4561 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
4562 Likewise.
4563 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
4564 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
4565 Likewise.
4566 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
4567 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
4568 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
4569 SYSCALL_LL to pass both offset and len arguments.
4570 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
4571 Likewise.
4572 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
4573 __libc_pwrite64 alias used by posix_fallocate64.
4574
4575 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
4576 tst-fallocate64.
4577 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
4578 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
4579 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4580 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
4581 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
4582 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
4583 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
4584 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
4585 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
4586 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
4587 macro on offset argument.
4588 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
4589 SYSCALL_LL64 on offset argument.
4590
4591 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
4592 tst-fallocate64.
4593 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
4594 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
4595 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4596 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
4597 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
4598 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
4599 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
4600 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
4601 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
4602 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
4603 macro on offset argument.
4604 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
4605 SYSCALL_LL64 on offset argument.
4606 * test-skeleton.c (FAIL_RET): Add macro.
4607 (FAIL_EXIT): Likewise.
4608 (FAIL_EXIT1): Likewise.
4609 (_FAIL): Likewise.
4610
4611 2016-10-07 Florian Weimer <fweimer@redhat.com>
4612
4613 [BZ #20629]
4614 resolv: Remove RES_USEBSTRING and its implementation.
4615 * resolv/resolv.h (RES_USEBSTRING): Remove.
4616 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
4617 (digitvalue, encode_bitstring, decode_bitstring): Remove.
4618 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
4619 (labellen): Remove extended label types support.
4620 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
4621 * resolv/res_init.c (res_setoptions): Likewise.
4622 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
4623
4624 2016-10-07 Florian Weimer <fweimer@redhat.com>
4625
4626 resolv: Remove RES_NOIP6DOTINT and its implementation.
4627 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
4628 (RES_NOIP6DOTINT): Remove.
4629 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
4630 handling.
4631 * resolv/res_debug.c (p_option): Likewise.
4632 * resolv/res_init.c (res_setoptions): Likewise.
4633 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
4634
4635 2016-10-07 Florian Weimer <fweimer@redhat.com>
4636
4637 resolv: Deprecate unimplemented flags.
4638 * misc/sys/cdefs.h (__glibc_macro_warning1)
4639 (__glibc_macro_warning): Define.
4640 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
4641 (RES_KEEPTSIG): Mark as deprecated.
4642 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
4643 RES_NOCHECKNAME, RES_KEEPTSIG.
4644 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
4645
4646 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4647
4648 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
4649 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
4650 Use strong_alias to create symbols for glibc verison 2.19.
4651
4652 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4653
4654 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
4655
4656 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4657
4658 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
4659
4660 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4661
4662 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
4663
4664 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4665
4666 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4667 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
4668 in header for using it as type for ifunc function because __GI_* symbols
4669 for ppc32 do not target the ifunc symbols.
4670 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4671
4672 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4673
4674 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
4675 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
4676 libc_ifunc_hidden_def.
4677 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
4678 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
4679 Redirect ifunced function in header for using it as type of ifunc'ed
4680 function. Redefine libc_hidden_def to use fallback non ifunc'ed
4681 function for __GI_* symbol.
4682 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
4683 * include/libc-symbols.h
4684 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
4685
4686 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4687
4688 [BZ #20478]
4689 * sysdeps/s390/multiarch/ifunc-resolve.h
4690 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
4691 to create ifunc symbols.
4692 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
4693 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
4694 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
4695 for using it as type for ifunc function.
4696 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
4697 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
4698 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
4699 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
4700 * sysdeps/s390/multiarch/strcat.c: Likewise.
4701 * sysdeps/s390/multiarch/strchr.c: Likewise.
4702 * sysdeps/s390/multiarch/strcmp.c: Likewise.
4703 * sysdeps/s390/multiarch/strcpy.c: Likewise.
4704 * sysdeps/s390/multiarch/strcspn.c: Likewise.
4705 * sysdeps/s390/multiarch/strlen.c: Likewise.
4706 * sysdeps/s390/multiarch/strncmp.c: Likewise.
4707 * sysdeps/s390/multiarch/strncpy.c: Likewise.
4708 * sysdeps/s390/multiarch/strnlen.c: Likewise.
4709 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
4710 * sysdeps/s390/multiarch/strrchr.c: Likewise.
4711 * sysdeps/s390/multiarch/strspn.c: Likewise.
4712 * sysdeps/s390/multiarch/wcschr.c: Likewise.
4713 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
4714 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
4715 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
4716 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
4717 * sysdeps/s390/multiarch/wmemset.c: Likewise.
4718 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
4719 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
4720 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
4721 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
4722 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
4723 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
4724
4725 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4726
4727 * include/libc-symbols.h (__ifunc_resolver):
4728 New macro is used by __ifunc* macros.
4729 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
4730 depending on HAVE_GCC_IFUNC.
4731 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
4732 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
4733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4734 Redirect ifunced function in header for using as type for ifunc function.
4735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
4736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
4737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
4738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
4739 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4740 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4741 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4742 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4743 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4744 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4745 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4746 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4747 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4748 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
4751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
4753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4754 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4755 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4756 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4757 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4758 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4759 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4760 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4761 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4762 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4763 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4764 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4765 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4766 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
4767 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
4769 Add libc_hidden_def() and use libc_ifunc_hidden() macro
4770 instead of libc_ifunc() macro.
4771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
4772 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4773
4774 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4775
4776 * config.h.in (HAVE_GCC_IFUNC): New undef.
4777 * configure.ac: Add check if gcc supports attribute ifunc feature.
4778 * configure: Regenerated.
4779 * manual/install.texi: Add recommendation for gcc with
4780 indirect-function support.
4781 * INSTALL: Regenerated.
4782
4783 2016-10-06 Joseph Myers <joseph@codesourcery.com>
4784
4785 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
4786 macro.
4787 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4788 (__iseqsig): New declaration.
4789 * math/s_iseqsig_template.c: New file.
4790 * math/Versions (__iseqsigf): New libm symbol at version
4791 GLIBC_2.25.
4792 (__iseqsig): Likewise.
4793 (__iseqsigl): Likewise.
4794 * math/libm-test.inc (iseqsig_test_data): New array.
4795 (iseqsig_test): New function.
4796 (main): Call iseqsig_test.
4797 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
4798 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
4799 * manual/libm-err-tab.pl: Update comment on interfaces without
4800 ulps tabulated.
4801 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
4802 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
4803 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
4804 * sysdeps/nacl/libm.abilist: Update.
4805 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4806 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4807 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4808 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4809 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4810 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4811 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4812 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4813 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4814 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4815 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4816 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4818 Likewise.
4819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4820 Likewise.
4821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4822 Likewise.
4823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4824 Likewise.
4825 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4826 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4827 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4828 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4829 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4830 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4831 Likewise.
4832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4833 Likewise.
4834 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4835 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4836 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4837
4838 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
4839
4840 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
4841 do_sincos_2, sloww, sloww1): Update comments.
4842
4843 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
4844 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
4845
4846 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
4847 K boolean and rename it.
4848 (__sin): Adjust.
4849 (__cos): Adjust.
4850
4851 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
4852 Siddhesh Poyarekar <siddhesh@sourceware.org>
4853
4854 * manual/nss.texi: Fix typos in the manual.
4855
4856 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
4857
4858 * manual/contrib.texi: Fix typos in the manual.
4859
4860 * manual/maint.texi: Fix typos in the manual.
4861
4862 * manual/install.texi: Fix typos in the manual.
4863 * INSTALL: Regenerated.
4864
4865 * manual/lang.texi: Fix typos in the manual.
4866
4867 * manual/probes.texi: Fix typos in the manual.
4868
4869 * manual/threads.texi: Fix typos in the manual.
4870
4871 * manual/debug.texi: Fix typos in the manual.
4872
4873 * manual/crypt.texi: Fix typos in the manual.
4874
4875 * manual/conf.texi: Fix typos in the manual.
4876
4877 * manual/sysinfo.texi: Fix typos in the manual.
4878
4879 * manual/users.texi: Fix typos in the manual.
4880
4881 * manual/job.texi: Fix typos in the manual.
4882
4883 * manual/process.texi: Fix typos in the manual.
4884
4885 * manual/argp.texi: Fix typos in the manual.
4886 * manual/getopt.texi: Likewise.
4887 * manual/startup.texi: Likewise.
4888
4889 * manual/signal.texi: Fix typos in the manual.
4890
4891 * manual/setjmp.texi: Fix typos in the manual.
4892
4893 * manual/resource.texi: Fix typos in the manual.
4894
4895 * manual/time.texi: Fix typos in the manual.
4896
4897 * manual/arith.texi: Fix typos in the manual.
4898
4899 * manual/math.texi: Fix typos in the manual.
4900
4901 * manual/syslog.texi: Fix typos in the manual.
4902
4903 * manual/terminal.texi: Fix typos in the manual.
4904
4905 * manual/socket.texi: Fix typos in the manual.
4906
4907 * manual/filesys.texi: Fix typos in the manual.
4908
4909 * manual/llio.texi: Fix typos in the manual.
4910
4911 * manual/stdio.text: Fix typos in the manual.
4912
4913 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
4914
4915 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
4916 instead of K1.
4917
4918 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
4919 SHIFT_QUADRANT and make it bool.
4920 (do_sincos_2): Likewise.
4921 (sloww): Likewise.
4922 (sloww1): Likewise.
4923 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
4924 (__cos): Likewise.
4925
4926 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4927
4928 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4929
4930 2016-10-04 Joseph Myers <joseph@codesourcery.com>
4931
4932 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
4933 Define to __WORDSIZE, not conditional on [LONG_MAX ==
4934 0x7fffffffL].
4935 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
4936
4937 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4938
4939 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
4940 inline by __inline__.
4941 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
4942 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
4943 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
4944 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
4945 sigset_t from signal.h.
4946 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
4947 which is already required.
4948
4949 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
4950
4951 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4952
4953 2016-10-03 Joseph Myers <joseph@codesourcery.com>
4954
4955 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
4956 (struct tcp_repair_window): New type.
4957
4958 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4959
4960 * libio/tst-memstream3.c: Include string.h.
4961
4962 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4963
4964 [BZ #18241]
4965 [BZ #20181]
4966 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
4967 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
4968 write position is at the end the buffer.
4969 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
4970 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
4971 (_IO_str_seekoff): Set correct offset from negative displacement and
4972 set EINVAL for invalid ones.
4973 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
4974 buffer length.
4975 (_IO_wstr_switch_to_get_mode): New function.
4976 (_IO_wstr_seekoff): Set correct offset from negative displacement and
4977 set EINVAL for invalid ones.
4978 * libio/tst-memstream3.c: New file.
4979 * libio/tst-wmemstream3.c: Likewise.
4980 * manual/examples/memstrm.c: Remove warning when priting size_t.
4981
4982 2016-09-30 Joseph Myers <joseph@codesourcery.com>
4983
4984 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
4985 macro to use __builtin_fma.
4986 * sysdeps/x86_64/fpu/dla.h: Remove file.
4987
4988 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
4989 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
4990 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
4991
4992 2016-09-30 Carlos O'Donell <carlos@redhat.com>
4993
4994 [BZ #20292]
4995 * elf/Makefile (routines): Add dl-addr-obj.
4996 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
4997 tst-_dl_addr_inside_object.
4998 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
4999 [ifeq (yesyes,$(have-fpie)$(build-shared))]
5000 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
5001 [ifeq (yesyes,$(have-fpie)$(build-shared))]
5002 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
5003 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
5004 * elf/dl-open.c: Likewise.
5005 * elf/dl-addr-obj.c: New file.
5006 * elf/tst-_dl_addr_inside_object.c: New file.
5007
5008 2016-09-30 Joseph Myers <joseph@codesourcery.com>
5009
5010 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
5011 <bits/iscanonical.h>.
5012 * bits/iscanonical.h: New file.
5013 * math/s_iscanonicall.c: Likewise.
5014 * math/Versions (__iscanonicall): New libm symbol at version
5015 GLIBC_2.25.
5016 * math/libm-test.inc (iscanonical_test_data): New array.
5017 (iscanonical_test): New function.
5018 (main): Call iscanonical_test.
5019 * math/Makefile (headers): Add bits/iscanonical.h.
5020 (type-ldouble-routines): Add s_iscanonicall.
5021 * manual/arith.texi (Floating Point Classes): Document
5022 iscanonical.
5023 * manual/libm-err-tab.pl: Update comment on interfaces without
5024 ulps tabulated.
5025 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
5026 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
5027 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
5028 Likewise.
5029 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5030 test-iscanonical-ldbl-128ibm.
5031 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
5032 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
5033 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
5034 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
5035 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5036 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5037 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5039 Likewise.
5040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5041 Likewise.
5042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5043 Likewise.
5044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5045 Likewise.
5046 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5047 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5048
5049 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5050
5051 * string/bits/string3.h: Remove C++ style comments.
5052
5053 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
5054
5055 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
5056 instead of ternary condition.
5057 (do_sincos_2): Likewise.
5058 (__sin): Likewise.
5059 (__cos): Likewise.
5060 (slow): Likewise.
5061 (sloww): Likewise.
5062 (sloww1): Likewise.
5063 (bsloww): Likewise.
5064 (bsloww1): Likewise.
5065
5066 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
5067 instead of ternary condition.
5068 (do_sin_slow): Likewise.
5069 (do_sincos_1): Likewise.
5070 (do_sincos_2): Likewise.
5071 (__cos): Likewise.
5072 (sloww): Likewise.
5073 (sloww1): Likewise.
5074 (sloww2): Likewise.
5075 (bsloww): Likewise.
5076 (bsloww1): Likewise.
5077 (bsloww2): Likewise.
5078
5079 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
5080 check from here...
5081 (slow2): ... and here...
5082 (__sin): ... to here.
5083
5084 2016-09-28 Joseph Myers <joseph@codesourcery.com>
5085
5086 * math/math.h
5087 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
5088 Cast argument to its own type.
5089 * math/test-iszero-excess-precision.c: New file.
5090 * math/Makefile (tests): Add test-iszero-excess-precision.
5091 (CFLAGS-test-iszero-excess-precision.c): New variable.
5092
5093 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5094
5095 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
5096 field, add err field.
5097 (__spawni_child): Report error through err member instead of pipe.
5098 (__spawnix): Likewise.
5099
5100 2016-09-28 Zack Weinberg <zackw@panix.com>
5101
5102 * scripts/check-installed-headers.sh: Generalize treatment of
5103 sys/elf.h to all target architectures.
5104
5105 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
5106 deleted typedef ucontext_t.
5107
5108 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5109
5110 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
5111 (__INTERNAL_SYSCALL1): Likewise.
5112 (__INTERNAL_SYSCALL2): Likewise.
5113 (__INTERNAL_SYSCALL3): Likewise.
5114 (__INTERNAL_SYSCALL4): Likewise.
5115 (__INTERNAL_SYSCALL5): Likewise.
5116 (__INTERNAL_SYSCALL6): Likewise.
5117 (__INTERNAL_SYSCALL7): Likewise.
5118 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
5119 (__INTERNAL_SYSCALL_NARGS): Likewise.
5120 (__INTERNAL_SYSCALL_DISP): Likewise.
5121 (INTERNAL_SYSCALL_CALL): Likewise.
5122 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
5123 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
5124 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
5125 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
5126 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
5127 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
5128 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
5129 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
5130 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
5131 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
5132 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
5133 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
5134 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
5135
5136 2016-09-23 Joseph Myers <joseph@codesourcery.com>
5137
5138 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
5139 macro.
5140 * math/libm-test.inc (iszero_test_data): New array.
5141 (iszero_test): New function.
5142 (main): Call iszero_test.
5143 * manual/arith.texi (Floating Point Classes): Document iszero.
5144 * manual/libm-err-tab.pl: Update comment on interfaces without
5145 ulps tabulated.
5146
5147 2016-09-23 Zack Weinberg <zackw@panix.com>
5148
5149 * scripts/check-installed-headers.sh: New script.
5150 * Rules: In each directory that defines header files to be installed,
5151 run check-installed-headers.sh on them as a special test.
5152 * Makefile: Likewise for the headers installed at top level.
5153
5154 * include/aliases.h, include/alloca.h, include/argz.h
5155 * include/arpa/nameser.h, include/arpa/nameser_compat.h
5156 * include/elf.h, include/envz.h, include/err.h
5157 * include/execinfo.h, include/fpu_control.h, include/getopt.h
5158 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
5159 * include/link.h, include/malloc.h, include/mcheck.h
5160 * include/mntent.h, include/netinet/ether.h
5161 * include/nss.h, include/obstack.h, include/printf.h
5162 * include/pty.h, include/resolv.h, include/rpc/auth.h
5163 * include/rpc/auth_des.h, include/rpc/auth_unix.h
5164 * include/rpc/clnt.h, include/rpc/des_crypt.h
5165 * include/rpc/key_prot.h, include/rpc/netdb.h
5166 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
5167 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
5168 * include/rpc/rpc_msg.h, include/rpc/svc.h
5169 * include/rpc/svc_auth.h, include/rpc/xdr.h
5170 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
5171 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
5172 * include/rpcsvc/ypupd.h, include/shadow.h
5173 * include/stdio_ext.h, include/sys/epoll.h
5174 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
5175 * include/sys/prctl.h, include/sys/profil.h
5176 * include/sys/statfs.h, include/sys/sysctl.h
5177 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
5178 * sysdeps/arm/nacl/include/bits/setjmp.h
5179 * sysdeps/mips/include/sys/asm.h
5180 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
5181 * sysdeps/unix/sysv/linux/include/sys/timex.h
5182 * sysdeps/x86/fpu/include/bits/fenv.h:
5183 Add #ifndef _ISOMAC guard around internal declarations.
5184 Add multiple-inclusion guard if not already present.
5185
5186 2016-09-23 Zack Weinberg <zackw@panix.com>
5187
5188 * sysdeps/generic/sys/ucontext.h
5189 * sysdeps/arm/sys/ucontext.h
5190 * sysdeps/i386/sys/ucontext.h
5191 * sysdeps/m68k/sys/ucontext.h
5192 * sysdeps/mips/sys/ucontext.h
5193 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
5194 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
5195 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
5196 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
5197 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
5198 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
5199 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5200 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
5201 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
5202 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
5203 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
5204 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
5205 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
5206 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
5207 Include both bits/sigcontext.h and bits/sigstack.h.
5208 Fix grammar error in comment, if present.
5209
5210 * bits/sigstack.h
5211 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
5212 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
5213 * sysdeps/unix/sysv/linux/bits/sigstack.h
5214 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
5215 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
5216 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
5217 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
5218 * bits/sigcontext.h
5219 * sysdeps/mach/hurd/i386/bits/sigcontext.h
5220 * sysdeps/unix/sysv/linux/bits/sigcontext.h
5221 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
5222 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
5223 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
5224 as well as signal.h, if this was not already allowed. Request
5225 definition of size_t if necessary. Minimize semantically-null
5226 differences across files.
5227
5228 2016-09-23 Zack Weinberg <zackw@panix.com>
5229
5230 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
5231 Remove all logic conditional on __need macros. Move all the
5232 conditionally defined types to their own headers...
5233 * time/bits/types/clock_t.h: Define clock_t here.
5234 * time/bits/types/clockid_t.h: Define clockid_t here.
5235 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
5236 * time/bits/types/struct_timespec.h: Define struct timespec here.
5237 * time/bits/types/struct_timeval.h: Define struct timeval here.
5238 * time/bits/types/struct_tm.h: Define struct tm here.
5239 * time/bits/types/time_t.h: Define time_t here.
5240 * time/bits/types/timer_t.h: Define timer_t here.
5241 * time/Makefile: Install the new headers.
5242
5243 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
5244 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
5245 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
5246 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
5247 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
5248 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
5249 * sysdeps/unix/sysv/linux/bits/resource.h
5250 * sysdeps/unix/sysv/linux/bits/timex.h
5251 * sysdeps/unix/sysv/linux/mips/bits/resource.h
5252 * sysdeps/unix/sysv/linux/net/ppp_defs.h
5253 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
5254 * sysdeps/unix/sysv/linux/sys/acct.h
5255 * sysdeps/unix/sysv/linux/sys/timerfd.h
5256 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
5257 * time/sys/time.h, time/sys/timeb.h
5258 Use the new bits/types headers.
5259
5260 * include/time.h: Remove __need logic.
5261 * include/bits/time.h
5262 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
5263 * include/bits/types/time_t.h, include/bits/types/timer_t.h
5264 * include/bits/types/struct_itimerspec.h
5265 * include/bits/types/struct_timespec.h
5266 * include/bits/types/struct_timeval.h
5267 * include/bits/types/struct_tm.h:
5268 New wrapper headers.
5269
5270 2016-09-23 Zack Weinberg <zackw@panix.com>
5271
5272 * sysdeps/mach/hurd/net/if_ppp.h
5273 * sysdeps/unix/sysv/linux/net/if_ppp.h:
5274 Only define struct ifpppstatsreq and struct ifpppcstatsreq
5275 if __USE_MISC is defined, to ensure struct ifreq is declared.
5276
5277 * inet/netinet/ether.h: Condition all function prototypes
5278 on __USE_MISC, to ensure struct ether_addr is declared.
5279
5280 * socket/bits/types/struct_osockaddr.h: New header.
5281 * include/bits/types/struct_osockaddr.h: New wrapper.
5282 * socket/Makefile: Install the new header.
5283 * socket/sys/socket.h, inet/protocols/talkd.h:
5284 Refer to bits/types/struct_osockaddr.h for the definition of
5285 struct osockaddr.
5286
5287 2016-09-23 Zack Weinberg <zackw@panix.com>
5288
5289 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
5290 * inet/protocols/routed.h, inet/protocols/talkd.h
5291 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
5292 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
5293 * sysdeps/generic/netinet/if_ether.h
5294 * sysdeps/generic/netinet/in_systm.h
5295 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
5296 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5297 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
5298 * sysdeps/mach/hurd/net/if_arp.h
5299 * sysdeps/mach/hurd/net/if_ppp.h
5300 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
5301 * sysdeps/unix/sysv/linux/bits/in.h
5302 * sysdeps/unix/sysv/linux/net/ethernet.h
5303 * sysdeps/unix/sysv/linux/net/if_arp.h
5304 * sysdeps/unix/sysv/linux/net/if_ppp.h
5305 * sysdeps/unix/sysv/linux/net/if_shaper.h
5306 * sysdeps/unix/sysv/linux/net/route.h
5307 * sysdeps/unix/sysv/linux/netinet/if_ether.h
5308 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5309 * sysdeps/unix/sysv/linux/netinet/if_tr.h
5310 * sysdeps/unix/sysv/linux/netipx/ipx.h
5311 * sysdeps/unix/sysv/linux/sys/acct.h
5312 * include/arpa/nameser.h, include/resolv.h:
5313 Change all uses of u_char to unsigned char,
5314 u_short and ushort to unsigned short, u_int and uint to unsigned int,
5315 u_long and ulong to unsigned long, u_int8_t to uint8_t,
5316 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
5317 and u_int64_t and u_quad_t to uint64_t.
5318
5319 * mach/sys/reboot.h: Remove two casts of integer literals
5320 to the types they already have.
5321
5322 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
5323 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
5324 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
5325 from referring to 'unsigned char' to 'uint8_t' for consistency with
5326 the macro definition below.
5327
5328 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
5329 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
5330 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
5331 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
5332 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
5333 * sysdeps/unix/sysv/linux/sys/acct.h
5334 * include/arpa/nameser.h, include/resolv.h:
5335 Fix indentation disrupted by mechanical edits.
5336
5337 * inet/protocols/talkd.h, resolv/arpa/nameser.h
5338 * sysdeps/generic/netinet/in_systm.h
5339 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5340 * sysdeps/gnu/netinet/udp.h
5341 * sysdeps/unix/sysv/linux/net/ethernet.h
5342 * sysdeps/unix/sysv/linux/net/if_arp.h
5343 * sysdeps/unix/sysv/linux/net/if_ppp.h
5344 * sysdeps/unix/sysv/linux/net/if_shaper.h
5345 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5346 * sysdeps/unix/sysv/linux/netinet/if_tr.h
5347 * sysdeps/unix/sysv/linux/netipx/ipx.h
5348 * sysdeps/unix/sysv/linux/sys/acct.h
5349 Include stdint.h for uintNN_t definitions.
5350 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
5351
5352 2016-09-23 Zack Weinberg <zackw@panix.com>
5353
5354 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
5355 * sysdeps/unix/sysv/linux/netrose/rose.h:
5356 Include sys/socket.h and netax25/ax25.h.
5357
5358 * inet/netinet/icmp6.h, inet/netinet/ip6.h
5359 * resolv/arpa/nameser_compat.h:
5360 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
5361
5362 * sysdeps/unix/sysv/linux/sys/quota.h:
5363 Use __caddr_t instead of caddr_t.
5364 * sysdeps/unix/sysv/linux/sys/timerfd.h:
5365 Use __clockid_t instead of clockid_t.
5366
5367 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
5368
5369 * argp/argp.h: Check whether _LIBC is defined before expanding it.
5370 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
5371 expanding it.
5372
5373 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
5374 Define __glibc_c99_flexarr_available to 1 when the compiler
5375 supports C99-compatible flexible array members, 0 otherwise.
5376 * sysdeps/unix/sysv/linux/bits/socket.h
5377 * sysdeps/mach/hurd/bits/socket.h
5378 * bits/socket.h: Use __glibc_c99_flexarr_available in
5379 definitions of struct cmsghdr and CMSG_DATA.
5380
5381 2016-09-23 Florian Weimer <fweimer@redhat.com>
5382
5383 * manual/nss.texi (NSS Modules Interface): Adjust function return
5384 type to enum nss_status. Document errnop argument. Clarify
5385 h_errnop semantics. Fix cross-reference formatting.
5386 (NSS Module Function Internals): Mention that *errnop needs to be
5387 set on failure, but not to zero.
5388
5389 2016-09-23 Florian Weimer <fweimer@redhat.com>
5390
5391 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
5392 (get_random_name): New functions.
5393 (check_wrapper_flags_mode): Use linkat to give the new file a name
5394 determined by get_random_name.
5395 (do_test): Add calls to test open64 and openat64.
5396
5397 2016-09-23 Florian Weimer <fweimer@redhat.com>
5398
5399 * test-skeleton.c: Remove #include <stdarg.h>.
5400
5401 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
5402
5403 [BZ #19826]
5404 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
5405 initialization of static TLS entries.
5406 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
5407 * nptl/allocatestack.c (init_one_static_tls): Likewise.
5408
5409 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5410
5411 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
5412 _hurd_malloc_fork_prepare.
5413 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
5414 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
5415 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
5416 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
5417 (_hurd_fork_child_hook): Drop malloc_fork_child.
5418 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
5419 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
5420 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
5421 after locking locks (notably hurd_dtable_lock). Call
5422 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
5423 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
5424 __malloc_fork_unlock_child.
5425 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
5426
5427 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
5428
5429 * soft-fp/extendhftf2.c: New.
5430 * soft-fp/fixhfti.c: Likewise.
5431 * soft-fp/fixunshfti.c: Likewise.
5432 * soft-fp/floattihf.c: Likewise.
5433 * soft-fp/floatuntihf.c: Likewise.
5434 * soft-fp/half.h: Likewise.
5435 * soft-fp/trunctfhf2.c: Likewise.
5436
5437 2016-09-21 Joseph Myers <joseph@codesourcery.com>
5438
5439 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
5440 macro.
5441 * math/libm-test.inc (issubnormal_test_data): New array.
5442 (issubnormal_test): New function.
5443 * manual/arith.texi (Floating Point Classes): Document
5444 issubnormal.
5445 * manual/libm-err-tab.pl: Update comment on interfaces without
5446 ulps tabulated.
5447
5448 * sysdeps/generic/stdint.h: Define
5449 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5450 <bits/libc-header-start.h> instead of including <features.h>.
5451 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
5452 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
5453 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
5454 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
5455 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
5456 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
5457 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
5458 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
5459 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
5460 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
5461 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
5462 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
5463 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
5464 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
5465 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
5466 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
5467 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
5468 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
5469 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
5470 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
5471 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
5472 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
5473 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
5474 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
5475 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
5476 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
5477 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
5478 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
5479 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
5480 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
5481 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
5482 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
5483 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
5484 * manual/arith.texi (Integers): Document these macros for types
5485 specified by width properties.
5486 * manual/lang.texi (Width of Type): Document these macros for
5487 other standard typedefs.
5488 * stdlib/tst-width-stdint.c: New file.
5489 * stdlib/Makefile (tests): Add tst-width-stdint.
5490
5491 2016-09-21 Florian Weimer <fweimer@redhat.com>
5492
5493 [BZ #20016]
5494 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
5495 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
5496 Move ...
5497 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
5498 ... here, as compatibility symbols in a new file.
5499 * resolv/Makefile (libresolv-routines): Add compat-hooks.
5500 * resolv/res_init.c (__res_vinit): Adjust member names.
5501 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
5502 * resolv/resolv.h (res_sendhookact, res_send_qhook)
5503 (res_send_rhook): Remove.
5504 (struct __res_state): Rename qhook, rhook members.
5505
5506 2016-09-21 Florian Weimer <fweimer@redhat.com>
5507
5508 malloc: Use __libc_lock wrappers.
5509 * malloc/arena.c (list_lock, free_list_lock): Define using
5510 __libc_lock_define_initialized.
5511 (arena_lock): Adjust formatting.
5512 * malloc/malloc.c (struct malloc_state): Define mutex using
5513 __libc_lock_define.
5514 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
5515 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
5516 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
5517 (mutex_unlock, mutex_trylock): Remove.
5518 (__pthread_initialize): Remove unused macro.
5519 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
5520 (mutex_unlock, mutex_trylock): Remove.
5521
5522 2016-09-21 Florian Weimer <fweimer@redhat.com>
5523
5524 [BZ #20592]
5525 Remove RR type classification macros.
5526 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
5527 (ns_t_udp_p, ns_t_xfr_p): Remove.
5528
5529 2016-09-21 Florian Weimer <fweimer@redhat.com>
5530
5531 Remove misleading version information.
5532 * resolv/arpa/nameser.h (__NAMESER): Remove.
5533 * resolv/arpa/nameser_compat.h (__BIND): Remove.
5534
5535 2016-09-21 Florian Weimer <fweimer@redhat.com>
5536
5537 Remove the always-defined BIND_4_COMPAT macro.
5538 * resolv/arpa/nameser.h: Unconditionally include
5539 <arpa/nameser_compat.h>.
5540 (BIND_4_COMPAT): Remove.
5541 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
5542
5543 2016-09-21 Florian Weimer <fweimer@redhat.com>
5544
5545 [BZ #20591]
5546 Remove obsolete DNSSEC support.
5547 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
5548 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
5549 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
5550 (ns_verify_tcp, ns_verify_tcp_init): Remove.
5551 (ns_cert_types): Add comment.
5552 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
5553 separately.
5554 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
5555 (dst_s_dns_key_id): Remove.
5556 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
5557 variables.
5558
5559 2016-09-21 Florian Weimer <fweimer@redhat.com>
5560
5561 [BZ #20524]
5562 * manual/string.texi (String/Array Comparison): Clarify the
5563 strverscmp behavior.
5564
5565 2016-09-21 Florian Weimer <fweimer@redhat.com>
5566
5567 * test-skeleton.c (xasprintf): Add function.
5568 * io/tst-open-tmpfile.c: New test.
5569 * io/Makefile (tests): Add it.
5570
5571 2016-09-21 Florian Weimer <fweimer@redhat.com>
5572
5573 Avoid running $(CXX) during build to obtain header file paths.
5574 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
5575 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
5576 * Makerules (cstdlib, cmath): Remove variables. Use
5577 $(c++-cstdlib-header), $(c++-cmath-header) instead.
5578 * configure: Regenerate.
5579
5580 2016-09-21 Florian Weimer <fweimer@redhat.com>
5581
5582 * Makeconfig (all-object-suffixes): Include .op only if
5583 $(build-profile).
5584
5585 2016-09-21 Florian Weimer <fweimer@redhat.com>
5586
5587 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
5588 conditionals. Do not define PATH_MAX.
5589
5590 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5591
5592 * posix/Makefile (tests): Add tst-spawn3.
5593 * posix/tst-spawn3.c: New file.
5594 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
5595 if it is already opened for open action.
5596
5597 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
5598 all signals when executing the clone vfork child.
5599 (SIGALL_SET): Remove macro.
5600
5601 * nptl/Makefile (tests): Add tst-exec5.
5602 * nptl/tst-exec5.c: New file.
5603 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
5604 asynchronous cancellation.
5605
5606 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
5607
5608 * hurd/exc2signal.c: #include <hurd/signal.h>
5609 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
5610 'sigcode', 'error' parameters with 'detail' parameter. Fix code
5611 accordingly.
5612 * mach/mach_error.c (mach_error): Fix old-style function definition.
5613 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
5614
5615 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5616
5617 * math/Makefile (libm-calls): Remove s_nanF.
5618 (gen-libm-calls): Add s_nanF.
5619
5620 * math/s_nan.c: Refactor into ...
5621 * math/s_nan_template.c: New file.
5622
5623 * math/s_nanf.c: Removed.
5624 * math/s_nanl.c: Removed.
5625 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
5626 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
5627
5628 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
5629 (LDOUBLE_nanl_libm_version): New macro.
5630
5631 * sysdeps/generic/math-type-macros-double.h:
5632 (M_STRTO_NAN): New macro.
5633 * sysdeps/generic/math-type-macros-float.h: Likewise.
5634 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5635
5636 * sysdeps/generic/math-type-macros.h: Document
5637 M_STRTO_NAN.
5638
5639 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5640
5641 * math/s_nanf.c: Remove __nanf undef.
5642 * math/s_nan.c: Remove __nan undef.
5643 * math/s_nanl.c: Remove __nanl undef.
5644
5645 * sysdeps/generic/math_private.h (__nan): Remove macro
5646 override.
5647 (__nanf): Likewise.
5648 (__nanl): Likewise.
5649
5650 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5651
5652 * math/Makefile (gen-all-calls): New variable.
5653 (generated): Replace gen-libm-calls with gen-all-calls.
5654 (gen-libm-templates.stmp): Likewise. Also, ensure
5655 the output directory exists or is created and add
5656 dependency on the Makefile.
5657 (calls): Move s_ldexpF into gen-calls.
5658 (gen-calls): New variable.
5659
5660 * math/s_ldexpf.c: Removed.
5661 * math/s_ldexpl.c: Removed.
5662 * math/s_ldexp.c: Refactored into ...
5663 * math/s_ldexp_template.c: New file.
5664
5665 * sysdeps/generic/math-type-macros-double.h: Remove
5666 redundant fall-through definition of declare_mgen_alias.
5667 (declare_mgen_alias_2): New macro.
5668
5669 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
5670 New macro for function aliased to two exported symbols.
5671
5672 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
5673 new template file.
5674 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5675
5676 2016-09-20 Florian Weimer <fweimer@redhat.com>
5677
5678 * Makeconfig (all-object-suffixes): Remove .og.
5679 * Makerules (elide-routines.og): Remove.
5680 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
5681 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
5682 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
5683
5684 2016-09-20 Florian Weimer <fweimer@redhat.com>
5685
5686 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
5687 .os objects.
5688
5689 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5690
5691 [BZ #20615]
5692 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
5693 fpu directory by non-fpu.
5694 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
5695 on non-fpu directory from a fpu directory.
5696
5697 2016-09-19 Joseph Myers <joseph@codesourcery.com>
5698
5699 * include/limits.h: Define
5700 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5701 <bits/libc-header-start.h> instead of including <features.h>.
5702 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
5703 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
5704 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
5705 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
5706 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
5707 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
5708 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
5709 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
5710 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
5711 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
5712 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
5713 * manual/lang.texi (Width of Type): Document these macros.
5714 * stdlib/tst-width.c: New file.
5715 * stdlib/Makefile (tests): Add tst-width.
5716
5717 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
5718
5719 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
5720 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
5721
5722 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5723
5724 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
5725 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
5726 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
5727
5728 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5729
5730 [BZ #18243]
5731 * rt/Makefile (test): Add tst-shm-cancel.
5732 * rt/tst-shm-cancel.c: New file.
5733 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
5734
5735 [BZ #18243]
5736 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
5737 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
5738 definition.
5739 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
5740 uncontended case.
5741 * nptl/sem_wait.c (__new_sem_wait): Likewise.
5742 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
5743 (tf): Fix check for uncontended case.
5744 (do_test): Likewise.
5745 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
5746 (tf): Fix check for uncontended case.
5747 (do_test): Likewise.
5748 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
5749 (tf): Fix check for uncontended case.
5750 (do_test): Likewise.
5751 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
5752 (tf): Fix check for uncontended case.
5753 (do_test): Likewise.
5754
5755 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
5756 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
5757
5758 [BZ #15765]
5759 * nptl/Makefile (tests): Add tst-sem16.
5760 * nptl/tst-sem16.c: New file.
5761 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
5762
5763 * nptl/sem_open.c (sem_open): Init pad value to 0.
5764 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
5765 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
5766
5767 2016-09-15 Florian Weimer <fweimer@redhat.com>
5768
5769 [BZ #20611]
5770 * inet/Makefile (routines): Add inet6_scopeid_pton.
5771 (tests): Add tst-inet6_scopeid_pton.
5772 * inet/inet6_scopeid_pton.c: New file.
5773 * inet/net-internal.h: Likewise.
5774 * inet/tst-inet6_scopeid_pton.c: New test.
5775 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
5776 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
5777 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5778
5779 2016-09-14 Florian Weimer <fweimer@redhat.com>
5780
5781 Remove support for compiling wrappers with PTW.
5782 * sysdeps/nptl/Makeconfig: Drop ptw- support.
5783 * nptl/Makefile (pthread-compat-wrappers): Define.
5784 (libpthread-routines): Use pthread-compat-wrappers.
5785 * sysdeps/unix/sysv/linux/alpha/Makefile
5786 (libpthread-routines, libpthread-shared-only-routines): Remove
5787 ptw- prefix.
5788 * sysdeps/s390/nptl/Makefile
5789 (libpthread-routines, libpthread-shared-only-routines): Likewise.
5790 * sysdeps/ia64/nptl/Makefile
5791 (libpthread-routines, libpthread-shared-only-routines): Likewise.
5792 * sysdeps/nacl/Makefile (libpthread-routines): Use
5793 pthread-compat-wrappers to filter the routines list instead of the
5794 ptw- prefix.
5795
5796 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5797
5798 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
5799 with L() and remove explicit suffix, convert real literals
5800 which can be equivalentally substituted with integers, and
5801 transform -L(x) to L(-x).
5802
5803 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5804 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5805 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5806 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5807 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5808 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5809 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5810 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5811 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5812 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5813 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5814 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5815 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5816 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5817 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5818 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5819 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5820 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5821 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5822 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5823 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5824 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5825 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5826 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5827 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5828 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5829 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5830 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5831 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5832 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5833 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5834 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5835 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5836 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5837 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5838 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5839 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5840 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5841 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5842 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5843 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5844 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5845 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5846 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5847 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5848 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5849 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5850 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
5851 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5852 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5853
5854 2016-09-13 Florian Weimer <fweimer@redhat.com>
5855
5856 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
5857
5858 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
5859
5860 * malloc/Makefile (tests): Remove individual static test names
5861 and just add all of tests-static.
5862
5863 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
5864
5865 2016-09-07 Joseph Myers <joseph@codesourcery.com>
5866
5867 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
5868 file.
5869
5870 * sysdeps/sparc/fpu/fegetmode.c: New file.
5871 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
5872
5873 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
5874 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
5875
5876 * sysdeps/s390/fpu/fegetmode.c: New file.
5877 * sysdeps/s390/fpu/fesetmode.c: Likewise.
5878
5879 * sysdeps/powerpc/fpu/fegetmode.c: New file.
5880 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
5881 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
5882 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
5883 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
5884 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
5885
5886 * sysdeps/mips/fpu/fegetmode.c: New file.
5887 * sysdeps/mips/fpu/fesetmode.c: Likewise.
5888
5889 * sysdeps/m68k/fpu/fegetmode.c: New file.
5890 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
5891
5892 * sysdeps/ia64/fpu/fegetmode.c: New file.
5893 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
5894
5895 * sysdeps/hppa/fpu/fegetmode.c: New file.
5896 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
5897
5898 * sysdeps/arm/fegetmode.c: New file.
5899 * sysdeps/arm/fesetmode.c: Likewise.
5900
5901 * sysdeps/alpha/fpu/fegetmode.c: New file.
5902 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
5903
5904 * sysdeps/aarch64/fpu/fegetmode.c: New file.
5905 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
5906
5907 * math/fegetmode.c: New file.
5908 * math/fesetmode.c: Likewise.
5909 * sysdeps/i386/fpu/fegetmode.c: Likewise.
5910 * sysdeps/i386/fpu/fesetmode.c: Likewise.
5911 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
5912 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
5913 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
5914 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
5915 declaration.
5916 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
5917 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
5918 typedef.
5919 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5920 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5921 (femode_t): New typedef.
5922 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5923 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5924 (femode_t): New typedef.
5925 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5926 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5927 (femode_t): New typedef.
5928 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5929 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5930 (femode_t): New typedef.
5931 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5932 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5933 (femode_t): New typedef.
5934 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5935 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5936 (femode_t): New typedef.
5937 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5938 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5939 (femode_t): New typedef.
5940 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5941 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5942 (femode_t): New typedef.
5943 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5944 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5945 (femode_t): New typedef.
5946 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5947 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5948 (femode_t): New typedef.
5949 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
5950 declaration.
5951 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5952 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5953 (femode_t): New typedef.
5954 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5955 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5956 (femode_t): New typedef.
5957 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5958 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5959 (femode_t): New typedef.
5960 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5961 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5962 (femode_t): New typedef.
5963 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5964 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5965 (femode_t): New typedef.
5966 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5967 * manual/arith.texi (FE_DFL_MODE): Document macro.
5968 (fegetmode): Document function.
5969 (fesetmode): Likewise.
5970 * math/Versions (fegetmode): New libm symbol at version
5971 GLIBC_2.25.
5972 (fesetmode): Likewise.
5973 * math/Makefile (libm-support): Add fegetmode and fesetmode.
5974 (tests): Add test-femode and test-femode-traps.
5975 * math/test-femode-traps.c: New file.
5976 * math/test-femode.c: Likewise.
5977 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
5978 alias for __fe_dfl_env.
5979 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
5980 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
5981 (__fe_dfl_mode): Likewise.
5982 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
5983 version GLIBC_2.25.
5984 * sysdeps/nacl/libm.abilist: Update.
5985 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5986 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5987 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5988 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5989 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5990 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5991 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5992 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5993 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5994 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5995 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5996 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5998 Likewise.
5999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6000 Likewise.
6001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6002 Likewise.
6003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6004 Likewise.
6005 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6006 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6007 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6008 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6009 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6011 Likewise.
6012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6013 Likewise.
6014 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6015 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6016 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6017
6018 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
6019
6020 [BZ #20495]
6021 [BZ #20508]
6022 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
6023 processors, set Use_dl_runtime_resolve_slow and set
6024 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
6025 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
6026 New.
6027 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
6028 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
6029 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
6030 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
6031 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
6032 if Use_dl_runtime_resolve_opt is set. Use
6033 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
6034 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
6035 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
6036 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
6037 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
6038 New.
6039 (_dl_runtime_resolve_opt): Likewise.
6040 (_dl_runtime_profile): Define only if _dl_runtime_profile is
6041 defined.
6042
6043 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
6044
6045 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
6046 __libc_memalign with "+ RELA R_390_GLOB_DAT".
6047
6048 2016-09-06 Florian Weimer <fweimer@redhat.com>
6049
6050 Convert malloc to __libc_lock. Automated part, using this Perl
6051 s/// command:
6052 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
6053 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
6054 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
6055 conversion.
6056
6057 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
6058
6059 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
6060 (linknamespace-symlists-tests): Likewise.
6061 (linknamespace-header-tests): Likewise.
6062
6063 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
6064
6065 [BZ #19810]
6066 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
6067 * elf/tst-noload.c: New test case.
6068 * elf/Makefile (tests): Add tst-noload.
6069
6070 2016-09-02 Roland McGrath <roland@hack.frob.com>
6071
6072 * sysdeps/nacl/dup.c: Add libc_hidden_def.
6073
6074 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
6075 not any more.
6076
6077 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
6078
6079 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
6080
6081 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
6082 (do_cos_slow): Likewise.
6083 (do_sin): Likewise.
6084 (do_sin_slow): Likewise.
6085 (slow): Likewise.
6086 (slow1): Likewise.
6087 (slow2): Likewise.
6088 (sloww): Likewise.
6089 (sloww1): Likewise.
6090 (sloww2): Likewise.
6091 (bsloww): Likewise.
6092 (bsloww1): Likewise.
6093 (bsloww2): Likewise.
6094 (cslow2): Likewise.
6095
6096 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
6097
6098 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
6099 arguments. Consolidate input partitioning from callers here.
6100 (do_cos_slow): Likewise.
6101 (do_sin): Likewise.
6102 (do_sin_slow): Likewise.
6103 (do_sincos_1): Remove the no longer necessary input partitioning.
6104 (do_sincos_2): Likewise.
6105 (__sin): Likewise.
6106 (__cos): Likewise.
6107 (slow1): Likewise.
6108 (slow2): Likewise.
6109 (sloww1): Likewise.
6110 (sloww2): Likewise.
6111 (bsloww1): Likewise.
6112 (bsloww2): Likewise.
6113 (cslow2): Likewise.
6114
6115 2016-09-02 Florian Weimer <fweimer@redhat.com>
6116
6117 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
6118 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
6119 outside of allocated array.
6120
6121 2016-09-02 Florian Weimer <fweimer@redhat.com>
6122
6123 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
6124 instead of MB_CUR_MAX to avoid variable-length array.
6125
6126 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6127
6128 * math/Makefile (libm-calls): Remove k_rem_pio2F.
6129 (type-double-routines): Add k_rem_pio2.
6130 (type-float-routines): Add k_rem_pio2f.
6131
6132 * sysdeps/generic/math_private.h:
6133 (__kernel_rem_pio2l): Removed.
6134
6135 * math/k_rem_pio2l.c: Removed.
6136 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
6137 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
6138 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
6139 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
6140
6141 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6142
6143 * math/Makefile (gen-libm-calls): Add s_fmin
6144 (libm-calls): Remove above.
6145
6146 * math/s_fmin.c: Refactor into ...
6147 * math/s_fmin_template.c: New file.
6148
6149 * math/s_fminf.c: Removed.
6150 * math/s_fminl.c: Removed.
6151 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6152 (LDOUBLE_fmin_libm_version): New macro.
6153
6154 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
6155 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
6156
6157 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6158
6159 * math/Makefile: (gen-libm-calls): Add s_fmax.
6160 (libm-calls): Remove above.
6161
6162 * math/s_fmax.c: Refactor into ...
6163 * math/s_fmax_template.c: New file.
6164 * math/s_fmaxf.c: Removed.
6165 * math/s_fmaxl.c: Removed.
6166
6167 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6168 (LDOUBLE_fmaxl_libm_version): New macro.
6169
6170 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
6171 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
6172
6173 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
6174 s_fmin.c to pick the aarch64 version of the file.
6175 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
6176 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
6177
6178 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6179
6180 * math/Makefile: (gen-libm-calls): Add s_nextdown.
6181 (libm-calls): Remove above.
6182
6183 * math/s_nextdown.c: Refactor into ...
6184 * math/s_nextdown_template.c: New file.
6185 * math/s_nextdownf.c: Removed.
6186 * math/s_nextdownl.c: Removed.
6187
6188 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
6189
6190 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6191
6192 * math/Makefile (gen-libm-calls): Add s_fdim.
6193 (libm-calls): Move to above.
6194
6195 * math/s_fdim.c: Renamed and refactored into to ...
6196 * math/s_fdim_template.c: New file.
6197 * math/s_fdiml.c: Removed.
6198 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
6199 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
6200
6201 * sysdeps/generic/math-type-macros-double.h:
6202 (declare_mgen_alias): Don't declare if already declared.
6203 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
6204 Likewise.
6205
6206 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6207 (declare_mgen_alias): Don't declare if already declared.
6208 (M_LIBM_NEED_COMPAT): Likewise.
6209 (declare_mgen_libm_compat): Likewise.
6210 (LDOUBLE_fdiml_libm_version): New macro.
6211
6212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6213 Include math/s_fdim.c now that ldbl-opt version is not needed.
6214 (declare_mgen_alias): New macro to disable aliasing.
6215
6216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
6217 (declare_mgen_alias): Likewise.
6218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
6219 (declare_mgen_alias): Likewise.
6220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
6221 (declare_mgen_alias): Likewise.
6222 (M_LIBM_NEED_COMPAT): Likewise.
6223
6224 2016-09-01 Florian Weimer <fweimer@redhat.com>
6225
6226 [BZ #20525]
6227 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
6228 Include <linux/quota.h>.
6229 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
6230 and btodb.
6231 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
6232 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
6233 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
6234 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
6235 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
6236 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
6237 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
6238 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
6239 types.
6240 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
6241 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
6242
6243 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6244
6245 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
6246 (gammal_positive): Fix spacing.
6247 (__ieee754_gammal_r): Likewise.
6248
6249 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6250
6251 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
6252 (_Float128): Define as long double, always.
6253 (L): Apply long double type suffix, always.
6254
6255 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
6256 _Float128, excepting comments.
6257
6258 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6259 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6260 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6261 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6262 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6263 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6264 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6265 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6266 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6267 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
6268 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6269 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6270 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6271 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6272 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6273 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6274 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6275 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6276 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6277 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6278 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6279 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6280 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6281 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6282 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6283 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6284 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6285 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6286 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6287 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6288 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6289 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6290 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6291 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6292 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6293 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6294 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6295 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6296 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6297 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6298 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6299 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6300 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6301 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6302 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6303 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6304 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6305 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6306 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6307 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6308 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6309 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6310 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6311 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6312 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6313 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6314 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6315 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6316 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6317 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6318 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6319 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6320 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6321 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6322 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6323 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6324 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6325 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6326
6327 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
6328 _Float128, and include math_private.h.
6329 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6330
6331 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
6332 long double semantics.
6333 (_Float128): Likewise.
6334 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
6335 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6336 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
6337 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
6338
6339 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6340
6341 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
6342 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
6343 * sysdeps/s390/configure: Regenerated.
6344 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
6345 instruction for raising over-/underflow if z196 zarch is supported
6346 by default.
6347 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
6348
6349 2016-08-30 Svante Signell <svante.signell@gmail.com>
6350
6351 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
6352 it point to a dumb buffer for RPC to fill it.
6353
6354 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
6355
6356 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
6357 instead of if/else.
6358 (do_sin_slow): Likewise.
6359 (do_sincos_1): Use fabs instead of if/else.
6360 (do_sincos_2): Likewise.
6361 (__sin): Likewise.
6362 (__cos): Likewise.
6363 (slow2): Likewise.
6364 (sloww): Likewise.
6365 (sloww1): Likewise. Drop argument M.
6366 (sloww2): Use fabs instead of if/else.
6367 (bsloww): Likewise.
6368 (bsloww1): Likewise.
6369 (bsloww2): Likewise.
6370
6371 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
6372 fall through comment.
6373 (do_sincos_1): Likewise.
6374
6375 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
6376 Consolidate switch cases 0 and 2.
6377
6378 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6379
6380 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
6381 (libm-calls): Remove the above.
6382
6383 * math/s_cexp_template.c: Update using type-generic macros.
6384 * math/s_clog10_template.c: Likewise.
6385 * math/s_cpow_template.c: Likewise.
6386 * math/s_clog_template.c: Likewise.
6387 * math/s_cproj_template.c: Likewise.
6388 * math/s_csqrt_template.c: Likewise.
6389
6390 * math/s_cexp.c: Removed.
6391 * math/s_cexpf.c: Removed.
6392 * math/s_cexpl.c: Removed.
6393 * math/s_clog10.c: Removed.
6394 * math/s_clog10f.c: Removed.
6395 * math/s_clog10l.c: Removed.
6396 * math/s_cpow.c: Removed.
6397 * math/s_cpowf.c: Removed.
6398 * math/s_cpowl.c: Removed.
6399 * math/s_clog.c: Removed.
6400 * math/s_clogf.c: Removed.
6401 * math/s_clogl.c: Removed.
6402 * math/s_cproj.c: Removed.
6403 * math/s_cprojf.c: Removed.
6404 * math/s_cprojl.c: Removed.
6405 * math/s_csqrt.c: Removed.
6406 * math/s_csqrtf.c: Removed.
6407 * math/s_csqrtl.c: Removed.
6408
6409 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
6410 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
6411 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
6412 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
6413 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
6414 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
6415
6416 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
6417 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
6418 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
6419 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
6420 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
6421 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
6422 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
6423 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
6424 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
6425 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
6426 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
6427
6428 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
6429 version.
6430
6431 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
6432 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
6433 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
6434 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
6435
6436 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6437
6438 * s_cexp_template.c: Copy of s_cexp.c.
6439 * s_clog_template.c: Copy of s_clog.c.
6440 * s_clog10_template.c: Copy of s_clog10.c.
6441 * s_cpow_template.c: Copy of s_cpow.c.
6442 * s_cproj_template.c: Copy of s_cproj.c.
6443 * s_csqrt_template.c: Copy of s_csqrt.c.
6444
6445 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6446
6447 [BZ #20517]
6448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6449 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
6450 exported.
6451
6452 2016-08-29 Joseph Myers <joseph@codesourcery.com>
6453
6454 * math/fetestexceptflag.c: New file.
6455 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
6456 Stefan Liebler.
6457 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6458 (fetestexceptflag): New function declaration.
6459 * manual/arith.texi (fetestexceptflag): Document function.
6460 * math/Versions (fetestexceptflag): New libm symbol at version
6461 GLIBC_2.25.
6462 * math/Makefile (libm-support): Add fetestexceptflag.
6463 (tests): Add test-fetestexceptflag.
6464 * math/test-fetestexceptflag.c: New file.
6465 * sysdeps/nacl/libm.abilist: Update.
6466 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6467 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6468 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6469 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6470 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6471 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6472 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6473 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6474 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6475 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6476 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6477 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6479 Likewise.
6480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6481 Likewise.
6482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6483 Likewise.
6484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6485 Likewise.
6486 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6487 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6488 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6489 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6490 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6492 Likewise.
6493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6494 Likewise.
6495 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6496 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6497 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6498
6499 2016-08-26 Florian Weimer <fweimer@redhat.com>
6500
6501 [BZ #20432]
6502 Avoid strong references to malloc-internal symbols when linking
6503 statically, to support statically interposed mallocs.
6504 * include/libc-symbols.h (call_function_static_weak): New macro.
6505 * malloc/Makefile (tests): Add tst-interpose-nothread,
6506 tst-interpose-thread, tst-interpose-static-nothread,
6507 tst-interpose-static-thread.
6508 (tests-static): Add tst-interpose-static-nothread,
6509 tst-interpose-static-thread.
6510 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
6511 tst-interpose-aux-thread.o.
6512 (test-extras): Add tst-interpose-aux-nothread,
6513 tst-interpose-aux-thread.
6514 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
6515 tst-interpose-aux-nothread.o.
6516 (tst-interpose-thread, tst-interpose-static-thread): Link with
6517 tst-interpose-aux-thread.o and libthread.
6518 * malloc/tst-interpose-aux-nothread.c: New file.
6519 * malloc/tst-interpose-aux-thread.c: Likewise.
6520 * malloc/tst-interpose-aux.c: Likewise.
6521 * malloc/tst-interpose-aux.h: Likewise.
6522 * malloc/tst-interpose-nothread.c: Likewise.
6523 * malloc/tst-interpose-skeleton.c: Likewise.
6524 * malloc/tst-interpose-static-nothread.c: Likewise.
6525 * malloc/tst-interpose-static-thread.c: Likewise.
6526 * malloc/tst-interpose-thread.c: Likewise.
6527 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
6528 * sysdeps/mach/hurd/fork.c (__fork): Only call
6529 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6530 __malloc_fork_unlock_child if defined.
6531 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
6532
6533 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6534
6535 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
6536 timespec C99 designated initialization.
6537
6538 2016-08-26 Florian Weimer <fweimer@redhat.com>
6539
6540 [BZ #19946]
6541 Avoid expected SIGALRM signals.
6542 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
6543 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
6544 (xpthread_create, xpthread_detach, xpthread_join)
6545 (delayed_exit_thread, delayed_exit): New functions.
6546 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
6547 (tf): Use xpthread_cond_wait.
6548 (do_test): Likewise. Replace alarm with delayed_exit.
6549 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6550 (do_test): Call delayed_exit. Report failure.
6551 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6552 (do_test): Call delayed_exit.
6553 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6554 (do_test): Call delayed_exit. Use xpthread_join. Report error.
6555 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6556 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
6557 error.
6558 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6559 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
6560 error.
6561 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
6562 (do_test): Call delayed_exit.
6563 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
6564 (do_test): Call delayed_exit.
6565 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
6566 (do_test): Call delayed_exit instead of alarm. Use
6567 xpthread_mutex_lock.
6568 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
6569 (do_test): Call delayed_exit instead of alarm. Use
6570 xpthread_mutex_lock.
6571 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
6572 (do_test): Call delayed_exit instead of alarm.
6573 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
6574 (do_test): Call delayed_exit instead of alarm. Use
6575 xpthread_spin_lock.
6576 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
6577 (do_test): Call delayed_exit instead of alarm. Use
6578 xpthread_join.
6579
6580 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
6581
6582 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
6583 adjust CFA when allocating register save area on re-aligned
6584 stack.
6585
6586 2016-08-26 Florian Weimer <fweimer@redhat.com>
6587
6588 * string/tst-cmp.c: New test.
6589 * string/Makefile (tests): Add it.
6590
6591 2016-08-25 Mark Wielaard <mark@klomp.org>
6592
6593 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
6594 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
6595 (check_tree_recurse): Use newly defined accessors.
6596 (check_tree): Likewise.
6597 (maybe_split_for_insert): Likewise.
6598 (__tfind): Likewise.
6599 (__tdelete): Likewise.
6600 (trecurse): Likewise.
6601 (tdestroy_recurse): Likewise.
6602 (__tsearch): Likewise. And add asserts for malloc alignment.
6603 (__twalk): Cast root to node in case CHECK_TREE is defined.
6604
6605 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
6606
6607 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
6608
6609 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6610
6611 * math/Makefile (libm-gen-calls): Add
6612 catan, catanh, ctan, ctanh.
6613 (libm-calls): Remove the above.
6614
6615 * math/s_catan_template.c: Update using type-generic macros.
6616 * math/s_catanh_template.c: Likewise.
6617 * math/s_ctan_template.c: Likewise.
6618 * math/s_ctanh_template.c: Likewise.
6619
6620 * math/s_catanf.c: Removed.
6621 * math/s_catan.c: Removed.
6622 * math/s_catanl.c: Removed.
6623 * math/s_catanhf.c: Removed.
6624 * math/s_catanh.c: Removed.
6625 * math/s_catanhl.c: Removed.
6626 * math/s_ctanf.c: Removed.
6627 * math/s_ctan.c: Removed.
6628 * math/s_ctanl.c: Removed.
6629 * math/s_ctanhf.c: Removed.
6630 * math/s_ctanh.c: Removed.
6631 * math/s_ctanhl.c: Removed.
6632
6633 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
6634 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
6635 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
6636 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
6637 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
6638 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
6639
6640 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
6641 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
6642 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
6643 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
6644
6645 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6646
6647 * s_catan_template.c: Copy of s_catan.c.
6648 * s_catanh_template.c: Copy of s_catanh.c.
6649 * s_ctan_template.c: Copy of s_ctan.c.
6650 * s_ctanh_template.c: Copy of s_ctanh.c.
6651
6652 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6653
6654 * math/Makefile (gen-libm-calls): Move
6655 casin, casinh, csin, csinh here.
6656 (libm-calls): Remove the above.
6657
6658 * math/s_casin_template.c: Update using type-generic macros.
6659 * math/s_casinh_template.c: Likewise.
6660 * math/s_csin_template.c: Likewise.
6661 * math/s_csinh_template.c: Likewise.
6662 * math/k_casinh_template.c: Likewise.
6663
6664 * math/s_casinf.c: Removed.
6665 * math/s_casin.c: Removed.
6666 * math/s_casinl.c: Removed.
6667 * math/s_casinh.c: Removed.
6668 * math/s_casinhf.c: Removed.
6669 * math/s_casinhl.c: Removed.
6670 * math/s_csin.c: Removed.
6671 * math/s_csinf.c: Removed.
6672 * math/s_csinl.c: Removed.
6673 * math/s_csinh.c: Removed.
6674 * math/s_csinhf.c: Removed.
6675 * math/s_csinhl.c: Removed.
6676 * math/k_casinh.c: Removed.
6677 * math/k_casinhf.c: Removed.
6678 * math/k_casinhl.c: Removed.
6679
6680 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
6681 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
6682 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
6683 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
6684
6685 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
6686 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
6687 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
6688 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
6689 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
6690 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
6691 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
6692 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
6693
6694 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
6695 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
6696 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
6697 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
6698
6699 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
6700 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
6701 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
6702 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
6703
6704 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6705
6706 * s_casin_template.c: Copy of s_casin.c.
6707 * s_casinh_template.c: Copy of s_casinh.c.
6708 * s_csin_template.c: Copy of s_csin.c.
6709 * s_csinh_template.c: Copy of s_csinh.c.
6710 * k_casinh_template.c: Copy of k_casinh.c.
6711
6712 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
6713
6714 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
6715
6716 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6717
6718 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
6719 (mul_split) Remove, rename as mul_splitl, remove
6720 redundant float.h include, and include via mul_splitl.h
6721
6722 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6723 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6724 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6725 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
6726 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6727
6728 * math/mul_splitl.h: New file.
6729
6730 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
6731 Move into mul_split.h, and remove redundant float.h include.
6732
6733 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
6734 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6735 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6736 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
6737
6738 * math/mul_split.h: New file.
6739
6740 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6741
6742 * math/Makefile (libm-gen-calls): Move
6743 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
6744 (libm-calls): Remove above.
6745
6746 * math/s_cacos_template.c: Update using type-generic macros.
6747 * math/s_cacosh_template.c: Likewise.
6748 * math/s_ccos_template.c: Likewise.
6749 * math/s_ccosh_template.c: Likewise.
6750
6751 * math/s_cacosf.c: Removed.
6752 * math/s_cacos.c: Removed.
6753 * math/s_cacosl.c: Removed.
6754 * math/s_cacoshf.c: Removed.
6755 * math/s_cacosh.c: Removed.
6756 * math/s_cacoshl.c: Removed.
6757 * math/s_ccosf.c: Removed.
6758 * math/s_ccos.c: Removed.
6759 * math/s_ccosl.c: Removed.
6760 * math/s_ccoshf.c: Removed.
6761 * math/s_ccosh.c: Removed.
6762 * math/s_ccoshl.c: Removed.
6763
6764 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
6765 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
6766 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
6767 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
6768 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
6769 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
6770
6771 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
6772 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
6773 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
6774 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
6775
6776 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
6777 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
6778 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
6779 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
6780
6781 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6782
6783 * s_cacos_template.c: Copy of s_cacos.c.
6784 * s_cacosh_template.c: Copy of s_cacosh.c.
6785 * s_ccos_template.c: Copy of s_ccos.c.
6786 * s_ccosh_template.c: Copy of s_ccosh.c.
6787
6788 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6789
6790 * stdlib/tst-strtod-round-skeleton.c:
6791 Refactored from tst-strtod-round.c.
6792
6793 (L_): New macro to apply literal modifier.
6794 (FNPFX): New macro to select str or wcs prefix.
6795 (CHAR): New macro to choose wchar_t or char.
6796 (STRM): New macro to choose printf for tested character type.
6797
6798 (STRTO): New macro to choose appropriate string -> real function.
6799 (FNPFXS): Stringitized version of FNPFX.
6800 (STR): Support for above macro.
6801 (STRX): Likewise.
6802
6803 (TEST): Update with above macros.
6804 (test): Likewise.
6805 (GEN_ONE_TEST): Likewise.
6806 (test_in_one_mode): Likewise.
6807
6808 * stdlib/tst-strtod-round.c: New file.
6809 * wcsmbs/tst-wcstod-round.c: New file.
6810
6811 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
6812 (tst-wcstod-round): Add libm depencency for fesetround.
6813
6814 2016-08-19 Zack Weinberg <zackw@panix.com>
6815
6816 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
6817
6818 2016-08-18 Torvald Riegel <triegel@redhat.com>
6819
6820 [BZ #20477]
6821 * resolv/res_hconf.c (do_init): Use atomic access.
6822 * resolv/res_hconf.h: Add comments.
6823 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
6824 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
6825 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6826
6827 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
6828
6829 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6830 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
6831 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6832 Likewise.
6833
6834 2016-08-18 Florian Weimer <fweimer@redhat.com>
6835
6836 [BZ #16907]
6837 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
6838 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
6839 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
6840 (__attribute__): Remove definition.
6841
6842 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6843
6844 * sysdeps/ieee754/ldbl-128/e_asinl.c:
6845 Remove unused sqrtl declaration.
6846
6847 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6848
6849 * math/Makefile: (gen-libm-templates.stmp): New rule.
6850 (libm-calls): Move carg conj cimag and cabs into ...
6851 (gen-libm-calls): New variable.
6852 (generated): Inform Make objects from gen-libm-calls
6853 may be generated.
6854
6855 * sysdeps/generic/math-type-macros.h: New file.
6856 * sysdeps/generic/math-type-macros-float.h: Likewise.
6857 * sysdeps/generic/math-type-macros-double.h: Likewise.
6858 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6859 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
6860 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
6861
6862 * math/cabs.c: Refactor into
6863 * math/cabs_template.c: new file.
6864 * math/cabsf.c: Removed.
6865 * math/cabsl.c: Removed.
6866 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
6867 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
6868
6869 * math/carg.c: Refactor into
6870 * math/carg_template.c: new file.
6871 * math/cargf.c: Removed.
6872 * math/cargl.c: Removed.
6873 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
6874 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
6875
6876 * math/conj.c: Refactor into
6877 * math/conj_template.c: new file.
6878 * math/conjf.c: Removed.
6879 * math/conjl.c: Removed.
6880 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
6881 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
6882
6883 * math/cimag.c: Refactor into
6884 * math/cimag_template.c: new file.
6885 * math/cimagf.c: Removed.
6886 * math/cimagl.c: Removed.
6887 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
6888 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
6889
6890 * math/cimag.c: Refactor into
6891 * math/cimag_template.c: new file.
6892 * math/cimagf.c: Removed.
6893 * math/cimagl.c: Removed.
6894 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
6895 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
6896
6897 2016-08-17 Florian Weimer <fweimer@redhat.com>
6898
6899 Reduce time to expected nptl/tst-once5 failure.
6900 * nptl/tst-once5.cc (TIMEOUT): Define.
6901
6902 2016-08-17 Florian Weimer <fweimer@redhat.com>
6903
6904 [BZ #20452]
6905 Avoid additional copies of objects in libc.a in static libraries.
6906 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
6907 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
6908 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
6909 rt-sysdep.
6910 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
6911 Add nptl-sysdep.
6912 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
6913 Add ptw-sysdep.
6914 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
6915 rt-sysdep.
6916 * sysdeps/unix/sysv/linux/alpha/Makefile
6917 (libpthread-shared-only-routines): Add ptw-sysdep,
6918 ptw-sigprocmask, ptw-rt_sigaction.
6919 * sysdeps/unix/sysv/linux/ia64/Makefile
6920 (librt-shared-only-routines): Add rt-sysdep.
6921 * sysdeps/unix/sysv/linux/i386/Makefile
6922 (libpthread-shared-only-routines): Add libc-do-syscall.
6923 * sysdeps/unix/sysv/linux/microblaze/Makefile
6924 (libpthread-shared-only-routines): Add sysdep.
6925 * sysdeps/unix/sysv/linux/powerpc/Makefile
6926 (librt-shared-only-routines): Add rt-sysdep.
6927 (libpthread-shared-only-routines): Add sysdep.
6928 * sysdeps/unix/sysv/linux/s390/Makefile
6929 (librt-shared-only-routines): Add rt-sysdep.
6930 * sysdeps/unix/sysv/linux/sparc/Makefile
6931 (librt-shared-only-routines): Add rt-sysdep.
6932 (libpthread-shared-only-routines): Add sysdep.
6933 * sysdeps/unix/sysv/linux/tile/Makefile
6934 (libpthread-shared-only-routines): Likewise.
6935
6936 2016-08-16 Joseph Myers <joseph@codesourcery.com>
6937
6938 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
6939 Mask implicit bit out of unpacked value.
6940 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
6941 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
6942 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
6943
6944 * sysdeps/sparc/fpu/fesetexcept.c: New file.
6945
6946 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
6947
6948 * sysdeps/s390/fpu/fesetexcept.c: New file.
6949
6950 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
6951 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
6952 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
6953
6954 * sysdeps/mips/fpu/fesetexcept.c: New file.
6955
6956 * sysdeps/m68k/fpu/fesetexcept.c: New file.
6957
6958 * sysdeps/ia64/fpu/fesetexcept.c: New file.
6959
6960 * sysdeps/hppa/fpu/fesetexcept.c: New file.
6961
6962 * sysdeps/arm/fesetexcept.c: New file.
6963
6964 * sysdeps/alpha/fpu/fesetexcept.c: New file.
6965
6966 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
6967
6968 * math/fesetexcept.c: New file.
6969 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
6970 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
6971 * math/fenv.h: Define
6972 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6973 <bits/libc-header-start.h> instead of including <features.h>.
6974 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
6975 declaration.
6976 * manual/arith.texi (fesetexcept): Document function.
6977 * math/Versions (fesetexcept): New libm symbol at version
6978 GLIBC_2.25.
6979 * math/Makefile (libm-support): Add fesetexcept.
6980 (tests): Add test-fesetexcept and test-fesetexcept-traps.
6981 * math/test-fesetexcept.c: New file.
6982 * math/test-fesetexcept-traps.c: Likewise.
6983 * sysdeps/nacl/libm.abilist: Update.
6984 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6985 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6986 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6987 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6988 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6989 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6990 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6991 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6992 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6993 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6994 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6995 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6997 Likewise.
6998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6999 Likewise.
7000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7001 Likewise.
7002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7003 Likewise.
7004 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7005 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7006 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7007 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7008 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7010 Likewise.
7011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7012 Likewise.
7013 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7014 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7015 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7016
7017 2016-08-16 Florian Weimer <fweimer@redhat.com>
7018
7019 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
7020 New.
7021 (do_test): Apply default_stack_size_in_mb if not set.
7022 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
7023
7024 2016-08-15 Andreas Schwab <schwab@suse.de>
7025
7026 [BZ #20435]
7027 CVE-2016-6323
7028 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
7029 as .cantunwind.
7030
7031 2016-08-12 Joseph Myers <joseph@codesourcery.com>
7032
7033 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
7034 comment from fraiseexcpt.c.
7035
7036 * math/test-fexcept.c (feraiseexcept_exact): New function.
7037 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
7038 (test_except): Likewise.
7039
7040 2016-08-10 Joseph Myers <joseph@codesourcery.com>
7041
7042 [BZ #20455]
7043 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
7044 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
7045 to be restored.
7046
7047 * math/test-fexcept-traps.c: New file.
7048 * math/test-fexcept.c: Likewise.
7049 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
7050 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
7051 macro.
7052 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
7053 (EXCEPTION_SET_FORCES_TRAP): Likewise.
7054
7055 2016-08-09 Torvald Riegel <triegel@redhat.com>
7056
7057 * include/atomic.h (atomic_fetch_and_relaxed,
7058 atomic_fetch_and_release, atomic_fetch_or_release,
7059 atomic_fetch_xor_release): New.
7060
7061 2016-08-06 Christian Seiler <christian@iwakd.de>
7062
7063 [BZ #20444]
7064 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
7065 MACH_PORT_NULL.
7066
7067 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7068
7069 * math/s_fdim.c: Avoid alias renamed.
7070 * math/s_fdimf.c: Likewise.
7071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7072 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7073 Add s_fdimf-vis3, s_fdim-vis3.
7074 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7075 (CFLAGS-s_fdim-vis3.c): Likewise.
7076 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
7077 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
7078
7079 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7080
7081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7082 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7083 Remove s_fdimf-vis3, s_fdim-vis3.
7084 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
7085 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
7086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
7087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
7088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
7089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
7090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
7091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
7092 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
7093 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
7094
7095 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7096
7097 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
7098 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
7099 -Wa,-Av9a -mvis.
7100
7101 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7102
7103 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
7104 LIT() to individual constants in simple expressions
7105 after splitting on spaces.
7106 (_apply_lit): Rename replaced version, and use it to
7107 apply to what appears to be a token.
7108
7109 * math/libm-test.inc: Fix many, many issues with
7110 spacing.
7111
7112 2016-08-05 Joseph Myers <joseph@codesourcery.com>
7113
7114 * math/math.h: Move comment about <bits/mathdef.h> definitions
7115 above inclusion of <bits/mathdef.h>. Do not mention
7116 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
7117
7118 2016-08-05 Torvald Riegel <triegel@redhat.com>
7119
7120 * include/atomic.h (atomic_exchange_relaxed): New.
7121
7122 2016-08-04 Joseph Myers <joseph@codesourcery.com>
7123
7124 * math/e_scalb.c: Do not include <fenv.h>.
7125 (invalid_fn): Do calculation resulting in NaN instead of raising
7126 FE_INVALID and returning a NaN explicitly.
7127 * math/e_scalbf.c: Do not include <fenv.h>.
7128 (invalid_fn): Do calculation resulting in NaN instead of raising
7129 FE_INVALID and returning a NaN explicitly.
7130 * math/e_scalbl.c: Do not include <fenv.h>.
7131 (invalid_fn): Do calculation resulting in NaN instead of raising
7132 FE_INVALID and returning a NaN explicitly.
7133
7134 2016-08-04 Carlos O'Donell <carlos@redhat.com>
7135
7136 * po/de.po: Updated from Translation Project.
7137 * po/fi.po: Likewise.
7138 * po/sv.po: Likewise.
7139
7140 2016-08-04 Florian Weimer <fweimer@redhat.com>
7141
7142 [BZ #20452]
7143 Use sysdep.o from libc.a in static libraries.
7144 * sysdeps/unix/sysv/linux/i386/Makefile
7145 (libpthread-shared-only-routines): Add sysdep.
7146 (librt-shared-only-routines): Likewise.
7147
7148 2016-08-03 Joseph Myers <joseph@codesourcery.com>
7149
7150 * math/tgmath.h (nextdown): Define if
7151 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
7152 (nextup): Likewise.
7153
7154 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
7155 macro.
7156 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7157 Document.
7158 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7159 Document macro.
7160 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
7161 (exp10f): Likewise.
7162 (exp10l): Likewise.
7163 * math/bits/mathcalls.h (exp10): Declare if
7164 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
7165
7166 * manual/arith.texi (nextup): Fix typo in last change.
7167
7168 2016-08-03 Zack Weinberg <zackw@panix.com>
7169
7170 [BZ #19239]
7171 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
7172 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
7173 define major, minor, and makedev to issue deprecation warnings on use.
7174 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
7175 previously-activated deprecation warnings for these macros and prevent
7176 subsequent inclusions of this header from having any effect.
7177 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
7178 including <sys/sysmacros.h>, and undefine it again afterward.
7179
7180 2016-08-03 Zack Weinberg <zackw@panix.com>
7181
7182 * sysdeps/generic/sys/sysmacros.h: Delete file.
7183 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
7184 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
7185 * bits/sysmacros.h: ... here; this encoding is now the generic
7186 encoding. Now defines only the following macros:
7187 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
7188 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
7189 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
7190
7191 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
7192 bits/sysmacros.h and the above new macros to generate the
7193 public implementations of major, minor, and makedev.
7194 * misc/tst-makedev.c: New test.
7195 * include/sys/sysmacros.h: New wrapper.
7196
7197 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
7198 (routines): Add makedev.
7199 (tests): Add tst-makedev.
7200 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
7201 gnu_dev_makedev.
7202 * posix/Makefile (headers): Remove sys/sysmacros.h.
7203 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
7204
7205 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
7206 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
7207 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
7208 * sysdeps/unix/sysv/linux/alpha/libc.abilist
7209 * sysdeps/unix/sysv/linux/arm/libc.abilist
7210 * sysdeps/unix/sysv/linux/hppa/libc.abilist
7211 * sysdeps/unix/sysv/linux/i386/libc.abilist
7212 * sysdeps/unix/sysv/linux/ia64/libc.abilist
7213 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7214 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
7215 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
7216 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7217 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7218 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7219 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7220 * sysdeps/unix/sysv/linux/nios2/libc.abilist
7221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7225 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
7226 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7227 * sysdeps/unix/sysv/linux/sh/libc.abilist
7228 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7229 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7230 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7231 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7232 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
7233 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
7234 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
7235 Add GLIBC_2.25.
7236
7237 * include/features.h (__glibc_clang_prereq): New macro.
7238 * misc/sys/cdefs.h (__glibc_clang_has_extension)
7239 (__attribute_deprecated_msg__): New macros.
7240
7241 2016-08-03 Joseph Myers <joseph@codesourcery.com>
7242
7243 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
7244 macro.
7245 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
7246 * manual/arith.texi (issignaling): Document as ISO from TS
7247 18661-1:2014.
7248 (nextup): Likewise.
7249 (nextupf): Likewise.
7250 (nextupl): Likewise.
7251 (nextdown): Likewise.
7252 (nextdownf): Likewise.
7253 (nextdownl): Likewise.
7254 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
7255 macro.
7256 * math/math.h: Define
7257 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7258 <bits/libc-header-start.h> instead of including <features.h>.
7259 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
7260 [__USE_GNU].
7261 * math/bits/mathcalls.h (nextdown): Declare if
7262 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
7263 (nextup): Likewise.
7264 (__issignaling): Likewise.
7265
7266 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7267
7268 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
7269 check, and remove __glibc_likely hint
7270 from FP_INFINITE check.
7271 * s_csinhf.c (__csinhf): Likewise.
7272
7273 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
7274 hint from FP_INFINITE check.
7275 * s_csinhl.c (__csinhl): Likewise.
7276
7277 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7278
7279 * math/Makefile (libm-calls): Insert F placeholder into
7280 object names. Move w_lgamma_compat* routines into
7281 (libm-compat-calls): New variable.
7282 (libm-compat-calls-ldouble-yes): New variable.
7283 (calls): Insert F placeholder.
7284 (generated): Redefine using new type-foreach macro call.
7285 (routines): Likewise.
7286
7287 (types): New variable to hold a list of symbolic names
7288 for each type supported by the target machine.
7289 (libm-routines): Redefine using new types variable.
7290 (type-foreach): macro to replace fooF with the
7291 appropriately suffixed foo for each types.
7292
7293 (type-ldouble-suffix): New variable.
7294 (type-ldouble-routines): Likewise.
7295 (type-ldouble-yes): Likewise.
7296 (type-double-suffix): Likewise.
7297 (type-double-routines): Likewise.
7298 (type-float-suffix): Likewise.
7299 (type-float-routines): Likewise.
7300
7301 (dbl-only-routines): Remove.
7302 (long-c-yes): Likewise.
7303 (long-m-routines): Likewise.
7304 (long-m-support): Likewise.
7305 (long-m-yes): Likewise.
7306 (test-longdouble-yes): Likewise.
7307
7308 (test-float.o): Simplify by increasing the scope of the
7309 recipe which adds libm-test.stmp to the vector types.
7310 (test-ifloat.o): Likewise.
7311 (test-float-finite.o): Likewise.
7312 (test-double.o): Likewise
7313 (test-idouble.o): Likewise.
7314 (test-double-finite.o): Likewise.
7315 (test-ldouble.o): Likewise
7316 (test-ildoubl.o): Likewise.
7317 (test-ldouble-finite.o): Likewise.
7318
7319 (libm-tests): Redefine type tests using foreach and the
7320 list of types in types.
7321
7322 (CPPFLAGS-test-ildoubl.c): Rename to
7323 (CPPFLAGS-test-ildouble.c): New variable
7324
7325 * math/test-ildoubl.c: Rename to
7326 * math/test-ildouble.c: New file.
7327
7328 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7329
7330 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
7331 Use fabsl instead of fabs.
7332 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
7333 Likewise.
7334 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
7335 Add long double suffix to constant to ensure proper
7336 promotion to long double.
7337
7338 2016-08-03 Tom Tromey <tom@tromey.com>
7339
7340 [BZ #20311]
7341 * nptl_db/Makefile (headers): Add proc_service.h.
7342 * nptl_db/proc_service.h: Add include guard. Use
7343 __BEGIN/__END_DECLS.
7344 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
7345 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
7346 arguments.
7347
7348
7349 2016-08-03 Florian Weimer <fweimer@redhat.com>
7350
7351 [BZ #17730]
7352 Avoid using memalign for TCB allocations.
7353 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
7354 (_dl_allocate_tls_storage): Use malloc and manual alignment.
7355 Avoid alignment gap in the TLS_DTV_AT_TP case.
7356 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
7357 determine the pointer to free.
7358 * nptl/tst-tls3-malloc.c: New test.
7359 * nptl/Makefile (tests): Add it.
7360 (tst-tls3-malloc): Link with libdl, libpthread.
7361 (LDFLAGS-tst-tls3-malloc): Set.
7362 (tst-tls3-malloc.out): Depend on DSO used in test.
7363
7364 2016-08-03 Florian Weimer <fweimer@redhat.com>
7365
7366 [BZ #17730]
7367 Avoid using memalign for TLS allocations.
7368 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
7369 is_static member with to_free member.
7370 (union dtv): Use struct dtv_pointer.
7371 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
7372 dtv_pointer instead of is_static.
7373 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
7374 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
7375 instead of val.
7376 (allocate_dtv_entry): New function.
7377 (allocate_and_init): Return struct dtv_pointer. Call
7378 allocate_dtv_entry instead of __libc_memalign.
7379 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
7380 instead of val.
7381 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
7382 instead of is_static. Adjust call to allocate_and_init.
7383 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
7384 struct dtv_pointer instead of val.
7385
7386 2016-08-03 Florian Weimer <fweimer@redhat.com>
7387
7388 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
7389 (MALLOC_ALIGN_MASK): Move ...
7390 * malloc/malloc-internal.h: ... to here.
7391 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
7392
7393 2016-08-03 Joseph Myers <joseph@codesourcery.com>
7394
7395 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
7396 (UDP_ENCAP_GTP1U): Likewise.
7397
7398 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
7399 (PF_MAX): Update value.
7400 (AF_QIPCRTR): New macro.
7401
7402 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
7403
7404 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
7405 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7406 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7407 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
7408 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7409 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
7410 s_truncf-vis3, s_trunc-vis3.
7411 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7412 (CFLAGS-s_ceil-vis3.c): Likewise.
7413 (CFLAGS-s_floorf-vis3.c): Likewise.
7414 (CFLAGS-s_floor-vis3.c): Likewise.
7415 (CFLAGS-s_truncf-vis3.c): Likewise.
7416 (CFLAGS-s_trunc-vis3.c): Likewise.
7417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
7418 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7419 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
7420 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7421 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
7422 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7423 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
7424 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7425 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
7426 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7427 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
7428 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7429
7430 2016-08-02 David S. Miller <davem@davemloft.net>
7431
7432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
7433 (__nearbyint_vis3): Don't check for sNaN before float register is
7434 loaded with the incoming argument.
7435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
7436 (__nearbyintf_vis3): Likewise.
7437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
7438 Likewise.
7439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
7440 Likewise.
7441
7442 * string/test-strncmp.c (do_test_limit): Make sure the test data
7443 stream is aligned as required for the type "CHAR".
7444 (do_test): Likewise.
7445
7446 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
7447
7448 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
7449 by beq instructions jumping to the end of the function.
7450 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
7451 clobber list. Use "i" constraint instead of "X".
7452 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
7453 of "X".
7454
7455 2016-08-02 Joseph Myers <joseph@codesourcery.com>
7456
7457 * bits/libc-header-start.h: New file.
7458 * Makefile (headers): Add bits/libc-header-start.h.
7459 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
7460 (__GLIBC_USE): New macro.
7461 * libio/stdio.h: Define
7462 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7463 <bits/libc-header-start.h> instead of including <features.h>.
7464 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
7465 (open_memstream): Likewise.
7466 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
7467 (__asprintf): Likewise.
7468 (asprintf): Likewise.
7469 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
7470 (getdelim): Likewise.
7471 (getline): Likewise.
7472 * string/string.h: Define
7473 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7474 <bits/libc-header-start.h> instead of including <features.h>.
7475 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
7476 (strndup): Likewise.
7477 * wcsmbs/wchar.h: Define
7478 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7479 <bits/libc-header-start.h> instead of including <features.h>.
7480 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
7481 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
7482
7483 2016-08-02 Florian Weimer <fweimer@redhat.com>
7484
7485 Support linking against compatibility symbols, for use in tests.
7486 * include/libc-symbols.h (symbol_version_reference): New macro.
7487 (symbol_version): Use it.
7488 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
7489 (compat_symbol): Use compat_symbol_reference.
7490 (compat_symbol_1, compat_symbol_2): Remove.
7491 (compat_symbol_reference, compat_symbol_reference_1)
7492 (compat_symbol_reference_2): New macro. Use
7493 symbol_version_reference.
7494
7495 2016-08-02 Florian Weimer <fweimer@redhat.com>
7496
7497 [BZ #19469]
7498 * malloc/Makefile (CPPFLAGS): Compile tests with
7499 -DTEST_NO_MALLOPT.
7500 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
7501
7502 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
7503
7504 [BZ #20033]
7505 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
7506 finite version.
7507 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
7508 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
7509 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
7510 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
7511 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
7512 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
7513 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
7514 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
7515 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
7516 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
7517 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
7518 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
7519 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
7520 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
7521 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
7522 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
7523 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
7524 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
7525 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
7526 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
7527 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
7528 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
7529 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
7530 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
7531 in zero power.
7532
7533 2016-08-02 Florian Weimer <fweimer@redhat.com>
7534
7535 [BZ #20370]
7536 * malloc/arena.c (get_free_list): Update comment. Assert that
7537 arenas on the free list have no attached threads.
7538 (remove_from_free_list): New function.
7539 (reused_arena): Call it.
7540
7541 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
7542
7543 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
7544 when it is a NaN.
7545 [_IEEE_FP_INEXACT] Remove.
7546 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
7547 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
7548 when it is a NaN.
7549 [_IEEE_FP_INEXACT] Remove.
7550 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
7551 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
7552 when it is a NaN.
7553 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
7554 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
7555 when its absolute value is greater than 0x1.0p52.
7556 [_IEEE_FP_INEXACT] Remove.
7557 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
7558 when its absolute value is greater than 0x1.0p23.
7559 [_IEEE_FP_INEXACT] Remove.
7560
7561 2016-08-01 Carlos O'Donell <carlos@redhat.com>
7562
7563 * version.h (RELEASE): Set to "development"
7564 (VERSION): Set to 2.24.90.
7565 * NEWS: Add 2.25 section.
7566
7567 * version.h (RELEASE): Set to "stable"
7568 (VERSION): Set to 2.24.
7569 * include/features.h (__GLIBC_MINOR__): Set to 24.
7570
7571 * NEWS: Add 2.24 fixed bugs.
7572 * po/libc.pot: Regenerate.
7573
7574 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
7575
7576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7577 [$(subdir) = math] (libm-sysdep_routines): Remove.
7578 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7579 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
7580 s_truncf-vis3, s_trunc-vis3.
7581 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
7583 file.
7584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
7585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
7586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
7587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
7590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
7591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
7593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
7594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
7595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
7596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
7597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
7598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
7599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
7603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
7604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
7605 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
7606 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7607 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7608 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
7609 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7610 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7611 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
7612 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7613 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7614 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
7615 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7616 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7617 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
7618 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
7619 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
7620 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
7621 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7622 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7623 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
7624 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
7625 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
7626 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
7627
7628 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
7629
7630 [BZ #20384]
7631 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
7632 test-double-libmvec-sincos-avx-main.o,
7633 test-double-libmvec-sincos-avx2-main.o,
7634 test-double-libmvec-sincos-main.o,
7635 test-float-libmvec-sincosf-avx-main.o,
7636 test-float-libmvec-sincosf-avx2-main.o and
7637 test-float-libmvec-sincosf-main.o.
7638 test-float-libmvec-sincosf-avx512-main.o.
7639 ($(objpfx)test-double-libmvec-sincos): Also link with
7640 $(objpfx)test-double-libmvec-sincos-main.o.
7641 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
7642 $(objpfx)test-double-libmvec-sincos-avx-main.o.
7643 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
7644 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
7645 ($(objpfx)test-float-libmvec-sincosf): Also link with
7646 $(objpfx)test-float-libmvec-sincosf-main.o.
7647 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
7648 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
7649 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
7650 test-double-libmvec-sincos-avx512-main.o and
7651 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
7652 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
7653 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
7654 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
7655 (CFLAGS-test-double-libmvec-sincos.c): Removed.
7656 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
7657 (CFLAGS-test-double-libmvec-sincos-main.c): New.
7658 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
7659 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
7660 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
7661 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
7662 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
7663 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
7664 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
7665 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
7666 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
7667 -DREQUIRE_AVX2.
7668 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
7669 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
7670 -DREQUIRE_AVX512F.
7671 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
7672 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
7673 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
7674 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
7675 file.
7676 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
7677 Likewise.
7678 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
7679 Likewise.
7680 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
7681 Likewise.
7682 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
7683 Likewise.
7684 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
7685 Likewise.
7686 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
7687 Likewise.
7688 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
7689 Likewise.
7690
7691 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
7692
7693 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
7694
7695 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
7696
7697 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
7698 and typo in a comment about AT_HWCAP entry.
7699
7700 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7701
7702 * sysdeps/aarch64/libm-test-ulps: Updated.
7703
7704 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7705
7706 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
7707 of r13 as it is not restored in mvcle case.
7708
7709 2016-07-19 Mike Frysinger <vapier@gentoo.org>
7710
7711 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
7712 Rename "ret" to "__ret".
7713 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
7714 inline_syscall5, inline_syscall6): Likewise.
7715
7716 2016-07-19 Will Newton <will.newton@gmail.com>
7717
7718 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
7719 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
7720 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
7721 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
7722 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
7723
7724 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
7725
7726 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
7727 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
7728 -mfpmath=387 with $(rtld-CFLAGS).
7729 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
7730 $(rtld-CFLAGS).
7731
7732 2016-07-18 Ross Burton <ross.burton@intel.com>
7733 Khem Raj <raj.khem@gmail.com>
7734
7735 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
7736 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
7737 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
7738 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
7739 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
7740 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
7741 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
7742 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
7743 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
7744 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
7745 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
7746 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
7747 R_METAG_TLS_DTPOFF): New.
7748
7749 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
7750 Matt Clay <mclay@lycos.com>
7751
7752 [BZ #20357]
7753 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
7754 to call __mpsin/__mpcos and to negate values.
7755 * math/auto-libm-test-in: Add test.
7756 * math/auto-libm-test-out: Regenerate.
7757
7758 2016-07-18 Zack Weinberg <zackw@panix.com>
7759
7760 * grp/Makefile: Don't install the internal header grp-merge.h.
7761
7762 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
7763
7764 * sysdeps/aarch64/libm-test-ulps: Regenerated.
7765
7766 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
7767
7768 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
7769
7770 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7771
7772 [BZ #15368]
7773 * sysdeps/unix/sysv/linux/nptl-signals.h
7774 (__nptl_clear_internal_signals): New function.
7775 (__libc_signal_block_all): Likewise.
7776 (__libc_signal_block_app): Likewise.
7777 (__libc_signal_restore_set): Likewise.
7778 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
7779 implementation.
7780 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
7781 the cached pid/tid value in pthread structure.
7782
7783 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
7784
7785 [BZ #20347]
7786 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
7787
7788 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
7789
7790 [BZ #20348]
7791 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
7792 preadv64, pwrite64 and pwritev64.
7793
7794 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
7795
7796 [BZ #20350]
7797 * posix/tst-preadwrite.c: Renamed to ...
7798 * posix/tst-preadwrite-common.c: This.
7799 (PREAD): Removed.
7800 (PWRITE): Likewise.
7801 (STRINGIFY): Likewise.
7802 (STRINGIFY2): Likewise.
7803 (do_prepare): Make it static and remove function arguments.
7804 (do_test): Likewise.
7805 (PREPARE): Updated.
7806 (TEST_FUNCTION): New.
7807 (name): Make it static.
7808 (fd): Likewise.
7809 (do_prepare): Use create_temp_file.
7810 (do_test): Renamed to ...
7811 (do_test_with_offset): This. Make it static and accept offset.
7812 Properly check return value of PWRITE and PREAD. Return bytes
7813 read. Don't close fd nor unlink name.
7814 * posix/tst-preadwrite.c: Rewrite.
7815 * posix/tst-preadwrite64.c: Likewise.
7816
7817 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
7818
7819 [BZ #20309]
7820 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
7821 -mtls-dialect=gnu2 works.
7822 * configure: Regenerated.
7823 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
7824 (tests): Add tst-gnu2-tls1.
7825 (modules-names): Add tst-gnu2-tls1mod.
7826 ($(objpfx)tst-gnu2-tls1): New.
7827 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
7828 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
7829 * elf/tst-gnu2-tls1.c: New file.
7830 * elf/tst-gnu2-tls1mod.c: Likewise.
7831 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
7832 bytes for push in the PLT entry to align the stack.
7833
7834 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
7835
7836 [BZ #20349]
7837 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
7838
7839 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
7840
7841 [BZ #18707]
7842 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
7843 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
7844
7845 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7846
7847 * sysdeps/unix/sysv/linux/sysdep.h
7848 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
7849 guards.
7850 * misc/tst-preadvwritev-common.c: New file.
7851 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
7852 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
7853 a check for files larger than 2GB.
7854
7855 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7856 (__ASSUME_OFF_DIFF_OFF64): Remove define.
7857 * sysdeps/unix/sysv/linux/pread.c
7858 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
7859 __OFF_T_MATCHES_OFF64_T.
7860 * sysdeps/unix/sysv/linux/pread64.c
7861 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
7862 * sysdeps/unix/sysv/linux/preadv.c
7863 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
7864 * sysdeps/unix/sysv/linux/preadv64.c
7865 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
7866 * sysdeps/unix/sysv/linux/pwrite.c
7867 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
7868 * sysdeps/unix/sysv/linux/pwrite64.c
7869 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
7870 * sysdeps/unix/sysv/linux/pwritev.c
7871 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
7872 * sysdeps/unix/sysv/linux/pwritev64.c
7873 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
7874
7875 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
7876
7877 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7878 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
7879
7880 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
7881
7882 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
7883
7884 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
7885
7886 [BZ #20240]
7887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
7888 (CFLAGS-s_modf-ppc32.c): New variable.
7889 (CFLAGS-s_modff-ppc32.c): Likewise.
7890 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7891 (CFLAGS-s_modf-ppc64.c): Likewise.
7892 (CFLAGS-s_modff-ppc64.c): Likewise.
7893
7894 2016-07-07 Andreas Schwab <schwab@suse.de>
7895
7896 [BZ #20263]
7897 * nptl/tst-robust10.c: New test.
7898 * nptl/Makefile (tests): Add tst-robust10.
7899
7900 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
7901
7902 [BZ #20263]
7903 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
7904
7905 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
7906
7907 * sysdeps/s390/linkmap.h (struct link_map_machine):
7908 Remove member gotplt and add member jmprel.
7909 * sysdeps/s390/s390-32/dl-machine.h
7910 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
7911 instead of gotplt with &got[3].
7912 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
7913 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7914
7915 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
7916
7917 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
7918
7919 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7920
7921 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
7922 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
7923 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
7924 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
7925 * libio/vtables.c (_IO_vtable_check)
7926 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
7927 * libio/libioP.h (IO_set_accept_foreign_vtables)
7928 [!PTR_MANGLE]: Do not call PTR_MANGLE.
7929
7930 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
7931
7932 [BZ #20314]
7933 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
7934 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
7935 $(common-objpfx)cmath.
7936 ($(common-objpfx)cstdlib): New target.
7937 ($(common-objpfx)cmath): Likewise.
7938
7939 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
7940
7941 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
7942
7943 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7944
7945 [BZ #20327]
7946 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
7947 are not part of the string.
7948
7949 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7950
7951 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
7952 * nptl/tst-cancel4-common.h (fifoname): New variable.
7953 (fifofd): Likewise.
7954 (cl_fifo): New function.
7955 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
7956 SIGINT.
7957 (tf_open): Add early cancel test.
7958
7959 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
7960
7961 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
7962
7963 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
7964
7965 * sysdeps/generic/ldsodefs.h
7966 (dl_symbol_visibility_binds_local_p): New inline function.
7967 * elf/dl-addr.c (determine_info): Treat hidden and internal
7968 symbols as local.
7969 * elf/dl-lookup.c (do_lookup_x): Likewise.
7970 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
7971
7972 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
7973
7974 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
7975 invalid exception for a sNaN input.
7976 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7977 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
7978 (__nearbyint_vis3): Likewise
7979 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
7980 (__nearbyintf_vis3): Likewise
7981 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
7982 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7983 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
7984 Likewise.
7985 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
7986 Likewise.
7987
7988 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
7989
7990 [BZ #20139]
7991 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
7992 (HAVE_AVX512DQ_ASM_SUPPORT): This.
7993 * sysdeps/x86_64/configure.ac: Require assembler from binutils
7994 2.24 or above.
7995 (HAVE_AVX512_ASM_SUPPORT): Removed.
7996 (HAVE_AVX512DQ_ASM_SUPPORT): New.
7997 * sysdeps/x86_64/configure: Regenerated.
7998 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
7999 check unconditional.
8000 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8001 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8002 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8003 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
8004 Likewise.
8005 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8006 Likewise.
8007 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
8008 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
8009 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8010 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8011 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8012 Likewise.
8013 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8014 Likewise.
8015 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8016 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8017 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
8018 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
8019 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
8020 Likewise.
8021 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
8022 Likewise.
8023 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
8024 Likewise.
8025 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
8026 Likewise.
8027 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
8028 Likewise.
8029 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
8030 Likewise.
8031 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
8032 Likewise.
8033 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
8034 Likewise.
8035 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
8036 Likewise.
8037 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
8038 Likewise.
8039 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
8040 Likewise.
8041
8042 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
8043
8044 [BZ #20024]
8045 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
8046 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
8047 of this implementation of vector function.
8048 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
8049 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
8050 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8051 Likewise.
8052 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
8053 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
8054 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
8055 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
8056 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
8057 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
8058 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
8059 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
8060 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
8061 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
8062 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
8063 for testing vector sincos with fixed ABI.
8064 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8065 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8066 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8067 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8068 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8069 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8070 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8071 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
8072 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
8073 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
8074 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
8075 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
8076 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
8077 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
8078 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8079 * sysdeps/x86_64/fpu/Makefile: Added new tests.
8080
8081 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
8082
8083 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
8084
8085 2016-06-30 Anton Blanchard <anton@samba.org>
8086
8087 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8088 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
8089 s_sinf-ppc64.
8090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
8091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8093 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8094
8095 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8096
8097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8098 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8099 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
8100 e_expf-ppc64.
8101 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
8102 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
8103 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
8104 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
8105
8106 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
8107
8108 [BZ #20277]
8109 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
8110 when SHARED is defined.
8111
8112 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
8113
8114 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
8115 (index_arch_Prefer_ERMS): Likewise.
8116 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
8117 __memcpy_erms for Prefer_ERMS.
8118 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8119 (__memmove_erms): Enabled for libc.a.
8120 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
8121 __memmove_erms or Prefer_ERMS.
8122 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
8123 __mempcpy_erms for Prefer_ERMS.
8124 * sysdeps/x86_64/multiarch/memset.S (memset): Return
8125 __memset_erms for Prefer_ERMS.
8126
8127 2016-06-30 Andreas Schwab <schwab@suse.de>
8128
8129 [BZ #20262]
8130 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
8131 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
8132 of memory.
8133
8134 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
8135
8136 [BZ #18645]
8137 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
8138 (test-extras): Add tst-cleanupx4aux.
8139 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
8140 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
8141 tst-cleanupx4aux.o.
8142 * nptl/tst-cleanupx4aux.c: New file.
8143
8144 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
8145
8146 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8147
8148 2016-06-29 Andreas Schwab <schwab@suse.de>
8149
8150 [BZ #20260]
8151 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
8152 address before the beginning of the string as an integer to avoid
8153 array-bounds warning.
8154
8155 2016-06-28 Richard Henderson <rth@redhat.com>
8156
8157 * elf/elf.h (EM_BPF): New.
8158 (EM_NUM): Update.
8159 (R_BPF_NONE, R_BPF_MAP_FD): New.
8160
8161 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
8162 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
8163 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
8164 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
8165 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
8166 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
8167 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
8168 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
8169 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
8170 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
8171 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
8172 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
8173 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
8174 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
8175 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
8176 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
8177 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
8178 (EM_NUM): Update.
8179
8180 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
8181
8182 [BZ #18960]
8183 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
8184 Set _nl_current_LC_CATEGORY_used to two instead of one.
8185
8186 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
8187
8188 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
8189 (do_test): ... this.
8190 (TEST_FUNCTION): New macro.
8191 Include test-skeleton.c.
8192 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
8193 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
8194
8195 2016-06-27 Joseph Myers <joseph@codesourcery.com>
8196
8197 [BZ #15479]
8198 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
8199 floating-point environment rather than just control word.
8200 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8201 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
8202 floating-point environment, with "invalid" exceptions merged in,
8203 rather than just control word.
8204 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
8205 * math/libm-test.inc (trunc_test_data): Do not allow spurious
8206 "inexact" exceptions.
8207
8208 [BZ #15479]
8209 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
8210 floating-point environment rather than just control word.
8211 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8212 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
8213 floating-point environment, with "invalid" exceptions merged in,
8214 rather than just control word.
8215 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
8216 * math/libm-test.inc (floor_test_data): Do not allow spurious
8217 "inexact" exceptions.
8218
8219 [BZ #15479]
8220 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
8221 floating-point environment rather than just control word.
8222 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8223 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
8224 floating-point environment, with "invalid" exceptions merged in,
8225 rather than just control word.
8226 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
8227 * math/libm-test.inc (ceil_test_data): Do not allow spurious
8228 "inexact" exceptions.
8229
8230 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
8231
8232 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
8233 __libc_vfork.
8234 (__vfork) [IS_IN (libc)]: Remove alias.
8235 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
8236 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8237 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8238
8239 2016-06-24 Torvald Riegel <triegel@redhat.com>
8240
8241 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
8242 of atomic_compare_and_exchange_bool_rel.
8243 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8244 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
8245 catomic_compare_and_exchange_bool_rel): Remove.
8246 * sysdeps/aarch64/atomic-machine.h
8247 (atomic_compare_and_exchange_bool_rel): Likewise.
8248 * sysdeps/alpha/atomic-machine.h
8249 (atomic_compare_and_exchange_bool_rel): Likewise.
8250 * sysdeps/arm/atomic-machine.h
8251 (atomic_compare_and_exchange_bool_rel): Likewise.
8252 * sysdeps/mips/atomic-machine.h
8253 (atomic_compare_and_exchange_bool_rel): Likewise.
8254 * sysdeps/microblaze/atomic-machine.h
8255 ( __arch_compare_and_exchange_bool_8_rel,
8256 __arch_compare_and_exchange_bool_16_rel): Likewise.
8257 * sysdeps/powerpc/atomic-machine.h
8258 ( __arch_compare_and_exchange_bool_8_rel,
8259 __arch_compare_and_exchange_bool_16_rel): Likewise.
8260 * sysdeps/powerpc/powerpc32/atomic-machine.h
8261 ( __arch_compare_and_exchange_bool_32_rel,
8262 __arch_compare_and_exchange_bool_64_rel): Likewise.
8263 * sysdeps/powerpc/powerpc64/atomic-machine.h
8264 ( __arch_compare_and_exchange_bool_32_rel,
8265 __arch_compare_and_exchange_bool_64_rel): Likewise.
8266 * sysdeps/tile/atomic-machine.h
8267 (atomic_compare_and_exchange_bool_rel): Likewise.
8268
8269 2016-06-23 Joseph Myers <joseph@codesourcery.com>
8270
8271 [BZ #20296]
8272 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
8273 when either argument is a NaN.
8274 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8275 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
8276
8277 * math/libm-test.inc (snan_value_ld): New macro.
8278 (isgreater_test_data): Add sNaN tests.
8279 (isgreaterequal_test_data): Likewise.
8280 (isless_test_data): Likewise.
8281 (islessequal_test_data): Likewise.
8282 (islessgreater_test_data): Likewise.
8283 (isunordered_test_data): Likewise.
8284 (nextafter_test_data): Likewise.
8285 (nexttoward_test_data): Likewise.
8286 (remainder_test_data): Likewise.
8287 (remquo_test_data): Likewise.
8288 (significand_test_data): Likewise.
8289 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
8290
8291 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
8292
8293 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
8294 environment macros are defined.
8295 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
8296
8297 2016-06-23 Florian Weimer <fweimer@redhat.com>
8298
8299 [BZ #20191]
8300 Implement vtable verification in libio.
8301 * Makerules (shlib.lds): Place __libc_IO_vtables section.
8302 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
8303 * debug/vdprintf_chk.c (__vdprintf_chk): Call
8304 _IO_new_file_init_internal instead of _IO_file_init.
8305 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
8306 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
8307 * libio/Makefile (routines): Add vtables.
8308 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
8309 (_IO_init): Remove, not for internal use.
8310 (_IO_init_internal): Declare, internal replacement for _IO_init.
8311 (_IO_file_init): Remove, not for internal use.
8312 (_IO_new_file_init): Remove, not for internal use.
8313 (_IO_new_file_init_internal): Declare, internal replacement for
8314 _IO_new_file_init.
8315 (_IO_old_file_init): Remove, not for internal use.
8316 (_IO_old_file_init_internal): Declare, internal replacement for
8317 _IO_old_file_init.
8318 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
8319 internal use.
8320 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
8321 Declare.
8322 (libio_vtable): New macro.
8323 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
8324 functions.
8325 * libio/fileops.c (_IO_new_file_init_internal): Rename from
8326 _IO_new_file_init.
8327 (_IO_new_file_init): New externally visible wrapper which disables
8328 vtable verification.
8329 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
8330 Define as vtables.
8331 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
8332 (_IO_init): New externally visible wrapper which disables
8333 vtable verification.
8334 * libio/iofdopen.c (_IO_new_fdopen): Call
8335 _IO_new_file_init_internal instead of _IO_file_init. Adjust
8336 comment.
8337 * libio/iofopen.c (__fopen_internal): Call
8338 _IO_new_file_init_internal instead of _IO_file_init.
8339 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
8340 Define as vtables.
8341 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
8342 _IO_new_file_init_internal instead of _IO_file_init.
8343 * libio/iopopen.c (_IO_new_popen): Likewise.
8344 (_IO_proc_jumps): Define as vtable.
8345 * libio/iovdprintf.c (_IO_vdprintf): Call
8346 _IO_new_file_init_internal instead of _IO_file_init.
8347 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
8348 (__open_memstream): Call _IO_init_internal instead of _IO_init.
8349 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
8350 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
8351 _IO_old_file_init.
8352 (_IO_old_file_init): New externally visible wrapper which disables
8353 vtable verification.
8354 (_IO_old_file_jumps): Define as vtable.
8355 * libio/oldiofdopen.c (_IO_old_fdopen): Call
8356 _IO_old_file_init_internal instead of _IO_old_file_init.
8357 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
8358 * libio/oldiopopen.c (_IO_old_popen): Likewise.
8359 (_IO_old_proc_jumps): Define as vtable.
8360 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
8361 Define as vtables.
8362 * libio/vtables.c: New file.
8363 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
8364 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
8365 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
8366 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
8367 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
8368 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
8369 instead of _IO_init.
8370
8371 2016-06-23 Florian Weimer <fweimer@redhat.com>
8372
8373 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
8374
8375 2016-06-23 Florian Weimer <fweimer@redhat.com>
8376
8377 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
8378 potentially unused.
8379
8380 2016-06-22 Florian Weimer <fweimer@redhat.com>
8381
8382 * test-skeleton.c (write_message): New function.
8383 * malloc/tst-mallocfork2.c (write_message): Remove.
8384 * debug/tst-longjmp_chk2.c (write_indented): New function.
8385 (write_message): Remove.
8386 (stackoverflow_handler): Call write_indented.
8387
8388 2016-06-22 Joseph Myers <joseph@codesourcery.com>
8389
8390 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
8391 "inexact" exceptions after fnstenv.
8392 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8393 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8394 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8395
8396 2015-06-22 Zack Weinberg <zackw@panix.com>
8397
8398 * sysdeps/generic/bits/hwcap.h: Moved to ...
8399 * bits/hwcap.h: Here.
8400
8401 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
8402
8403 * sysdeps/aarch64/memcpy.S (memcpy):
8404 Further tuning for performance.
8405
8406 2016-06-21 Florian Weimer <fweimer@redhat.com>
8407
8408 [BZ #20284]
8409 * malloc/arena.c (reused_arena): Do not return NULL if we start
8410 out with a non-corrupted arena.
8411
8412 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8413
8414 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
8415 * misc/tst-preadvwritev.c: New file.
8416 * misc/tst-preadvwritev64.c: Likewise.
8417 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
8418 usage.
8419 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
8420 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
8421 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
8422 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
8423
8424 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
8425
8426 [BZ #19654]
8427 * sysdeps/x86_64/fpu/Makefile: Added new tests.
8428 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
8429 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
8430 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
8431 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
8432 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
8433 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
8434 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
8435 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
8436 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
8437 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
8438 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
8439 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
8440 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
8441 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
8442 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
8443 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
8444 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
8445 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
8446 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
8447 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
8448 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
8449 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
8450 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
8451 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
8452 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
8453
8454 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
8455
8456 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
8457 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
8458
8459 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
8460
8461 * sysdeps/aarch64/memcpy.S (memcpy):
8462 Rewrite of optimized memcpy and memmove.
8463 * sysdeps/aarch64/memmove.S (memmove): Remove
8464 memmove code (merged into memcpy.S).
8465
8466 2016-06-20 Florian Weimer <fweimer@redhat.com>
8467
8468 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
8469 * sysdeps/generic/dl-dtv.h: New file.
8470 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8471 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
8472 (dtv_t): Remove.
8473 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8474 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
8475 (dtv_t): Remove.
8476 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8477 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
8478 (dtv_t): Remove.
8479 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8480 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
8481 (dtv_t): Remove.
8482 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8483 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
8484 (dtv_t): Remove.
8485 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8486 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
8487 (dtv_t): Remove.
8488 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8489 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
8490 (dtv_t): Remove.
8491 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
8492 (dtv_t): Remove.
8493 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8494 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
8495 (dtv_t): Remove.
8496 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8497 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
8498 (dtv_t): Remove.
8499 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8500 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
8501 (dtv_t): Remove.
8502 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8503 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
8504 (dtv_t): Remove.
8505 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8506 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
8507 (dtv_t): Remove.
8508 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8509 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
8510 (dtv_t): Remove.
8511 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8512 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
8513 (dtv_t): Remove.
8514 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8515 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
8516 (dtv_t): Remove.
8517
8518 2016-06-20 Florian Weimer <fweimer@redhat.com>
8519
8520 Revert symbol poisoning of __malloc_initialize_hook.
8521 * include/stdc-predef.h (__malloc_initialize_hook): Remove
8522 poisoning.
8523 * malloc/Makefile: Remove un-poisoning.
8524 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
8525 instead of old__malloc_initialize_hook.
8526 * malloc/malloc-hooks.h: Likewise.
8527 * malloc/malloc.c: Likewise.
8528 * malloc/mcheck-init.c: Likewise.
8529
8530 2016-06-19 Carlos O'Donell <carlos@redhat.com>
8531
8532 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
8533
8534 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
8535
8536 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
8537 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
8538 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8539 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8540
8541 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8542
8543 * NEWS: Mention addition of nextup and nextdown.
8544 * manual/arith.texi: Document nextup and nextdown.
8545 * manual/libm-err-tab.pl: Add nextup and nextdown.
8546 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
8547 * math/Versions (libm): Add GLIBC_2.24.
8548 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
8549 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
8550 Add new test.
8551 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
8552 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
8553 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
8554 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
8555 (nextup_test_data): Likewise.
8556 (nextdown_test_data): Likewise.
8557 * math/s_nextdown.c: New file.
8558 * math/s_nextdownf.c: Likewise.
8559 * math/s_nextdownl.c: Likewise.
8560 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
8561 F(nextup): New function.
8562 F(nextdown): Likewise.
8563 * math/tgmath.h: Add nextup and nextdown.
8564 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
8565 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
8566 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
8567 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
8568 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
8569 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
8570 Add nextup and nextdown.
8571 (CFLAGS-nldbl-nextup.c): New variable.
8572 (CFLAGS-nldbl-nextdown.c): Likewise.
8573 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
8574 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
8575 * sysdeps/nacl/libm.abilist: Update.
8576 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8577 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8578 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8579 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8580 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8581 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8582 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8583 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8584 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8585 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8586 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8587 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
8589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8590 Likewise.
8591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
8592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
8593 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8594 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8595 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8596 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8597 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
8599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
8600 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8601 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8602 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
8603 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8604
8605 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8606
8607 * manual/pattern.texi: Fix typos & grammar errors.
8608
8609 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8610
8611 * manual/search.texi: Fix typos & grammar errors.
8612
8613 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8614
8615 * manual/message.texi: Fix typos & grammar errors.
8616
8617 2016-06-16 Mike Frysinger <vapier@gentoo.org>
8618
8619 * manual/contrib.texi: Fix spelling typos.
8620 * manual/crypt.texi: Likewise.
8621 * manual/filesys.texi: Likewise.
8622 * manual/locale.texi: Likewise.
8623 * manual/message.texi: Likewise.
8624 * manual/nss.texi: Likewise.
8625 * manual/string.texi: Likewise.
8626
8627 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8628
8629 * manual/locale.texi: Fix typos & grammar errors.
8630
8631 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8632
8633 * manual/charset.texi: Fix typos & grammar errors.
8634
8635 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8636
8637 * manual/string.texi: Fix typos.
8638
8639 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8640
8641 * manual/ctype.texi: Fix typos.
8642
8643 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8644
8645 * manual/memory.texi: Fix various typos & grammar errors.
8646
8647 2016-06-14 Joseph Myers <joseph@codesourcery.com>
8648
8649 [BZ #20255]
8650 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
8651 * math/libm-test.inc (fdim_test_data): Add another test.
8652
8653 [BZ #6796]
8654 [BZ #20255]
8655 [BZ #20256]
8656 * math/s_fdim.c: Include <math_private.h>.
8657 (__fdim): Use math_narrow_eval on result.
8658 * math/s_fdimf.c: Include <math_private.h>.
8659 (__fdimf): Use math_narrow_eval on result.
8660 * sysdeps/i386/fpu/s_fdim.S: Remove file.
8661 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
8662 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
8663 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
8664 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
8665 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
8666 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
8667 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
8668 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
8669 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
8670 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
8671 * math/libm-test.inc (fdim_test_data): Expect errno setting on
8672 overflow. Add sNaN tests.
8673
8674 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
8675 fpclassify.
8676 * math/s_fdimf.c (__fdimf): Likewise.
8677 * math/s_fdiml.c (__fdiml): Likewise.
8678
8679 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8680
8681 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8682 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
8683 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8684 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
8685 ifunc'ed strcasecmp/strncasecmp.
8686 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
8687 [EALIGN]: Removed.
8688 [END]: Likewise.
8689 [__strcasecmp]: Define instead of the above to control symbol name.
8690 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
8691 for __strcasecmp_power8.
8692 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
8693 for __strncasecmp_power8.
8694 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
8695 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
8696 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
8697 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
8698 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
8699 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
8700
8701 2016-06-13 Joseph Myers <joseph@codesourcery.com>
8702
8703 [BZ #20252]
8704 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
8705 arguments when second argument is a NaN.
8706 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
8707 qNaN tests.
8708
8709 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
8710 (conj_test_data): Likewise.
8711 (copysign_test_data): Likewise.
8712 (creal_test_data): Likewise.
8713 (fma_test_data): Likewise.
8714 (fmod_test_data): Likewise.
8715
8716 [BZ #20250]
8717 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
8718 itself.
8719 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
8720 zero input to itself.
8721 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
8722 Likewise.
8723 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
8724 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
8725 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8726 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
8727 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
8728
8729 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8730
8731 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
8732 * nptl/tst-cancel4-common.c: New file.
8733 * nptl/tst-cancel4-common.h: Likewise.
8734 * nptl/tst-cancel4.c: Move common definitions to
8735 tst-cancel4-common.{c,h} file.
8736 * nptl/tst-cancel4_1.c: New test.
8737 * nptl/tst-cancel4_2.c: New test.
8738
8739 2016-06-13 Florian Weimer <fweimer@redhat.com>
8740
8741 [BZ #20248]
8742 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
8743 (write_message): New function.
8744 (stackoverflow_handler): Call it instead of printf, to avoid
8745 excessive stack usage by printf.
8746 (do_test): Restore SIGSEGV, SIGBUS default handlers.
8747
8748 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8749
8750 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
8751 (prio_inherit_missing): Remove define.
8752 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8753 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8754 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
8755 Likewise.
8756 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8757 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8758 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8759 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8760 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8761 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8762
8763 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8764
8765 [BZ #19670]
8766 [BZ #19672]
8767
8768 * io/test-lfs.c (do_prepare): Use xmalloc.
8769 * io/tst-fcntl.c (do_prepare): Likewise.
8770 * libio/tst-fopenloc.c (do_bz17916): Likewise.
8771 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
8772 * login/tst-utmp.c (do_prepare): Likewise.
8773 * posix/tst-exec.c (do_prepare): Likewise.
8774 * posix/tst-pathconf.c (prepare): Likewise.
8775 * posix/tst-spawn.c (do_prepare): Likewise.
8776 * posix/tst-truncate.c (do_prepare): Likewise.
8777 * rt/tst-aio.c (do_prepare): Likewise.
8778 * rt/tst-aio64.c (do_prepare): Likewise.
8779
8780 2016-06-11 Florian Weimer <fweimer@redhat.com>
8781
8782 [BZ #20237]
8783 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
8784 (get*ent): Set entidx to NULL during initialization. If entidx is
8785 NULL, start iteration from the beginning.
8786
8787 2016-06-11 Florian Weimer <fweimer@redhat.com>
8788
8789 * malloc/malloc.c (musable): Return correct size for dumped fake
8790 mmapped chunk.
8791
8792 2016-06-11 Florian Weimer <fweimer@redhat.com>
8793
8794 [BZ #20222]
8795 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
8796 (_IO_cookie_write): Likewise.
8797 (_IO_cookie_seek): Likewise.
8798 (_IO_cookie_close): Likewise.
8799 (_IO_old_cookie_seek): Likewise.
8800 (set_callbacks): New function.
8801 (_IO_cookie_init): Call set_callbacks to copy callbacks.
8802
8803 2016-06-11 Marko Myllynen <myllynen@redhat.com>
8804
8805 * locale/programs/localedef.c (oldstyle_tables): Remove.
8806 * locale/programs/localedef.h (oldstyle_tables): Likewise.
8807
8808 2016-06-10 Joseph Myers <joseph@codesourcery.com>
8809
8810 [BZ #20240]
8811 * math/Makefile (CFLAGS-s_modf.c): New variable.
8812 (CFLAGS-s_modff.c): Likewise.
8813 (CFLAGS-s_modfl.c): Likewise.
8814 * math/libm-test.inc (modf_test_data): Add sNaN tests.
8815
8816 2016-06-09 Carlos O'Donell <carlos@redhat.com>
8817
8818 [BZ #20215]
8819 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
8820 [!__GNUC_PREREQ (3,2)]: Likewise.
8821
8822 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
8823
8824 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
8825 (msghdr.msg_controllen): Likewise.
8826 (cmsghdr.cmsg_len): Likewise.
8827 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
8828 ptw-oldsendmsg.
8829 (CFLAGS-oldrecvmsg.c): Remove rule.
8830 (CFLAGS-oldsendmsg.c): Likewise.
8831 (CFLAGS-recvmsg.c): Add rule.
8832 (CFLAGS-sendmsg.c): Likewise.
8833 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
8834 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
8835 (CFLAGS-recvmsg.c): Remove rule.
8836 (CFLAGS-sendmsg.c): Likewise.
8837 (CFLAGS-oldrecvmsg.c): Likewise.
8838 (CFLAGS-oldsendmsg.c): Likewise.
8839 (CFLAGS-recvmmsg.c): Likewise.
8840 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
8841 to kernel defined interfaces.
8842 (msghdr.msg_controllen): Likewise.
8843 (cmsghdr.cmsg_len): Likewise.
8844 (msghdr.__glibc_reserved1): Remove member.
8845 (msghdr.__glibc_reserved2): Likewise.
8846 (cmsghdr.__glibc_reserved1): Likewise.
8847 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
8848 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
8849 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
8850 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
8851 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
8852 version.
8853 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
8854 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
8855 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
8856 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
8857 Remove recvmsg and sendmsg.
8858 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
8859 Likewise.
8860 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
8861 Likewise.
8862 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
8863 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
8864 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
8865 Likewise.
8866 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
8867 Likewise.
8868 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
8869 [libc] (GLIBC_2.24): Likewise.
8870 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
8871 Likewise.
8872 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
8873 Likewise.
8874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8875 [libc] (GLIBC_2.24): Likewise.
8876 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
8877 Likewise.
8878 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
8879 Likewise.
8880 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
8881 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
8882 Likewise.
8883 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
8884 Likewise.
8885 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
8886 Likewise.
8887 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
8888 Likewise.
8889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
8890 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
8891 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
8892 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
8893 version for {recv,send,recm,sendm}msg.
8894 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8895 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8896 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8897 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8898 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8899 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8900 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8901 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8902 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8903 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8904 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8905 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8907 Likewise.
8908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8909 Likewise.
8910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8912 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8913 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8914 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8915 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8916 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8917 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8918 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8920 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8921 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8922 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8923
8924 2016-06-10 Florian Weimer <fweimer@redhat.com>
8925
8926 [BZ #19564]
8927 Remove __malloc_initialize_hook from the API.
8928 * malloc/malloc.h (__malloc_initialize_hook): Remove.
8929 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
8930 #pragma GCC poison.
8931 * malloc/malloc-hooks.h: New file.
8932 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
8933 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
8934 (old__malloc_initialize_hook): Rename from
8935 __malloc_initialize_hook to evade poisoning. Turn into compat
8936 symbol.
8937 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
8938 __malloc_initialize_hook.
8939 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
8940 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
8941 * manual/memory.texi (Hooks for Malloc): Remove
8942 __malloc_initialize_hook. Adjust hook example.
8943
8944 2016-06-09 Joseph Myers <joseph@codesourcery.com>
8945
8946 [BZ #20235]
8947 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
8948 itself.
8949 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8950 * math/libm-test.inc (log2_test_data): Add sNaN tests.
8951
8952 [BZ #20234]
8953 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
8954 infinity or NaN input to itself.
8955
8956 [BZ #20233]
8957 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
8958 to itself.
8959
8960 [BZ #20232]
8961 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
8962 itself.
8963
8964 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
8965
8966 * sysdeps/x86_64/start.S (_start): Always indirect branch to
8967 __libc_start_main via GOT.
8968
8969 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
8970
8971 * sysdeps/x86_64/memcopy.h: New file.
8972 * sysdeps/x86_64/wordcopy.c: Likewise.
8973
8974 2016-06-09 Florian Weimer <fweimer@redhat.com>
8975
8976 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
8977 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
8978 <cstdlib>.
8979 (optimization_barrier): New.
8980 (do_test): Use it. Call quick_exit in the global namespace.
8981 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
8982 instead of <cstdlib>, <thread>.
8983 (optimization_barrier): New.
8984 (non_main_thread): Adjust declaration. Call optimization_barrier.
8985 Call quick_exit in the global namespace.
8986 (do_test): Call optimization_barrier. Use pthread_create,
8987 pthread_join instead of std::thread.
8988
8989 2016-06-09 Andreas Schwab <schwab@suse.de>
8990
8991 [BZ #19755]
8992 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
8993 new entries in auto-propagate mode.
8994 * nscd/grpcache.c (cache_addgr): Likewise.
8995
8996 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8997
8998 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
8999 New functions.
9000 (add_temp_file): Use them.
9001
9002 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
9003
9004 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
9005
9006 2016-06-08 Joseph Myers <joseph@codesourcery.com>
9007
9008 [BZ #20229]
9009 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
9010 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
9011 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
9012
9013 [BZ #20228]
9014 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
9015 itself.
9016 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9017 * math/libm-test.inc (log10_test_data): Add sNaN tests.
9018
9019 [BZ #20227]
9020 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
9021 itself.
9022 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9023 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9024 * math/libm-test.inc (log_test_data): Add sNaN tests.
9025
9026 [BZ #20226]
9027 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
9028 itself.
9029 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9030 * math/libm-test.inc (exp_test_data): Add sNaN tests.
9031 (exp10_test_data): Likewise.
9032 (expm1_test_data): Likewise.
9033
9034 [BZ #20225]
9035 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
9036 itself.
9037 * math/s_ldexpf.c (__ldexpf): Likewise.
9038 * math/s_ldexpl.c (__ldexpl): Likewise.
9039 * math/w_scalbln.c (__w_scalbln): Likewise.
9040 * math/w_scalblnf.c (__w_scalblnf): Likewise.
9041 * math/w_scalblnl.c (__w_scalblnl): Likewise.
9042 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
9043 (scalbln_test_data): Likewise.
9044
9045 [BZ #20224]
9046 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
9047 argument to itself.
9048 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
9049
9050 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
9051
9052 [BZ #19776]
9053 * sysdeps/x86_64/memcpy.S: Make it dummy.
9054 * sysdeps/x86_64/mempcpy.S: Likewise.
9055 * sysdeps/x86_64/memmove.S: New file.
9056 * sysdeps/x86_64/memmove_chk.S: Likewise.
9057 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
9058 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
9059 * sysdeps/x86_64/memmove.c: Removed.
9060 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9061 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9062 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
9063 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9064 Likewise.
9065 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9066 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9067 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9068 memcpy-sse2-unaligned, memmove-avx-unaligned,
9069 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
9070 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9071 (__libc_ifunc_impl_list): Replace
9072 __memmove_chk_avx512_unaligned_2 with
9073 __memmove_chk_avx512_unaligned. Remove
9074 __memmove_chk_avx_unaligned_2. Replace
9075 __memmove_chk_sse2_unaligned_2 with
9076 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
9077 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
9078 with __memmove_avx512_unaligned. Replace
9079 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
9080 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
9081 with __memcpy_chk_avx512_unaligned. Remove
9082 __memcpy_chk_avx_unaligned_2. Replace
9083 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
9084 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
9085 Replace __memcpy_avx512_unaligned_2 with
9086 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
9087 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
9088 with __mempcpy_chk_avx512_unaligned. Remove
9089 __mempcpy_chk_avx_unaligned_2. Replace
9090 __mempcpy_chk_sse2_unaligned_2 with
9091 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
9092 Replace __mempcpy_avx512_unaligned_2 with
9093 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
9094 Replace __mempcpy_sse2_unaligned_2 with
9095 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
9096 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
9097 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
9098 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
9099 if processor has ERMS. Default to __memcpy_sse2_unaligned.
9100 (ENTRY): Removed.
9101 (END): Likewise.
9102 (ENTRY_CHK): Likewise.
9103 (libc_hidden_builtin_def): Likewise.
9104 Don't include ../memcpy.S.
9105 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
9106 __memcpy_chk_avx512_unaligned_erms and
9107 __memcpy_chk_avx512_unaligned. Use
9108 __memcpy_chk_avx_unaligned_erms and
9109 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9110 Default to __memcpy_chk_sse2_unaligned.
9111 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9112 Change function suffix from unaligned_2 to unaligned.
9113 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
9114 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
9115 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
9116 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
9117 (ENTRY): Removed.
9118 (END): Likewise.
9119 (ENTRY_CHK): Likewise.
9120 (libc_hidden_builtin_def): Likewise.
9121 Don't include ../mempcpy.S.
9122 (mempcpy): New. Add a weak alias.
9123 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
9124 __mempcpy_chk_avx512_unaligned_erms and
9125 __mempcpy_chk_avx512_unaligned. Use
9126 __mempcpy_chk_avx_unaligned_erms and
9127 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9128 Default to __mempcpy_chk_sse2_unaligned.
9129
9130 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
9131
9132 [BZ #19881]
9133 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
9134 into ...
9135 * sysdeps/x86_64/memset.S: This.
9136 (__bzero): Removed.
9137 (__memset_tail): Likewise.
9138 (__memset_chk): Likewise.
9139 (memset): Likewise.
9140 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
9141 defined.
9142 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
9143 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
9144 (__memset_zero_constant_len_parameter): Check SHARED instead of
9145 PIC.
9146 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9147 memset-avx2 and memset-sse2-unaligned-erms.
9148 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9149 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
9150 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
9151 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9152 (__bzero): Enabled.
9153 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
9154 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
9155 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
9156 or __memset_avx2_unaligned_erms if processor has ERMS. Support
9157 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
9158 (memset): Removed.
9159 (__memset_chk): Likewise.
9160 (MEMSET_SYMBOL): New.
9161 (libc_hidden_builtin_def): Replace __memset_sse2 with
9162 __memset_sse2_unaligned.
9163 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
9164 __memset_chk_sse2 and __memset_chk_avx2 with
9165 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
9166 Use __memset_chk_sse2_unaligned_erms or
9167 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
9168 __memset_chk_avx512_unaligned_erms and
9169 __memset_chk_avx512_unaligned.
9170
9171 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9172
9173 * math/gen-auto-libm-test.c (fp_format_desc): remove
9174 suffix member.
9175 (output_generic_value): Remove usage of suffix member,
9176 and the resulting unuse of the fp_format argument.
9177 (output_for_one_input_case): Remove unused fp_format
9178 parameter.
9179
9180 * math/auto-libm-test-out: Regenerate.
9181
9182 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
9183 usage with TEST_COND_ibm128.
9184 (TEST_COND_flt_32): Remove.
9185 (TEST_COND_dbl_64): Remove.
9186 (TEST_COND_ldbl_96_intel): Remove.
9187 (TEST_COND_ldbl_96_m68k): Remove.
9188 (TEST_COND_ldbl_128): Remove.
9189
9190 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9191
9192 * auto-libm-test-in:
9193 Replace flt-32 usage with binary32.
9194 Replace dbl-64 usage with binary64.
9195 Replace ldbl-intel-96 usage with intel96.
9196 Replace ldbl-m68k-96 usage with m68k96.
9197 Replace ldbl-128ibm usage with ibm128.
9198 Replace ldbl-128 usage with binary128.
9199
9200 * auto-libm-test-out: Regenerate.
9201
9202 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9203
9204 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
9205 (parse_ulps): Dynamically generate type name matching
9206 string from all_floats.
9207 (get_ulps): Generate the ulps as an array instead.
9208 (output_ulps): Dynamically compose the type based
9209 on the number of supported formats, and print
9210 the indices as type specific helper macros.
9211
9212 * math/libm-test.inc: Remove comment about CHOOSE.
9213 (ulp_data): Generate the type in libm-test-ulps.h.
9214 (ULP_IDX): New macro.
9215 (find_ulps): Update usage of max_ulp.
9216
9217 * math/test-double-vlen2.h (CHOOSE): Remove.
9218 * math/test-double-vlen4.h (CHOOSE): Likewise.
9219 * math/test-double-vlen8.h (CHOOSE): Likewise.
9220 * math/test-float.c (CHOOSE): Likewise.
9221 * math/test-float-finite.c (CHOOSE): Likewise.
9222 * math/test-double.c (CHOOSE): Likewise.
9223 * math/test-double-finite.c (CHOOSE): Likewise.
9224 * math/test-idouble.c (CHOOSE): Likewise.
9225 * math/test-ifloat.c (CHOOSE): Likewise.
9226 * math/test-ildoubl.c (CHOOSE): Likewise.
9227 * math/test-ldouble-finite.c (CHOOSE): Likewise.
9228 * math/test-ldouble.c (CHOOSE): Likewise.
9229
9230 * math/test-float.h (TEST_FLOAT): Remove.
9231 * math/test-double.h (TEST_DOUBLE): Likewise.
9232 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
9233
9234 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9235
9236 * math/gen-libm-test.pl: (apply_lit): New subroutine.
9237 (parse_args): Strip C suffix from floating point literals
9238 typed with 'f' and wrap them with LIT().
9239
9240 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
9241 (test_ff_f_data_nexttoward): Rename to
9242 (test_fj_f_data): New struct.
9243 (nexttoward_test_data): Relabel tests as
9244 TEST_fj_f instead of TEST_ff_f.
9245
9246 2016-06-08 Florian Weimer <fweimer@redhat.com>
9247
9248 Emacs bug 23726.
9249 * malloc/malloc.c (dumped_main_arena_start): Update comment.
9250 (__libc_realloc): Correct size computation for dumped fake mmapped
9251 chunks.
9252
9253 2016-06-07 Joseph Myers <joseph@codesourcery.com>
9254
9255 [BZ #20219]
9256 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
9257 to itself.
9258 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
9259
9260 [BZ #20218]
9261 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
9262 to itself.
9263 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
9264
9265 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
9266
9267 [BZ #20195]
9268 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
9269 check to ...
9270 (init_cpu_features): Here.
9271
9272 2016-06-07 Carlos O'Donell <carlos@redhat.com>
9273
9274 [BZ #20214]
9275 * sysdeps/unix/sysv/linux/bits/in.h
9276 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9277 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
9278 Define to 1.
9279 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9280 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
9281 Define to 0.
9282 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
9283 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
9284
9285 2016-06-06 Carlos O'Donell <carlos@redhat.com>
9286
9287 [BZ #20198]
9288 * stdlib/Makefile (tests): Add tst-quick_exit, and
9289 tst-thread-quick_exit.
9290 [ifeq ($(have-cxx-thread_local),yes)]
9291 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
9292 (CFLAGS-tst-thread-quick_exit.o): Likewise.
9293 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
9294 (LDLIBS-tst-thread-quick_exit): Likewise.
9295 [ifneq ($(have-cxx-thread_local),yes)]
9296 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
9297 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
9298 If run_dtors is true call __call_tls_dtors.
9299 (exit): Call __run_exit_handlers with run_dtors set to true.
9300 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
9301 definition.
9302 * stdlib/quick_exit.c (quick_exit): Remove function.
9303 (__new_quick_exit): New function.
9304 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
9305 function.
9306 * stdlib/tst-quick_exit.cc: New file.
9307 * stdlib/tst-thread-quick_exit.cc: New file.
9308 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
9309 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
9310 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
9311 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
9312 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
9313 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
9314 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
9315 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
9316 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
9317 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
9318 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
9319 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
9320 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
9321 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
9322 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
9323 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
9325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
9326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
9327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
9328 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
9329 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
9330 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
9331 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
9332 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
9333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
9334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
9335 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
9336 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
9337 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
9338
9339 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
9340
9341 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
9342 a typo in comments.
9343
9344 2016-06-06 Joseph Myers <joseph@codesourcery.com>
9345
9346 [BZ #20213]
9347 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
9348 argument to itself.
9349 * math/libm-test.inc (asin_test_data): Add sNaN tests.
9350
9351 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9352
9353 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
9354 required flags.
9355 (CFLAGS-pwritev64.c): Likewise.
9356 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
9357 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9358 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
9359 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9360 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
9361 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
9362 syscall from auto-generation.
9363 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
9364 [WORDSIZE == 64] (pwritev64): Remove macro.
9365 [!PWRITEV] (PWRITEV): Likewise.
9366 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
9367 [!PWRITEV] (PWRITE): Likewise.
9368 [!PWRITEV] (OFF_T): Likewise.
9369 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
9370 (LO_HI_LONG): Remove macro.
9371 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
9372 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
9373 (PWRITEV): Remove macro.
9374 (PWRITEV_REPLACEMENTE): Likewise.
9375 (PWRITE): Likewise.
9376 (OFF_T): Likewise.
9377 (pwritev64): New function.
9378 * nptl/tst-cancel4.c (tf_writev): Add test.
9379
9380 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
9381 required flags.
9382 (CFLAGS-preadv64.c): Likewise.
9383 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
9384 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9385 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
9386 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
9387 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
9388 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
9389 syscall from auto-generation.
9390 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
9391 [WORDSIZE == 64] (preadv64): Remove macro.
9392 [!PREADV] (PREADV): Likewise.
9393 [!PREADV] (PREADV_REPLACEMENT): Likewise.
9394 [!PREADV] (PREAD): Likewise.
9395 [!PREADV] (OFF_T): Likewise.
9396 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
9397 (LO_HI_LONG): Remove macro.
9398 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
9399 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
9400 (PREADV): Remove macro.
9401 (PREADV_REPLACEMENTE): Likewise.
9402 (PREAD): Likewise.
9403 (OFF_T): Likewise.
9404 (preadv64): New function.
9405 * nptl/tst-cancel4.c (tf_preadv): Add test.
9406
9407 2016-06-06 Joseph Myers <joseph@codesourcery.com>
9408
9409 [BZ #20212]
9410 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
9411 argument to itself.
9412 * math/libm-test.inc (acos_test_data): Add sNaN tests.
9413
9414 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9415
9416 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
9417 New symbol defined as libc_hidden_def.
9418 (strcasestr): Became a weak alias to __strcasestr.
9419 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
9420 according to multi-arch support. Move __stpncpy hidden
9421 definition from here to...
9422 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
9423 symbol stpncpy.
9424 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
9425 libc_hidden_builtin_def.
9426 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
9427 memset symbol to use when multi-arch support is available.
9428
9429 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
9430
9431 * dlfcn/tst-rec-dlopen.c: Include string.h.
9432
9433 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9434
9435 * manual/install.texi: Remove mention of --without-tls
9436 * INSTALL: Regenerate.
9437
9438 2016-06-05 Florian Weimer <fweimer@redhat.com>
9439
9440 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
9441 Remove.
9442 (call_function, interposed_malloc_called): New variables.
9443 (malloc): New function.
9444 (do_test): Do not change malloc hooks. Initialize malloc. Set
9445 and clear call_function as needed.
9446
9447 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
9448
9449 * include/wchar.h (__wmemset): Use __typeof.
9450
9451 2016-06-03 Carlos O'Donell <carlos@redhat.com>
9452
9453 * include/wchar.h (__wmemset): Declare function without typeof.
9454
9455 2016-06-03 Joseph Myers <joseph@codesourcery.com>
9456
9457 [BZ #20205]
9458 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
9459 exponent when incrementing negative subnormal with low mantissa
9460 word zero.
9461 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
9462 Add another test.
9463
9464 2016-06-03 Florian Weimer <fweimer@redhat.com>
9465
9466 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
9467 __wmemset instead of wmemset.
9468
9469 2016-06-02 Carlos O'Donell <carlos@redhat.com>
9470
9471 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
9472 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
9473 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
9474 __USE_KERNEL_IPV6_DEFS to 0.
9475 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
9476 Update comment.
9477
9478 2016-06-01 Florian Weimer <fweimer@redhat.com>
9479
9480 [BZ #19861]
9481 Do not use IFUNC resolver with potentially unrelocated symbol.
9482 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
9483 (DEFINE_FORK): Remove macro and inline definition.
9484 (fork_alias): Renamed from fork_ifunc.
9485 (__fork_alias): Renamed from __fork_ifunc.
9486
9487 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
9488
9489 [BZ 19653]
9490 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
9491 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
9492
9493 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9494
9495 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
9496 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
9497 i386-linux-gnu).
9498 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
9499 Set to no.
9500 * sysdeps/mach/hurd/configure: Refresh.
9501
9502 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9503
9504 [BZ #20178]
9505 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
9506 on failure instead of exit.
9507
9508 2016-05-30 Roland McGrath <roland@hack.frob.com>
9509
9510 [BZ #3629]
9511 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
9512 of POSIX.1-2008.
9513
9514 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9515
9516 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
9517 Use PLT entry for calling _hurd_self_sigstate.
9518
9519 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
9520
9521 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
9522 available logical processors with SMT level type sharing L2
9523 cache for Intel processors.
9524
9525 2016-05-27 Joseph Myers <joseph@codesourcery.com>
9526
9527 [BZ #20160]
9528 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
9529 argument to itself before returning the result.
9530 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
9531 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
9532 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
9533 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
9534 Likewise.
9535 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
9536 Likewise.
9537 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
9538 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
9539 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
9540 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
9541 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
9542 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
9543
9544 [BZ #20160]
9545 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
9546 argument to itself before returning the result.
9547 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
9548 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
9549 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
9550 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
9551 Likewise.
9552 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9553 Likewise.
9554 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
9555 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
9556 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
9557 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
9558 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
9559 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
9560
9561 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9562
9563 * libm-test.inc: Replace usage of M_El with
9564 (lit_e): New macro.
9565
9566 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9567
9568 * libm-test.inc: Replace usage of M_PI_4l with
9569 (lit_pi_4_d): New macro.
9570
9571 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9572
9573 * libm-test.inc: Replace usage of M_PIl with
9574 (lit_pi): New macro.
9575
9576 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9577
9578 * libm-test.inc: Replace usage of M_PI2l with
9579 (lit_pi_2_d): New macro.
9580
9581 * math/test-double.h (LITM): New macro.
9582 * math/test-float.h (LITM): Likewise.
9583 * math/test-ldouble.h (LITM): Likewise.
9584
9585 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9586
9587 * libm-test.inc (M_PI_34l): Rename to
9588 (lit_pi_3_m_4_d): New Macro.
9589 (M_PI_34_LOG10El): Rename to
9590 (lit_pi_3_m_4_ln10_m_d): New Macro.
9591 (M_PI2_LOG10El): Rename to
9592 (lit_pi_2_ln10_m_d): New Macro.
9593 (M_PI4_LOG10El): Rename to
9594 (lit_pi_4_ln10_m_d): New Macro.
9595 (M_PI_LOG10El): Rename to
9596 (lit_pi_ln10_d): New Macro.
9597
9598 2016-05-27 Joseph Myers <joseph@codesourcery.com>
9599
9600 [BZ #20157]
9601 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
9602 determine whether to negate low half if [_ARCH_PPCGR], and integer
9603 comparison otherwise.
9604 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
9605 determine whether to negate low half.
9606
9607 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
9608 (NO_TEST_INLINE_DOUBLE): Likewise.
9609 (TEST_COND_x86_64): Likewise.
9610 (TEST_COND_x86): Likewise.
9611 (M_PI_6l): Likewise.
9612
9613 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9614
9615 * math/libm-test.inc:
9616 (TEST_FLOAT): Change usage to TEST_COND_binary32.
9617 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
9618 (TEST_LDOUBLE): Update usage to evaluate as true if
9619 the guarded tests match the property being tested.
9620 (LDBL_MAX_EXP): Change to MAX_EXP.
9621 (LDBL_MIN_EXP): Change to MIN_EXP.
9622 (LDBL_MANT_DIG): Change to MANT_DIG, except for
9623 nexttoward tests.
9624
9625 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9626
9627 * math/libm-test.inc:
9628 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
9629 (TYPE_MIN): Likewise.
9630 (TYPE_TRUE_MIN): Likewise.
9631 (TYPE_MAX): Likewise.
9632 (MIN_EXP): Likewise.
9633 (MAX_EXP): Likewise.
9634 (MANT_DIG): Likewise.
9635
9636 (FSTR_MAX): New macro.
9637 (__CONCATX): Likewise.
9638 (QTYPE_STR): Likewise.
9639 (TEST_COND_binary32): Likewise.
9640 (TEST_COND_binary64): Likewise.
9641 (TEST_COND_binary128): Likewise.
9642 (TEST_COND_ibm128): Likewise.
9643 (TEST_COND_intel96): Likewise.
9644 (TEST_COND_m68k96): Likewise.
9645
9646 (TEST_COND_flt_32): Redefine as equivalent format test macro.
9647 (TEST_COND_dbl_64): Likewise.
9648 (TEST_COND_ldbl_96_intel): Likewise.
9649 (TEST_COND_ldbl_96_m68k): Likewise.
9650 (TEST_COND_ldbl_128): Likewise.
9651 (TEST_COND_ldbl_128ibm): Likewise.
9652
9653 (plus_zero): Redefine using LIT macro.
9654 (minus_zero): Likewise.
9655 (plus_infty): Redefine as (INF).
9656 (minux_infty): Redefine as (-INF).
9657 (max_value): Redefine as TYPE_MAX.
9658 (min_value): Redefine as TYPE_MIN.
9659 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
9660
9661 (print_float): Refactor to use snprintf to convert FLOAT values
9662 to string. This brings it closer to dropin replacement of strtof
9663 for the TS 18661 defined types.
9664 (update_stats): Likewise.
9665 (print_complex_function_ulps): Likewise.
9666 (print_max_error): Likewise.
9667 (print_complex_max_error): Likewise.
9668 (check_float_internal): Likewise.
9669
9670 * math/test-float.h (PREFIX): New macro.
9671 (LIT): Likewise.
9672 (TYPE_STR): Likewise.
9673 (FTOSTR): Likewise.
9674
9675 * math/test-double.h (PREFIX): New macro.
9676 (LIT): Likewise.
9677 (TYPE_STR): Likewise.
9678 (FTOSTR): Likewise.
9679
9680 * math/test-ldouble.h (PREFIX): New macro.
9681 (LIT): Likewise.
9682 (TYPE_STR): Likewise.
9683 (FTOSTR): Likewise.
9684
9685 2016-05-27 Joseph Myers <joseph@codesourcery.com>
9686
9687 [BZ #20156]
9688 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
9689 to itself when zero or not finite.
9690 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
9691 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9692 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
9693 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9694
9695 2016-05-26 Joseph Myers <joseph@codesourcery.com>
9696
9697 [BZ #20153]
9698 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
9699 x * x + x for infinities and NaNs.
9700
9701 [BZ #20151]
9702 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
9703 argument to itself before returning result.
9704 (__ieee754_y0l): Likewise.
9705 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9706 (__ieee754_y1l).
9707
9708 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
9709 (atan_test_data): Likewise.
9710 (ceil_test_data): Likewise.
9711 (cos_test_data): Likewise.
9712 (cosh_test_data): Likewise.
9713 (erf_test_data): Likewise.
9714 (exp2_test_data): Likewise.
9715 (fabs_test_data): Likewise.
9716 (floor_test_data): Likewise.
9717 (ilogb_test_data): Likewise.
9718 (j0_test_data): Likewise.
9719 (j1_test_data): Likewise.
9720 (jn_test_data): Likewise.
9721 (lgamma_test_data): Likewise.
9722 (lrint_test_data): Likewise.
9723 (llrint_test_data): Likewise.
9724 (logb_test_data): Likewise.
9725 (lround_test_data): Likewise.
9726 (llround_test_data): Likewise.
9727 (nearbyint_test_data): Likewise.
9728 (rint_test_data): Likewise.
9729 (round_test_data): Likewise.
9730 (sin_test_data): Likewise.
9731 (sincos_test_data): Likewise.
9732 (sinh_test_data): Likewise.
9733 (sqrt_test_data): Likewise.
9734 (tan_test_data): Likewise.
9735 (tanh_test_data): Likewise.
9736 (tgamma_test_data): Likewise.
9737 (trunc_test_data): Likewise.
9738 (y0_test_data): Likewise.
9739 (y1_test_data): Likewise.
9740 (yn_test_data): Likewise.
9741
9742 * math/libm-test.inc: Update comment about NaN testing.
9743 (TEST_SNAN): New macro.
9744 (snan_value): Likewise.
9745 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
9746 (fpclassify_test_data): Add sNaN tests.
9747 (isfinite_test_data): Likewise.
9748 (isinf_test_data): Likewise.
9749 (isnan_test_data): Likewise.
9750 (isnormal_test_data): Likewise.
9751 (issignaling_test_data): Likewise.
9752 (signbit_test_data): Likewise.
9753 * math/gen-libm-test.pl (%beautify): Add snan_value.
9754 (show_exceptions): Add argument $test_snan.
9755 (parse_args): Handle snan_value as non-finite. Update call to
9756 show_exceptions.
9757 * math/Makefile (libm-test-no-inline-cflags): Add
9758 -fsignaling-nans.
9759
9760 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9761
9762 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
9763 (CFLAGS-oldsendmsg.c): Add rule.
9764 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
9765 Correct recvmsg symbol name.
9766 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
9767 Likewise.
9768
9769 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9770
9771 * sysdeps/unix/sysv/linux/Makefile
9772 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
9773 oldsendmmsg.
9774 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
9775 sendmmsg.
9776 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9777 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9778 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9779 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9781 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9782 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9784 Likewise.
9785 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9786 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
9787 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
9788 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
9789 iovlen and controllen fields to adjust to POSIX specification.
9790 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9791
9792 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
9793 and change to correct expected type.
9794 (msghdr.msg_controllen): Likewise.
9795 (cmsghdr.cmsg_len): Likewise.
9796 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
9797 expected POSIX assumption about the size.
9798 (msghdr.msg_controllen): Likewise.
9799 (msghdr.__glibc_reserved1): Likewise.
9800 (msghdr.__glibc_reserved2): Likewise.
9801 (cmsghdr.cmsg_len): Likewise.
9802 (cmsghdr.__glibc_reserved1): Likewise.
9803 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
9804 Add ptw-oldrecvmsg and ptw-oldsendmsg.
9805 (CFLAGS-sendmsg.c): Remove rule.
9806 (CFLAGS-recvmsg.c): Likewise.
9807 (CFLAGS-oldsendmsg.c): Add rule.
9808 (CFLAGS-oldrecvmsg.c): Likewise.
9809 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
9810 recvmsg and sendmsg.
9811 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
9812 Likewise.
9813 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
9814 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
9815 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
9816 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
9817 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
9818 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
9819 Likewise.
9820 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
9821 Likewise.
9822 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
9823 Likewise.
9824 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
9825 Likewise.
9826 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
9827 Likewise.
9828 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
9829 Likewise.
9830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
9831 (GLIBC_2.24): Likewise.
9832 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
9833 Likewise.
9834 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
9835 Likewise.
9836 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
9837 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
9838 Likewise.
9839 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
9840 Likewise.
9841 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
9842 Likewise.
9843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
9844 (GLIBC_2.24): Likewise.
9845 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
9846 Likewise.
9847 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
9848 Likewise.
9849 * sysdeps/unix/sysv/linux/Makefile
9850 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
9851 (CFLAGS-sendmsg.c): Add rule.
9852 (CFLAGS-recvmsg.c): Likewise.
9853 (CFLAGS-oldsendmsg.c): Likewise.
9854 (CFLAGS-oldrecvmsg.c): Likewise.
9855 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
9856 initialization.
9857 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
9858 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
9859 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
9860 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
9861 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
9862 iovlen and controllen fields to adjust to POSIX specification.
9863 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
9864 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
9865 added recvmsg and sendmsg.
9866 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9867 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9868 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9869 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9870 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9871 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9872 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9873 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9874 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9875 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9876 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9877 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9879 Likewise.
9880 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
9881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9882 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9883 Likewise.
9884 Likewise.
9885 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9886 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9887 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9888 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9889 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9890 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9892 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9894 Likewise.
9895 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9896 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9897
9898 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
9899 from auto-generation.
9900 (sendmsg): Likewise.
9901 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
9902 (sendmsg): Likewise.
9903 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
9904 (sendmsg): Likewise.
9905 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
9906 (sendmsg): Likewise.
9907 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
9908 (sendmsg): Likewise.
9909 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
9910 (sendmsg): Likewise.
9911 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
9912 Likewise.
9913 (sendmsg): Likewise.
9914 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
9915 (sendmsg): Likewise.
9916 * sysdeps/unix/sysv/linux/i386/kernel-features.h
9917 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9918 Remove.
9919 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9920 Likewise.
9921 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9922 Undefine.
9923 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9924 Likewise.
9925 * sysdeps/unix/sysv/linux/kernel-features.h
9926 (__ASSUME_SENDMSG_SYSCALL): Define.
9927 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9928 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9929 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9930 Remove.
9931 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9932 Likewise.
9933 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9934 Undefine.
9935 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9936 Likewise.
9937 * sysdeps/unix/sysv/linux/s390/kernel-features.h
9938 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9939 Remove.
9940 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9941 Likewise.
9942 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9943 Undefine.
9944 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9945 Likewise.
9946 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9947 (__ASSUME_SENDMSG_SYSCALL): Undefine.
9948 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9949 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9950 (__ASSUME_SENDMSG_SYSCALL): Likewise.
9951 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9952 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9953 (__ASSUME_SENDMSG_SYSCALL): Likewise.
9954 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9955
9956 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9957
9958 * stdlib/gen-tst-strtod-round.c: Add backslash to
9959 compile command in comment.
9960 (printfp): Remove the literal suffix, and define an infinite
9961 value as INF to avoid expansion clash with INFINITY.
9962 (round_str): Remove the literal suffix.
9963 (round_for_all): Likewise, remove the now duplicate ldbl-64
9964 entry, and remove some magic constants.
9965
9966 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
9967 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
9968 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
9969 (_CONCAT): New macro.
9970 (CONCAT): Likewise.
9971 (CHOOSE_ld): Likewise.
9972 (CHOOSE_f): Likewise.
9973 (CHOOSE_d): Likewise.
9974 (FTYPE_MEMBER): Likewise.
9975 (BOOL_MEMBER): Likewise.
9976 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
9977 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
9978 (_XNTRY): Likewise.
9979 (XNTRY): Likewise.
9980 (_ENTRY): Likewise.
9981 (ENTRY): Likewise.
9982 (test_exactness): Generate members via macro.
9983 (test_results): Likewise.
9984 (test): Update members.
9985 (TEST): Redefine using new macros.
9986 (INF): New macro.
9987 (fetestmodes): New structure.
9988 (do_test): Refactor to be type generic.
9989 (test_in_one_mode): Refactor duplicate code into
9990 (GEN_ONE_TEST): New macro.
9991
9992 * stdlib/tst-strtod-round-data.h: Regenerate.
9993
9994 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
9995 Extend to pass additional arbitrary parameters to
9996 generators.
9997
9998 2016-05-25 Joseph Myers <joseph@codesourcery.com>
9999
10000 [BZ #15479]
10001 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
10002 floating-point state after first floating-point operation on
10003 input. Restore full floating-point state instead of just rounding
10004 mode.
10005 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10006 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10007 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10008 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10009 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10010
10011 [BZ #15479]
10012 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
10013 floating-point state after first floating-point operation on
10014 input. Restore full floating-point state instead of just rounding
10015 mode.
10016 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10017 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10018 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10019 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10020 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10021
10022 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10023
10024 [BZ #19727]
10025 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
10026 valid high surrogate.
10027 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
10028 of an utf16 surrogate.
10029 * iconv/gconv_simple.c (BODY): Likewise.
10030 * iconvdata/bug-iconv12.c: New file.
10031 * iconvdata/Makefile (tests): Add bug-iconv12.
10032
10033 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10034
10035 [BZ #19726]
10036 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
10037 outptrp in case of an illegal input.
10038 * iconv/tst-iconv6.c: New file.
10039 * iconv/Makefile (tests): Add tst-iconv6.
10040
10041 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10042
10043 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
10044 an error in case of a value in range of an utf16 low surrogate.
10045
10046 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10047
10048 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
10049 an error in case of a value in range of an utf16 low surrogate.
10050
10051 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10052
10053 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
10054 Move to ...
10055 * sysdeps/s390/Makefile: ... here.
10056 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
10057 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
10058 (BRANCH_ON_COUNT): New define.
10059 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
10060 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
10061 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
10062 run on s390-32, too.
10063 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
10064 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
10065 run on s390-32, too.
10066 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
10067 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
10068 run on s390-32, too.
10069
10070 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10071
10072 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
10073 etf3eh or new vector loop-variant.
10074
10075 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10076
10077 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
10078 etf3eh or new vector loop-variant.
10079
10080 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10081
10082 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
10083 or new vector loop-variant.
10084
10085 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10086
10087 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
10088 Rename to TR_LOOP and usage of tr instead of troo instruction.
10089
10090 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10091
10092 * sysdeps/s390/multiarch/gconv_simple.c: New File.
10093 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
10094
10095 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10096
10097 * sysdeps/s390/multiarch/8bit-generic.c: New File.
10098 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
10099 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
10100 New override define.
10101 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
10102
10103 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10104
10105 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
10106 * sysdeps/s390/configure.ac: Add test for S390 vector register
10107 support in gcc.
10108 * sysdeps/s390/configure: Regenerated.
10109
10110 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10111
10112 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
10113 Install file from $(objpfx)gconv-modules.
10114 ($(objpfx)gconv-modules): Concatenate architecture specific file
10115 in variable sysdeps-gconv-modules and gconv-modules in src dir.
10116 * sysdeps/s390/gconv-modules: New file.
10117 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
10118 Deleted.
10119 ($(objpfx)gconv-modules-s390): Deleted.
10120 (sysdeps-gconv-modules): New variable.
10121
10122 2016-05-24 Joseph Myers <joseph@codesourcery.com>
10123
10124 [BZ #15479]
10125 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
10126 of immediate operand to rounding instruction.
10127 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
10128 Likewise.
10129 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
10130 Likewise.
10131 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
10132 Likewise.
10133
10134 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10135
10136 * math/libm-test.inc (MIN_EXP): Directly define as
10137 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
10138
10139 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10140
10141 * math/libm-test.inc (MANT_DIG): Directly define as
10142 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
10143
10144 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10145
10146 * stdlib/gen-tst-strtod-round.c (main):
10147 Change usage to more closely match the generated
10148 output. Add usage and compilation instructions.
10149 (string_to_fp): Add and use FILE* parameter as
10150 output target.
10151 (print_fp): Likewise.
10152 (round_str): Likewise.
10153 (round_for_all): Likewise.
10154 * stdlib/tst-strtod-round.c (tests): Move into
10155 * stdlib/tst-strtod-round-data.h: New file.
10156
10157 2016-05-24 Joseph Myers <joseph@codesourcery.com>
10158
10159 [BZ #15479]
10160 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
10161 (__round): Do not force "inexact" exception.
10162 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
10163 variable.
10164 (__round): Do not force "inexact" exception.
10165 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
10166 (__roundf): Do not force "inexact" exception.
10167 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
10168 (__roundl): Do not force "inexact" exception.
10169 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
10170 (__roundl): Do not force "inexact" exception.
10171 * math/libm-test.inc (round_test_data): Do not allow spurious
10172 "inexact" exceptions.
10173
10174 [BZ #15479]
10175 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
10176 exception in comment.
10177 (huge): Remove variable.
10178 (__floor): Do not force "inexact" exception.
10179 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
10180 "inexact" exception in comment.
10181 (huge): Remove variable.
10182 (__floor): Do not force "inexact" exception.
10183 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
10184 exception in comment.
10185 (huge): Remove variable.
10186 (__floorf): Do not force "inexact" exception.
10187 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
10188 exception in comment.
10189 (huge): Remove variable.
10190 (__floorl): Do not force "inexact" exception.
10191
10192 [BZ #15479]
10193 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
10194 exception in comment.
10195 (huge): Remove variable.
10196 (__ceil): Do not force "inexact" exception.
10197 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
10198 "inexact" exception in comment.
10199 (huge): Remove variable.
10200 (__ceil): Do not force "inexact" exception.
10201 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
10202 (__ceilf): Do not force "inexact" exception.
10203 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
10204 exception in comment.
10205 (huge): Remove variable.
10206 (__ceill): Do not force "inexact" exception.
10207
10208 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
10209
10210 * config.h.in (BIND_NOW): New.
10211 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
10212 * configure: Regenerated.
10213 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
10214 indirect branch via the GOT slot.
10215
10216 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10217
10218 [BZ #19765]
10219 * sysdeps/s390/mempcpy.S: New File.
10220 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
10221 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
10222 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10223 Add mempcpy variants.
10224 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
10225 (memcpy): Adjust to be usable from mempcpy entry point.
10226 (__memcpy_mvcle): Likewise.
10227 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10228 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
10229 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
10230 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
10231 (__memcpy_z10): Likewise.
10232 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10233
10234 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10235
10236 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
10237 Remove __GI_ symbol.
10238 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
10239 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
10240 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
10241 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10242 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
10243 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
10244
10245 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10246
10247 * sysdeps/s390/s390-64/memcpy.S (memcpy):
10248 Use cghi instead of chi to compare 64bit value.
10249
10250 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10251
10252 * sysdeps/s390/s390-32/memcpy.S (memcpy):
10253 Jump to 1MB check before executing mvc-loop.
10254
10255 2016-05-24 Florian Weimer <fweimer@redhat.com>
10256
10257 [BZ #6527]
10258 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
10259 unconditionally.
10260 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
10261
10262 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10263
10264 * stdlib/tst-strtod6.c (do_test): Use new type generic
10265 invocation of the test function.
10266 (test): Refactor into ...
10267 (TEST_STRTOD): New macro base function.
10268
10269 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10270
10271 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
10272 (TEST_STRTOD): New macro.
10273 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
10274
10275 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10276
10277 * stdlib/tst-strtod6.c (do_test): Use new type generic
10278 invocation of the test function.
10279 (test): Refactor into ...
10280 (TEST_STRTOD): New macro base function.
10281
10282 2016-05-23 Florian Weimer <fweimer@redhat.com>
10283
10284 CVE-2016-4429
10285 [BZ #20112]
10286 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
10287 payload.
10288
10289 2016-05-23 Florian Weimer <fweimer@redhat.com>
10290
10291 [BZ #20111]
10292 * bits/sockaddr.h (_SS_SIZE): Define.
10293 * bits/socket.h (_SS_SIZE): Remove.
10294 (_SS_PADSIZE): Adjust to account for all padding.
10295 (struct sockaddr_storage): Update comment. Avoid implicit
10296 padding.
10297 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
10298 (_SS_PADSIZE): Adjust to account for all padding.
10299 (struct sockaddr_storage): Update comment. Avoid implicit
10300 padding.
10301 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
10302 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
10303 (_SS_PADSIZE): Adjust to account for all padding.
10304 (struct sockaddr_storage): Update comment. Avoid implicit
10305 padding.
10306 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
10307 __SS_SIZE is 126 in this version.
10308 * inet/tst-sockaddr.c: New file.
10309 * inet/Makefile (tests): Add tst-sockaddr.c
10310 (tst-sockaddr.c): Compile with non-strict aliasing.
10311
10312 2016-05-23 Joseph Myers <joseph@codesourcery.com>
10313
10314 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
10315 [XPG3 || XPG4].
10316 (NL_ARGMAX): Also expect for [XPG3].
10317 (NL_LANGMAX): Likewise.
10318 (NL_MSGMAX): Likewise.
10319 (NL_NMAX): Likewise.
10320 (NL_SETMAX): Likewise.
10321 (NL_TEXTMAX): Likewise.
10322 (NZERO): Likewise.
10323 (TMP_MAX): Likewise.
10324 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
10325 variable.
10326
10327 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
10328 (PF_MAX): Update value.
10329 (AF_KCM): New macro.
10330 (SOL_NETBEUI): Likewise.
10331 (SOL_LLC): Likewise.
10332 (SOL_DCCP): Likewise.
10333 (SOL_NETLINK): Likewise.
10334 (SOL_TIPC): Likewise.
10335 (SOL_RXRPC): Likewise.
10336 (SOL_PPPOL2TP): Likewise.
10337 (SOL_BLUETOOTH): Likewise.
10338 (SOL_PNPIPE): Likewise.
10339 (SOL_RDS): Likewise.
10340 (SOL_IUCV): Likewise.
10341 (SOL_CAIF): Likewise.
10342 (SOL_ALG): Likewise.
10343 (SOL_NFC): Likewise.
10344 (SOL_KCM): Likewise.
10345 (MSG_BATCH): New enum value and macro.
10346
10347 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
10348
10349 [BZ #18185]
10350 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
10351 sharing L2 cache to 2 for Knights Landing.
10352
10353 2016-05-20 Joseph Myers <joseph@codesourcery.com>
10354
10355 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
10356 (FTW_DP): Do not expect for [XPG3 || XPG4].
10357 (FTW_SL): Do not expect for [XPG3].
10358 (FTW_SLN): Likewise.
10359 (FTW_PHYS): Likewise.
10360 (FTW_MOUNT): Likewise.
10361 (FTW_DEPTH): Likewise.
10362 (FTW_CHDIR): Likewise.
10363 (nftw): Likewise.
10364 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
10365 variable.
10366
10367 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
10368
10369 * manual/errno.texi: Fix various typos & grammar errors.
10370
10371 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
10372
10373 * manual/intro.texi: Fix duplicated typo.
10374
10375 2016-05-19 Joseph Myers <joseph@codesourcery.com>
10376
10377 [BZ #13304]
10378 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
10379 <float.h>, <math_private.h> and <stdlib.h>.
10380 (add_split): New function.
10381 (mul_split): Likewise.
10382 (ext_val): New typedef.
10383 (store_ext_val): New function.
10384 (mul_ext_val): New function.
10385 (compare): New function.
10386 (add_split_ext): New function.
10387 (__fmal): After checking for Inf, NaN and zero, compute result as
10388 an exact sum of scaled double values in round-to-nearest before
10389 adding those up and adjusting for other rounding modes.
10390 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
10391 tests of fma.
10392 * math/auto-libm-test-out: Regenerated.
10393
10394 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
10395
10396 [BZ #20119]
10397 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
10398 processor level type mask for CPUID with EAX == 11.
10399
10400 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
10401
10402 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
10403 logical threads if the HTT bit is 0.
10404 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
10405 (index_cpu_HTT): Likewise.
10406 (reg_HTT): Likewise.
10407
10408 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
10409
10410 [BZ #20115]
10411 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
10412 Remove alignments on jump targets.
10413
10414 2016-05-19 Joseph Myers <joseph@codesourcery.com>
10415
10416 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
10417 (getpwent): Likewise.
10418 (setpwent): Likewise.
10419 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
10420 variable.
10421
10422 * conform/data/search.h-data (insque): Do not expect for [XPG3].
10423 (remque): Likewise.
10424 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
10425 variable.
10426
10427 2016-05-18 Joseph Myers <joseph@codesourcery.com>
10428
10429 * math/libm-test.inc: Update comment not to refer to signs of NaNs
10430 not being tested.
10431
10432 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
10433
10434 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10435 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
10436 call.
10437 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10438 (__condvar_cleanup1): Likewise.
10439
10440 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
10441
10442 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
10443 New
10444 (__pthread_unwind): Renamed to ...
10445 (PTHREAD_UNWIND): This.
10446 (__pthread_enable_asynccancel): Replace
10447 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
10448
10449 2016-05-18 Joseph Myers <joseph@codesourcery.com>
10450
10451 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
10452 (CLONE_NEWCGROUP): New macro.
10453
10454 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
10455 (Q_GETNEXTQUOTA): New macro.
10456
10457 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
10458
10459 [BZ #19907]
10460 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
10461 buffer updated by the previous run.
10462 * string/test-memcpy.c (do_one_test): Likewise.
10463 * benchtests/bench-memmove.c (do_one_test): Add a comment.
10464 * string/test-memmove.c (do_one_test): Likewise.
10465
10466 2016-05-17 Joseph Myers <joseph@codesourcery.com>
10467
10468 [BZ #20094]
10469 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
10470 not [__USE_XOPEN].
10471 (unlockpt): Likewise.
10472 (ptsname): Likewise.
10473 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
10474 variable.
10475
10476 [BZ #20076]
10477 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
10478 instead of [__USE_UNIX98].
10479 (S_ISSOCK): Likewise.
10480 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
10481 variable.
10482
10483 [BZ #20074]
10484 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
10485 [__USE_POSIX].
10486 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
10487 variable.
10488
10489 [BZ #20051]
10490 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
10491 (ttyslot): Do not declare.
10492 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
10493 (ttyslot): New prototype.
10494 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
10495 variable.
10496 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10497
10498 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10499
10500 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
10501
10502 2016-05-13 Florian Weimer <fweimer@redhat.com>
10503
10504 Fix race condition in tst-mallocfork2, use fewer resources.
10505 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
10506 to current process group.
10507 (signal_sender): Yield in the non-sleeping case.
10508
10509 2016-05-13 Joseph Myers <joseph@codesourcery.com>
10510
10511 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
10512 (ecvt): Likewise.
10513 (fcvt): Likewise.
10514 (gcvt): Likewise.
10515 (getsubopt): Likewise.
10516 (grantpt): Likewise.
10517 (initstate): Likewise.
10518 (l64a): Likewise.
10519 (mktemp): Likewise.
10520 (mkstemp): Likewise.
10521 (ptsname): Likewise.
10522 (random): Likewise.
10523 (realpath): Likewise.
10524 (setstate): Likewise.
10525 (srandom): Likewise.
10526 (ttyslot): Likewise.
10527 (unlockpt): Likewise.
10528 (valloc): Likewise.
10529
10530 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
10531 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
10532 variable.
10533
10534 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
10535
10536 [BZ #20072]
10537 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
10538 init_cpu_features only if SHARED is defined.
10539 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
10540
10541 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
10542
10543 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
10544 non-inclusive caches on Intel processors.
10545
10546 2016-05-13 Florian Weimer <fweimer@redhat.com>
10547
10548 * malloc/malloc.c (dumped_main_arena_start)
10549 (dumped_main_arena_end): New variables.
10550 (DUMPED_MAIN_ARENA_CHUNK): New macro.
10551 (do_check_chunk): Skip dumped fake mmapped chunks.
10552 (munmap_chunk): Likewise.
10553 (__libc_free): Do not adjust statistics for fake mmapped chunks.
10554 (__libc_realloc): Adjust hardening check. Always copy dumped fake
10555 mmapped chunks.
10556 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
10557 Mark dumped chunks as using mmap. Update dumped_main_arena_start
10558 and dumped_main_arena_end to cover the dumped heap.
10559
10560 2016-05-12 Joseph Myers <joseph@codesourcery.com>
10561
10562 * conform/data/time.h-data (getdate_err): Do not expect for
10563 [XPG3].
10564 (getdate): Likewise.
10565 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
10566 variable.
10567
10568 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
10569 (F_ULOCK): Likewise.
10570 (F_TEST): Likewise.
10571 (F_TLOCK): Likewise.
10572 (useconds_t): Likewise.
10573 (intptr_t): Do not expect for [XPG3] or [XPG4].
10574 (brk): Do not expect for [XPG3]
10575 (fchown): Likewise.
10576 (fchdir): Likewise.
10577 (ftruncate): Likewise.
10578 (getdtablesize): Likewise.
10579 (gethostid): Likewise.
10580 (getpagesize): Likewise.
10581 (getpgid): Likewise.
10582 (getsid): Likewise.
10583 (getwd): Likewise.
10584 (lchown): Likewise.
10585 (lockf): Likewise.
10586 (readlink): Likewise.
10587 (sbrk): Likewise.
10588 (setpgrp): Likewise.
10589 (setregid): Likewise.
10590 (setreuid): Likewise.
10591 (symlink): Likewise.
10592 (sync): Likewise.
10593 (truncate): Likewise.
10594 (ualarm): Likewise.
10595 (usleep): Likewise.
10596 (vfork): Likewise.
10597 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
10598 variable.
10599
10600 [BZ #20054]
10601 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
10602 not [__USE_UNIX98].
10603 * conform/data/unistd.h-data (gethostname): Do not expect for
10604 [XPG3].
10605
10606 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
10607 [!POSIX] (S_IFBLK): Likewise.
10608 [!POSIX] (S_IFCHR): Likewise.
10609 [!POSIX] (S_IFIFO): Likewise.
10610 [!POSIX] (S_IFREG): Likewise.
10611 [!POSIX] (S_IFDIR): Likewise.
10612 [!POSIX] (S_IFLNK): Likewise.
10613 [!POSIX] (S_IFSOCK): Likewise.
10614 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
10615 variable.
10616 (test-xfail-XPG4/fcntl.h/conform): Likewise.
10617
10618 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
10619
10620 * sysdeps/aarch64/memset.S (__memset):
10621 Rewrite of optimized memset.
10622
10623 2016-05-12 Florian Weimer <fweimer@redhat.com>
10624
10625 [BZ #19703]
10626 Partially async-signal-safe fork for single-threaded processes.
10627 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
10628 variable. Do not acquire and reset/release malloc and libio locks
10629 in single-threaded processes.
10630 * malloc/tst-mallocfork2.c: New file.
10631 * malloc/Makefile (tests): Add it.
10632
10633 2016-05-12 Florian Weimer <fweimer@redhat.com>
10634
10635 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
10636 argument. Use scratch buffer instead of extend_alloca.
10637 (gethosts): Use scratch buffer instead of extend_alloca.
10638 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
10639 extend_alloca.
10640 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
10641
10642 2016-05-11 Joseph Myers <joseph@codesourcery.com>
10643
10644 [BZ #20055]
10645 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
10646 instead of [__USE_UNIX98].
10647 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
10648 [__USE_UNIX98].
10649 * conform/data/termios.h-data (tcgetsid): Do not expect for
10650 [XPG3].
10651 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
10652 variable.
10653 (test-xfail-XPG4/termios.h/conform): Likewise.
10654
10655 2016-05-11 Florian Weimer <fweimer@redhat.com>
10656
10657 Do not use mcheck in localedef.
10658 * locale/programs/localedef.c (turn_on_mcheck)
10659 (__malloc_initialize_hook): Remove.
10660
10661 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10662
10663 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
10664 * sysdeps/s390/s390-64/Makefile: Likewise.
10665
10666 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
10667
10668 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
10669 Remove ifunc-defines.sym.
10670 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
10671 Likewise.
10672 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
10673 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
10674 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
10675 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
10676 rtld-global-offsets.sym.
10677 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
10678 * sysdeps/x86/cpu-features-offsets.sym: This.
10679 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
10680 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
10681
10682 2016-05-10 Joseph Myers <joseph@codesourcery.com>
10683
10684 [BZ #20073]
10685 * io/sys/stat.h (fchmod): Declare for
10686 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
10687 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
10688 variable.
10689
10690 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
10691 [XPG3] (S_IFSOCK): Likewise.
10692 [XPG3] (S_ISVTX): Likewise.
10693 [XPG3] (S_ISLNK): Likewise.
10694 [XPG3] (S_ISSOCK): Likewise.
10695 [XPG3] (fchmod): Likewise.
10696 [XPG3] (lstat): Likewise.
10697 [XPG3] (mknod): Likewise.
10698
10699 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
10700 [XPG3]. Expect type long and XFAIL for [XPG4].
10701 (st_blocks): Likewise.
10702
10703 [BZ #20044]
10704 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
10705 (pthread_atfork): New prototype.
10706 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
10707 variable.
10708
10709 [BZ #20043]
10710 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
10711 prototype.
10712
10713 2016-05-10 Florian Weimer <fweimer@redhat.com>
10714
10715 [BZ #20017]
10716 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
10717 gmtime.
10718
10719 2016-05-10 Florian Weimer <fweimer@redhat.com>
10720
10721 [BZ #19994]
10722 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
10723 flag in _res.options.
10724
10725 2016-05-09 Joseph Myers <joseph@codesourcery.com>
10726
10727 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
10728 [XPG3 || XPG4].
10729 (blksize_t): Likewise.
10730 (clockid_t): Likewise.
10731 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
10732 variable.
10733 (test-xfail-XPG4/sys/types.h/conform): Likewise.
10734
10735 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
10736
10737 * sysdeps/unix/sysv/linux/s390/init-first.c:
10738 Add VDSO_SYMBOL(getcpu).
10739 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
10740 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
10741 Add VDSO_SYMBOL(getcpu).
10742 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
10743 New define HAVE_GETCPU_VSYSCALL.
10744 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10745
10746 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
10747
10748 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
10749 instead of <sysdeps/x86_64/cacheinfo.c>.
10750 * sysdeps/x86_64/cacheinfo.c: Moved to ...
10751 * sysdeps/x86/cacheinfo.c: Here.
10752
10753 2016-05-04 Florian Weimer <fweimer@redhat.com>
10754
10755 * malloc/malloc-internal.h: Adjust header file guard.
10756
10757 2016-05-04 Florian Weimer <fweimer@redhat.com>
10758
10759 [BZ #19787]
10760 * inet/getnameinfo.c (check_sprintf_result): New function.
10761 (CHECKED_SNPRINTF): New macro.
10762 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
10763 to the host buffer.
10764 (gni_host_local): Use checked_copy to copy the host name.
10765 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
10766 (gni_serv_local): Use checked_copy to copy the service name.
10767 (getnameinfo): Remove unnecessary truncation of result buffers.
10768
10769 2016-05-04 Florian Weimer <fweimer@redhat.com>
10770
10771 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
10772 in case of inet_ntop failure.
10773
10774 2016-05-04 Florian Weimer <fweimer@redhat.com>
10775
10776 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
10777 avoid long lines.
10778 (gni_host_inet_numeric): Likewise. Reduce scope of local
10779 variables.
10780 (gni_host_inet, gni_host_local): Add comment.
10781 (gni_host): Add comment. Use temporary to avoid long lines.
10782
10783 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10784
10785 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
10786 registers specifiers where general purpose registers specifiers should
10787 have been used.
10788
10789 2016-05-04 Florian Weimer <fweimer@redhat.com>
10790
10791 [BZ #19779]
10792 CVE-2016-1234
10793 Avoid copying names of directory entries.
10794 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
10795 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
10796 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
10797 (struct readdir_result): New type.
10798 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
10799 (GL_READDIR): New macros.
10800 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
10801 (convert_dirent, convert_dirent64): New functions.
10802 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
10803 convert_dirent64. Adjust references to the readdir result.
10804 * sysdeps/unix/sysv/linux/i386/glob64.c:
10805 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
10806 * posix/bug-glob2.c (LONG_NAME): Define.
10807 (filesystem): Add LONG_NAME.
10808 (my_DIR): Increase the size of room_for_dirent.
10809
10810 2016-05-03 Joseph Myers <joseph@codesourcery.com>
10811
10812 [BZ #20041]
10813 * misc/sys/select.h (__need_timespec): Only define if
10814 [__USE_XOPEN2K].
10815 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
10816 variable.
10817 (test-xfail-XPG4/utmpx.h/conform): Likewise.
10818 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10819 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10820
10821 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10822 Segher Boessenkool <segher@gcc.gnu.org>
10823
10824 [BZ #20004]
10825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
10826 (__novec_swapcontext): Add missing load.
10827
10828 2016-05-02 Joseph Myers <joseph@codesourcery.com>
10829
10830 [BZ #20023]
10831 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
10832 <time.h>.
10833 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
10834 variable.
10835 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10836
10837 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10838
10839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
10840 flags CLONE_VM compare.
10841
10842 2016-05-02 Florian Weimer <fweimer@redhat.com>
10843
10844 [BZ #20031]
10845 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
10846 completely empty.
10847
10848 2016-05-02 Florian Weimer <fweimer@redhat.com>
10849
10850 [BZ #19573]
10851 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
10852 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
10853 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
10854 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
10855 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
10856 (hesiod_free_list): Mark as hidden.
10857 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
10858 res_set, res_get.
10859 * hesiod/hesiod.c: Remove unnecessary forward declarations.
10860 (init, __hesiod_res_get, __hesiod_res_set): Remove.
10861 (hesiod_init): Remove obsolete res_ninit call.
10862 (hesiod_end): Do not free resolver state. Do not invoke callback.
10863 (hesiod_bind): Do not call init.
10864 (get_txt_records): Use res_mkquery, res_send instead of
10865 res_nmkquery, res_nsend.
10866 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
10867 instead of _nss_hesiod_init.
10868 (_nss_hesiod_initgroups_dyn): Likewise.
10869 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
10870 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
10871 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
10872
10873 2016-05-02 Florian Weimer <fweimer@redhat.com>
10874
10875 * hesiod/hesiod_p.h (DEF_RHS): Remove.
10876 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
10877
10878 2016-05-02 Florian Weimer <fweimer@redhat.com>
10879
10880 * hesiod/hesiod.h: Remove RCS keyword.
10881 * hesiod/hesiod_p.h: Likewise.
10882
10883 * hesiod/hesiod.c: Likewise.
10884
10885 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
10886
10887 [BZ #12450]
10888 * locale/iso-639.def: Add Samogitian/sgs.
10889
10890 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
10891
10892 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
10893
10894 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
10895
10896 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
10897 Carlos O'Donell <carlos@redhat.com>
10898
10899 [BZ #19072]
10900 * grp/Makefile (headers): Add grp-merge.h
10901 (routines): Add grp-merge.
10902 * grp/getgrgid_r.c: Include grp-merge.h.
10903 (DEEPCOPY_FN): Define.
10904 (MERGE_FN): Define.
10905 * grp/getgrname_r.c: Include grp-merge.h.
10906 (DEEPCOPY_FN): Define.
10907 (MERGE_FN): Define.
10908 * grp/grp-merge.c: New file.
10909 * grp/grp-merge.h: New file.
10910 * include/grp-merge.h: New file.
10911 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
10912 __copy_grp@GLIBC_PRIVATE.
10913 * manual/nss.texi (Actions in the NSS configuration): Describe
10914 return, continue, and merge.
10915 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
10916 (DEEPCOPY_FN): Define.
10917 (MERGE_FN): Define.
10918 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
10919 (DEEPCOPY_FN): Define.
10920 (MERGE_FN): Define.
10921 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
10922 [!MERGE_FN]: Define __merge_einval.
10923 (CHECK_MERGE): Define.
10924 (REENTRANT_NAME): Process merge if do_merge is true.
10925 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
10926 (__nss_getent_r): Likewise.
10927 * nss/nsswitch.c (nss_parse_service_list): Likewise.
10928 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
10929
10930 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10931
10932 [BZ #20012]
10933 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
10934 length to calculate the buffer to read.
10935 (fmemopen_write): Set the buffer position based on bytes written.
10936 (fmemopen_seek): Return EINVAL for invalid whence modes.
10937
10938 [BZ #19957]
10939 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
10940 tst-getpid2.
10941 (test): Add tst-clone2.
10942 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
10943 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
10944 pid/tid fields for CLONE_VM.
10945 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
10946 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
10947 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
10948 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
10949 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
10950 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
10951 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
10952 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
10953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
10954 Likewise.
10955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10956 Likewise.
10957 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
10958 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
10959 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
10960 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10961 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
10962 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
10963 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
10964 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
10965
10966 2016-04-29 Florian Weimer <fweimer@redhat.com>
10967
10968 [BZ #19642]
10969 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
10970 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
10971 (gni_serv_local, gni_serv): New functions extracted from
10972 getnameinfo.
10973 (getnameinfo): Call gni_host and gni_serv to perform the
10974 processing. Always free scratch buffer.
10975
10976 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10977
10978 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
10979 remaining bytes in the dest string, with zeros.
10980
10981 2016-04-29 Florian Weimer <fweimer@redhat.com>
10982
10983 [BZ #20010]
10984 CVE-2016-3706
10985 * sysdeps/posix/getaddrinfo.c
10986 (convert_hostent_to_gaih_addrtuple): New function.
10987 (gethosts): Call convert_hostent_to_gaih_addrtuple.
10988 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
10989 AF_INET data.
10990
10991 2016-04-29 Florian Weimer <fweimer@redhat.com>
10992
10993 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
10994 callback function gl_readdir.
10995 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
10996 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
10997 (glob_in_dir): Remove len. Use strdup instead of malloc and
10998 memcpy to copy the name.
10999 * manual/pattern.texi (Calling Glob): Document requirements for
11000 implementations of the gl_readdir callback function.
11001 * manual/examples/mkdirent.c: New example.
11002 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
11003 per the manual guidance.
11004 * posix/tst-gnuglob.c (my_readdir): Likewise.
11005
11006 2016-04-28 Joseph Myers <joseph@codesourcery.com>
11007
11008 [BZ #20014]
11009 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
11010 not [__USE_POSIX].
11011 (getchar_unlocked): Likewise.
11012 (putc_unlocked): Likewise.
11013 (putchar_unlocked): Likewise.
11014 (flockfile): Likewise.
11015 (ftrylockfile): Likewise.
11016 (funlockfile): Likewise.
11017 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
11018 variable.
11019 (test-xfail-XPG4/stdio.h/conform): Likewise.
11020
11021 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
11022 Expect constant.
11023 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
11024 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
11025 variable.
11026 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11027 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11028
11029 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
11030 [__USE_LARGEFILE64] (off64_t): Likewise.
11031 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
11032 variable.
11033
11034 2016-04-28 Florian Weimer <fweimer@redhat.com>
11035
11036 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
11037
11038 2016-04-28 Florian Weimer <fweimer@redhat.com>
11039
11040 * resolv/inet_addr.c: Reindent preprocessor conditionals.
11041 * resolv/res_init.c: Likewise.
11042 * resolv/res_mkquery.c: Likewise.
11043
11044 2016-04-28 Florian Weimer <fweimer@redhat.com>
11045
11046 * resolv/res_init.c (isascii): Do not define. Use definition in
11047 <ctype.h>.
11048 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
11049 (LOG_AUTH): Remove.
11050 (SPRINTF): Remove, adjust caller.
11051 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
11052
11053 2016-04-28 Florian Weimer <fweimer@redhat.com>
11054
11055 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
11056 SUNSECURITY conditional.
11057 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
11058
11059 2016-04-28 Florian Weimer <fweimer@redhat.com>
11060
11061 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
11062 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
11063 Remove BSD-related preprocessor conditionals.
11064 * conf/portability.h: Remove.
11065
11066 2016-04-28 Florian Weimer <fweimer@redhat.com>
11067
11068 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
11069 * resolv/res_data.c: Likewise.
11070
11071 2016-04-28 Florian Weimer <fweimer@redhat.com>
11072
11073 * resolv/res_comp.c: Remove code conditional on __ultrix__.
11074 * resolv/res_data.c: Remove code conditional on ultrix.
11075
11076 2016-04-28 Florian Weimer <fweimer@redhat.com>
11077
11078 * resolv/res_init.c (RFC1535): Do not define. Remove
11079 RFC1535 preprocessor conditionals.
11080 * resolv/README: Update. Do not claim strict RFC 1535 compliance
11081 because there configuration options which make the resolver
11082 behavior different.
11083
11084 2016-04-28 Florian Weimer <fweimer@redhat.com>
11085
11086 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
11087 RESOLVSORT preprocessor conditionals.
11088 * resolv/nss_dns/dns-host.c: Likewise.
11089 * resolv/res_init.c: Likewise.
11090
11091 2016-04-28 Florian Weimer <fweimer@redhat.com>
11092
11093 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
11094 is never defined.
11095
11096 2016-04-28 Florian Weimer <fweimer@redhat.com>
11097
11098 * inet/inet_lnaof.c: Remove SCSS keyword.
11099 * inet/inet_mkadr.c: Likewise.
11100 * inet/inet_net.c: Likewise.
11101 * inet/inet_netof.c: Likewise.
11102 * inet/rcmd.c: Likewise.
11103 * inet/rexec.c: Likewise.
11104 * inet/ruserpass.c: Likewise.
11105
11106 2016-04-28 Florian Weimer <fweimer@redhat.com>
11107
11108 * resolv/inet_addr.c: Remove _LIBC conditionals.
11109 * resolv/res_data.c: Likewise.
11110 * resolv/res_init.c: Likewise.
11111 * resolv/res_mkquery.c: Likewise.
11112 * resolv/res_libc.c: Update comment.
11113 * resolv/README: Update.
11114
11115 2016-04-28 Florian Weimer <fweimer@redhat.com>
11116
11117 * resolv/gethnamaddr.c: Remove SCSS keyword.
11118 * resolv/herror.c: Likewise.
11119 * resolv/inet_addr.c: Likewise.
11120 * resolv/inet_net_ntop.c: Likewise.
11121 * resolv/inet_net_pton.c: Likewise.
11122 * resolv/inet_neta.c: Likewise.
11123 * resolv/inet_ntop.c: Likewise.
11124 * resolv/inet_pton.c: Likewise.
11125 * resolv/ns_date.c: Remove RCS keyword.
11126 * resolv/ns_name.c: Likewise.
11127 * resolv/ns_netint.c: Likewise.
11128 * resolv/ns_parse.c: Likewise.
11129 * resolv/ns_print.c: Likewise.
11130 * resolv/ns_samedomain.c: Likewise.
11131 * resolv/ns_ttl.c: Likewise.
11132 * resolv/nsap_addr.c: Likewise.
11133 * resolv/res_comp.c: Remove SCSS and RCS keyword.
11134 * resolv/res_data.c: Remove RCS keyword.
11135 * resolv/res_debug.c: Remove SCSS and RCS keyword.
11136 * resolv/res_init.c: Likewise.
11137 * resolv/res_mkquery.c: Likewise.
11138 * resolv/res_query.c: Likewise.
11139 * resolv/res_send.c: Likewise.
11140
11141 2016-04-27 Joseph Myers <joseph@codesourcery.com>
11142
11143 * conform/data/stdio.h-data (fdopen): Expect also for
11144 [XPG3 || XPG4].
11145
11146 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
11147 (fseeko): Likewise.
11148 (ftello): Likewise.
11149 (ftrylockfile): Likewise.
11150 (funlockfile): Likewise.
11151 (getc_unlocked): Likewise.
11152 (getchar_unlocked): Likewise.
11153 (putc_unlocked): Likewise.
11154 (putchar_unlocked): Likewise.
11155
11156 2016-04-27 Florian Weimer <fweimer@redhat.com>
11157
11158 [BZ #19868]
11159 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
11160 DNS packet syntax checks (which were not needed before). Skip
11161 over non-PTR records.
11162
11163 2016-04-27 Florian Weimer <fweimer@redhat.com>
11164
11165 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
11166 definition. Include <stddef.h> instead.
11167
11168 2016-04-27 Florian Weimer <fweimer@redhat.com>
11169
11170 [BZ #19831]
11171 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
11172 function.
11173 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
11174 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
11175
11176 2016-04-27 Florian Weimer <fweimer@redhat.com>
11177
11178 [BZ #19862]
11179 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
11180 (getanswer_r): Do not call syslog.
11181 (gaih_getanswer_slice): Likewise.
11182 * resolv/gethnamaddr.c (AskedForGot): Remove.
11183 (getanswer): Do not call syslog.
11184 (gethostbyaddr): Likewise.
11185
11186 2016-04-27 Joseph Myers <joseph@codesourcery.com>
11187
11188 * conform/data/signal.h-data (union sigval): Expect also if
11189 [XOPEN2K].
11190 (struct sigevent): Likewise.
11191 (SIGEV_NONE): Likewise.
11192 (SIGEV_SIGNAL): Likewise.
11193 (SIGEV_THREAD): Likewise.
11194 (SIGRTMIN): Likewise.
11195 (SIGRTMAX): Likewise.
11196 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
11197 variable.
11198 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11199
11200 2016-04-27 Florian Weimer <fweimer@redhat.com>
11201
11202 [BZ #19830]
11203 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
11204 (gaih_getanswer_slice): Likewise.
11205 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
11206 Also check for availability of RR metadata.
11207
11208 2016-04-27 Florian Weimer <fweimer@redhat.com>
11209
11210 [BZ #19825]
11211 * resolv/res_send.c (send_vc): Remove early *resplen2
11212 initialization. Set *resplen2 on socket error. Call
11213 close_and_return_error for other errors.
11214
11215 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
11216
11217 * sysdeps/unix/sysv/linux/netiucv/iucv.h
11218 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
11219 (SCM_IUCV_TRGCLS): New define.
11220
11221 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11222
11223 [BZ #20005]
11224 * libio/fmemopen.c (fmemopen_write): Update internal position after
11225 write.
11226 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
11227 * stdio-common/tst-fmemopen4.c: New file..
11228
11229 2016-04-26 Joseph Myers <joseph@codesourcery.com>
11230
11231 [BZ #19996]
11232 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
11233 not [__USE_XOPEN2K].
11234 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
11235 variable.
11236
11237 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
11238 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
11239 variable.
11240
11241 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
11242 [__USE_XOPEN2K8].
11243 [__USE_LARGEFILE64] (off64_t): Likewise.
11244 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
11245 variable.
11246
11247 2016-04-25 Joseph Myers <joseph@codesourcery.com>
11248
11249 [BZ #19989]
11250 * libio/stdio.h (cuserid): Do not declare if
11251 [__USE_XOPEN2K && !__USE_GNU].
11252 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
11253 variable.
11254
11255 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11256
11257 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11258 (sysdep_routines): Add P8 and PPC64 strcspn targets.
11259 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11260 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
11261 ifunc'ed strcspn.
11262 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
11263 [EALIGN]: Removed.
11264 [END]: Likewise
11265 [STRSPN]: Define instead of the above to control symbol name.
11266 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
11267 New file.
11268 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
11269 Likewise.
11270 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
11271 Likewise.
11272 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
11273 Likewise.
11274 * sysdeps/powerpc/powerpc64/power8/strspn.S:
11275 [INITIAL_MASK]: New macro.
11276 [STRCSPN]: Likewise.
11277 [UPDATE_MASK]: Likewise.
11278 [USE_AS_STRCSPN]: Likewise.
11279
11280 2016-04-25 Florian Weimer <fweimer@redhat.com>
11281
11282 [BZ #19931]
11283 * stdio-common/tst-vfprintf-width-prec.c: New file.
11284 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
11285 (tests-special): Add tst-vfprintf-width-prec-mem.out.
11286 (generated): Add mtrace-related files.
11287 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
11288 (tst-%-mem.out): New pattern rule, replaces
11289 tst-printf-bz18872-mem.out.
11290 * stdio-common/vfprintf.c (vfprintf): When handling a precision
11291 specifier, deallocate any previously allocated work buffer.
11292
11293 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11294
11295 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
11296 Add nop before __startcontext, add explaining comments.
11297
11298 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
11299
11300 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
11301 any more. Notably since IPV6_PKTINFO has been reintroduced with a
11302 completely different API.
11303
11304 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
11305 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
11306 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
11307 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
11308 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
11309 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
11310 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
11311 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
11312 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
11313 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
11314
11315 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
11316
11317 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
11318
11319 2016-04-23 Mike Frysinger <vapier@gentoo.org>
11320
11321 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
11322 when it is the default of 0.
11323
11324 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11325
11326 * sysdeps/powerpc/locale-defines.sym: Add new macros.
11327 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11328 (sysdep_routines): Add new strcasestr targets.
11329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11330 (__libc_ifunc_impl_list): Likewise.
11331 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
11332 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
11333 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
11334 * sysdeps/powerpc/powerpc64/power8/Makefile:
11335 New file to add strcasestr-ppc64 to sysdep_routines.
11336 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
11337 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
11338
11339 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
11340
11341 * benchtests/Makefile (wcsmbs-benchset): Include only for
11342 native builds and runs.
11343 (LOCALES): Likewise.
11344 (bench-build): Build timing-type here instead of the bench
11345 target. Generate locale only for native builds.
11346 * benchtests/README: Add note for cross-building.
11347
11348 * benchtests/Makefile (bench-clean): Clean up extra-objs.
11349
11350 * benchtests/README: Update README to include instructions on
11351 using bench-build.
11352
11353 * Makefile.in (bench-build): New target.
11354 * Rules (PHONY): Add bench-build target.
11355 * benchtests/Makefile (bench): Depend on bench-build.
11356 (bench-build): New target.
11357
11358 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11359
11360 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
11361 profil_reply_port.
11362 (profile_waiter): Do not initialize profil_reply_port.
11363 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
11364 frequency instead of tick length in us.
11365
11366 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
11367
11368 [BZ #18712]
11369 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
11370 (__old_mempcpy_small): Likewise.
11371 (__old_strcpy_small): Likewise.
11372 (__old_stpcpy_small): Likewise.
11373 (__old_strpbrk_c2): Fix compat symbol name.
11374 (__old_strpbrk_c3): Likewise.
11375 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
11376 (__mempcpy_small): Remove.
11377 (__strcpy_small): Remove.
11378 (__stpcpy_small): Remove.
11379
11380 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
11381
11382 [BZ #19400]
11383 * locale/iso-639.def: Add the Talossan/tzl language.
11384
11385 2016-04-16 Mike Frysinger <vapier@gentoo.org>
11386
11387 [BZ #16983]
11388 * locale/programs/ld-address.c (address_finish): Update postal_fmt
11389 comment. Add "ln" to strchr check on postal_fmt.
11390
11391 2016-04-16 Mike Frysinger <vapier@gentoo.org>
11392
11393 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
11394 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
11395 tel_dom_fmt.
11396
11397 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
11398
11399 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11400 (sysdep_routines): Added __strlen_power8.
11401 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
11402 __strlen_power8 entry.
11403 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
11404 Implementation for POWER8.
11405 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
11406 for __strlen_power8.
11407 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
11408 Implementation for POWER8.
11409
11410 2016-04-15 Mike Frysinger <vapier@gentoo.org>
11411
11412 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
11413
11414 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
11415
11416 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
11417 Goldmont and Airmont processors.
11418
11419 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
11420
11421 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
11422 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
11423 (__STRING2_SMALL_GET32): Remove.
11424 (memset): Remove.
11425 (__memset_1): Remove.
11426 (__memset_gc): Remove.
11427 (__mempcpy): Remove.
11428 (mempcpy): Remove.
11429 (__mempcpy_args): Remove.
11430 (strchr): Remove.
11431 (strcpy): Remove.
11432 (strcpy_args): Remove.
11433 (__stpcpy_args): Remove.
11434 (__strcmp_cc): Remove.
11435 (__strcmp_gc): Remove.
11436 (strstr): Remove.
11437
11438 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
11439
11440 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
11441 * nis/nis_call.c (nis_server_cache_add): Likewise.
11442
11443 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11444
11445 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
11446
11447 2016-04-14 Florian Weimer <fweimer@redhat.com>
11448
11449 * malloc/arena.c (__malloc_fork_lock_parent)
11450 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
11451 internal_function attribute.
11452
11453 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
11454
11455 * stdio-common/printf_fp.c (__printf_fp_l):
11456 Rename ___printf_fp_l to __printf_fp_l and
11457 remove strong alias. Use libc_hidden_def instead
11458 of ldbl_hidden_def macro.
11459
11460 2016-04-14 Florian Weimer <fweimer@redhat.com>
11461
11462 Remove malloc hooks from fork handler. They are no longer needed
11463 because malloc runs right before fork, and no malloc calls from
11464 other fork handlers are not possible anymore.
11465 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
11466 declarations.
11467 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
11468 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
11469 (atfork_recursive_cntr): Remove.
11470 (__malloc_fork_lock_parent): Do not override malloc hooks and
11471 thread_arena.
11472 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
11473 thread_arena.
11474 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
11475 thread_arena instead of save_arena.
11476
11477 2016-04-14 Florian Weimer <fweimer@redhat.com>
11478
11479 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
11480 (thread_atfork, thread_atfork_static): Remove.
11481 * sysdeps/mach/hurd/malloc-machine.h:
11482 (thread_atfork, thread_atfork_static): Remove.
11483
11484 2016-04-14 Florian Weimer <fweimer@redhat.com>
11485
11486 [BZ #19431]
11487 Run the malloc fork handler as late as possible to avoid deadlocks.
11488 * malloc/malloc-internal.h: New file.
11489 * malloc/malloc.c: Include it.
11490 * malloc/arena.c (ATFORK_MEM): Remove.
11491 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
11492 Update comment.
11493 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
11494 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
11495 Remove outdated comment.
11496 (ptmalloc_init): Do not call thread_atfork. Remove
11497 thread_atfork_static.
11498 * malloc/tst-malloc-fork-deadlock.c: New file.
11499 * Makefile (tests): Add tst-malloc-fork-deadlock.
11500 (tst-malloc-fork-deadlock): Link against libpthread.
11501 * manual/memory.texi (Aligned Memory Blocks): Update safety
11502 annotation comments.
11503 * sysdeps/nptl/fork.c (__libc_fork): Call
11504 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
11505 __malloc_fork_unlock_child.
11506 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
11507
11508 2016-04-14 Florian Weimer <fweimer@redhat.com>
11509
11510 [BZ #19613]
11511 Remove union wait.
11512 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
11513 (w_stopsig, w_stopval): Remove.
11514 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
11515 stat_loc argument.
11516 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
11517 (__WAIT_STATUS_DEFN): Remove.
11518 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
11519 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
11520 (wait, wait3, wait4): Use int * for the stat_loc argument.
11521 * posix/wait.c (__wait): Likewise.
11522 * posix/wait3.c (__wait3): Likewise.
11523 * posix/wait4.c (__wait4): Likewise.
11524 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
11525 (__WAIT_STATUS_DEFN): Remove.
11526 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
11527 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
11528 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
11529 argument.
11530 * sysdeps/posix/wait.c (__libc_wait): Likewise.
11531 * sysdeps/posix/wait3.c (__wait3): Likewise.
11532 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
11533 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11534 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
11535 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
11536 stat_loc argument.
11537 * manual/process.texi (BSD Wait Functions): Remove union wait.
11538
11539 2016-04-13 Andreas Schwab <schwab@suse.de>
11540
11541 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
11542 (test-extras): Add tst-tlsalign-vars.
11543 * math/Makefile: Wrap long lines.
11544 (libm-vec-test-wrappers): Define.
11545 (test-extras): Add $(libm-vec-test-wrappers).
11546 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
11547 * nss/Makefile (extra-test-objs): Add nss_test1.os.
11548 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
11549 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
11550 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
11551 (extra-test-objs): Add corresponding objects.
11552
11553 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
11554
11555 [BZ #19928]
11556 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
11557 New.
11558 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
11559 times of shared cache size.
11560 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
11561 (VMOVNT): New.
11562 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
11563 (VMOVNT): Likewise.
11564 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
11565 (VMOVNT): Likewise.
11566 (VMOVU): Changed to movups for smaller code sizes.
11567 (VMOVA): Changed to movaps for smaller code sizes.
11568 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
11569 comments.
11570 (PREFETCH): New.
11571 (PREFETCH_SIZE): Likewise.
11572 (PREFETCHED_LOAD_SIZE): Likewise.
11573 (PREFETCH_ONE_SET): Likewise.
11574 Rewrite to use forward and backward loops, which move 4 vector
11575 registers at a time, to support overlapping addresses and use
11576 non temporal store if size is above the threshold and there is
11577 no overlap between destination and source.
11578
11579 2016-04-12 Alex Smith <alex.smith@imgtec.com>
11580
11581 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
11582 Include dl-vdso.
11583 * sysdeps/unix/sysv/linux/mips/Versions: Add
11584 __vdso_clock_gettime.
11585 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
11586 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
11587 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
11588 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
11589 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
11590 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11591 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11592 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
11593 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
11594
11595 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11596
11597 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
11598 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
11599 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
11600 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
11601 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
11602 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
11604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
11605 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
11606 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
11607 syscalls generation.
11608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11609 [__NR_pwrite64] (__NR_write): Remove define.
11610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11611 [__NR_pwrite64] (__NR_write): Remove define.
11612 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
11613 Remove define.
11614 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
11615 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
11616 Remove define.
11617 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
11618 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
11619 Linux implementation as base.
11620 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11621
11622 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
11623 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
11624 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
11625 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
11626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
11627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
11628 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
11629 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
11630 syscall generation.
11631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11632 [__NR_pread64] (__NR_pread): Remove define.
11633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11634 [__NR_pread64] (__NR_pread): Likewise.
11635 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
11636 define.
11637 (__libc_pread): Use SYSCALL_LL macro on offset argument.
11638 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
11639 Remove define.
11640 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
11641 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
11642 Linux implementation as base.
11643 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11644 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
11645 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11646
11647 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
11648 definition.
11649 (__ALIGNMENT_COUNT): Likewise.
11650 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
11651 (__ALIGNMENT_COUNT): Likewise.
11652 (SYSCALL_LL): New define.
11653 (SYSCALL_LL64): Likewise.
11654 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
11655 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
11656 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
11657 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
11658
11659 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11660 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
11661 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11662 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
11663 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11664 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
11665
11666 2016-04-11 Florian Weimer <fweimer@redhat.com>
11667
11668 [BZ #19865]
11669 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
11670 original buffer before retry.
11671
11672 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11673
11674 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
11675 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
11676 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
11677 GLRO(dl_auxv) list.
11678 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
11679 including <ldsodefs.h>.
11680 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
11681
11682 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
11683
11684 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
11685 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
11686 $(CPPFLAGS).
11687
11688 2016-04-09 Khem Raj <raj.khem@gmail.com>
11689
11690 [BZ #17950]
11691 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
11692 Add -mfpmath=387.
11693
11694 2016-04-09 Mike Frysinger <vapier@gentoo.org>
11695
11696 * sysdeps/i386/configure.ac: Change == to = when calling test.
11697 * sysdeps/x86_64/configure.ac: Likewise.
11698 * sysdeps/i386/configure: Regenerated.
11699 * sysdeps/x86_64/configure: Likewise.
11700
11701 2016-04-08 Mike Frysinger <vapier@gentoo.org>
11702
11703 [BZ #16137]
11704 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
11705 * benchtests/bench-strcoll.c (input_files): Likewise.
11706 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
11707 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
11708 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
11709
11710 2016-04-08 Joseph Myers <joseph@codesourcery.com>
11711
11712 [BZ #19929]
11713 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
11714 [__USE_XOPEN2K8 && !__USE_GNU].
11715 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
11716 variable.
11717
11718 [BZ #19925]
11719 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
11720 define if [!__USE_MISC && __USE_XOPEN2K].
11721 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
11722 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
11723 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
11724 Likewise.
11725 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
11726 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
11727 variable.
11728 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11729
11730 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11731
11732 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11733 (sysdep_routines): Add new strspn targets.
11734 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11735 (__libc_ifunc_impl_list): Add strspn.
11736 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
11737 New file.
11738 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
11739 Likewise.
11740 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
11741 Likewise.
11742 * sysdeps/powerpc/powerpc64/power8/strspn.S:
11743 Likewise.
11744
11745 2016-04-07 Florian Weimer <fweimer@redhat.com>
11746
11747 * misc/hsearch_r.c: Include <limits.h>.
11748
11749 2016-04-07 Florian Weimer <fweimer@redhat.com>
11750
11751 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
11752
11753 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
11754
11755 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11756 (MEMCPY_SYMBOL): New.
11757 (MEMPCPY_SYMBOL): Likewise.
11758 (MEMMOVE_CHK_SYMBOL): Likewise.
11759 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
11760 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
11761 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
11762 Provide alias for memcpy in libc.a and ld.so.
11763
11764 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
11765
11766 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11767 (MEMSET_CHK_SYMBOL): New. Define if not defined.
11768 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
11769 Disabled fro now.
11770 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
11771 symbols. Properly check USE_MULTIARCH on __memset symbols.
11772
11773 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
11774
11775 * benchtests/Makefile (string-benchset): Add memcpy-large,
11776 memmove-large and memset-large.
11777 * benchtests/bench-memcpy-large.c: New file.
11778 * benchtests/bench-memmove-large.c: Likewise.
11779 * benchtests/bench-memmove-large.c: Likewise.
11780 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
11781
11782 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
11783
11784 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
11785 32-bit displacement to avoid long nop between instructions.
11786
11787 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
11788
11789 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
11790 a comment on VMOVU and VMOVA.
11791
11792 2016-04-04 Florian Weimer <fweimer@redhat.com>
11793
11794 [BZ #19633]
11795 Use specified locale for number formatting in strfmon_l.
11796 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
11797 (__nl_lookup_word): New inline functions.
11798 * include/printf.h (__print_fp_l): Declare.
11799 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
11800 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
11801 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
11802 (___printf_fp): New function.
11803 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
11804 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
11805 * stdlib/tst-strfmon_l.c (do_test): New test.
11806 * stdlib/Makefile (tests): Add kt.
11807 (LOCALES): Build additional locales.
11808 (tst-strfmon_l.out): Require locales.
11809
11810 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
11811
11812 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
11813 if not in libc.
11814 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11815 Likewise.
11816 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
11817 Likewise.
11818 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11819 Likewise.
11820
11821 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
11822
11823 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
11824 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
11825 with unaligned_erms.
11826 (__memmove_erms): Skip if source == destination.
11827 (__memmove_unaligned_erms): Don't check source == destination
11828 first.
11829
11830 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
11831
11832 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
11833 bit_arch_Fast_Copy_Backward for Intel Core proessors.
11834
11835 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11836
11837 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
11838 * string/strspn.c (strspn): Likewise.
11839
11840 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
11841
11842 * benchtests/bench-memset.c (do_test): Support 64-byte
11843 alignment.
11844 (test_main): Test 64-byte alignment.
11845
11846 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
11847
11848 * benchtests/bench-memmove.c (test_main): Test 64-byte
11849 alignment.
11850
11851 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
11852
11853 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
11854
11855 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11856
11857 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
11858 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
11859 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
11860
11861 * string/strpbrk.c (strpbrk): Rewrite function.
11862 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
11863 (__strpbrk_c2): Likewise.
11864 (__strpbrk_c3): Likewise.
11865 * string/string-inlines.c
11866 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
11867 Likewise.
11868 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
11869 Likewise.
11870
11871 * string/strspn.c (strcspn): Rewrite function.
11872 * string/bits/string2.h (strspn): Use __builtin_strcspn.
11873 (__strspn_c1): Remove inline function.
11874 (__strspn_c2): Likewise.
11875 (__strspn_c3): Likewise.
11876 * string/string-inlines.c
11877 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
11878 compatibility symbol.
11879 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
11880 Likewise.
11881 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
11882 Likewise.
11883 * string/string-inlines.c: Include generic version.
11884
11885 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
11886 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11887
11888 * string/Version (libc): Add GLIBC_2.24.
11889 * string/strcspn.c (strcspn): Rewrite function.
11890 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
11891 (__strcspn_c1): Remove inline function.
11892 (__strcspn_c2): Likewise.
11893 (__strcspn_c3): Likewise.
11894 * string/string-inline.c
11895 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
11896 compatibility symbol.
11897 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
11898 Likewise.
11899 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
11900 Likewise.
11901 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
11902
11903 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
11904
11905 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11906 Use ahi instead of aghi to adjust stack pointer.
11907
11908 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11909
11910 [BZ #19853]
11911 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
11912 TEST to take significant digits as second parameter.
11913 [TEST]: Redefine in terms of TEST_N taking 30
11914 significant digits.
11915 (do_test): Add test case to demonstrate precision
11916 failure in the ldbl-128ibm printf.
11917 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
11918 (__mpn_extract_long_double): Carry 7 extra intermediate
11919 bits of precision to aide computing difference when
11920 signs differ.
11921
11922 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
11923
11924 [BZ #19881]
11925 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11926 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
11927 memset-avx512-unaligned-erms.
11928 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11929 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
11930 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
11931 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
11932 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
11933 __memset_sse2_unaligned_erms, __memset_erms,
11934 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
11935 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
11936 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
11937 file.
11938 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11939 Likewise.
11940 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
11941 Likewise.
11942 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
11943 Likewise.
11944
11945 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
11946
11947 [BZ #19776]
11948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11949 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
11950 memmove-avx512-unaligned-erms.
11951 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11952 (__libc_ifunc_impl_list): Test
11953 __memmove_chk_avx512_unaligned_2,
11954 __memmove_chk_avx512_unaligned_erms,
11955 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
11956 __memmove_chk_sse2_unaligned_2,
11957 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
11958 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
11959 __memmove_avx512_unaligned_erms, __memmove_erms,
11960 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
11961 __memcpy_chk_avx512_unaligned_2,
11962 __memcpy_chk_avx512_unaligned_erms,
11963 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
11964 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
11965 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
11966 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
11967 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
11968 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
11969 __mempcpy_chk_avx512_unaligned_erms,
11970 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
11971 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
11972 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
11973 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
11974 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
11975 __mempcpy_erms.
11976 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
11977 file.
11978 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11979 Likewise.
11980 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
11981 Likewise.
11982 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
11983 Likewise.
11984
11985 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
11986
11987 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
11988 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
11989 (La_s390_64_regs): Likewise.
11990 (La_s390_32_retval): Append vector register lrv_v24.
11991 (La_s390_64_retval): Likeweise.
11992 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11993 Handle extended structs La_s390_32_regs and La_s390_32_retval.
11994 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11995 Handle extended structs La_s390_64_regs and La_s390_64_retval.
11996
11997 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
11998
11999 [BZ #19916]
12000 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
12001 to create a non-vector/vector version for _dl_runtime_resolve and
12002 _dl_runtime_profile. Move implementation to ...
12003 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
12004 (_dl_runtime_resolve) Save and restore fpr/vrs.
12005 (_dl_runtime_profile) Save and restore vrs and fix some issues
12006 if _dl_call_pltexit is called.
12007 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
12008 Choose the correct resolver function if running on a machine with vx.
12009 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
12010 to create a non-vector/vector version for _dl_runtime_resolve and
12011 _dl_runtime_profile. Move implementation to ...
12012 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
12013 (_dl_runtime_resolve) Save and restore fpr/vrs.
12014 (_dl_runtime_profile) Save and restore vrs and fix some issues
12015 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
12016 Choose the correct resolver function if running on a machine with vx.
12017
12018 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12019
12020 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
12021
12022 2016-03-31 Florian Weimer <fweimer@redhat.com>
12023
12024 [BZ #19509]
12025 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
12026 skip_map != NULL.
12027 * elf/tst-dlsym-error.c: New file.
12028 * elf/Makefile (tests): Add tst-dlsym-error.
12029 (tst-dlsym-error): Link against libdl.
12030
12031 2016-03-29 Joseph Myers <joseph@codesourcery.com>
12032
12033 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12034 (__ASSUME_FUTIMESAT): Remove macro.
12035 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
12036
12037 2016-03-29 Florian Weimer <fweimer@redhat.com>
12038
12039 [BZ #19879]
12040 CVE-2016-3075
12041 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
12042 copy name.
12043
12044 2016-03-29 Florian Weimer <fweimer@redhat.com>
12045
12046 [BZ #19837]
12047 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
12048 error if parse_line fails.
12049
12050 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12051
12052 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
12053 (index_cpu_ERMS): Likewise.
12054 (reg_ERMS): Likewise.
12055
12056 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
12057
12058 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
12059 PER_LINUX_FDPIC): Add.
12060
12061 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12062
12063 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12064 memcpy-avx512-no-vzeroupper.
12065 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
12066 to ...
12067 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
12068 (MEMCPY): Don't define.
12069 (MEMCPY_CHK): Likewise.
12070 (MEMPCPY): Likewise.
12071 (MEMPCPY_CHK): Likewise.
12072 (MEMPCPY_CHK): Renamed to ...
12073 (__mempcpy_chk_avx512_no_vzeroupper): This.
12074 (MEMPCPY_CHK): Renamed to ...
12075 (__mempcpy_chk_avx512_no_vzeroupper): This.
12076 (MEMCPY_CHK): Renamed to ...
12077 (__memmove_chk_avx512_no_vzeroupper): This.
12078 (MEMCPY): Renamed to ...
12079 (__memmove_avx512_no_vzeroupper): This.
12080 (__memcpy_avx512_no_vzeroupper): New alias.
12081 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
12082
12083 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12084
12085 [BZ #18858]
12086 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12087 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
12088 and mempcpy-avx512-no-vzeroupper.
12089 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
12090 New.
12091 (MEMPCPY): Likewise.
12092 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
12093 (MEMPCPY_CHK): New.
12094 (MEMPCPY): Likewise.
12095 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
12096 (MEMPCPY): Likewise.
12097 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
12098 (MEMPCPY): Likewise.
12099 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
12100 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
12101 Likewise.
12102 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
12103 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
12104
12105 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12106 Amit Pawar <Amit.Pawar@amd.com>
12107
12108 [BZ #19583]
12109 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
12110 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
12111 processors. Set Fast_Copy_Backward for AMD Excavator
12112 processors.
12113 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
12114 New.
12115 (index_arch_Fast_Unaligned_Copy): Likewise.
12116 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
12117 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
12118
12119 2016-03-25 Florian Weimer <fweimer@redhat.com>
12120
12121 [BZ #19791]
12122 * resolv/res_send.c (close_and_return_error): New function.
12123 (send_dg): Initialize *resplen2 after reopen failure. Call
12124 close_and_return_error for error returns. On error paths without
12125 __res_iclose, initialze *resplen2 explicitly. Update comment for
12126 successful return.
12127
12128 2016-03-25 Florian Weimer <fweimer@redhat.com>
12129
12130 [BZ# 19860]
12131 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
12132 zero if the compiler does not provide the AVX512F bit.
12133
12134 2016-03-24 Joseph Myers <joseph@codesourcery.com>
12135
12136 [BZ #19848]
12137 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
12138 from 8 to 4.
12139 (__ieee754_powl): Compare integer exponent against 4 not 8.
12140 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
12141 from 8 to 4.
12142 (__ieee754_powl): Compare integer exponent against 4 not 8.
12143 * math/auto-libm-test-in: Add more tests of pow.
12144 * math/auto-libm-test-out: Regenerated.
12145 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12147
12148 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
12149
12150 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
12151 Make code unconditional.
12152 [!__NR_utimensat]: Remove conditional code.
12153 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
12154 Make code unconditional.
12155 [!__NR_utimensat]: Remove conditional code.
12156 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
12157 Make code unconditional.
12158 [!__NR_utimensat]: Remove conditional code.
12159
12160 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
12161
12162 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
12163 Make code unconditional.
12164
12165 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
12166
12167 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
12168 call-clobbered %eax on retry path.
12169 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12170
12171 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
12172
12173 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
12174 Don't set %rcx twice before "rep movsb".
12175
12176 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
12177
12178 [BZ #19583]
12179 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
12180 inline. Check family before setting family, model and
12181 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
12182 bits here.
12183 (init_cpu_features): Replace HAS_CPU_FEATURE and
12184 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
12185 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
12186 for Intel processors with usable AVX2. Call get_common_indeces
12187 for other processors with family == NULL.
12188 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
12189 (CPU_FEATURES_ARCH_P): Likewise.
12190 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
12191 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
12192
12193 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12194
12195 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
12196 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
12197 $(shared-thread-library) instead of hardcoding the path to libpthread.
12198
12199 2016-03-22 Joseph Myers <joseph@codesourcery.com>
12200
12201 * sysdeps/unix/sysv/linux/kernel-features.h
12202 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
12203 * sysdeps/unix/sysv/linux/getdents.c
12204 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
12205 [!have_no_getdents64_defined]: Likewise.
12206 (__GETDENTS): Remove __have_no_getdents64 conditional.
12207
12208 2016-03-21 Joseph Myers <joseph@codesourcery.com>
12209
12210 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
12211 Remove macro.
12212 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
12213 <kernel-features.h>.
12214 (signalfd) [__NR_signalfd4]: Make code unconditional.
12215 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
12216
12217 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12218
12219 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
12220 style.
12221
12222 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
12223
12224 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
12225 (__pthread_enable_asynccancel): Use JUMPTARGET to call
12226 __pthread_unwind.
12227 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12228 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
12229 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12230 (__condvar_cleanup1): Likewise.
12231
12232 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
12233
12234 [BZ #19822]
12235 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
12236 move it to the final $@ location.
12237
12238 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12239
12240 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
12241 access where posix_spawn success and pid argument is null.
12242 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
12243 success case.
12244
12245 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
12246
12247 * sysdeps/mach/hurd/i386/c++-types.data: New file.
12248
12249 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
12250
12251 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
12252 and __fcntl.
12253 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
12254 __fcntl only.
12255 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
12256 adding attribute_hidden to __open and __fcntl.
12257
12258 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
12259 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
12260 depend on libc-modules.h,
12261 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
12262
12263 2016-03-17 Joseph Myers <joseph@codesourcery.com>
12264
12265 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
12266 Remove macro.
12267 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
12268 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
12269 entry.
12270
12271 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
12272 Remove macro.
12273 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
12274 include <kernel-features.h>.
12275 [!__ASSUME_FALLOCATE]: Remove conditional code.
12276 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
12277
12278 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
12279
12280 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
12281 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
12282 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
12283 (_ZGVdN4v_cos_avx2): Likewise.
12284 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
12285 (_ZGVdN4v_cos): Likewise.
12286 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
12287 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
12288 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
12289 (_ZGVdN4v_exp_avx2): Likewise.
12290 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
12291 (_ZGVdN4v_exp): Likewise.
12292 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
12293 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
12294 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
12295 (_ZGVdN4v_log_avx2): Likewise.
12296 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
12297 (_ZGVdN4v_log): Likewise.
12298 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
12299 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
12300 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
12301 (_ZGVdN4vv_pow_avx2): Likewise.
12302 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
12303 (_ZGVdN4vv_pow): Likewise.
12304 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
12305 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
12306 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
12307 (_ZGVdN4v_sin_avx2): Likewise.
12308 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
12309 (_ZGVdN4v_sin): Likewise.
12310 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
12311 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
12312 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
12313 (_ZGVdN4vvv_sincos_avx2): Likewise.
12314 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
12315 (_ZGVdN4vvv_sincos): Likewise.
12316 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
12317 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
12318 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
12319 (_ZGVbN4v_cosf_sse4): Likewise.
12320 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
12321 (_ZGVdN8v_cosf_avx2): Likewise.
12322 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
12323 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
12324 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
12325 (_ZGVbN4v_expf_sse4): Likewise.
12326 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
12327 (_ZGVdN8v_expf_avx2): Likewise.
12328 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
12329 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
12330 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
12331 (_ZGVbN4v_logf_sse4): Likewise.
12332 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
12333 (_ZGVdN8v_logf_avx2): Likewise.
12334 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
12335 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
12336 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
12337 (_ZGVbN4vv_powf_sse4): Likewise.
12338 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
12339 (_ZGVdN8vv_powf_avx2): Likewise.
12340 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12341 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
12342 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12343 (_ZGVbN4vvv_sincosf_sse4): Likewise.
12344 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12345 (_ZGVdN8vvv_sincosf_avx2): Likewise.
12346 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
12347 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
12348 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
12349 (_ZGVbN4v_sinf_sse4): Likewise.
12350 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
12351 (_ZGVdN8v_sinf_avx2): Likewise.
12352 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
12353 Use JUMPTARGET to call callee.
12354 (WRAPPER_IMPL_SSE2_ff): Likewise.
12355 (WRAPPER_IMPL_SSE2_fFF): Likewise.
12356 (WRAPPER_IMPL_AVX): Likewise.
12357 (WRAPPER_IMPL_AVX_ff): Likewise.
12358 (WRAPPER_IMPL_AVX_fFF): Likewise.
12359 (WRAPPER_IMPL_AVX512): Likewise.
12360 (WRAPPER_IMPL_AVX512_ff): Likewise.
12361 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
12362 Likewise.
12363 (WRAPPER_IMPL_SSE2_ff): Likewise.
12364 (WRAPPER_IMPL_SSE2_fFF): Likewise.
12365 (WRAPPER_IMPL_AVX): Likewise.
12366 (WRAPPER_IMPL_AVX_ff): Likewise.
12367 (WRAPPER_IMPL_AVX_fFF): Likewise.
12368 (WRAPPER_IMPL_AVX512): Likewise.
12369 (WRAPPER_IMPL_AVX512_ff): Likewise.
12370 (WRAPPER_IMPL_AVX512_fFF): Likewise.
12371
12372 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12373
12374 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
12375 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
12376 qualifier.
12377 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
12378 internal_function qualifiers.
12379
12380 2016-03-15 Carlos O'Donell <carlos@redhat.com>
12381
12382 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
12383 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
12384 * math/atest-exp.c (exp_mpn): Mark chk unused.
12385 * math/atest-exp2.c (exp_mpn): Likewise.
12386 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
12387 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
12388
12389 2016-03-15 Joseph Myers <joseph@codesourcery.com>
12390
12391 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
12392 Remove macro.
12393 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
12394 <kernel-features.h>.
12395 [__NR_ppoll]: Make code unconditional.
12396 [!__ASSUME_PPOLL]: Remove conditional code.
12397
12398 * sysdeps/unix/sysv/linux/kernel-features.h
12399 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
12400 (__ASSUME_ACCEPT4): Likewise.
12401 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12402 Define.
12403 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
12404 Likewise.
12405 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12406 Likewise.
12407 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
12408 Likewise.
12409 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
12410 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
12411 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12412 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12413 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12414 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12415 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12416 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12417 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12418 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12419 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12420 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12421 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12422 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12423 * sysdeps/unix/sysv/linux/i386/kernel-features.h
12424 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12425 Likewise.
12426 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12427 Likewise.
12428 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12429 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12430 0x040300].
12431 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12432 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12433 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12434 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12435 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
12436 0x030300].
12437 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
12438 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12439 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12440 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12441 0x040300].
12442 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12443 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12444 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12445 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12446 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12447 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12448 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
12449 0x030300].
12450 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12451 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12452 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12453 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12454 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12455 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12456 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12457 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12458 * sysdeps/unix/sysv/linux/s390/kernel-features.h
12459 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12460 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12461 0x040300].
12462 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12463 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12464 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12465 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12466 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12467 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12468 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12469 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12470 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12471 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12472 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12473 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12474 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12475 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12476 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
12477 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12478 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12479 Likewise.
12480 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12481 Likewise.
12482
12483 2016-03-15 Andreas Schwab <schwab@suse.de>
12484
12485 [BZ #19257]
12486 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
12487 statp->_u._ext.nscount as loop count.
12488
12489 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
12490
12491 * math/test-signgam-finite-c99.c: Also #undef
12492 __LIBC_INTERNAL_MATH_INLINES.
12493 * math/test-signgam-main.c: Likewise.
12494
12495 2016-03-14 Joseph Myers <joseph@codesourcery.com>
12496
12497 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
12498 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12499 (MADV_FREE): Likewise.
12500 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
12501 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
12502 EPOLLEXCLUSIVE.
12503
12504 2016-03-14 Carlos O'Donell <carlos@redhat.com>
12505
12506 * timezone/README: Remove mention of checktab.awk. Mention wiki
12507 SharedSourceFiles.
12508
12509 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
12510
12511 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
12512 WUNTRACED.
12513
12514 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12515
12516 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
12517 order to match the type of p when calling atomic_exchange_acq().
12518
12519 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12520
12521 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
12522 cfi_offset calls.
12523 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
12524 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
12525 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
12526 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
12527 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
12528
12529 2016-03-10 Carlos O'Donell <carlos@redhat.com>
12530
12531 * timezone/checktab.awk: Removed.
12532
12533 2016-03-10 Joseph Myers <joseph@codesourcery.com>
12534
12535 * manual/math.texi (Errors in Math Functions): Document relaxed
12536 accuracy goals for IBM long double.
12537 * math/libm-test.inc (test_exceptions): Always allow spurious
12538 "underflow" and "inexact" exceptions for IBM long double.
12539
12540 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
12541
12542 [BZ #19762]
12543 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
12544 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
12545 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
12546 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
12547 (bit_arch_*): This for feature array.
12548 (bit_*): Renamed to ...
12549 (bit_cpu_*): This for cpu array.
12550 (index_*): Renamed to ...
12551 (index_arch_*): This for feature array.
12552 (index_*): Renamed to ...
12553 (index_cpu_*): This for cpu array.
12554 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
12555 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
12556 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
12557 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
12558 bit_##name with index_cpu_##name and bit_cpu_##name.
12559 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
12560 bit_##name with index_arch_##name and bit_arch_##name.
12561
12562 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
12563
12564 [BZ #19792]
12565 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
12566 Terminate FDE before return label.
12567
12568 2016-03-09 Joseph Myers <joseph@codesourcery.com>
12569
12570 [BZ #19790]
12571 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
12572 (rintl): Define as macro.
12573 [USE_AS_NEARBYINTL] (__rintl): Likewise.
12574 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
12575 of fesetround. Ensure results are evaluated before end of scope.
12576 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
12577 USE_AS_NEARBYINTL and include s_rintl.c.
12578 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
12579 Disable exception traps in new environment.
12580 (libc_feholdsetround_ppc_ctx): Likewise.
12581
12582 2016-03-08 Roland McGrath <roland@hack.frob.com>
12583
12584 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
12585 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
12586 (tst_audit10_aux) [__AVX512F__]: ... here.
12587
12588 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
12589
12590 * include/sys/auxv.h: New file.
12591
12592 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
12593
12594 [BZ #19759]
12595 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
12596
12597 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12598
12599 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
12600 operand modifier.
12601 (feclearexcept): Likewise.
12602
12603 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
12604
12605 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
12606 to reflect the entire 32-bit HWCAP.
12607 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
12608 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
12609
12610 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
12611
12612 [BZ #19783]
12613 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
12614 $(test-via-rtld-prefix).
12615 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
12616
12617 2016-03-08 Florian Weimer <fweimer@redhat.com>
12618
12619 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
12620 union wait. Report any non-zero exit status as error.
12621
12622 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12623
12624 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
12625 configured with --enable-hardcoded-path-in-tests.
12626
12627 2016-03-08 Joseph Myers <joseph@codesourcery.com>
12628
12629 [BZ #19677]
12630 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
12631 (__ieee754_remainderl): Put zero low parts in canonical form.
12632 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
12633 file. Based on
12634 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
12635 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
12636 with wrapper round test-fmodrem-ldbl-128ibm.c.
12637 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
12638 file.
12639 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
12640 Likewise.
12641 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
12642 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
12643
12644 2016-03-07 Florian Weimer <fweimer@redhat.com>
12645
12646 [BZ #19610]
12647 * elf/ldconfig.c (opt_link): Update comment.
12648 (options): Update help string for option -X.
12649 (search_dir): Unlink stale symbolic link only if updating symbolic
12650 links.
12651 * elf/tst-ldconfig-X.sh: New file.
12652 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
12653 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
12654
12655 2016-03-07 Andreas Schwab <schwab@suse.de>
12656
12657 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
12658 needed arguments.
12659
12660 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
12661
12662 [BZ #15333]
12663 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
12664 to lstat64.
12665
12666 2016-03-07 Florian Weimer <fweimer@redhat.com>
12667
12668 * libio/filedoalloc.c (isatty): Remove.
12669 (local_isatty): Add comment. Call __isatty directly.
12670 (_IO_file_doallocate): Update comment. Assume _LIBC.
12671 * libio/wfiledoalloc.c (isatty): Remove.
12672 (_IO_wfile_doallocate): Update comment.
12673
12674 2016-03-07 Florian Weimer <fweimer@redhat.com>
12675
12676 [BZ #19269]
12677 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
12678 tst-audit4-aux.o.
12679 (tst-audit10): Depend on tst-audit10-aux.o.
12680 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
12681 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
12682 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
12683 instead of inline AVX code.
12684 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
12685 instead of inline AVX512 code.
12686 * sysdeps/x86_64/tst-audit4-aux.c: New file
12687 * sysdeps/x86_64/tst-audit10-aux.c: New file
12688
12689 [BZ #19648]
12690 * test-skeleton.c (main): Do not set RLIMIT_DATA.
12691
12692 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12693
12694 [BZ #14750]
12695 [BZ #10354]
12696 [BZ #18433]
12697 * include/sched.h (__clone): Add hidden prototype.
12698 (__clone2): Likewise.
12699 * include/unistd.h (__dup): Likewise.
12700 * posix/Makefile (tests): Add tst-spawn2.
12701 * posix/tst-spawn2.c: New file.
12702 * sysdeps/posix/dup.c (__dup): Add hidden definition.
12703 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
12704 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
12705 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
12706 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
12707 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
12708 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
12709 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
12710 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
12711 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
12712 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
12713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
12714 Likewise.
12715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12716 Likewise.
12717 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
12718 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
12719 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
12720 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
12721 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
12722 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
12723 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
12724 * sysdeps/unix/sysv/linux/nptl-signals.h
12725 (____nptl_is_internal_signal): New function.
12726 * sysdeps/unix/sysv/linux/spawni.c: New file.
12727
12728 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
12729 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
12730 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
12731 * posix/tst-execvp2.c (do_test): Likewise.
12732 * posix/tst-execvp3.c (do_test): Likewise.
12733 * posix/tst-execvp4.c (do_test): Likewise.
12734 * posix/tst-execvpe1.c: New file.
12735 * posix/tst-execvpe2.c: Likewise.
12736 * posix/tst-execvpe3.c: Likewise.
12737 * posix/tst-execvpe4.c: Likewise.
12738 * posix/tst-execvpe5.c: Likewise.
12739 * posix/tst-execvpe6.c: Likewise.
12740
12741 [BZ #19534]
12742 * posix/execl.c (execl): Remove dynamic memory allocation.
12743 * posix/execle.c (execle): Likewise.
12744 * posix/execlp.c (execlp): Likewise.
12745
12746 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
12747
12748 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
12749 Replace .text with .text.avx512.
12750 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
12751 Likewise.
12752
12753 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
12754
12755 * sysdeps/generic/libnsl.abilist: New file.
12756 * sysdeps/generic/libutil.abilist: New file.
12757
12758 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
12759
12760 [BZ #19762]
12761 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
12762 HAS_ARCH_FEATURE with Fast_Rep_String.
12763 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
12764 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
12765 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
12766 Likewise.
12767 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
12768 Likewise.
12769 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
12770 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
12771 Likewise.
12772 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
12773 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
12774 Likewise.
12775
12776 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
12777
12778 [BZ #19745]
12779 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12780 with *%rax in call.
12781
12782 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
12783
12784 [BZ #19745]
12785 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
12786 with *__libc_start_main@GOTPCREL(%rip) in call.
12787
12788 2016-03-04 Roland McGrath <roland@hack.frob.com>
12789
12790 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
12791 inside conditional for nonempty $(CXX).
12792
12793 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
12794 nonempty.
12795
12796 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
12797 to test for empty $(CXX) rather than $(CXX) of "no".
12798
12799 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
12800
12801 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
12802
12803 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
12804 H.J. Lu <hongjiu.lu@intel.com>
12805
12806 [BZ #18880]
12807 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
12808 instead of Slow_BSF, and also check for Fast_Copy_Backward to
12809 enable __memcpy_ssse3_back.
12810
12811 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
12812
12813 [BZ #19758]
12814 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
12815 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
12816
12817 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
12818
12819 [BZ #19490]
12820 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
12821 (__fentry__): Likewise.
12822
12823 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
12824
12825 * gmon/Makefile (noprof): Add $(sysdep_noprof).
12826 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
12827
12828 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
12829
12830 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
12831 __mcount_internal directly.
12832 (C_LABEL(__fentry__)): Likewise.
12833 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
12834 directly.
12835
12836 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
12837
12838 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12839 (__start_context): Call __setcontext directly.
12840
12841 2016-02-26 Joseph Myers <joseph@codesourcery.com>
12842
12843 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12844 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12845 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
12846 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
12847 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12848 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12849 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
12850 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12851 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12852 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
12853 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
12854 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
12855 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12856 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12857 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12858 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12859 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
12860 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12861 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12862 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
12863 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
12864 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12865 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12866 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
12867 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
12868 Remove conditional code.
12869 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12870 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
12871 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12872 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12873 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
12874 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12875 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
12876 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12877 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12878 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12879 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12880 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12881
12882 2016-02-24 Marko Myllynen <myllynen@redhat.com>
12883
12884 * NEWS (2.23): Fix typo in bug 19048 text.
12885
12886 2016-02-24 Carlos O'Donell <carlos@redhat.com>
12887
12888 [BZ #14259]
12889 * Makeconfig: Rename msgcatdir to localedir.
12890 Rename inst_msgcatdir to inst_localedir.
12891 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
12892 * config.make.in: Add localedir.
12893 * elf/Makefile ($(objpfx)sotruss): Use localedir.
12894 (ldd-rewrite): Likewise.
12895 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
12896 (install-others): Use inst_localedir.
12897 (CPPFLAGS): Use localedir.
12898 * locale/Makefile (locale-CPPFLAGS): Likewise.
12899 * po/Makefile (mo-installed): Use inst_localedir.
12900
12901 [BZ #19575]
12902 * localedata/charmaps/GB18030: Update comments regarding PAU to
12903 non-PUA mappings.
12904
12905 2016-02-24 Joseph Myers <joseph@codesourcery.com>
12906
12907 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
12908 test for header.
12909 * sysdeps/unix/sysv/linux/configure: Regenerated.
12910 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
12911 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
12912 Remove conditional code.
12913 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
12914
12915 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12916 Define to 3.2.0.
12917 (arch_minimum_kernel): Likewise.
12918 * sysdeps/unix/sysv/linux/configure: Regenerated.
12919 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
12920 Define to 2.6.32.
12921 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
12922 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
12923 (arch_minimum_kernel): Define to 2.6.32.
12924 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
12925 * README: Document Linux 3.2 requirement.
12926 * manual/install.texi (Linux): Document Linux 3.2 headers
12927 requirement.
12928 * INSTALL: Regenerated.
12929
12930 2016-02-24 Andreas Schwab <schwab@suse.de>
12931
12932 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
12933 if !NO_LONG_DOUBLE.
12934
12935 2016-02-22 Roland McGrath <roland@hack.frob.com>
12936
12937 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
12938 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
12939
12940 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
12941
12942 [BZ #19512]
12943 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
12944
12945 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
12946
12947 * posix/tst-dir.c: Include libc-internal.h.
12948
12949 2016-02-20 Florian Weimer <fweimer@redhat.com>
12950
12951 [BZ #19056]
12952 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
12953 * manual/filesys.texi (Reading/Closing Directory): Mention
12954 deprecaion.
12955 * posix/tst-dir.c (main): Disable deprecation warning in test.
12956
12957 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
12958
12959 [BZ #19679]
12960 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
12961 Renamed to ...
12962 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
12963 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
12964 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
12965 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
12966 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
12967 * sysdeps/x86_64/dl-trampoline.h
12968 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
12969 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
12970
12971 2016-02-19 Mark Wielaard <mjw@redhat.com>
12972
12973 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
12974
12975 2016-02-19 Mark Wielaard <mjw@redhat.com>
12976
12977 * elf/elf.h (R_386_GOT32X): New.
12978 (R_386_NUM): Update.
12979 (R_X86_64_GOTPCRELX: New.
12980 (R_X86_64_REX_GOTPCRELX): New.
12981 (R_X86_64_NUM): Update.
12982
12983 2016-02-19 Mike Frysinger <vapier@gentoo.org>
12984
12985 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
12986
12987 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
12988
12989 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
12990 assign attr->stackaddr to it, and adjust it down when
12991 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
12992 [_STACK_GROWS_UP]: Delete assert.
12993 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
12994 Implement stack grows up logic.
12995 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
12996 stack grows up logic.
12997
12998 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12999
13000 * NEWS: Update with 2.24 template.
13001
13002 2016-02-19 Joseph Myers <joseph@codesourcery.com>
13003
13004 [BZ #19678]
13005 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13006 Ensure +0.0 is returned when taking the next value below the least
13007 positive value.
13008
13009 2016-02-19 Florian Weimer <fweimer@redhat.com>
13010
13011 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
13012 available. Do not define NO_THREADS.
13013 * malloc/malloc.c: Do not check NO_THREADS.
13014 * malloc/arena.c: Likewise.
13015
13016 2016-02-19 Florian Weimer <fweimer@redhat.com>
13017
13018 * malloc/malloc.c (__libc_mallinfo): Update comment.
13019 (struct malloc_par): Remove max_total_mem member, it was always 0.
13020 (int_mallinfo): Store 0 into usmblks (no functional change).
13021 * malloc/hooks.c (struct malloc_state): Document that
13022 max_total_mem is always 0.
13023 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
13024 always 0.
13025 * manual/memory.texi (Statistics of Malloc): Likewise.
13026
13027 2016-02-19 Florian Weimer <fweimer@redhat.com>
13028
13029 * malloc/malloc.c (sysmalloc): Do not update arena_max.
13030 * malloc/arena.c (arena_max): Remove.
13031 (heap_trim, _int_new_arena): Do not update arena_max.
13032
13033 2016-02-19 Florian Weimer <fweimer@redhat.com>
13034
13035 * resolv/res_init.c (res_ninit): Update comment.
13036
13037 2016-02-19 Florian Weimer <fweimer@redhat.com>
13038
13039 [BZ #19505]
13040 * posix/spawn_int.h: Add headers and include guard.
13041 (__spawn_valid_fd): New function.
13042 * posix/spawn_faction_addopen.c
13043 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
13044 * posix/spawn_faction_addclose.c
13045 (posix_spawn_file_actions_addclose): Likewise.
13046 * posix/spawn_faction_adddup2.c
13047 (posix_spawn_file_actions_adddup2): Likewise. Add check for
13048 second file descriptor.
13049 * posix/spawn_valid_fd.c: New file.
13050 * posix/tst-posix_spawn-fd.c: New file.
13051 * posix/Makefile (routines): Add spawn_valid_fd.
13052 (tests): Add tst-posix_spawn-fd.
13053
13054 2016-02-19 Florian Weimer <fweimer@redhat.com>
13055
13056 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
13057 (do_test): Limit the number of arenas, so that we can use fewer
13058 outer threads. Limit timeout to 3 seconds, in preparation for a
13059 larger TIMEOUT value.
13060
13061 2016-02-19 Joseph Myers <joseph@codesourcery.com>
13062
13063 [BZ #19674]
13064 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
13065 sign in overflowing and underflowing results when overflow or
13066 underflow is detected early. Include sign in result before rather
13067 than after scaling.
13068
13069 [BZ #19603]
13070 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13071 (__ieee754_remainderl): Adjust sign of integer version of low part
13072 when taking absolute value of high part.
13073 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13074 * math/libm-test.inc (remainder_test_data): Add another test.
13075 (remquo_test_data): Likewise.
13076
13077 2016-02-18 Joseph Myers <joseph@codesourcery.com>
13078
13079 [BZ #19602]
13080 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
13081 equal high parts and both low parts zero specially.
13082 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
13083 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
13084 Add test-fmodl-ldbl-128ibm.
13085
13086 [BZ #19595]
13087 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
13088 common logic for all cases of shifting subnormal results. Do not
13089 insert sign bit in shifted mantissa. Always pass -1023 as biased
13090 exponent to ldbl_insert_mantissa in subnormal case.
13091
13092 [BZ #19594]
13093 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
13094 on high and low parts then adjust result and use
13095 ldbl_canonicalize_int if needed.
13096
13097 [BZ #19593]
13098 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
13099 on high part and __floor or __ceil on low part then use
13100 ldbl_canonicalize_int if needed.
13101
13102 [BZ #19592]
13103 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
13104 high and low parts then use ldbl_canonicalize_int if needed.
13105
13106 [BZ #17899]
13107 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
13108 New function.
13109 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
13110 on high and low parts then use ldbl_canonicalize_int if needed.
13111
13112 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13113
13114 * configure: Regenerated.
13115
13116 * po/libc.pot: Regenerated.
13117
13118 * po/be.po: Updated translation.
13119 * po/bg.po: Likewise.
13120 * po/ca.po: Likewise.
13121 * po/cs.po: Likewise.
13122 * po/da.po: Likewise.
13123 * po/el.po: Likewise.
13124 * po/eo.po: Likewise.
13125 * po/es.po: Likewise.
13126 * po/fi.po: Likewise.
13127 * po/fr.po: Likewise.
13128 * po/gl.po: Likewise.
13129 * po/hr.po: Likewise.
13130 * po/hu.po: Likewise.
13131 * po/ia.po: Likewise.
13132 * po/id.po: Likewise.
13133 * po/it.po: Likewise.
13134 * po/ja.po: Likewise.
13135 * po/lt.po: Likewise.
13136 * po/nb.po: Likewise.
13137 * po/nl.po: Likewise.
13138 * po/pt_BR.po: Likewise.
13139 * po/rw.po: Likewise.
13140 * po/sk.po: Likewise.
13141 * po/sl.po: Likewise.
13142 * po/sv.po: Likewise.
13143 * po/tr.po: Likewise.
13144 * po/zh_CN.po: Likewise.
13145 * po/zh_TW.po: Likewise.
13146
13147 * version.h (RELEAES): Set to "development".
13148 (VERSION): Set to 2.23.90.
13149
13150 * version.h (RELEASE): Set to "stable".
13151 (VERSION): Set to 2.23.
13152 * include/feature.h (__GLIBC_MINOR__): Set to 23.
13153
13154 * NEWS: Updated fixed bugs.
13155
13156 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
13157 Wilco Dijkstra <wdijkstr@arm.com>
13158
13159 [BZ #19462]
13160 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
13161 (_STRING_INLINE_unaligned): This.
13162 * include/string.h: Include <string_private.h>.
13163 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
13164 _STRING_INLINE_unaligned.
13165 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
13166 (_STRING_INLINE_unaligned): New.
13167 * sysdeps/aarch64/string_private.h: New file.
13168 * sysdeps/generic/string_private.h: Likewise.
13169 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
13170 * sysdeps/s390/string_private.h: Likewise.
13171 * sysdeps/x86/string_private.h: Likewise.
13172 * sysdeps/m68k/m680x0/m68020/bits/string.h
13173 (_STRING_ARCH_unaligned): Renamed to ...
13174 (_STRING_INLINE_unaligned): This.
13175 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
13176 to ...
13177 (_STRING_INLINE_unaligned): This.
13178 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
13179 to ...
13180 (_STRING_INLINE_unaligned): This.
13181 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
13182 to ...
13183 (_STRING_INLINE_unaligned): This.
13184
13185 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
13186 H.J. Lu <hongjiu.lu@intel.com>
13187
13188 [BZ #19590]
13189 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
13190 relocation.
13191
13192 2016-02-15 Carlos O'Donell <carlos@redhat.com>
13193
13194 [BZ #18665]
13195 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
13196 *herrno_p.
13197 (gaih_getanswer): Document functional behviour. Return tryagain
13198 if any result is tryagain.
13199 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
13200 when freed.
13201 * resolv/res_send.c: Add copyright text.
13202 (__libc_res_nsend): Document that MAXPACKET is expected.
13203 (send_vc): Document. Remove buffer reuse.
13204 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
13205 size of the buffer. Add Dprint for truncated UDP buffer.
13206
13207 2016-02-14 Carlos O'Donell <carlos@redhat.com>
13208
13209 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
13210 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
13211 * INSTALL: Regenerate.
13212
13213 2016-02-14 Jakub Jelinek <jakub@redhat.com>
13214 Jonathan Wakely <jwakely@redhat.com>
13215 Carlos O'Donell <carlos@redhat.com>
13216
13217 [BZ 19439]
13218 * math/Makefile (tests): Add test-math-isinff.
13219 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
13220 * math/bits/mathcalls.h [__USE_MISC]: Use
13221 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
13222 functions not in C++11 and which don't conflict e.g. isinff,
13223 isinfl etc.
13224 * math/test-math-isinff.cc: New file.
13225
13226 2016-02-12 Florian Weimer <fweimer@redhat.com>
13227
13228 * misc/bug18240.c (do_test): Set RLIMIT_AS.
13229
13230 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
13231
13232 [BZ #19529]
13233 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
13234
13235 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13236
13237 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
13238
13239 2016-02-01 Joseph Myers <joseph@codesourcery.com>
13240
13241 [BZ #19550]
13242 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
13243 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
13244 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
13245 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
13246 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
13247 New syscall entry.
13248 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
13249 New syscall entry.
13250 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
13251 syscall entry.
13252
13253 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
13254
13255 [BZ #18240]
13256 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
13257 unsigned int wraparound.
13258
13259 2016-01-27 Florian Weimer <fweimer@redhat.com>
13260
13261 [BZ #18240]
13262 * misc/bug18240.c: New test.
13263 * misc/Makefile (tests): Add it.
13264
13265 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
13266 Joseph Myers <joseph@codesourcery.com>
13267
13268 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
13269 load in branch delay slot when less than a word of input left.
13270
13271 2016-01-27 Andreas Schwab <schwab@suse.de>
13272
13273 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
13274 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
13275 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
13276 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
13277
13278 2016-01-26 David S. Miller <davem@davemloft.net>
13279
13280 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
13281
13282 2016-01-25 David S. Miller <davem@davemloft.net>
13283
13284 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
13285 __sqrtl_finite.
13286 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
13287 instead using versioned_symbol.
13288 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
13289 of entries.
13290
13291 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
13292 __sqrtl_finite to GLIBC_2.23
13293
13294 2016-01-25 Ricchard Henderson <rth@redhat.com>
13295
13296 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13297
13298 2016-01-25 Andreas Schwab <schwab@suse.de>
13299
13300 [BZ #17514]
13301 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
13302 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
13303 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
13304 * nptl/tst-mutex-errorcheck.c: New file.
13305
13306 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13307
13308 [BZ #18560]
13309 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
13310 (IPCOP_semop): Likewise.
13311 (IPCOP_semget): Likewise.
13312 (IPCOP_semctl): Likewise.
13313 (IPCOP_msgsnd): Likewise.
13314 (IPCOP_msgrcv): Likewise.
13315 (IPCOP_msgget): Likewise.
13316 (IPCOP_msgctl): Likewise.
13317 (IPCOP_shmat): Likewise.
13318 (IPCOP_shmdt): Likewise.
13319 (IPCOP_shmget): Likewise.
13320 (IPCOP_shmctl): Likewise.
13321
13322 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
13323
13324 * string/tst-endian.c: Include <libc-internal.h>.
13325 (do_test): Ignore tautological-compare warnings around
13326 "htobeXX (beXXtoh (i)) != i" and
13327 "htoleXX (leXXtoh (i)) != i" if-statements.
13328
13329 2016-01-24 David S. Miller <davem@davemloft.net>
13330
13331 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
13332 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
13333 alias.
13334 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
13335 __sqrtl_finite.
13336
13337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13338
13339 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
13340
13341 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
13342 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
13343 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13344
13345 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13346
13347 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
13348 (thread_func): Use new function to simplify barrier check.
13349 (do_test): Use new function to simplify checking barrier exit
13350 code, and actually join the child thread.
13351
13352 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13353
13354 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
13355 semicolon.
13356 (__libc_tend): Likewise.
13357 (__libc_tabort): Likewise.
13358
13359 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
13360
13361 * sysdeps/nios2/libm-test-ulps: Update.
13362 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
13363 (__gtsf2): Likewise.
13364 (__unorddf2): Likewise.
13365 (__unordsf2): Likewise.
13366 (__ledf2): Likewise.
13367
13368 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
13369
13370 * nis/nis_table.c (__follow_path): Disable diagnostic for
13371 uninitialized variable that is a false positive for gcc 4.7.
13372 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
13373
13374 2016-01-20 Roland McGrath <roland@hack.frob.com>
13375
13376 * sysdeps/nacl/lowlevellock-futex.h
13377 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
13378 Always evaluate PRIVATE argument.
13379
13380 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
13381
13382 [BZ #19490]
13383 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
13384 (pthread_cond_broadcast): Use ENTRY/END
13385 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
13386 (pthread_cond_signal): Likewise.
13387 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
13388 Likewise.
13389 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
13390 Likewise.
13391 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
13392 Likewise.
13393
13394 2016-01-20 Joseph Myers <joseph@codesourcery.com>
13395
13396 * sysdeps/ieee754/dbl-64/s_finite.c
13397 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
13398 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
13399 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
13400 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
13401 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
13402
13403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13404 (__gtsf2): Add as optional for libc.so.
13405 (__unordsf2): Likewise.
13406 (__signbit): Remove for libc.so.
13407 (__signbitl): Likewise.
13408
13409 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13410
13411 * iconvdata/bug-iconv11.c (test_ibm93x):
13412 Use %zu printf format specifier for size_t argument.
13413
13414 2016-01-19 Joseph Myers <joseph@codesourcery.com>
13415
13416 * math/gen-libm-test.pl (parse_ulps): Do not reduce
13417 already-recorded ulps.
13418 * sysdeps/arm/libm-test-ulps: Regenerated.
13419 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13420 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13421 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13422
13423 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
13424 Paul Pluzhnikov <ppluzhnikov@google.com>
13425
13426 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
13427 assembler not supporting AVX-512.
13428
13429 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
13430
13431 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13432
13433 2016-01-18 Joseph Myers <joseph@codesourcery.com>
13434
13435 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13436 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13437
13438 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13439
13440 * sysdeps/arm/libm-test-ulps: Regenerated.
13441
13442 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13443
13444 [BZ #19451]
13445 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
13446
13447 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
13448
13449 [BZ #19486]
13450 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
13451 * sysdeps/generic/fix-fp-int-convert-overflow.h
13452 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
13453 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
13454 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
13455 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
13456 Likewise.
13457 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
13458 Avoid conversions to long int where inexact exceptions
13459 could be raised.
13460 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
13461 Likewise.
13462 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
13463 Avoid conversions to long long int where inexact exceptions
13464 could be raised.
13465 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
13466 Likewise.
13467
13468 2016-01-17 Mike Frysinger <vapier@gentoo.org>
13469
13470 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
13471 * configure: Regenerated.
13472
13473 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
13474
13475 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
13476
13477 2016-01-16 Mike Frysinger <vapier@gentoo.org>
13478
13479 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
13480 outside of comment.
13481
13482 2016-01-15 Torvald Riegel <triegel@redhat.com>
13483
13484 * nptl/tst-barrier1.c: Add description on first line.
13485 * nptl/tst-barrier2.c: Likewise.
13486 * nptl/tst-barrier3.c: Likewise.
13487 * nptl/tst-barrier4.c: Likewise.
13488 * nptl/tst-barrier5.c: Likewise.
13489
13490 2016-01-15 Torvald Riegel <triegel@redhat.com>
13491
13492 [BZ #18868]
13493 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
13494
13495 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
13496
13497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
13498 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
13499 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
13500 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
13501 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
13502 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
13503 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13504 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13505 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13506 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13507 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13508
13509 2016-01-15 Torvald Riegel <triegel@redhat.com>
13510
13511 [BZ #13065]
13512 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
13513 new implementation.
13514 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
13515 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
13516 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
13517 (BARRIER_IN_THRESHOLD): New macro.
13518 * nptl/pthread_barrierattr_setpshared.c
13519 (pthread_barrierattr_setpshared): Clean up.
13520 * nptl/tst-barrier4.c: Correct comment.
13521 * nptl/tst-barrier5.c: New file.
13522 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
13523 (gen-as-const-headers): Remove lowlevelbarrier.sym.
13524 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
13525 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
13526 * nptl/lowlevelbarrier.sym: Remove.
13527 * nptl/DESIGN-barrier.txt: Remove.
13528 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
13529 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
13530 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
13531 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
13532 error.
13533 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
13534 implementation.
13535
13536 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13537
13538 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
13539 (do_child): Mask SIGRTMIN while thr is running.
13540
13541 2016-01-15 Martin Sebor <msebor@redhat.com>
13542
13543 [BZ #19432]
13544 * iconvdata/Makefile: Add bug-iconv11.
13545 * iconvdata/bug-iconv11.c: New test.
13546 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
13547 * iconvdata/ibm933.c: Same.
13548 * iconvdata/ibm935.c: Same.
13549 * iconvdata/ibm937.c: Same.
13550 * iconvdata/ibm939.c: Same.
13551
13552 2016-01-15 Martin Sebor <msebor@redhat.com>
13553
13554 [BZ #19443]
13555 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
13556 [DEBUG] (_ufc_set_bits): Declare used.
13557 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
13558 [DEBUG] (print_all): Declare used.
13559 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
13560 operands of the ternary ?: expression to target type.
13561 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
13562 calling the undeclared abort.
13563 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
13564
13565 2016-01-15 Martin Sebor <msebor@redhat.com>
13566
13567 [BZ #18755]
13568 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
13569 warnings.
13570 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
13571 (__gai_create_helper_thread): Same.
13572 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
13573 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
13574 to suppress -Wmaybe-uninitialized warnings.
13575
13576 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
13577
13578 [BZ #19465]
13579 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
13580 inside if.
13581 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13582 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13583 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13584
13585 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
13586
13587 [BZ #19466]
13588 * time/tst-mktime2.c (time_t_max): Removed.
13589 (time_t_min): Likewise.
13590 (TYPE_SIGNED): New.
13591 (TYPE_MINIMUM): Likewise.
13592 (TYPE_MAXIMUM): Likewise.
13593 (TIME_T_MIN): Likewise.
13594 (TIME_T_MAX): Likewise.
13595 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
13596 and TIME_T_MIN.
13597 (do_test): Likewise.
13598
13599 2016-01-14 Amit Pawar <amit.pawar@amd.com>
13600
13601 [BZ #19467]
13602 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
13603 index_Fast_Unaligned_Load flag for Excavator family CPUs.
13604
13605 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
13606
13607 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
13608
13609 2016-01-13 Carlos O'Donell <carlos@redhat.com>
13610
13611 * benchtests/Makefile (PYTHON): Define.
13612 (bench-func): Use $(PYTHON) to run python scripts.
13613 ($(objpfx)bench-%.c): Likewise.
13614
13615 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
13616
13617 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
13618 leading slash when `file_name' is "/".
13619
13620 2016-01-12 Joseph Myers <joseph@codesourcery.com>
13621
13622 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
13623 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
13624 Likewise.
13625 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
13626 Likewise.
13627 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
13628 Likewise.
13629 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
13630 enum constant and macro.
13631 (PTRACE_SETSIGMASK): Likewise.
13632 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13633 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13634 (PTRACE_GETSIGMASK): Likewise.
13635 (PTRACE_SETSIGMASK): Likewise.
13636 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13637 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
13638 Likewise.
13639 (PTRACE_SETSIGMASK): Likewise.
13640 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13641 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13642 (PTRACE_GETSIGMASK): Likewise.
13643 (PTRACE_SETSIGMASK): Likewise.
13644 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13645 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
13646 Likewise.
13647 (PTRACE_SETSIGMASK): Likewise.
13648 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13649 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
13650 Likewise.
13651 (PTRACE_SETSIGMASK): Likewise.
13652 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13653 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
13654 Likewise.
13655 (PTRACE_SETSIGMASK): Likewise.
13656 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13657
13658 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
13659 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13660
13661 [BZ #19439]
13662 * math/bits/mathcalls.h
13663 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
13664 prototype.
13665 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
13666
13667 2016-01-11 Andreas Schwab <schwab@suse.de>
13668
13669 [BZ #19253]
13670 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
13671 cache when TZDEFRULES was used.
13672 * time/tst-tzname.c: New file.
13673 * time/Makefile (test): Add tst-tzname.
13674 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
13675 * timezone/Makefile (test-zones): Add $(posixrules-file).
13676 ($(testdata)/$(posixrules-file)): New rule.
13677
13678 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
13679
13680 Fix doc quoting problems with Texinfo 5
13681 Without this change, in the info file output, Texinfo 5 quotes code
13682 in text with undirected single quotes 'like this' and generates
13683 code examples that with many PDF readers cannot be cut out of PDFs
13684 and pasted into code.
13685 * manual/libc.texinfo: Configure the libc manual like the GNU
13686 Emacs manual, by using @documentencoding and setting
13687 txicodequoteundirected and txicodequotebacktick. This way,
13688 Texinfo 5 quotes code in text with directed single quotes ‘like
13689 this’ and produces examples that can be cut out of PDFs. This
13690 change causes Texinfo 5 to generate info files that contain UTF-8
13691 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
13692 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
13693
13694 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13695
13696 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
13697 __libc_tabort, __libc_tend): New wrappers that enforce compiler
13698 barriers to their respective compiler built-ins.
13699 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
13700 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
13701 * sysdeps/powerpc/sysdep.h: Likewise.
13702 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
13703 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
13704 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
13705
13706 2016-01-08 Marko Myllynen <myllynen@redhat.com>
13707
13708 * scripts/config.guess: Revert previous shebang change.
13709 * scripts/config.sub: Likewise.
13710 * scripts/mkinstalldirs: Likewise.
13711
13712 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13713
13714 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
13715 PPC_FEATURE2_HAS_IEEE128.
13716 * sysdeps/powerpc/dl-procinfo.c:
13717 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
13718
13719 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
13720
13721 [BZ #19415]
13722 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
13723 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
13724 (_dl_lookup_address): Rewrite using function resolver trampoline.
13725 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
13726 two bits in address.
13727
13728 2016-01-07 Mike Frysinger <vapier@gentoo.org>
13729
13730 * longlong.h: Change !__SHMEDIA__ to
13731 (!defined (__SHMEDIA__) || !__SHMEDIA__).
13732 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
13733
13734 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
13735 Joseph Myers <joseph@codesourcery.com>
13736 Mark Shinwell <shinwell@codesourcery.com>
13737 Andrew Stubbs <ams@codesourcery.com>
13738 Rich Felker <dalias@libc.org>
13739
13740 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
13741
13742 2016-01-07 Richard Henderson <rth@redhat.com>
13743
13744 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
13745
13746 2016-01-07 Mike Frysinger <vapier@gentoo.org>
13747
13748 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
13749 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
13750 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13751 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13752 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
13753
13754 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
13755 Joseph Myers <joseph@codesourcery.com>
13756
13757 * timezone/private.h: Update from tzcode 2015g.
13758 * timezone/tzfile.h: Likewise.
13759 * timezone/tzselect.ksh: Likewise.
13760 * timezone/zdump.c: Likewise.
13761 * timezone/zic.c: Likewise.
13762 * timezone/ialloc.c: Remove file.
13763 * timezone/scheck.c: Likewise.
13764 * timezone/Makefile (extra-objs): Remove variable.
13765 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
13766 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
13767 -Wno-maybe-uninitialized.
13768 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
13769 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
13770 (CFLAGS-ialloc.c): Remove variable.
13771 (CFLAGS-scheck.c): Likewise.
13772 * timezone/README: Update list of files from tzcode.
13773
13774 2016-01-07 Khem Raj <raj.khem@gmail.com>
13775
13776 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
13777 instead of __fxprintf when _LIBC is undefined.
13778
13779 2016-01-07 Marko Myllynen <myllynen@redhat.com>
13780
13781 * catgets/test-gencat.sh: Remove space after shebang.
13782 * conform/GlibcConform.pm: Likewise.
13783 * conform/check-header-lists.sh: Likewise.
13784 * conform/conformtest.pl: Likewise.
13785 * conform/linknamespace.pl: Likewise.
13786 * conform/list-header-symbols.pl: Likewise.
13787 * debug/catchsegv.sh: Likewise.
13788 * elf/genrtldtbl.awk: Likewise.
13789 * elf/tst-pathopt.sh: Likewise.
13790 * elf/tst-rtld-load-self.sh: Likewise.
13791 * grp/tst_fgetgrent.sh: Likewise.
13792 * iconvdata/gen-8bit-gap-1.sh: Likewise.
13793 * iconvdata/gen-8bit-gap.sh: Likewise.
13794 * iconvdata/gen-8bit.sh: Likewise.
13795 * iconvdata/run-iconv-test.sh: Likewise.
13796 * intl/tst-gettext.sh: Likewise.
13797 * intl/tst-gettext2.sh: Likewise.
13798 * intl/tst-gettext4.sh: Likewise.
13799 * intl/tst-gettext6.sh: Likewise.
13800 * intl/tst-translit.sh: Likewise.
13801 * io/ftwtest-sh: Likewise.
13802 * libio/test-freopen.sh: Likewise.
13803 * locale/gen-translit.pl: Likewise.
13804 * malloc/tst-mtrace.sh: Likewise.
13805 * manual/check-safety.sh: Likewise.
13806 * manual/libc-texinfo.sh: Likewise.
13807 * manual/tsort.awk: Likewise.
13808 * manual/xtract-typefun.awk: Likewise.
13809 * nptl/tst-cancel-wrappers.sh: Likewise.
13810 * nptl/tst-tls6.sh: Likewise.
13811 * posix/globtest.sh: Likewise.
13812 * posix/tst-getconf.sh: Likewise.
13813 * posix/wordexp-tst.sh: Likewise.
13814 * scripts/check-c++-types.sh: Likewise.
13815 * scripts/check-local-headers.sh: Likewise.
13816 * scripts/config.guess: Likewise.
13817 * scripts/config.sub: Likewise.
13818 * scripts/cpp: Likewise.
13819 * scripts/cross-test-ssh.sh: Likewise.
13820 * scripts/documented.sh: Likewise.
13821 * scripts/evaluate-test.sh: Likewise.
13822 * scripts/gen-libc-abis: Likewise.
13823 * scripts/gen-sorted.awk: Likewise.
13824 * scripts/list-fixed-bugs.py: Likewise.
13825 * scripts/merge-test-results.sh: Likewise.
13826 * scripts/mkinstalldirs: Likewise.
13827 * scripts/rellns-sh: Likewise.
13828 * scripts/test-installation.pl: Likewise.
13829 * scripts/update-copyrights: Likewise.
13830 * stdio-common/tst-printf.sh: Likewise.
13831 * stdio-common/tst-unbputc.sh: Likewise.
13832 * stdlib/tst-fmtmsg.sh: Likewise.
13833 * stdlib/tst-setcontext3.sh: Likewise.
13834 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
13835 * sysdeps/unix/make-syscalls.sh: Likewise.
13836
13837 2016-01-06 John David Anglin <dave.anglin@bell.net>
13838
13839 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
13840 asm stw with atomic_exchange_rel. Add explanatory comment.
13841 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
13842 Likewise.
13843
13844 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
13845
13846 [BZ #19122]
13847 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
13848 * sysdeps/generic/dl-unistd.h: New file.
13849 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
13850
13851 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
13852
13853 [BZ #19122]
13854 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
13855 * sysdeps/generic/dl-mman.h: New file.
13856 * sysdeps/mach/hurd/dl-mman.h: Likewise.
13857
13858 2016-01-05 Joseph Myers <joseph@codesourcery.com>
13859
13860 * manual/texinfo.tex: Update to version 2016-01-04.21 with
13861 trailing whitespace removed.
13862 * scripts/config.guess: Update to version 2016-01-01.
13863 * scripts/config.sub: Update to version 2016-01-01.
13864 * scripts/move-if-change: Update from gnulib.
13865
13866 2016-01-04 Anton Blanchard <anton@samba.org>
13867
13868 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
13869 for array indices.
13870 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
13871
13872 2016-01-04 Joseph Myers <joseph@codesourcery.com>
13873
13874 * NEWS: Update copyright dates.
13875 * catgets/gencat.c (print_version): Likewise.
13876 * csu/version.c (banner): Likewise.
13877 * debug/catchsegv.sh: Likewise.
13878 * debug/pcprofiledump.c (print_version): Likewise.
13879 * debug/xtrace.sh (do_version): Likewise.
13880 * elf/ldconfig.c (print_version): Likewise.
13881 * elf/ldd.bash.in: Likewise.
13882 * elf/pldd.c (print_version): Likewise.
13883 * elf/sotruss.sh: Likewise.
13884 * elf/sprof.c (print_version): Likewise.
13885 * iconv/iconv_prog.c (print_version): Likewise.
13886 * iconv/iconvconfig.c (print_version): Likewise.
13887 * locale/programs/locale.c (print_version): Likewise.
13888 * locale/programs/localedef.c (print_version): Likewise.
13889 * login/programs/pt_chown.c (print_version): Likewise.
13890 * malloc/memusage.sh (do_version): Likewise.
13891 * malloc/memusagestat.c (print_version): Likewise.
13892 * malloc/mtrace.pl: Likewise.
13893 * manual/libc.texinfo: Likewise.
13894 * nptl/version.c (banner): Likewise.
13895 * nscd/nscd.c (print_version): Likewise.
13896 * nss/getent.c (print_version): Likewise.
13897 * nss/makedb.c (print_version): Likewise.
13898 * posix/getconf.c (main): Likewise.
13899 * scripts/test-installation.pl: Likewise.
13900 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
13901
13902 * All files with FSF copyright notices: Update copyright dates
13903 using scripts/update-copyrights.
13904 * intl/plural.c: Regenerated.
13905 * locale/programs/charmap-kw.h: Likewise.
13906 * locale/programs/locfile-kw.h: Likewise.
13907
13908 2016-01-02 Helge Deller <deller@gmx.de>
13909
13910 [BZ #19285]
13911 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
13912 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
13913 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
13914 (MADV_xxK_PAGES): Remove.
13915
13916 2016-01-01 Mike Frysinger <vapier@gentoo.org>
13917
13918 [BZ #15421]
13919 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
13920 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
13921 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
13922 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
13923
13924 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
13925
13926 [BZ #19408]
13927 * sysdeps/unix/sysv/linux/personality.c: New file.
13928 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
13929 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
13930 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
13931 (sysdep_routines): Add personality.
13932 (tests): Add tst-personality.
13933 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
13934 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
13935 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
13936 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
13937 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
13938 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
13939 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
13940 Likewise.
13941 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
13942 Likewise.
13943 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
13944 Likewise.
13945 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
13946 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
13947 Likewise.
13948
13949 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
13950
13951 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
13952 (PATH_ARM_SYSTYPE): Remove.
13953 (PATH_CPUINFO): Likewise.
13954 (IO_BASE_FOOTBRIDGE): Likewise.
13955 (IO_SHIFT_FOOTBRIDGE): Likewise.
13956 (struct platform): Likewise.
13957 (init_iosys): Remove compatibility code for 2.4 kernels.
13958 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
13959
13960 2015-12-29 Florian Weimer <fweimer@redhat.com>
13961
13962 * malloc/tst-malloc-thread-fail.c: New file.
13963 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
13964 (tst-malloc-thread-fail): Link against libpthread.
13965
13966 2015-12-29 Mike Frysinger <vapier@gentoo.org>
13967
13968 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
13969 (get_parser): New function.
13970 (main): New function.
13971
13972 2015-12-29 Rob Wu <rob@robwu.nl>
13973
13974 [BZ #19369]
13975 * resolv/res_init.c (__res_vinit): Reset defdname before use.
13976
13977 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
13978
13979 [BZ #19270]
13980 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
13981
13982 2015-12-28 Mike Frysinger <vapier@gentoo.org>
13983
13984 [BZ #15421]
13985 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
13986
13987 2015-12-23 Torvald Riegel <triegel@redhat.com>
13988
13989 [BZ #13690]
13990 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
13991 after releasing it.
13992 (__lll_robust_unlock): Likewise.
13993 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13994 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
13995 (lll_robust_unlock): Likewise.
13996 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
13997 Prevent warnings in callers.
13998
13999 2015-12-23 Florian Weimer <fweimer@redhat.com>
14000
14001 * malloc/arena.c (list_lock): Update comment.
14002
14003 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14004
14005 * sysdeps/powerpc/hwcapinfo.c: Export symbol
14006 __parse_hwcap_and_convert_at_platform to libc.a.
14007
14008 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14009
14010 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
14011 platform and feature support for POWER9.
14012 * sysdeps/powerpc/dl-procinfo.h: Likewise.
14013 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
14014 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
14015 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
14016 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
14017 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14018 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14019 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14020
14021 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14022
14023 Harmonize generic stdio-lock support with nptl
14024
14025 This fixes build when _IO_funlockfile is a macro, fixes build where
14026 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
14027 stack unwind.
14028
14029 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
14030 _IO_release_lock ): Use cleanup attribute on new
14031 _IO_acquire_lock_file variable instead of assuming that
14032 _IO_release_lock will be called.
14033 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
14034 _IO_acquire_lock_needs_exceptions_enabled.
14035 (_IO_acquire_lock_clear_flags2): New macro.
14036
14037 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14038
14039 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14040
14041 2015-12-21 Florian Weimer <fweimer@redhat.com>
14042
14043 [BZ #19182]
14044 * malloc/arena.c (list_lock): Document lock ordering requirements.
14045 (free_list_lock): New lock.
14046 (ptmalloc_lock_all): Comment on free_list_lock.
14047 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
14048 (detach_arena): Update comment. free_list_lock is now needed.
14049 (_int_new_arena): Use free_list_lock around detach_arena call.
14050 Acquire arena lock after list_lock. Add comment, including FIXME
14051 about incorrect synchronization.
14052 (get_free_list): Switch to free_list_lock.
14053 (reused_arena): Acquire free_list_lock around detach_arena call
14054 and attached threads counter update. Add two FIXMEs about
14055 incorrect synchronization.
14056 (arena_thread_freeres): Switch to free_list_lock.
14057 * malloc/malloc.c (struct malloc_state): Update comments to
14058 mention free_list_lock.
14059
14060 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
14061
14062 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
14063 Remove functions.
14064 (sloww, sloww1): Accept argument to offset quadrant.
14065 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
14066 quadrant.
14067 (__sin, __cos): Consolidate common code into new functions.
14068 (reduce_sincos_1, do_sincos_1): New functions.
14069 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14070
14071 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
14072 code to new functions.
14073 (reduce_sincos_2, do_sincos_2): New functions.
14074 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14075
14076 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
14077 common code for sincos.
14078 (__cos) [!IN_SINCOS]: Likewise.
14079 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
14080 New function.
14081 (__sincos): Use it.
14082
14083 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
14084
14085 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
14086 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
14087 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14088
14089 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
14090
14091 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
14092 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
14093 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14094 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
14095 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14096 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
14097 index_Prefer_No_VZEROUPPER): New feature.
14098 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
14099 Prefer_No_VZEROUPPER for Knights Landing.
14100
14101 015-12-18 Torvald Riegel <triegel@redhat.com>
14102
14103 * math/atest-exp2.c (mp_exp_m1): Remove.
14104
14105 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14106
14107 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
14108 syscalls.
14109 (__SYSCALL0): New macro.
14110 (__SYSCALL1): Likewise.
14111 (__SYSCALL2): Likewise.
14112 (__SYSCALL3): Likewise.
14113 (__SYSCALL4): Likewise.
14114 (__SYSCALL5): Likewise.
14115 (__SYSCALL6): Likewise.
14116 (__SYSCALL_CONCAT_X): Likewise.
14117 (__SYSCALL_CONCAT): Likewise.
14118 (__SYSCALL_DIST): Likewise.
14119 (__SYSCALL_CALL): Likewise.
14120
14121 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
14122
14123 [BZ #19363]
14124 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
14125
14126 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14127
14128 [BZ #19375]
14129 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
14130 negative subnormals.
14131
14132 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
14133
14134 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14135 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
14136 (INTERNAL_SYSCALL_NCS): Use it.
14137 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14138
14139 2015-12-16 Florian Weimer <fweimer@redhat.com>
14140
14141 [BZ #19243]
14142 * malloc/arena.c (get_free_list): Remove assert and adjust
14143 reference count handling. Add comment about reused_arena
14144 interaction.
14145 (reused_arena): Add comments abount get_free_list interaction.
14146 * malloc/tst-malloc-thread-exit.c: New file.
14147 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
14148 (tst-malloc-thread-exit): Link against libpthread.
14149
14150 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
14151
14152 [BZ #19367]
14153 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
14154 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
14155 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
14156 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
14157 (index_Prefer_MAP_32BIT_EXEC): Likewise.
14158
14159 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
14160
14161 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
14162 Silvermont optimizations for Knights Landing.
14163
14164 2015-12-15 Andreas Schwab <schwab@suse.de>
14165
14166 [BZ #17197]
14167 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
14168 immediately after emitting SI.
14169 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
14170 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
14171 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
14172 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
14173 * iconvdata/bug-iconv10.c: New file.
14174 * iconvdata/Makefile (tests): Add bug-iconv10.
14175 ($(objpfx)bug-iconv10.out): New rule.
14176
14177 2015-12-15 Florian Weimer <fweimer@redhat.com>
14178
14179 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
14180 aliasing violation.
14181
14182 2015-12-14 Joseph Myers <joseph@codesourcery.com>
14183
14184 [BZ #18472]
14185 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
14186 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
14187 conditionals for them.
14188 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
14189 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
14190 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
14191 sys/kdaemon.h.
14192 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
14193 compat-only syscall, obsoleted in glibc 2.23.
14194 (create_module): Likewise.
14195 (get_kernel_syms): Likewise.
14196 (query_module): Likewise.
14197 (uselib): Likewise.
14198 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
14199
14200 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
14201
14202 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
14203 <linux/version.h>.
14204 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
14205 conditional code.
14206 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
14207 and ioshift_name initialization.
14208
14209 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
14210
14211 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14212 Fix indentation.
14213
14214 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
14215
14216 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
14217
14218 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
14219
14220 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
14221
14222 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
14223 Jakub Wilk <jwilk@debian.org>
14224
14225 [BZ #19347]
14226 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
14227 to change the group of the device to the tty group.
14228
14229 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
14230
14231 Split large string section; add truncation advice
14232 * manual/examples/strncat.c: Remove.
14233 This example was misleading, as the code would have undefined
14234 behavior if "hello" was longer than SIZE. Anyway, the manual
14235 shouldn't encourage strncpy+strncat for this sort of thing.
14236 * manual/string.texi (Copying Strings and Arrays): Split into
14237 three sections Copying Strings and Arrays, Concatenating Strings,
14238 and Truncating Strings, as this section was way too long. All
14239 cross-referenced changed. Add advice about string-truncation
14240 functions. Remove misleading strncat example.
14241
14242 2015-12-10 Carlos O'Donell <carlos@redhat.com>
14243
14244 * manual/nss.texi (NSS Modules Interface): Document
14245 NSS_STATUS_NOTFOUND and SUCCESS.
14246
14247 2015-12-09 Mike FABIAN <mfabian@redhat.com>
14248
14249 [BZ 18568]
14250 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
14251 201505L, for Unicode 8.
14252
14253 2015-12-09 Carlos O'Donell <carlos@redhat.com>
14254
14255 * locale/C-translit.h: Regenerate.
14256
14257 2015-12-09 Mike FABIAN <mfabian@redhat.com>
14258
14259 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
14260 and U+0153.
14261
14262 2015-12-09 Joseph Myers <joseph@codesourcery.com>
14263
14264 [BZ #19351]
14265 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
14266 expanding log(1+z), compare z rather than its square with epsilon
14267 to determine when to avoid evaluating the expansion.
14268
14269 [BZ #19350]
14270 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14271 Increase overflow threshold.
14272
14273 [BZ #19349]
14274 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
14275 when small.
14276
14277 * sysdeps/unix/sysv/linux/i386/kernel-features.h
14278 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14279 New macro.
14280 [__LINUX_KERNEL_VERSION >= 0x040300]
14281 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14282 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14283 Likewise.
14284 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14285 Likewise.
14286 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14287 Likewise.
14288 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14289 Likewise.
14290 [__LINUX_KERNEL_VERSION >= 0x040300]
14291 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14292 [__LINUX_KERNEL_VERSION >= 0x040300]
14293 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14294 [__LINUX_KERNEL_VERSION >= 0x040300]
14295 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14296 [__LINUX_KERNEL_VERSION >= 0x040300]
14297 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14298 [__LINUX_KERNEL_VERSION >= 0x040300]
14299 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14300 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14301 Likewise.
14302 [__LINUX_KERNEL_VERSION >= 0x040300]
14303 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14304 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14305 Likewise.
14306 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14307 Likewise.
14308 [__LINUX_KERNEL_VERSION >= 0x040300]
14309 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14310 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14311 Likewise.
14312 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14313 Likewise.
14314 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14315 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
14316 Likewise.
14317 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
14318 Likewise.
14319 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14320 Likewise.
14321 [__LINUX_KERNEL_VERSION >= 0x040300]
14322 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14323 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14324 Likewise.
14325 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14326 Likewise.
14327 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14328 Likewise.
14329 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14330 Likewise.
14331 [__LINUX_KERNEL_VERSION >= 0x040300]
14332 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14333 [__LINUX_KERNEL_VERSION >= 0x040300]
14334 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14335 [__LINUX_KERNEL_VERSION >= 0x040300]
14336 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14337 [__LINUX_KERNEL_VERSION >= 0x040300]
14338 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14339 [__LINUX_KERNEL_VERSION >= 0x040300]
14340 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14341 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14342 Likewise.
14343 [__LINUX_KERNEL_VERSION >= 0x040300]
14344 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14345 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14346 Likewise.
14347 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14348 Likewise.
14349 [__LINUX_KERNEL_VERSION >= 0x040300]
14350 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14351 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14352 Likewise.
14353 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14354 Likewise.
14355 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14356 (__ASSUME_SOCKET_SYSCALL): Likewise.
14357 (__ASSUME_BIND_SYSCALL): Likewise.
14358 (__ASSUME_CONNECT_SYSCALL): Likewise.
14359 (__ASSUME_LISTEN_SYSCALL): Likewise.
14360 (__ASSUME_ACCEPT_SYSCALL): Likewise.
14361 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14362 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14363 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14364 (__ASSUME_SEND_SYSCALL): Likewise.
14365 (__ASSUME_SENDTO_SYSCALL): Likewise.
14366 (__ASSUME_RECV_SYSCALL): Likewise.
14367 (__ASSUME_RECVFROM_SYSCALL): Likewise.
14368 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
14369 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14370 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14371 (__ASSUME_SENDMSG_SYSCALL): Likewise.
14372 (__ASSUME_RECVMSG_SYSCALL): Likewise.
14373 * sysdeps/unix/sysv/linux/sh/kernel-features.h
14374 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
14375 Likewise.
14376 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
14377 Likewise.
14378 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
14379 Likewise.
14380 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
14381 Likewise.
14382 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
14383 Likewise.
14384 [__LINUX_KERNEL_VERSION >= 0x020625]
14385 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14386 [__LINUX_KERNEL_VERSION >= 0x020625]
14387 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14388 [__LINUX_KERNEL_VERSION >= 0x020625]
14389 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14390 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
14391 Likewise.
14392 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
14393 Likewise.
14394 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
14395 Likewise.
14396 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
14397 Likewise.
14398 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
14399 Likewise.
14400 [__LINUX_KERNEL_VERSION >= 0x020625]
14401 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14402 [__LINUX_KERNEL_VERSION >= 0x020625]
14403 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14404 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
14405 Likewise.
14406 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
14407 Likewise.
14408
14409 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
14410
14411 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
14412 record the current if the current ABI and CPU support the FP64
14413 extension.
14414 (has-modd-spreg): Define to record the current if the current ABI and
14415 CPU support 32-bit floating point values in odd FPU registers.
14416 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14417 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
14418 $(has-modd-spreg) equals yes.
14419 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
14420 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
14421 $(has-modd-spreg) equal yes.
14422
14423 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
14424
14425 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
14426 basename.
14427
14428 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
14429
14430 * benchtests/Makefile (bench-math): Move ffs and ffsll...
14431 (bench-string): ... here.
14432 (bench): Add bench-string.
14433 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
14434 to *-benchset to reflect what they are.
14435 (benchset): Adjust.
14436
14437 * benchtests/sincos-inputs: Add inputs from sin-inputs and
14438 cos-inputs.
14439
14440 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
14441
14442 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
14443 __attribute__ ((__simd__)) for vector math function declarations.
14444
14445 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
14446
14447 Fix typo in strncat, wcsncat manual entries
14448 * manual/string.texi (Copying and Concatenation): Fix typos in
14449 sample implementations of strncat and wcsncat, by having them use
14450 the old value of the destination length, not the new one.
14451
14452 2015-12-04 Joseph Myers <joseph@codesourcery.com>
14453
14454 [BZ #16961]
14455 [BZ #16962]
14456 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
14457 string on the stack for strtod.
14458 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
14459 a string on the stack for strtof.
14460 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
14461 constructing a string on the stack for strtold.
14462 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
14463 __strtold_nan to GLIBC_PRIVATE.
14464 * math/test-nan-overflow.c: New file.
14465 * math/test-nan-payload.c: Likewise.
14466 * math/Makefile (tests): Add test-nan-overflow and
14467 test-nan-payload.
14468
14469 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
14470
14471 Consistency about byte vs character in string.texi
14472 * manual/string.texi (String and Array Utilities):
14473 Distinguish more carefully among bytes, multibyte characters,
14474 and wide characters. Use "byte" when talking about C 'char',
14475 to distinguish it more clearly from multibyte characters.
14476 Say "wide character" or "multibyte character" instead of
14477 "character", when a wide or multibyte character is intended.
14478 Similarly for "multibyte string" versus "string".
14479 Define these terms more carefully.
14480
14481 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
14482
14483 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
14484 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
14485 Likewise.
14486 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14487 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14488 * sysdeps/sh/math_private.h: New file.
14489 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
14490 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
14491 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
14492 long double function name.
14493 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14494 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14495 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14496 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14497 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
14499 Remove __finitel, __isinfl, and __isnanl.
14500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14501 Likewise.
14502 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14504 Remove __finitel.
14505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14506 Likewise.
14507 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14508
14509 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
14510
14511 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
14512 installed libmvec_nonshared.a.
14513
14514 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14515
14516 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
14517 (sysdep_routines): Likewise.
14518 (sysdep-rtld-routines): Likewise.
14519 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
14520 [$(subdir) = nptl](tests-static): test-get_hwcap-static
14521 * sysdeps/powerpc/Versions: Added new
14522 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
14523 * sysdeps/powerpc/hwcapinfo.c: New file.
14524 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
14525 and parse hwcap, hwcap2 and platform number information.
14526 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
14527 to store HWCAP+HWCAP2 and platform number.
14528 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
14529 for HWCAP+HWCAP2 and platform number in the TCB.
14530 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
14531 the HWCAP, HWCAP2 and platform number in the TCB.
14532 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
14533 (TLS_INIT_TP): Included calls to add the hwcap and
14534 at_platform values in the TCB in TP initialization.
14535 (TLS_DEFINE_INIT_TP): Likewise.
14536 (THREAD_GET_HWCAP): New macro.
14537 (THREAD_SET_HWCAP): Likewise.
14538 (THREAD_GET_AT_PLATFORM): Likewise.
14539 (THREAD_SET_AT_PLATFORM): Likewise.
14540 * sysdeps/powerpc/powerpc32/dl-machine.h:
14541 (dl_platform_init): New function that calls
14542 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
14543 powerpc32.
14544 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
14545 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
14546 this functionality, static linking case.
14547 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
14548 linking case.
14549 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
14550 __parse_hwcap_and_convert_at_platform for the static linking case.
14551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
14552 Included the new __parse_hwcap_and_convert_at_platform symbol in the
14553 ABI list for GLIBC 2.23.
14554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
14555 Likewise.
14556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
14557 Likewise.
14558
14559 2015-12-02 Ludovic Courtès <ludo@gnu.org>
14560
14561 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
14562 * configure: Regenerate.
14563 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
14564 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
14565
14566 2015-12-02 Carlos O'Donell <carlos@redhat.com>
14567
14568 * iconvdata/ibm930.c: Add comment explaining encoding uses.
14569 * iconvdata/ibm933.c: Likewise.
14570 * iconvdata/ibm935.c: Likewise.
14571 * iconvdata/ibm937.c: Likewise.
14572 * iconvdata/ibm939.c: Likewise.
14573
14574 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14575
14576 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
14577 pthread_join.
14578 * nptl/tst-cancel21.c (tf): Likewise.
14579
14580 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
14581
14582 [BZ #19313]
14583 * bits/typesizes.h (__CPU_MASK_TYPE): New.
14584 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
14585 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
14586 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
14587 Likewise.
14588 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
14589 Likewise.
14590 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
14591 Likewise.
14592 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
14593 Likewise.
14594 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
14595 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
14596 unsigned long int with __CPU_MASK_TYPE.
14597
14598 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
14599
14600 * sysdeps/aarch64/libm-test-ulps: Regenerated.
14601
14602 2015-12-01 Joseph Myers <joseph@codesourcery.com>
14603
14604 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
14605 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
14606 t512.x.
14607 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
14608
14609 2015-11-30 Amit Pawar <amit.pawar@amd.com>
14610
14611 [BZ #19214]
14612 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
14613 argument to return extended model. Update family and model
14614 with extended family and model when family == 0x0f.
14615 (init_cpu_features): Updated.
14616
14617 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14618
14619 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
14620 signed off_t, so 32bit bigger than 2GiB values are fine actually.
14621
14622 * sysdeps/mach/hurd/mmap64.c: New file.
14623
14624 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
14625
14626 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
14627 rights for its main user thread in NEWTASK.
14628
14629 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
14630
14631 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
14632 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
14633
14634 2015-11-27 Carlos O'Donell <carlos@redhat.com>
14635
14636 [BZ #14259]
14637 * Makeconfig: Rename localedir to complocaledir.
14638 Rename inst_localedir to inst_complocaledir.
14639 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
14640 * config.make.in: Use complocaledir and libc_cv_complocaledir.
14641 * configure.ac: Use libc_cv_complocaledir.
14642 * configure: Regenerate.
14643 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
14644 -DCOMPLOCALEDIR.
14645 * locale/findlocale.c: Use COMPLOCALEDIR.
14646 * locale/loadarchive.c: Likewise.
14647 * locale/programs/locale.c: Likewise.
14648 * locale/programs/localedef.c: Likewise.
14649 * locale/programs/locarchive.c: Likewise.
14650 * localedata/Makefile: Use inst_complocaledir.
14651 * sysdeps/gnu/configure: Regenerate.
14652 * sysdeps/hppa/configure: Regenerate.
14653 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
14654 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14656 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
14657 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
14658 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
14659 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
14660
14661 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
14662
14663 [BZ #19058]
14664 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
14665 AS_NEEDED.
14666 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
14667 workaround.
14668 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
14669 libmvec-static-only-routines): Added new file.
14670 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
14671
14672 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14673
14674 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
14675 of interrupted RPC instead of restoring it.
14676
14677 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
14678 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
14679 libc_hidden_def.
14680 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
14681 into initialized data instead of common. Define rtld_hidden_data_def.
14682 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
14683 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
14684 libc_hidden_def.
14685 (if_freenameindex): Add libc_hidden_weak.
14686 (if_nameindex): Add libc_hidden_weak.
14687 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
14688 __open64.
14689 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
14690 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
14691 * sysdeps/mach/nanosleep.c: Include <time.h>
14692 (__nanosleep): Rename to __libc_nanosleep.
14693 (__nanosleep): Add weak_alias.
14694 (nanosleep): Update alias.
14695
14696 2015-11-24 Joseph Myers <joseph@codesourcery.com>
14697
14698 * stdlib/strtod_nan.c: New file.
14699 * stdlib/strtod_nan_double.h: Likewise.
14700 * stdlib/strtod_nan_float.h: Likewise.
14701 * stdlib/strtod_nan_main.c: Likewise.
14702 * stdlib/strtod_nan_narrow.h: Likewise.
14703 * stdlib/strtod_nan_wide.h: Likewise.
14704 * stdlib/strtof_nan.c: Likewise.
14705 * stdlib/strtold_nan.c: Likewise.
14706 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
14707 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
14708 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
14709 * wcsmbs/wcstod_nan.c: Likewise.
14710 * wcsmbs/wcstof_nan.c: Likewise.
14711 * wcsmbs/wcstold_nan.c: Likewise.
14712 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
14713 strtold_nan.
14714 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
14715 wcstof_nan.
14716 * include/stdlib.h (__strtof_nan): Declare and use
14717 libc_hidden_proto.
14718 (__strtod_nan): Likewise.
14719 (__strtold_nan): Likewise.
14720 (__wcstof_nan): Likewise.
14721 (__wcstod_nan): Likewise.
14722 (__wcstold_nan): Likewise.
14723 * include/wchar.h (____wcstoull_l_internal): Declare.
14724 * stdlib/strtod_l.c: Do not include <ieee754.h>.
14725 (____strtoull_l_internal): Remove declaration.
14726 (STRTOF_NAN): Define macro.
14727 (SET_MANTISSA): Remove macro.
14728 (STRTOULL): Likewise.
14729 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
14730 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
14731 (STRTOF_NAN): Define macro.
14732 (SET_MANTISSA): Remove macro.
14733 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
14734 (SET_MANTISSA): Remove macro.
14735 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
14736 macro.
14737 (SET_MANTISSA): Remove macro.
14738 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
14739 macro.
14740 (SET_MANTISSA): Remove macro.
14741 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
14742 (SET_MANTISSA): Remove macro.
14743 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
14744 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
14745 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
14746
14747 [BZ #19266]
14748 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
14749 upper case and lower case letters inside NAN(), not using TOLOWER.
14750 * stdlib/tst-strtod-nan-locale-main.c: New file.
14751 * stdlib/tst-strtod-nan-locale.c: Likewise.
14752 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
14753 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
14754 Depend on $(gen-locales).
14755 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
14756 * wcsmbs/tst-wcstod-nan-locale.c: New file.
14757 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
14758 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
14759 Depend on $(gen-locales).
14760 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
14761
14762 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
14763
14764 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
14765
14766 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14767 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
14768 __finitel, __isinfl, and __isnanl.
14769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14770 Likewise.
14771 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14772 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
14773 __finitel.
14774 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14775 Likewise.
14776 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14777
14778 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
14779
14780 * malloc/memusage.c (me): Remove redundant getenv call.
14781
14782 2015-10-24 Florian Weimer <fweimer@redhat.com>
14783
14784 [BZ #19143]
14785 [BZ #19164]
14786 * nptl/check-cpuset.h: Remove.
14787 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
14788 Remove CPU set size check.
14789 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
14790 Likewise.
14791 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
14792 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
14793 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
14794 (__pthread_setaffinity_new): Remove CPU set size check.
14795 * sysdeps/unix/sysv/linux/sched_setaffinity.c
14796 (__kernel_cpumask_size): Remove.
14797 (__sched_setaffinity_new): Remove CPU set size check.
14798 * manual/threads.texi (Default Thread Attributes): Remove stale
14799 reference to check_cpuset_attr, determine_cpumask_size in comment.
14800 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
14801 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
14802 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
14803 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
14804 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
14805 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
14806 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
14807 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
14808 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
14809 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
14810 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
14811 skeleton test file.
14812 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
14813 tst-affinity-pid.
14814
14815 2015-11-24 Florian Weimer <fweimer@redhat.com>
14816
14817 * scripts/update-abilist.sh: New file.
14818 * Makefile (+subdir_targets): Add subdir_update-all-abi.
14819 * Makerules (update-all-abi-%, update-all-abi)
14820 (subdir_update-all-abi): New targets.
14821 * elf/Makefile (update-all-abi): New target.
14822
14823 2015-11-24 Florian Weimer <fweimer@redhat.com>
14824
14825 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
14826 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
14827 (__libc_lock_define_initialized): Use it.
14828 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
14829 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
14830 * malloc/malloc.c (main_arena): Likewise.
14831 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
14832 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
14833
14834 2015-11-23 Joseph Myers <joseph@codesourcery.com>
14835
14836 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14837 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
14838 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14839 (PTRACE_O_MASK): Update value.
14840 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
14841 New value in enum __ptrace_setoptions.
14842 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14843 (PTRACE_O_MASK): Update value.
14844 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14845 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14846 (PTRACE_O_MASK): Update value.
14847 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14848 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14849 (PTRACE_O_MASK): Update value.
14850 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14851 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14852 (PTRACE_O_MASK): Update value.
14853 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
14854 New value in enum __ptrace_setoptions.
14855 (PTRACE_O_MASK): Update value.
14856 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
14857 New value in enum __ptrace_setoptions.
14858 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14859 (PTRACE_O_MASK): Update value.
14860
14861 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
14862 New macro.
14863 (PACKET_AUXDATA): Likewise.
14864 (PACKET_ORIGDEV): Likewise.
14865 (PACKET_VERSION): Likewise.
14866 (PACKET_HDRLEN): Likewise.
14867 (PACKET_RESERVE): Likewise.
14868 (PACKET_TX_RING): Likewise.
14869 (PACKET_LOSS): Likewise.
14870 (PACKET_VNET_HDR): Likewise.
14871 (PACKET_TX_TIMESTAMP): Likewise.
14872 (PACKET_TIMESTAMP): Likewise.
14873 (PACKET_FANOUT): Likewise.
14874 (PACKET_TX_HAS_OFF): Likewise.
14875 (PACKET_QDISC_BYPASS): Likewise.
14876 (PACKET_ROLLOVER_STATS): Likewise.
14877 (PACKET_FANOUT_DATA): Likewise.
14878 (PACKET_MR_UNICAST): Likewise.
14879
14880 [BZ #19242]
14881 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
14882 (TOUPPER): Likewise.
14883 * stdlib/tst-strtol-locale-main.c: New file.
14884 * stdlib/tst-strtol-locale.c: Likewise.
14885 * stdlib/Makefile (tests): Add tst-strtol-locale.
14886 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
14887 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
14888 Depend on $(gen-locales).
14889 * wcsmbs/tst-wcstol-locale.c: New file.
14890 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
14891 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
14892 tr_TR.ISO-8859-9.
14893 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
14894 Depend on $(gen-locales).
14895
14896 2015-11-20 Roland McGrath <roland@hack.frob.com>
14897
14898 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
14899 __glibc_likely instead of __builtin_expect. After falling back to
14900 dyncode_create in a non-ET_DYN case, use the allocate_code_data
14901 system interface to register the code pages as occupied.
14902
14903 2015-11-20 Joseph Myers <joseph@codesourcery.com>
14904
14905 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14906 [!ARM_MATH_PRIVATE_H].
14907 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
14908 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14909 [!HPPA_MATH_PRIVATE_H].
14910 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
14911 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
14912 to [!I386_MATH_PRIVATE_H].
14913 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
14914 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
14915 Change guard to [!M68K_MATH_PRIVATE_H].
14916 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
14917 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
14918 guard to [!MICROBLAZE_MATH_PRIVATE_H].
14919 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
14920 macro.
14921 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14922 [!MIPS_MATH_PRIVATE_H].
14923 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
14924 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14925 [!NIO2_MATH_PRIVATE_H].
14926 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
14927 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14928 [!TILE_MATH_PRIVATE_H].
14929 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
14930
14931 [BZ #15421]
14932 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
14933 initialize with 0 and define as weak alias of __signgam.
14934 * include/math.h [!_ISOMAC] (__signgam): Declare.
14935 * math/Makefile (libm-calls): Add w_lgamma_compat.
14936 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
14937 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
14938 test-signgam-ullong-init.
14939 (tests-static): Add test-signgam-uchar-static,
14940 test-signgam-uchar-init-static, test-signgam-uint-static,
14941 test-signgam-uint-init-static, test-signgam-ullong-static and
14942 test-signgam-ullong-init-static.
14943 (CFLAGS-test-signgam-uchar.c): New variable.
14944 (CFLAGS-test-signgam-uchar-init.c): Likewise.
14945 (CFLAGS-test-signgam-uchar-static.c): Likewise.
14946 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
14947 (CFLAGS-test-signgam-uint.c): Likewise.
14948 (CFLAGS-test-signgam-uint-init.c): Likewise.
14949 (CFLAGS-test-signgam-uint-static.c): Likewise.
14950 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
14951 (CFLAGS-test-signgam-ullong.c): Likewise.
14952 (CFLAGS-test-signgam-ullong-init.c): Likewise.
14953 (CFLAGS-test-signgam-ullong-static.c): Likewise.
14954 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
14955 * math/Versions (libm): Add GLIBC_2.23.
14956 * math/lgamma-compat.h: New file.
14957 * math/test-signgam-main.c: Likewise.
14958 * math/test-signgam-uchar-init-static.c: Likewise.
14959 * math/test-signgam-uchar-init.c: Likewise.
14960 * math/test-signgam-uchar-static.c: Likewise.
14961 * math/test-signgam-uchar.c: Likewise.
14962 * math/test-signgam-uint-init-static.c: Likewise.
14963 * math/test-signgam-uint-init.c: Likewise.
14964 * math/test-signgam-uint-static.c: Likewise.
14965 * math/test-signgam-uint.c: Likewise.
14966 * math/test-signgam-ullong-init-static.c: Likewise.
14967 * math/test-signgam-ullong-init.c: Likewise.
14968 * math/test-signgam-ullong-static.c: Likewise.
14969 * math/test-signgam-ullong.c: Likewise.
14970 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
14971 wrapper of w_lgamma_main.c.
14972 * math/w_lgamma_compat.c: New file.
14973 * math/w_lgamma_compatf.c: Likewise.
14974 * math/w_lgamma_compatl.c: Likewise.
14975 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
14976 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
14977 defining compatibility symbols.
14978 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
14979 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
14980 wrapper of w_lgammaf_main.c.
14981 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
14982 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
14983 defining compatibility symbols.
14984 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
14985 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
14986 wrapper of w_lgammal_main.c.
14987 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
14988 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
14989 defining compatibility symbols.
14990 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
14991 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
14992 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
14993 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
14994 <lgamma-compat.h>.
14995 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
14996 (__ieee754_gamma): Define as alias.
14997 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
14998 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
14999 <lgamma-compat.h>.
15000 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
15001 (__ieee754_gammaf): Define as alias.
15002 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
15003 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
15004 <lgamma-compat.h>.
15005 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
15006 (__ieee754_gammal): Define as alias.
15007 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
15008 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
15009 <math/w_lgamma_compat.c>.
15010 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
15011 Define as alias of __lgamma_compat and use in defining lgammal.
15012 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
15013 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
15014 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
15015 (USE_AS_COMPAT): New macro.
15016 (LGAMMA_OLD_VER): Undefine and redefine.
15017 (lgammal): Do not define here.
15018 (gammal): Only define here if [GAMMA_ALIAS].
15019 * conform/linknamespace.pl (@whitelist): Remove signgam.
15020 * sysdeps/nacl/libm.abilist: Update.
15021 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15022 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15023 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15024 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15025 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15026 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15027 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15028 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15029 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15030 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15031 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15032 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15034 Likewise.
15035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15036 Likewise.
15037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15038 Likewise.
15039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15040 Likewise.
15041 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15042 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15043 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15044 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15045 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15046 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15047 Likewise.
15048 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15049 Likewise.
15050 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15051 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15052 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15053
15054 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15055
15056 [BZ #16364]
15057 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
15058 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
15059
15060 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15061
15062 * sysdeps/s390/fpu/bits/mathinline.h:
15063 Use __asm__ [__volatile__] instead of asm [volatile].
15064 * sysdeps/s390/abort-instr.h: Likewise.
15065 * sysdeps/s390/atomic-machine.h: Likewise.
15066 * sysdeps/s390/bits/string.h: Likewise.
15067 * sysdeps/s390/dl-tls.h: Likewise.
15068 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15069 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15070 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15071 * sysdeps/s390/fpu/fesetround.c: Likewise.
15072 * sysdeps/s390/fpu/fpu_control.h: Likewise.
15073 * sysdeps/s390/fpu/s_fma.c: Likewise.
15074 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
15075 * sysdeps/s390/memusage.h: Likewise.
15076 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
15077 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
15078 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
15079 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
15080 * sysdeps/s390/nptl/tls.h: Likewise.
15081 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
15082 * sysdeps/s390/s390-32/backtrace.c: Likewise.
15083 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15084 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15085 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15086 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15087 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
15088 * sysdeps/s390/s390-64/backtrace.c: Likewise.
15089 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15090 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
15091 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15092 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15093 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15094 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
15095 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15096 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15097 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
15098 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15099 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
15100 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15101 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
15102 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15103 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
15104
15105 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15106 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15107
15108 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15109 Add lwarx hint, and use macro for acquire instruction.
15110 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15111 Likewise.
15112 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
15113 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
15114 update to use new atomic macros.
15115
15116 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15117
15118 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15119 (__lll_trylock_elision): Fix setting of adapt_count.
15120 * sysdeps/unix/sysv/linux/powerpc/htm.h
15121 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
15122 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
15123 (_ABORT_SYSCALL): Renumber, and clarify definition.
15124 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
15125
15126 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15127
15128 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
15129 after system headers to prevent MIN/MAX redefinition. Define
15130 HAVE_ALLOCA to preserve builtin alloca usage.
15131
15132 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
15133
15134 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
15135 static and don't set or restore rounding.
15136 (__cos)[IN_SINCOS]: Likewise.
15137 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
15138 (__sincos): Set and restore rounding mode. Remove check for infinite
15139 or NaN input.
15140
15141 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
15142
15143 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
15144 as used.
15145
15146 2015-11-16 Florian Weimer <fweimer@redhat.com>
15147
15148 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
15149
15150 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
15151
15152 * config.make.in (have-glob-dat-reloc): New.
15153 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
15154 target supports GLOB_DAT relocaton. AC_SUBST.
15155 * configure: Regenerated.
15156 * elf/Makefile (tests): Add tst-prelink.
15157 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15158 (tst-prelink-ENV): New.
15159 ($(objpfx)tst-prelink-conflict.out): Likewise.
15160 ($(objpfx)tst-prelink-cmp.out): Likewise.
15161 * sysdeps/x86/tst-prelink.c: Moved to ...
15162 * elf/tst-prelink.c: Here.
15163 * sysdeps/x86/tst-prelink.exp: Moved to ...
15164 * elf/tst-prelink.exp: Here.
15165 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
15166 (tst-prelink-ENV): Removed.
15167 ($(objpfx)tst-prelink-conflict.out): Likewise.
15168 ($(objpfx)tst-prelink-cmp.out): Likewise.
15169 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
15170
15171 2015-11-13 Joseph Myers <joseph@codesourcery.com>
15172
15173 [BZ #14551]
15174 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
15175 (__mpn_construct_long_double): If high part overflows to infinity,
15176 set errno and recompute overflowed result of the correct sign.
15177 * sysdeps/ieee754/ldbl-128ibm/Makefile
15178 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
15179 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
15180 $(libm).
15181 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
15182
15183 2015-11-12 Joseph Myers <joseph@codesourcery.com>
15184
15185 [BZ #15479]
15186 [BZ #19238]
15187 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
15188 floating-point state after first operation on input. Restore full
15189 state rather than just rounding mode.
15190 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
15191 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
15192 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
15193
15194 [BZ #19235]
15195 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
15196 add 0.5 to integer arguments.
15197 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
15198 Likewise.
15199 (.LC2): New object.
15200
15201 2015-11-11 Mike Frysinger <vapier@gentoo.org>
15202
15203 * scripts/pylintrc (reports): Set to no.
15204
15205 2015-11-10 Roland McGrath <roland@hack.frob.com>
15206
15207 * elf/dl-load.c (open_verify): Take new argument FD.
15208 Skip __open call if passed FD is not -1.
15209 (_dl_map_object, open_path): Update callers.
15210 * elf/dl-sysdep-open.h: New file.
15211 * elf/dl-load.c: Include it.
15212 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
15213 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
15214 * sysdeps/nacl/dl-sysdep-open.h: New file.
15215 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
15216 from libc to rtld.
15217
15218 2015-11-10 Joseph Myers <joseph@codesourcery.com>
15219
15220 [BZ #19228]
15221 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
15222 and restore full floating-point state.
15223 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15224 Likewise.
15225 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
15226 Likewise.
15227 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
15228 Likewise.
15229 * math/test-nearbyint-except-2.c: New file.
15230 * math/Makefile (tests): Add test-nearbyint-except-2.
15231
15232 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
15233
15234 [BZ #19178]
15235 * sysdeps/x86/Makefile (tests): Add tst-prelink.
15236 (tst-prelink-ENV): New.
15237 ($(objpfx)tst-prelink-conflict.out): Likewise.
15238 ($(objpfx)tst-prelink-cmp.out): Likewise.
15239 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15240 * sysdeps/x86/tst-prelink.c: New file.
15241 * sysdeps/x86/tst-prelink.exp: Likewise.
15242
15243 2015-11-10 Joseph Myers <joseph@codesourcery.com>
15244
15245 * math/auto-libm-test-in: Add another test of pow.
15246 * math/auto-libm-test-out: Regenerated.
15247 * math/libm-test.inc (pow_test_data): Add another test.
15248
15249 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15250
15251 [BZ #19219]
15252 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
15253 weak_alias to nearbyintl.
15254
15255 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
15256
15257 * sysdeps/aarch64/bits/string.h: New file.
15258 (_STRING_ARCH_unaligned): Define.
15259
15260 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
15261
15262 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
15263 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
15264 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
15265 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
15266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
15267
15268 2015-11-09 Ulrich Drepper <drepper@gmail.com>
15269
15270 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
15271 for original name of the DSO. Add it to the name list of the DSO
15272 if it is actually given.
15273 (_dl_map_object): Keep track of whether an audit module rewrote
15274 the file name. If yes, pass the original name to
15275 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
15276 debugging is enabled, log the change of the file name.
15277 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
15278 _dl_map_object_from_fd.
15279 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
15280 * elf/tst-audit11.c: New file
15281 * elf/tst-auditmod11.c: New file.
15282 * elf/tst-audit11mod1.c: New file.
15283 * elf/tst-audit11mod2.c: New file.
15284 * elf/tst-audit11mod2.map: New file.
15285 * elf/tst-audit12.c: New file
15286 * elf/tst-auditmod12.c: New file.
15287 * elf/tst-audit12mod1.c: New file.
15288 * elf/tst-audit12mod2.c: New file.
15289 * elf/tst-audit12mod2.map: New file.
15290 * elf/tst-audit12mod3.c: New file.
15291
15292 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
15293
15294 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
15295 Don't create weak aliases,
15296 because versioned symbols are created later.
15297 * sysdeps/s390/s390-32/setjmp.S
15298 (setjmp, _setjmp): Remove weak and rename to an unique name
15299 in SHARED case due to existing versioned symbols.
15300 * sysdeps/s390/s390-64/setjmp.S: Likewise.
15301 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
15302 (getcontext): Create weak alias only in non SHARED case.
15303 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15304
15305 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
15306
15307 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
15308 (__ASSUME_*_SYSCALL) Define new macros.
15309 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
15310 Remove socketcall syscalls.
15311 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
15312 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
15313 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
15314 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
15315 * sysdeps/unix/sysv/linux/send.c (__libc_send):
15316 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
15317
15318 2015-11-09 Florian Weimer <fweimer@redhat.com>
15319
15320 [BZ #12926]
15321 Terminate process on invalid netlink response.
15322 * sysdeps/unix/sysv/linux/netlinkaccess.h
15323 (__netlink_assert_response): Declare.
15324 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
15325 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
15326 (sysdep_routines): Add netlink_assert_response.
15327 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
15328 __netlink_assert_response.
15329 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
15330 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
15331 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
15332 __netlink_assert_response.
15333
15334 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
15335
15336 [BZ #19178]
15337 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
15338 (RTYPE_CLASS_PLT): Likewise.
15339 (RTYPE_CLASS_COPY): Likewise.
15340 (RTYPE_CLASS_TLS): Likewise.
15341 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
15342 to set relocation type class for DL_DEBUG_PRELINK. Keep only
15343 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
15344 DL_DEBUG_PRELINK.
15345
15346 2015-11-06 Joseph Myers <joseph@codesourcery.com>
15347
15348 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
15349 calls with argument -0.5.
15350 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
15351
15352 * configure.ac (libc_cv_z_nodelete): Remove configure test.
15353 (libc_cv_z_nodlopen): Likewise.
15354 (libc_cv_z_initfirst): Likewise.
15355 * configure: Regenerated.
15356
15357 2015-11-06 Florian Weimer <fweimer@redhat.com>
15358
15359 Simplify abilist format to be line-based.
15360 * scripts/abilist.awk: Collect descriptors in the descs variable.
15361 (emit): Write descs variable and sort it
15362 externally, with sort.
15363 * sysdeps/**/*.abilist: Convert to new format.
15364
15365 2015-11-06 Mark Wielaard <mjw@redhat.com>
15366
15367 [BZ #11460]
15368 * io/Makefile (routines): Add fts64.
15369 (tests): Add tst-fts and tst-fts-lfs.
15370 (CFLAGS-fts64.c): New.
15371 * io/Versions (GLIBC_2.23): New.
15372 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
15373 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
15374 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
15375 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
15376 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
15377 (FTSENT64): Likewise.
15378 (fts64_children): Likewise.
15379 (fts64_close): Likewise.
15380 (fts64_open): Likewise.
15381 (fts64_read): Likewise.
15382 (fts64_set): Likewise.
15383 * io/fts64.c: New file.
15384 * io/tst-fts.c: New test.
15385 * io/tst-fts-lfs.c: Likewise.
15386 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
15387 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
15388 fts64_set.
15389 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15390 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15391 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15392 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15393 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15394 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15395 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15396 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15397 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15398 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15399 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15400 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15401 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15403 Likewise.
15404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15405 Likewise.
15406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15408 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15409 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15410 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15411 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15412 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15413 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15415 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15416 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15417 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15418 * sysdeps/wordsize-64/fts.c: New file.
15419 * sysdeps/wordsize-64/fts64.c: Likewise.
15420 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
15421 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
15422 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
15423 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
15424
15425 2015-11-05 Joseph Myers <joseph@codesourcery.com>
15426
15427 * math/libm-test.inc (NON_FINITE): New macro.
15428 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
15429 * math/gen-libm-test.pl (show_exceptions): Add argument
15430 $non_finite.
15431 (parse_args): Update call to show_exceptions.
15432 * math/test-math-finite.h: New file.
15433 * math/test-math-no-finite.h: Likewise.
15434 * math/test-double-finite.c: Likewise.
15435 * math/test-float-finite.c: Likewise.
15436 * math/test-ldouble-finite.c: Likewise.
15437 * math/test-double.c: Include "test-math-no-finite.h".
15438 * math/test-float.c: Include "test-math-no-finite.h".
15439 * math/test-ldouble.c: Include "test-math-no-finite.h".
15440 * math/test-math-inline.h (TEST_FINITE): New macro.
15441 * math/test-math-vector.h (TEST_FINITE): Likewise.
15442 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
15443 (libm-tests): Add test-float-finite and test-double-finite.
15444 ($(objpfx)test-float-finite.o): New dependency on
15445 $(objpfx)libm-test.stmp.
15446 ($(objpfx)test-double-finite.o): Likewise.
15447 ($(objpfx)test-ldouble-finite.o): Likewise.
15448 (libm-test-no-inline-cflags): New variable.
15449 (libm-test-finite-cflags): Likewise.
15450 (CFLAGS-test-float-finite.c): Likewise.
15451 (CFLAGS-test-double-finite.c): Likewise.
15452 (CFLAGS-test-ldouble-finite.c): Likewise.
15453 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
15454 (CFLAGS-test-double.c): Likewise.
15455 (CFLAGS-test-ldouble.c): Likewise.
15456
15457 2015-11-05 Roland McGrath <roland@hack.frob.com>
15458
15459 * io/fcntl.c (__fcntl): Add ... to prototype.
15460 * misc/ioctl.c (__ioctl): Likewise.
15461 * misc/syscall.c (syscall): Likewise.
15462
15463 2015-11-05 Joseph Myers <joseph@codesourcery.com>
15464
15465 * scripts/list-fixed-bugs.py: New file.
15466
15467 [BZ #19213]
15468 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
15469 returned for argument 1.
15470 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
15471 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
15472 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
15473 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
15474 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
15475 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
15476
15477 [BZ #19211]
15478 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
15479 __USE_XOPEN], not if [!__USE_ISOC99].
15480 (lgammaf): Likewise.
15481 (lgammal): Likewise.
15482 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
15483 (gammaf): Likewise.
15484 (gammal): Likewise.
15485 * math/test-signgam-finite-c11.c: New file.
15486 * math/test-signgam-finite-c99.c: Likewise.
15487 * math/test-signgam-finite.c: Likewise.
15488 * math/Makefile (tests): Add test-signgam-finite,
15489 test-signgam-finite-c99 and test-signgam-finite-c11.
15490 (CFLAGS-test-signgam-finite.c): New variable.
15491 (CFLAGS-test-signgam-finite-c99.c): Likewise.
15492 (CFLAGS-test-signgam-finite-c11.c): Likewise.
15493
15494 [BZ #19212]
15495 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
15496 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
15497 500].
15498 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
15499 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
15500 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
15501 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
15502 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
15503 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
15504 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
15505 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
15506 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
15507 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
15508
15509 [BZ #19209]
15510 * math/bits/math-finite.h (ldexp): Remove declaration.
15511 (ldexpf): Likewise.
15512 (ldexpl): Likewise.
15513
15514 [BZ #19205]
15515 * math/bits/math-finite.h (acosf): Condition declaration on
15516 [__USE_ISOC99].
15517 (acosl): Likewise.
15518 (acoshf): Likewise.
15519 (acoshl): Likewise.
15520 (asinf): Likewise.
15521 (asinl): Likewise.
15522 (atan2f): Likewise.
15523 (atan2l): Likewise.
15524 (atanhf): Likewise.
15525 (atanhl): Likewise.
15526 (coshf): Likewise.
15527 (coshl): Likewise.
15528 (expf): Likewise.
15529 (expl): Likewise.
15530 (fmodf): Likewise.
15531 (fmodl): Likewise.
15532 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
15533 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
15534 (j0l): Likewise.
15535 (y0f): Likewise.
15536 (y0l): Likewise.
15537 (j1f): Likewise.
15538 (j1l): Likewise.
15539 (y1f): Likewise.
15540 (y1l): Likewise.
15541 (jnf): Likewise.
15542 (jnl): Likewise.
15543 (ynf): Likewise.
15544 (ynl): Likewise.
15545 (lgammaf_r): Condition declaration on [__USE_ISOC99].
15546 (lgammal_r): Likewise.
15547 (__lgamma_r_finite): New declaration.
15548 (__lgammaf_r_finite): Likewise.
15549 (__lgammal_r_finite): Likewise.
15550 (lgamma): Use __lgamma_r_finite.
15551 (lgammaf): Condition definition on [__USE_ISOC99]. Use
15552 __lgammaf_r_finite.
15553 (lgammal): Condition definition on [__USE_ISOC99]. Use
15554 __lgammal_r_finite.
15555 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
15556 __lgamma_r_finite.
15557 (gammaf): Condition definition on [__USE_ISOC99]. Use
15558 __lgammaf_r_finite.
15559 (gammal): Condition definition on [__USE_ISOC99]. Use
15560 __lgammal_r_finite.
15561 (logf): Condition declaration on [__USE_ISOC99].
15562 (logl): Likewise.
15563 (log10f): Likewise.
15564 (log10l): Likewise.
15565 (ldexpf): Likewise.
15566 (ldexpl): Likewise.
15567 (powf): Likewise.
15568 (powl): Likewise.
15569 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
15570 __USE_ISOC99].
15571 (remainderf): Condition declaration on [__USE_ISOC99].
15572 (remainderl): Likewise.
15573 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
15574 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
15575 (scalbl): Likewise.
15576 (sinhf): Condition declaration on [__USE_ISOC99].
15577 (sinhl): Likewise.
15578 (sqrtf): Likewise.
15579 (sqrtl): Likewise.
15580
15581 2015-11-04 Joseph Myers <joseph@codesourcery.com>
15582
15583 * sysdeps/arm/atomic-machine.h
15584 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
15585 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
15586 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
15587 Remove conditional code.
15588 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
15589 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
15590 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
15591 Change conditional to [__ASSEMBLER__].
15592 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
15593 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
15594 [!__ASSEMBLER__].
15595 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
15596 code.
15597 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
15598 conditional macro definitions.
15599 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
15600 (__arch_compare_and_exchange_val_16_acq): Likewise.
15601 (__arch_compare_and_exchange_val_32_acq): Likewise.
15602 (atomic_exchange_and_add): Likewise.
15603 (atomic_add): Likewise.
15604 (atomic_add_negative): Likewise.
15605 (atomic_add_zero): Likewise.
15606 (atomic_bit_set): Likewise.
15607 (atomic_bit_test_set): Likewise.
15608 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
15609 code unconditional.
15610 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15611
15612 * math/test-math-errno.h: New file.
15613 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
15614 empty.
15615 (TEST_ERRNO): New macro.
15616 (TEST_EXCEPTIONS): Likewise.
15617 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
15618 (TEST_EXCEPTIONS): Likewise.
15619 * math/test-math-vector.h (TEST_ERRNO): Likewise.
15620 * math/test-double.c: Include "test-math-errno.h".
15621 * math/test-float.c: Likewise.
15622 * math/test-ldouble.c: Likewise.
15623 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
15624 code unconditional.
15625 (test_exceptions): Only run code if TEST_EXCEPTIONS.
15626 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
15627 unconditional.
15628 (test_errno): Only run code if TEST_ERRNO.
15629 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
15630
15631 2015-11-04 Florian Weimer <fweimer@redhat.com>
15632
15633 * nptl/tst-once5.cc: Remove attribution.
15634
15635 2015-11-04 Joseph Myers <joseph@codesourcery.com>
15636
15637 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
15638 sqrt, tan, tanh, y0, y1 and yn.
15639 * math/auto-libm-test-out: Regenerated.
15640 * math/libm-test.inc (scalb_test_data): Add more tests.
15641 (scalbn_test_data): Likewise.
15642 (scalbln_test_data): Likewise.
15643 (signbit_test_data): Likewise.
15644 (sin_test_data): Likewise.
15645 (sincos_test_data): Likewise.
15646 (sinh_test_data): Likewise.
15647 (sqrt_test_data): Likewise.
15648 (tan_test_data): Likewise.
15649 (tanh_test_data): Likewise.
15650 (tgamma_test_data): Likewise.
15651 (y0_test_data): Likewise.
15652 (y1_test_data): Likewise.
15653 (yn_test_data): Likewise.
15654 (significand_test_data): Likewise.
15655 * sysdeps/i386/fpu/libm-test-ulps: Update.
15656
15657 2015-11-03 David Kastrup <dak@gnu.org>
15658
15659 [BZ #18604]
15660 * assert/assert.h (assert): Don't macro-expand failed assertion
15661 expression in error message.
15662 * malloc/malloc.c (assert): Likewise.
15663
15664 2015-11-03 Joseph Myers <joseph@codesourcery.com>
15665
15666 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
15667 test.
15668 * configure: Regenerated.
15669
15670 2015-11-02 Joseph Myers <joseph@codesourcery.com>
15671
15672 * math/libm-test.inc (modf_test_data): Add more tests.
15673 (nearbyint_test_data): Likewise.
15674 (nextafter_test_data): Likewise.
15675 (nexttoward_test_data): Likewise.
15676 (pow_test_data): Likewise.
15677 (remainder_test_data): Likewise.
15678 (remquo_test_data): Likewise.
15679 (rint_test_data): Likewise.
15680
15681 [BZ #19201]
15682 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15683 Check for zero remainder in case of large exponents and ensure
15684 correct sign of result in that case.
15685 * math/libm-test.inc (remainder_test_data): Add more tests.
15686
15687 [BZ #6799]
15688 * math/s_nextafter.c: Include <errno.h>.
15689 (__nextafter): Set errno on overflow and underflow.
15690 * math/s_nexttowardf.c: Include <errno.h>.
15691 (__nexttowardf): Set errno on overflow and underflow.
15692 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
15693 (__nextafterl): Set errno on overflow and underflow.
15694 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
15695 (__nexttoward): Set errno on overflow and underflow.
15696 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
15697 (__nexttowardf): Set errno on overflow and underflow.
15698 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
15699 (__nextafterf): Set errno on overflow and underflow.
15700 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
15701 (__nextafterl): Set errno on overflow and underflow.
15702 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
15703 (__nexttoward): Set errno on overflow and underflow.
15704 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
15705 (__nexttowardf): Set errno on overflow and underflow.
15706 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
15707 (__nextafterl): Set errno on overflow and underflow.
15708 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
15709 (__nexttoward): Set errno on overflow and underflow.
15710 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
15711 (__nexttowardf): Set errno on overflow and underflow.
15712 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
15713 (__nexttoward): Set errno on overflow and underflow.
15714 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
15715 (__nexttowardf): Set errno on overflow and underflow.
15716 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
15717 (__nldbl_nexttowardf): Set errno on overflow and underflow.
15718 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
15719 (__nextafterl): Set errno on overflow and underflow.
15720 * math/libm-test.inc (nextafter_test_data): Do not allow errno
15721 setting to be missing on overflow. Add more tests.
15722 (nexttoward_test_data): Likewise.
15723
15724 * configure.ac (libc_cv_initfini_array): Remove configure test.
15725 * configure: Regenerated.
15726
15727 2015-10-29 Joseph Myers <joseph@codesourcery.com>
15728
15729 [BZ #19189]
15730 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
15731 non-finite argument handle arguments with negative sign.
15732
15733 * math/libm-test.inc (j0_test_data): Do not test sign of zero
15734 result from infinite argument.
15735 (j1_test_data): Likewise.
15736 (jn_test_data): Likewise.
15737 (y0_test_data): Likewise.
15738 (y1_test_data): Likewise.
15739 (yn_test_data): Likewise.
15740
15741 [BZ #16171]
15742 * math/w_remainder.c (drem): Define as weak alias of __remainder.
15743 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
15744 * math/w_remainderf.c (dremf): Define as weak alias of
15745 __remainderf.
15746 * math/w_remainderl.c (dreml): Define as weak alias of
15747 __remainderl.
15748 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
15749 __remainder.
15750 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
15751 __remainderf.
15752 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
15753 __remainderl.
15754 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
15755 weak alias of remainderl.
15756 * sysdeps/ieee754/ldbl-opt/w_remainder.c
15757 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
15758 alias of __remainder.
15759 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
15760 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
15761 strong alias of __remainderl.
15762 (dreml): Use long_double_symbol.
15763 * math/Makefile (libm-calls): Remove w_drem.
15764 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
15765 (CFLAGS-nldbl-drem.c): Remove variable.
15766 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
15767 * math/w_drem.c: Remove file.
15768 * math/w_dremf.c: Likewise.
15769 * math/w_dreml.c: Likewise.
15770 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
15771 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
15772 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
15773
15774 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
15775 * sysdeps/i386/configure: Regenerated.
15776 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
15777 * sysdeps/x86_64/configure: Regenerated.
15778
15779 * configure.ac (libc_cv_asm_protected_directive): Remove configure
15780 test.
15781 (libc_cv_visibility_attribute): Likewise.
15782 (libc_cv_protected_data): Test unconditionally.
15783 (libc_cv_broken_visibility_attribute): Remove configure test.
15784 (libc_cv_have_sdata_section): Test unconditionally.
15785 * configure: Regenerated.
15786
15787 * include/libc-internal.h (libc_max_align_t): Remove typedef.
15788 * include/scratch_buffer.h: Include <stddef.h> instead of
15789 <libc-internal.h>.
15790 (struct scratch_buffer): Use max_align_t instead of
15791 libc_max_align_t.
15792
15793 2015-10-29 Florian Weimer <fweimer@redhat.com>
15794
15795 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
15796 instead of extend_alloca. Change control flow to avoid a goto.
15797 Remove assert which is trivially always true.
15798
15799 2015-10-28 Joseph Myers <joseph@codesourcery.com>
15800
15801 [BZ #16068]
15802 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
15803 (FE_ALL_EXCEPT_X86): New macro.
15804 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
15805 FE_ALL_EXCEPT. Ensure precision control is included in
15806 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
15807 handle "denormal operand exception" and clear FZ and DAZ bits.
15808 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
15809 (FE_ALL_EXCEPT_X86): New macro.
15810 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
15811 FE_ALL_EXCEPT. Ensure precision control is included in
15812 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
15813 handle "denormal operand exception" and clear FZ and DAZ bits.
15814 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
15815 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
15816 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15817 test-fenv-x87 and test-fenv-sse-2.
15818 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
15819
15820 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
15821 * math/test-double.h (BUILD_COMPLEX): New macro.
15822 * math/test-float.h (BUILD_COMPLEX): Likewise.
15823 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
15824
15825 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
15826 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
15827 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
15828 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
15829 instead of DBL_DENORM_MIN in comment.
15830 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
15831 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
15832 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
15833 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
15834 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
15835 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
15836
15837 2015-10-28 Florian Weimer <fweimer@redhat.com>
15838
15839 [BZ# 19048]
15840 * malloc/malloc.c (struct malloc_state): Update comment. Add
15841 attached_threads member.
15842 (main_arena): Initialize attached_threads.
15843 * malloc/arena.c (list_lock): Update comment.
15844 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
15845 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
15846 (deattach_arena): New function.
15847 (_int_new_arena): Initialize arena reference count and deattach
15848 replaced arena.
15849 (get_free_list, reused_arena): Update reference count and deattach
15850 replaced arena.
15851 (arena_thread_freeres): Update arena reference count and only put
15852 unreferenced arenas on the free list.
15853
15854 2015-10-28 Joseph Myers <joseph@codesourcery.com>
15855
15856 [BZ #19181]
15857 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
15858 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
15859 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
15860 * math/test-fenv-clear-main.c: New file.
15861 * math/test-fenv-clear.c: Likewise.
15862 * math/Makefile (tests): Add test-fenv-clear.
15863 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
15864 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15865 test-fenv-clear-sse.
15866 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
15867
15868 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
15869 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
15870 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
15871
15872 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15873
15874 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
15875 static libc.
15876
15877 2015-10-28 Joseph Myers <joseph@codesourcery.com>
15878
15879 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
15880 test.
15881 * sysdeps/i386/configure: Regenerated.
15882 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
15883 test.
15884 * sysdeps/x86_64/configure: Regenerated.
15885 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
15886 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15887 memset-avx2 unconditionally instead of conditionally on
15888 [$(config-cflags-avx2) = yes].
15889 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15890 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
15891 unconditional.
15892 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
15893 * sysdeps/x86_64/multiarch/memset_chk.S
15894 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
15895 to [IS_IN (libc) && SHARED].
15896
15897 2015-10-27 Joseph Myers <joseph@codesourcery.com>
15898
15899 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
15900 configure test.
15901 * sysdeps/arm/configure: Regenerated.
15902 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
15903 Define variable if not already defined.
15904
15905 [BZ #17404]
15906 * sysdeps/mips/atomic-machine.h
15907 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
15908 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
15909 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
15910
15911 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
15912 unconditional.
15913 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
15914 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15915 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
15916 unconditional.
15917 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15918 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
15919 unconditional.
15920 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15921 * stdlib/setenv.c
15922 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
15923 code unconditional.
15924 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
15925 Remove conditional code.
15926 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
15927 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
15928 unconditional.
15929 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15930 code.
15931 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
15932 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
15933 unconditional.
15934 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15935 code.
15936 * sysdeps/ieee754/ldbl-128/k_tanl.c
15937 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15938 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15939 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
15940 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15941 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15942 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
15943 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
15944 unconditional.
15945 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15946 code.
15947 * sysdeps/ieee754/ldbl-96/k_tanl.c
15948 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15949 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15950
15951 * nptl/tst-initializers1-c11.c: New file.
15952 * nptl/tst-initializers1-gnu11.c: Likewise.
15953 * nptl/Makefile (tests): Add these new tests.
15954 (CFLAGS-tst-initializers1-c11.c): New variable.
15955 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
15956
15957 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
15958 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
15959 instead of -std=gnu99.
15960 * configure.ac (systemtap): Test with -std=gnu11 instead of
15961 -std=gnu99.
15962 * configure: Regenerated.
15963 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
15964 in compilation command in comment.
15965
15966 * sysdeps/nptl/configure.ac: Remove file.
15967 * sysdeps/nptl/configure: Remove generated file.
15968 * configure.ac (libc_cv_forced_unwind): Do not substitute.
15969 * configure: Regenerated.
15970 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
15971 * config.make.in (have-forced-unwind): Remove variable.
15972 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
15973 unconditional.
15974 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
15975 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
15976 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
15977 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
15978 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
15979 unconditional.
15980
15981 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15982
15983 [BZ #19174]
15984 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
15985 .skip_lock_out_of_tbegin_retries.
15986 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15987 (__lll_lock_elision): Likewise, and respect a value of
15988 try_tbegin <= 0.
15989
15990 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15991
15992 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
15993 statement.
15994
15995 2015-10-27 Joseph Myers <joseph@codesourcery.com>
15996
15997 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
15998 variable.
15999 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16000 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16001
16002 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
16003 of -std=c1x -D_ISOC11_SOURCE.
16004
16005 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
16006 * configure: Regenerated.
16007 * manual/install.texi (Tools for Compilation): Document
16008 requirement for GCC 4.7 or later.
16009 * INSTALL: Regenerated.
16010
16011 2015-10-27 Ludovic Courtès <ludo@gnu.org>
16012
16013 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
16014 on CNT to a conditional jump to 'puntdata'.
16015
16016 2015-10-27 Joseph Myers <joseph@codesourcery.com>
16017
16018 * configure.ac (libc_cv_gcc___thread): Remove configure test.
16019 (libc_cv_gcc_tls_model_attr): Likewise.
16020 * configure: Regenerated.
16021
16022 * configure.ac (libc_cv_need_minus_P): Remove configure test.
16023 * configure: Regenerated.
16024 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
16025
16026 2015-10-26 Joseph Myers <joseph@codesourcery.com>
16027
16028 * configure.ac (old_glibc_headers): Remove configure test.
16029 * configure: Regenerated.
16030 * config.make.in (old-glibc-headers): Remove variable.
16031 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
16032 (install): Remove dependency on remove-old-headers.
16033 (headers2_0): Remove variable.
16034 (remove-old-headers): Remove rule.
16035
16036 * configure.ac (libc_cv_dot_text): Remove configure test.
16037 (libc_cv_asm_set_directive): Use .text instead of
16038 ${libc_cv_dot_text} in configure test.
16039 * configure: Regenerated.
16040
16041 2015-10-26 Florian Weimer <fweimer@redhat.com>
16042
16043 [BZ #19168]
16044 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16045
16046 2015-10-26 Florian Weimer <fweimer@redhat.com>
16047
16048 * configure.ac (CXX): Clear the variable if the C++ toolchain does
16049 not support static linking.
16050 * configure: Regenerate.
16051
16052 2015-10-23 Joseph Myers <joseph@codesourcery.com>
16053
16054 * math/libm-test.inc (check_float_internal): Do not special-case
16055 errors up to 0.5 ulp.
16056
16057 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16058 log2.
16059 * math/auto-libm-test-out: Regenerated.
16060 * math/libm-test.inc (MAX_EXP): New macro.
16061 (ilogb_test_data): Add more tests.
16062 (isfinite_test_data): Likewise.
16063 (isgreater_test_data): Likewise.
16064 (isgreaterequal_test_data): Likewise.
16065 (isinf_test_data): Likewise.
16066 (isless_test_data): Likewise.
16067 (islessequal_test_data): Likewise.
16068 (islessgreater_test_data): Likewise.
16069 (isnan_test_data): Likewise.
16070 (isnormal_test_data): Likewise.
16071 (issignaling_test_data): Likewise.
16072 (isunordered_test_data): Likewise.
16073 (j0_test_data): Likewise.
16074 (j1_test_data): Likewise.
16075 (jn_test_data): Likewise.
16076 (lgamma_test_data): Likewise.
16077 (log_test_data): Likewise.
16078 (log10_test_data): Likewise.
16079 (log1p_test_data): Likewise.
16080 (log2_test_data): Likewise.
16081 (logb_test_data): Likewise.
16082 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16083
16084 [BZ #18611]
16085 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
16086 avoid excess range and precision on underflow.
16087 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16088 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16089 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16090 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
16091 underflow.
16092 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16093 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16094 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16095 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16096 * math/auto-libm-test-in: Do not allow missing errno setting for
16097 tests of j1 and jn.
16098 * math/auto-libm-test-out: Regenerated.
16099
16100 2015-10-22 Joseph Myers <joseph@codesourcery.com>
16101
16102 [BZ #15491]
16103 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
16104 floating-point environment instead of clearing all exceptions.
16105 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16106 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
16107 merging in "invalid" exceptions from frndint.
16108 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16109 * math/test-nearbyint-except.c: New file.
16110 * math/Makefile (tests): Add test-nearbyint-except.
16111
16112 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
16113
16114 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
16115
16116 * sysdeps/tile/libm-test-ulps: Regenerated.
16117
16118 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16119
16120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
16121 (__NR_sync_file_range2): Assume it is always defined.
16122 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16123 (__NR_sync_file_range): Assume it is always defined.
16124
16125 2015-10-22 Andreas Schwab <schwab@suse.de>
16126
16127 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16128 INTERNAL_SYSCALL_ERRNO.
16129 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16130 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16131 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16132 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16133 Likewise.
16134 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16135
16136 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16137
16138 * io/tst-fcntl.c (fd): New static variable.
16139 (do_prepare): Open temporary file here....
16140 (do_test): ...not here.
16141
16142 * io/ftwtest-sh: Also trap on exit to remove temporary files.
16143
16144 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
16145
16146 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
16147 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16148 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16149 Moved before "#ifdef __ASSEMBLER__".
16150
16151 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16152
16153 [BZ #19156]
16154 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
16155 arguments very close to 0.
16156
16157 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
16158
16159 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
16160 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
16161
16162 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
16163
16164 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16165 New. Defined for GCC 5 and above when not compiling for
16166 profiling.
16167 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16168
16169 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16170 Renamed to ...
16171 (CFLAGS-epoll_pwait.o): This.
16172 (CFLAGS-mmap.c): Renamed to ...
16173 (CFLAGS-mmap.o): This.
16174 (CFLAGS-mmap64.c): Renamed to ...
16175 (CFLAGS-mmap64.o): This.
16176 (CFLAGS-epoll_pwait.os): New.
16177 (CFLAGS-mmap.os): Likewise.
16178 (CFLAGS-mmap64.os): Likewise.
16179 (CFLAGS-semtimedop.os): Likewise.
16180 (CFLAGS-semtimedop.c): Renamed to ...
16181 (CFLAGS-semtimedop.o): This.
16182
16183 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16184
16185 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
16186 warning message.
16187
16188 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16189
16190 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
16191 * Makefile ($(objpfx)c++-types-check.out): Filter out
16192 $(+gccwarn-c) instead of -Wstrict-prototypes.
16193
16194 * io/fts.c (fts_open): Convert to prototype-style function
16195 definition.
16196 * malloc/mcheck.c (mcheck): Likewise.
16197 (mcheck_pedantic): Likewise.
16198 * posix/regexec.c (re_search_2_stub): Likewise. Use
16199 internal_function.
16200 (re_search_internal): Likewise.
16201 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
16202 prototype-style function definition.
16203 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16204 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
16205 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
16206 (xdr_utmpptr): Likewise.
16207 (xdr_utmparr): Likewise.
16208 (xdr_utmpidle): Likewise.
16209 (xdr_utmpidleptr): Likewise.
16210 (xdr_utmpidlearr): Likewise.
16211
16212 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
16213 log, log10 and log2.
16214 * math/auto-libm-test-out: Regenerated.
16215 * math/libm-test.inc (fmod_test_data): Add more tests.
16216 (fpclassify_test_data): Likewise.
16217 (frexp_test_data): Likewise.
16218 (hypot_test_data): Likewise.
16219 (ilogb_test_data): Likewise.
16220
16221 2015-10-20 Joseph Myers <joseph@codesourcery.com>
16222
16223 * debug/fortify_fail.c (__fortify_fail): Convert to
16224 prototype-style function definition. Use internal_function.
16225 * libio/genops.c (save_for_backup): Convert to prototype-style
16226 function definition.
16227 * libio/wgenops.c (save_for_wbackup): Likewise.
16228 * login/grantpt.c (grantpt): Likewise.
16229 * login/ptsname.c (ptsname): Likewise.
16230 (__ptsname_r): Likewise.
16231 * login/unlockpt.c (unlockpt): Likewise.
16232 * mach/msgserver.c (__mach_msg_server): Likewise.
16233 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
16234 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
16235 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
16236 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
16237 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
16238 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
16239 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
16240 Likewise.
16241 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
16242 internal_function.
16243 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
16244 prototype-style function definition.
16245 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
16246 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
16247 (__pthread_create_2_0): Likewise.
16248 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
16249 * nptl/register-atfork.c (__register_atfork): Likewise.
16250 * posix/glob.c (glob): Likewise.
16251 * posix/regcomp.c (re_comp): Likewise.
16252 * posix/regexec.c (re_exec): Likewise.
16253 * stdlib/add_n.c [__STDC__]: Make code unconditional.
16254 [!__STDC__]: Remove conditional code.
16255 * stdlib/cmp.c [__STDC__]: Make code unconditional.
16256 [!__STDC__]: Remove conditional code.
16257 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
16258 [!__STDC__]: Remove conditional code.
16259 * stdlib/divrem.c [__STDC__]: Make code unconditional.
16260 [!__STDC__]: Remove conditional code.
16261 * stdlib/lshift.c [__STDC__]: Make code unconditional.
16262 [!__STDC__]: Remove conditional code.
16263 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
16264 [!__STDC__]: Remove conditional code.
16265 * stdlib/mul.c [__STDC__]: Make code unconditional.
16266 [!__STDC__]: Remove conditional code.
16267 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
16268 [!__STDC__]: Remove conditional code.
16269 * stdlib/rshift.c [__STDC__]: Make code unconditional.
16270 [!__STDC__]: Remove conditional code.
16271 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
16272 function definition.
16273 (STRTOF): Likewise.
16274 * stdlib/strtod_l.c (__STRTOF): Likewise.
16275 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
16276 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
16277 (__strtol_l): Likewise.
16278 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
16279 [!__STDC__]: Remove conditional code.
16280 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
16281 definition.
16282 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16283 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16284 type.
16285 (__strcasecmp): Convert to prototype-style function definition.
16286 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
16287 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16288 type.
16289 (__strncasecmp): Convert to prototype-style function definition.
16290 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
16291 * sunrpc/xdr.c (xdr_union): Likewise.
16292 * sunrpc/xdr_array.c (xdr_array): Likewise.
16293 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
16294 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
16295 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
16296 Likewise.
16297 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
16298 Likewise.
16299 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
16300 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16301 Likewise.
16302 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
16303 (LOCALE_PARAM_PROTO): Likewise.
16304 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
16305 argument type.
16306 (ut_argument_spec): Remove macro.
16307 (ut_argument_spec_iso): Rename to ut_argument_spec.
16308 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
16309 prototype-style function definition.
16310 (memcpy_uppcase): Likewise.
16311 (__strftime_internal): Likewise.
16312 (my_strftime): Likewise.
16313 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
16314 (LOCALE_PARAM_DECL): Likewise.
16315 [_LIBC] (LOCALE_PARAM): Include argument type.
16316 (__strptime_internal): Convert to prototype-style function
16317 definition.
16318 (strptime): Likewise.
16319 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16320 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16321 type.
16322 (__wcscasecmp): Convert to prototype-style function definition.
16323 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
16324 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16325 type.
16326 (__wcsncasecmp): Convert to prototype-style function definition.
16327
16328 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
16329 function definition.
16330 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16331 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16332 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
16333 * elf/dl-minimal.c (_itoa): Likewise.
16334 * hurd/hurdmalloc.c (malloc): Likewise.
16335 (free): Likewise.
16336 (realloc): Likewise.
16337 * inet/inet6_option.c (inet6_option_space): Likewise.
16338 (inet6_option_init): Likewise.
16339 (inet6_option_append): Likewise.
16340 (inet6_option_alloc): Likewise.
16341 (inet6_option_next): Likewise.
16342 (inet6_option_find): Likewise.
16343 * io/ftw.c (FTW_NAME): Likewise.
16344 (NFTW_NAME): Likewise.
16345 (NFTW_NEW_NAME): Likewise.
16346 (NFTW_OLD_NAME): Likewise.
16347 * libio/iofwide.c (_IO_fwide): Likewise.
16348 * libio/strops.c (_IO_str_init_static_internal): Likewise.
16349 (_IO_str_init_static): Likewise.
16350 (_IO_str_init_readonly): Likewise.
16351 (_IO_str_overflow): Likewise.
16352 (_IO_str_underflow): Likewise.
16353 (_IO_str_count): Likewise.
16354 (_IO_str_seekoff): Likewise.
16355 (_IO_str_pbackfail): Likewise.
16356 (_IO_str_finish): Likewise.
16357 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
16358 (_IO_wstr_overflow): Likewise.
16359 (_IO_wstr_underflow): Likewise.
16360 (_IO_wstr_count): Likewise.
16361 (_IO_wstr_seekoff): Likewise.
16362 (_IO_wstr_pbackfail): Likewise.
16363 (_IO_wstr_finish): Likewise.
16364 * locale/programs/localedef.c (normalize_codeset): Likewise.
16365 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16366 (add_locales_to_archive): Likewise.
16367 (delete_locales_from_archive): Likewise.
16368 * malloc/malloc.c (__libc_mallinfo): Likewise.
16369 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
16370 * misc/tsearch.c (__tfind): Likewise.
16371 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
16372 * nptl/pthread_attr_getdetachstate.c
16373 (__pthread_attr_getdetachstate): Likewise.
16374 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
16375 Likewise.
16376 * nptl/pthread_attr_getinheritsched.c
16377 (__pthread_attr_getinheritsched): Likewise.
16378 * nptl/pthread_attr_getschedparam.c
16379 (__pthread_attr_getschedparam): Likewise.
16380 * nptl/pthread_attr_getschedpolicy.c
16381 (__pthread_attr_getschedpolicy): Likewise.
16382 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
16383 Likewise.
16384 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
16385 Likewise.
16386 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
16387 Likewise.
16388 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
16389 Likewise.
16390 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
16391 (__pthread_attr_init_2_0): Likewise.
16392 * nptl/pthread_attr_setdetachstate.c
16393 (__pthread_attr_setdetachstate): Likewise.
16394 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
16395 Likewise.
16396 * nptl/pthread_attr_setinheritsched.c
16397 (__pthread_attr_setinheritsched): Likewise.
16398 * nptl/pthread_attr_setschedparam.c
16399 (__pthread_attr_setschedparam): Likewise.
16400 * nptl/pthread_attr_setschedpolicy.c
16401 (__pthread_attr_setschedpolicy): Likewise.
16402 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
16403 Likewise.
16404 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
16405 Likewise.
16406 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
16407 Likewise.
16408 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
16409 Likewise.
16410 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
16411 Likewise.
16412 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
16413 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16414 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
16415 use internal_function.
16416 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
16417 prototype-style function definition.
16418 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
16419 (__pthread_mutex_cond_lock_adjust): Likewise. Use
16420 internal_function.
16421 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
16422 Convert to prototype-style function definition.
16423 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16424 Likewise.
16425 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
16426 Likewise.
16427 (__pthread_mutex_unlock): Likewise.
16428 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
16429 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
16430 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
16431 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
16432 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
16433 * nss/makedb.c (process_input): Likewise.
16434 * posix/fnmatch.c (__strchrnul): Likewise.
16435 (__wcschrnul): Likewise.
16436 (fnmatch): Likewise.
16437 * posix/fnmatch_loop.c (FCT): Likewise.
16438 * posix/glob.c (globfree): Likewise.
16439 (__glob_pattern_type): Likewise.
16440 (__glob_pattern_p): Likewise.
16441 * posix/regcomp.c (re_compile_pattern): Likewise.
16442 (re_set_syntax): Likewise.
16443 (re_compile_fastmap): Likewise.
16444 (regcomp): Likewise.
16445 (regerror): Likewise.
16446 (regfree): Likewise.
16447 * posix/regexec.c (regexec): Likewise.
16448 (re_match): Likewise.
16449 (re_search): Likewise.
16450 (re_match_2): Likewise.
16451 (re_search_2): Likewise.
16452 (re_search_stub): Likewise. Use internal_function
16453 (re_copy_regs): Likewise.
16454 (re_set_registers): Convert to prototype-style function
16455 definition.
16456 (prune_impossible_nodes): Likewise. Use internal_function.
16457 * resolv/inet_net_pton.c (inet_net_pton): Convert to
16458 prototype-style function definition.
16459 (inet_net_pton_ipv4): Likewise.
16460 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16461 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
16462 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
16463 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
16464 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16465 Make variadic.
16466 * time/strptime_l.c (localtime_r): Convert to prototype-style
16467 function definition.
16468 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
16469 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
16470 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
16471 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
16472
16473 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
16474 definition.
16475 (_ufc_doit_r): Likewise.
16476 * crypt/crypt_util.c (_ufc_copymem): Likewise.
16477 (_ufc_output_conversion_r): Likewise.
16478 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
16479 * inet/rcmd.c (rcmd_af): Likewise.
16480 (rcmd): Likewise.
16481 (ruserok_af): Likewise.
16482 (ruserok): Likewise.
16483 (ruserok2_sa): Likewise.
16484 (ruserok_sa): Likewise.
16485 (iruserok_af): Likewise.
16486 (iruserok): Likewise.
16487 (__ivaliduser): Likewise.
16488 (__validuser2_sa): Likewise.
16489 * inet/rexec.c (rexec_af): Likewise.
16490 (rexec): Likewise.
16491 * inet/ruserpass.c (ruserpass): Likewise.
16492 * locale/programs/xmalloc.c (xcalloc): Likewise.
16493 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
16494 * math/w_drem.c (__drem): Likewise.
16495 * math/w_dremf.c (__dremf): Likewise.
16496 * math/w_dreml.c (__dreml): Likewise.
16497 * misc/daemon.c (daemon): Likewise.
16498 * resolv/res_debug.c (p_fqnname): Likewise.
16499 * stdlib/div.c (div): Likewise.
16500 * string/memcmp.c (memcmp_bytes): Likewise.
16501 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
16502 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
16503
16504 * crypt/cert.c (main): Convert to prototype-style function
16505 definition.
16506 * io/pipe.c (__pipe): Likewise.
16507 * io/pipe2.c (__pipe2): Likewise.
16508 * misc/futimesat.c (futimesat): Likewise.
16509 * misc/utimes.c (__utimes): Likewise.
16510 * posix/execve.c (__execve): Likewise.
16511 * posix/execvp.c (execvp): Likewise.
16512 * posix/execvpe.c (__execvpe): Likewise.
16513 * posix/fexecve.c (fexecve): Likewise.
16514 * socket/socketpair.c (socketpair): Likewise.
16515 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16516 * stdlib/erand48.c (erand48): Likewise.
16517 * stdlib/erand48_r.c (__erand48_r): Likewise.
16518 * stdlib/jrand48.c (jrand48): Likewise.
16519 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
16520 * stdlib/lcong48.c (lcong48): Likewise.
16521 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
16522 * stdlib/nrand48.c (nrand48): Likewise.
16523 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
16524 * stdlib/seed48.c (seed48): Likewise.
16525 * stdlib/seed48_r.c (__seed48_r): Likewise.
16526 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
16527 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
16528 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
16529
16530 2015-10-19 Joseph Myers <joseph@codesourcery.com>
16531
16532 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
16533 * configure: Regenerated.
16534 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
16535 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
16536 unconditional.
16537 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16538 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16539 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16540 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
16541 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
16542 unconditional.
16543 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16544
16545 * posix/Makefile (CFLAGS-regex.c): Remove variable.
16546 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
16547
16548 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
16549 function definition.
16550 * crypt/crypt_util.c (__encrypt_r): Likewise.
16551 * libio/genops.c (_IO_no_init): Likewise.
16552 * libio/iofopncook.c (_IO_fopencookie): Likewise.
16553 (_IO_old_fopencookie): Likewise.
16554 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16555 * libio/iogetline.c (_IO_getline): Likewise.
16556 (_IO_getline_info): Likewise.
16557 * libio/iogetwline.c (_IO_getwline): Likewise.
16558 (_IO_getwline_info): Likewise.
16559 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
16560 * libio/vswprintf.c (_IO_vswprintf): Likewise.
16561 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
16562 (find_entry): Likewise.
16563 (iterate_table): Likewise.
16564 (lookup): Likewise.
16565 * login/forkpty.c (forkpty): Likewise.
16566 * misc/hsearch_r.c (__hsearch_r): Likewise.
16567 * misc/select.c (__select): Likewise.
16568 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
16569 Likewise.
16570 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
16571 Likewise.
16572 * nptl/old_pthread_cond_timedwait.c
16573 (__pthread_cond_timedwait_2_0): Likewise.
16574 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
16575 * nptl/pthread_barrierattr_getpshared.c
16576 (pthread_barrierattr_getpshared): Likewise.
16577 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
16578 Likewise.
16579 * nptl/pthread_mutex_setprioceiling.c
16580 (pthread_mutex_setprioceiling): Likewise.
16581 * nptl/pthread_mutexattr_getprioceiling.c
16582 (pthread_mutexattr_getprioceiling): Likewise.
16583 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
16584 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16585 Likewise.
16586 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16587 Likewise.
16588 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
16589 Likewise.
16590 * socket/recvfrom.c (__recvfrom): Likewise.
16591 * socket/sendto.c (__sendto): Likewise.
16592 * socket/setsockopt.c (__setsockopt): Likewise.
16593 * stdio-common/_itoa.c (_itoa): Likewise.
16594 * stdio-common/_itowa.c (_itowa): Likewise.
16595 * stdio-common/reg-printf.c (__register_printf_specifier):
16596 Likewise.
16597 (__register_printf_function): Likewise.
16598 * stdio-common/tempname.c (__path_search): Likewise.
16599 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
16600 * stdlib/mul_1.c (mpn_mul_1): Likewise.
16601 * stdlib/random_r.c (__initstate_r): Likewise.
16602 * stdlib/setenv.c (__add_to_environ): Likewise.
16603 * stdlib/submul_1.c (mpn_submul_1): Likewise.
16604 * streams/getpmsg.c (getpmsg): Likewise.
16605 * streams/putmsg.c (putmsg): Likewise.
16606 * streams/putpmsg.c (putpmsg): Likewise.
16607 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
16608 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
16609 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
16610 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
16611 * sunrpc/pm_getport.c (pmap_getport): Likewise.
16612 * sunrpc/svc_udp.c (cache_get): Likewise.
16613 * sunrpc/xdr_array.c (xdr_vector): Likewise.
16614 * sysdeps/mach/hurd/getcwd.c
16615 (__canonicalize_directory_name_internal): Likewise.
16616 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
16617 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
16618 * sysdeps/mach/hurd/select.c (__select): Likewise.
16619 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
16620 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16621 * sysdeps/sparc/nptl/pthread_barrier_init.c
16622 (__pthread_barrier_init): Likewise.
16623 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
16624 (__pthread_cond_timedwait): Likewise.
16625 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
16626 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
16627 Likewise.
16628 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
16629 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
16630 Likewise.
16631 * sysvipc/semtimedop.c (semtimedop): Likewise.
16632 * time/setitimer.c (__setitimer): Likewise.
16633 * time/strftime_l.c (emacs_strftime): Likewise.
16634
16635 2015-10-19 Mike Frysinger <vapier@gentoo.org>
16636
16637 * config.make.in (have-ssp): Delete.
16638 (stack-protector): New variable.
16639 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
16640 cache test for -fstack-protector-strong. Export stack_protector to
16641 the best ssp flag.
16642 * configure: Regenerated.
16643 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
16644 * nscd/Makefile (CFLAGS-nscd): Likewise.
16645 * resolv/Makefile (CFLAGS-libresolv): Likewise.
16646
16647 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
16648
16649 [BZ #19122]
16650 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
16651 attribute_hidden.
16652
16653 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16654
16655 [BZ #18743]
16656 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
16657 code to...
16658 (ELIDE_LOCK): ...here.
16659 (__get_new_count): New function with part of the code from
16660 __elide_lock that updates the value of adapt_count after a
16661 transaction abort.
16662 (__elided_trylock): Moved this code to...
16663 (ELIDE_TRYLOCK): ...here.
16664
16665 2015-10-19 Mike Frysinger <vapier@gentoo.org>
16666
16667 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
16668 * configure: Regenerate.
16669 * INSTALL: Regenerate.
16670 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
16671 and tweak grammar.
16672
16673 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
16674
16675 * login/programs/pt_chown.c: Include signal.h
16676 (main): Clear any signal mask from the parent process.
16677
16678 2015-10-19 Joseph Myers <joseph@codesourcery.com>
16679
16680 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
16681 * configure: Regenerated.
16682 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
16683 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
16684 $(gnu89-inline-CFLAGS).
16685
16686 * configure.ac (libc_cv_asm_weak_directive): Remove configure
16687 test.
16688 (libc_cv_asm_weakext_directive): Likewise.
16689 * configure: Regenerated.
16690 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
16691 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
16692 * include/libc-symbols.h
16693 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
16694 #error.
16695 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
16696 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
16697
16698 * sysdeps/arm/backtrace.c (__backtrace): Convert to
16699 prototype-style function definition.
16700 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16701 * sysdeps/i386/ffs.c (__ffs): Likewise.
16702 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16703 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
16704 Likewise.
16705 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
16706 Likewise.
16707 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
16708 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16709 Likewise.
16710 * sysdeps/m68k/ffs.c (__ffs): Likewise.
16711 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
16712 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
16713 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
16714 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
16715 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
16716 * sysdeps/mach/hurd/access.c (__access): Likewise.
16717 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
16718 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
16719 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
16720 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
16721 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
16722 (cthread_getspecific): Likewise.
16723 (cthread_setspecific): Likewise.
16724 (__libc_getspecific): Likewise.
16725 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
16726 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
16727 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
16728 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
16729 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
16730 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
16731 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
16732 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
16733 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
16734 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
16735 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
16736 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
16737 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
16738 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
16739 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
16740 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
16741 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
16742 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
16743 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
16744 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
16745 * sysdeps/mach/hurd/link.c (__link): Likewise.
16746 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
16747 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
16748 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
16749 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
16750 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
16751 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
16752 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
16753 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
16754 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16755 * sysdeps/mach/hurd/rename.c (rename): Likewise.
16756 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
16757 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
16758 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
16759 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
16760 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
16761 * sysdeps/mach/hurd/send.c (__send): Likewise.
16762 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
16763 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
16764 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
16765 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
16766 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
16767 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
16768 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
16769 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
16770 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
16771 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
16772 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
16773 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
16774 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
16775 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
16776 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
16777 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
16778 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
16779 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
16780 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
16781 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16782 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
16783 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
16784 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
16785 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
16786 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
16787 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
16788 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
16789 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
16790 * sysdeps/posix/alarm.c (alarm): Likewise.
16791 * sysdeps/posix/cuserid.c (cuserid): Likewise.
16792 * sysdeps/posix/dirfd.c (dirfd): Likewise.
16793 * sysdeps/posix/dup.c (__dup): Likewise.
16794 * sysdeps/posix/dup2.c (__dup2): Likewise.
16795 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
16796 (main): Likewise.
16797 * sysdeps/posix/flock.c (__flock): Likewise.
16798 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
16799 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
16800 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
16801 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
16802 * sysdeps/posix/isatty.c (__isatty): Likewise.
16803 * sysdeps/posix/killpg.c (killpg): Likewise.
16804 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16805 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
16806 * sysdeps/posix/raise.c (raise): Likewise.
16807 * sysdeps/posix/remove.c (remove): Likewise.
16808 * sysdeps/posix/rename.c (rename): Likewise.
16809 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
16810 * sysdeps/posix/seekdir.c (seekdir): Likewise.
16811 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
16812 * sysdeps/posix/sigignore.c (sigignore): Likewise.
16813 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
16814 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
16815 * sysdeps/posix/sigset.c (sigset): Likewise.
16816 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
16817 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
16818 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
16819 * sysdeps/posix/time.c (time): Likewise.
16820 * sysdeps/posix/ttyname.c (getttyname): Likewise.
16821 (ttyname): Likewise.
16822 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
16823 * sysdeps/posix/utime.c (utime): Likewise.
16824 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
16825 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
16826 Likewise.
16827 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
16828 (pthread_spin_trylock): Likewise.
16829 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
16830 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
16831 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
16832 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
16833 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
16834 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
16835 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
16836 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
16837 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
16838 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
16839 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
16840 * sysdeps/s390/ffs.c (__ffs): Likewise.
16841 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
16842 Likewise.
16843 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
16844 Likewise.
16845 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
16846 Likewise.
16847 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
16848 (pthread_barrier_destroy): Likewise.
16849 * sysdeps/sparc/nptl/pthread_barrier_wait.c
16850 (__pthread_barrier_wait): Likewise.
16851 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
16852 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16853 (__pthread_barrier_wait): Likewise.
16854 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
16855 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
16856 (memcmp_not_common_alignment): Likewise.
16857 (MEMCMP): Likewise.
16858 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
16859 (_wordcopy_fwd_dest_aligned): Likewise.
16860 (_wordcopy_bwd_aligned): Likewise.
16861 (_wordcopy_bwd_dest_aligned): Likewise.
16862 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
16863 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
16864 * sysdeps/unix/bsd/stty.c (stty): Likewise.
16865 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
16866 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
16867 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
16868 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
16869 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
16870 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
16871 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
16872 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
16873 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
16874 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
16875 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
16876 * sysdeps/unix/stime.c (stime): Likewise.
16877 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
16878 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
16879 Likewise. Use internal_function.
16880 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
16881 Convert to prototype-style function definition.
16882 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16883 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16884 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
16885 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16886 Likewise. Use internal_function.
16887 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
16888 prototype-style function definition
16889 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16890 Likewise.
16891 (__getlogin_r): Likewise.
16892 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
16893 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
16894 (__pthread_cond_broadcast): Likewise.
16895 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
16896 (__pthread_cond_destroy): Likewise.
16897 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
16898 (__pthread_cond_init): Likewise.
16899 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
16900 (__pthread_cond_signal): Likewise.
16901 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
16902 (__pthread_cond_wait): Likewise.
16903 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
16904 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
16905 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
16906 Likewise.
16907 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
16908 Likewise.
16909 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
16910 Likewise.
16911 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
16912 Likewise.
16913 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
16914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
16915 (__ftruncate64): Likewise.
16916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
16917 (truncate64): Likewise.
16918 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
16919 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
16920 (pthread_getcpuclockid): Likewise.
16921 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
16922 Likewise.
16923 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
16924 Likewise.
16925 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
16926 Likewise.
16927 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
16928 Likewise.
16929 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
16930 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
16931 (__libc_sigaction): Likewise.
16932 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
16933 Likewise.
16934 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
16935 (__sigprocmask): Likewise.
16936 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
16937 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
16938 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
16939 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
16940 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16941 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
16942 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
16943 Likewise.
16944 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
16945 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
16946 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
16947 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
16948 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
16949 Likewise.
16950 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
16951 (__sigprocmask): Likewise.
16952 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
16953 (cfgetispeed): Likewise.
16954 (cfsetospeed): Likewise.
16955 (cfsetispeed): Likewise.
16956 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
16957 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
16958 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16959 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
16960 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
16961 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
16962 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
16963 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
16964 Likewise.
16965 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
16966 Likewise.
16967 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
16968 Likewise.
16969 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
16970 Likewise.
16971 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
16972
16973 2015-10-17 Florian Weimer <fweimer@redhat.com>
16974
16975 sunrpc: Rewrite with explicit TLS access using __thread.
16976 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
16977 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
16978 directly.
16979 (__rpc_thread_variables): Access thread_rpc_vars directly.
16980 Eliminate redundant assignment of the tvp variable.
16981
16982 2015-10-17 Florian Weimer <fweimer@redhat.com>
16983
16984 malloc: Rewrite with explicit TLS access using __thread.
16985 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
16986 (tsd_setspecific, tsd_getspecific): Remove.
16987 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
16988 (tsd_setspecific, tsd_getspecific): Likewise.
16989 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
16990 (tsd_setspecific, tsd_getspecific): Likewise.
16991 * malloc/arena.c (thread_arena): New TLS variable.
16992 (arena_key): Remove variable.
16993 (arena_get): Use thread_arena.
16994 (arena_lookup): Remove macro.
16995 (malloc_atfork, free_atfork, ptmalloc_lock_all)
16996 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
16997 (_int_new_arena, get_free_list, reused_arena)
16998 (arena_thread_freeres): Use thread_arena.
16999 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
17000 tsd_getspecific, tsd_setspecific from safety annotations.
17001 (Allocating Cleared Space): Remove arena_lookup from safety
17002 annotations.
17003
17004 2015-10-17 Florian Weimer <fweimer@redhat.com>
17005
17006 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
17007 struct scratch_buffer instead of extend_alloca.
17008
17009 2015-10-17 Florian Weimer <fweimer@redhat.com>
17010
17011 * sysdeps/unix/sysv/linux/kernel-features.h
17012 (__ASSUME_SOCK_CLOEXEC): Remove.
17013 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
17014 (__have_paccept): Remove unused macro.
17015 * include/unistd.h (__have_sock_cloexec): Remove declaration.
17016 * misc/syslog.c (openlog_internal): Remove fallback code for
17017 !__ASSUME_SOCK_CLOEXEC.
17018 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
17019 missing SOCK_CLOEXEC.
17020 * nscd/connections.c (have_sock_cloexec): Remove definition.
17021 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17022 * nscd/nscd_helper.c (open_socket): Remove fallback code for
17023 !__ASSUME_SOCK_CLOEXEC.
17024 * resolv/res_send.c (__have_o_nonblock): Remove definition.
17025 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17026 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
17027 definition.
17028 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
17029 code for !__ASSUME_SOCK_CLOEXEC.
17030
17031 2015-10-17 Florian Weimer <fweimer@redhat.com>
17032
17033 [BZ #18982]
17034 * manual/stdio.texi (Variable Arguments Output): Add portability
17035 note, explaining that vfprintf clobbers the va_list pointer.
17036
17037 2015-10-16 Joseph Myers <joseph@codesourcery.com>
17038
17039 * math/libm-test.inc (fabs_test_data): Add more tests.
17040 (fdim_test_data): Likewise.
17041 (fma_test_data): Likewise.
17042 (fmax_test_data): Likewise.
17043 (fmin_test_data): Likewise.
17044 (fmod_test_data): Likewise.
17045
17046 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
17047
17048 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
17049 data.
17050
17051 2015-10-16 Joseph Myers <joseph@codesourcery.com>
17052
17053 * math/libm-test.inc (ceil_test_data): Add more tests and more
17054 expectations for "inexact".
17055 (floor_test_data): Add more tests.
17056 (round_test_data): Likewise.
17057 (trunc_test_data): Likewise.
17058
17059 * crypt/cert.c (good_bye): Convert to prototype-style function
17060 definition.
17061 (get8): Likewise.
17062 (put8): Likewise.
17063 * crypt/crypt-entry.c (crypt): Likewise.
17064 (__fcrypt): Likewise.
17065 * crypt/crypt_util.c (_ufc_prbits): Likewise.
17066 (_ufc_set_bits): Likewise.
17067 (_ufc_clearmem): Likewise.
17068 (__init_des_r): Likewise.
17069 (shuffle_sb): Likewise.
17070 (shuffle_sb): Likewise.
17071 (_ufc_setup_salt_r): Likewise.
17072 (_ufc_mk_keytab_r): Likewise.
17073 (_ufc_dofinalperm_r): Likewise.
17074 (encrypt): Likewise.
17075 (__setkey_r): Likewise.
17076 (setkey): Likewise.
17077 * crypt/md5.c (md5_init_ctx): Likewise.
17078 (md5_read_ctx): Likewise.
17079 (md5_finish_ctx): Likewise.
17080 (md5_stream): Likewise.
17081 (md5_buffer): Likewise.
17082 (md5_process_bytes): Likewise.
17083 * crypt/sha256.c (__sha256_init_ctx): Likewise.
17084 (__sha256_finish_ctx): Likewise.
17085 (__sha256_process_bytes): Likewise.
17086 * crypt/sha512.c (__sha512_init_ctx): Likewise.
17087 (__sha512_finish_ctx): Likewise.
17088 (__sha512_process_bytes): Likewise.
17089 * ctype/isctype.c (__isctype): Likewise.
17090 * debug/backtrace.c (__backtrace): Likewise.
17091 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
17092 * debug/fgets_chk.c (__fgets_chk): Likewise.
17093 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
17094 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
17095 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17096 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17097 * debug/memset_chk.c (__memset_chk): Likewise.
17098 * debug/strcat_chk.c (__strcat_chk): Likewise.
17099 * debug/strncat_chk.c (__strncat_chk): Likewise.
17100 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
17101 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
17102 * dirent/dirfd.c (dirfd): Likewise.
17103 * dirent/getdents.c (__getdirentries): Likewise.
17104 * dirent/getdents64.c (getdirentries64): Likewise.
17105 * dirent/rewinddir.c (__rewinddir): Likewise.
17106 * dirent/seekdir.c (seekdir): Likewise.
17107 * dirent/telldir.c (telldir): Likewise.
17108 * elf/sln.c (makesymlinks): Likewise.
17109 (makesymlink): Likewise.
17110 * gmon/gmon.c (__moncontrol): Likewise.
17111 (__monstartup): Likewise.
17112 (write_hist): Likewise.
17113 (write_call_graph): Likewise.
17114 (write_bb_counts): Likewise.
17115 * grp/setgroups.c (setgroups): Likewise.
17116 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17117 * inet/inet_net.c (inet_network): Likewise.
17118 * inet/inet_netof.c (inet_netof): Likewise.
17119 * inet/rcmd.c (rresvport_af): Likewise.
17120 (rresvport): Likewise.
17121 * io/access.c (__access): Likewise.
17122 * io/chdir.c (__chdir): Likewise.
17123 * io/chmod.c (__chmod): Likewise.
17124 * io/chown.c (__chown): Likewise.
17125 * io/close.c (__close): Likewise.
17126 * io/creat.c (creat): Likewise.
17127 * io/creat64.c (creat64): Likewise.
17128 * io/dup.c (__dup): Likewise.
17129 * io/dup2.c (__dup2): Likewise.
17130 * io/dup3.c (__dup3): Likewise.
17131 * io/euidaccess.c (__euidaccess): Likewise.
17132 * io/faccessat.c (faccessat): Likewise.
17133 * io/fchmod.c (__fchmod): Likewise.
17134 * io/fchmodat.c (fchmodat): Likewise.
17135 * io/fchown.c (__fchown): Likewise.
17136 * io/fchownat.c (fchownat): Likewise.
17137 * io/fcntl.c (__fcntl): Likewise.
17138 * io/flock.c (__flock): Likewise.
17139 * io/fts.c (fts_load): Likewise.
17140 (fts_close): Likewise.
17141 (fts_read): Likewise.
17142 (fts_set): Likewise.
17143 (fts_children): Likewise.
17144 (fts_build): Likewise.
17145 (fts_stat): Likewise.
17146 (fts_sort): Likewise.
17147 (fts_alloc): Likewise.
17148 (fts_lfree): Likewise.
17149 (fts_palloc): Likewise.
17150 (fts_padjust): Likewise.
17151 (fts_maxarglen): Likewise.
17152 (fts_safe_changedir): Likewise.
17153 * io/getwd.c (getwd): Likewise.
17154 * io/isatty.c (__isatty): Likewise.
17155 * io/lchown.c (__lchown): Likewise.
17156 * io/link.c (__link): Likewise.
17157 * io/linkat.c (linkat): Likewise.
17158 * io/lseek.c (__libc_lseek): Likewise.
17159 * io/mkdir.c (__mkdir): Likewise.
17160 * io/mkdirat.c (mkdirat): Likewise.
17161 * io/mkfifo.c (mkfifo): Likewise.
17162 * io/mkfifoat.c (mkfifoat): Likewise.
17163 * io/open.c (__libc_open): Likewise.
17164 * io/open64.c (__libc_open64): Likewise.
17165 * io/readlink.c (__readlink): Likewise.
17166 * io/readlinkat.c (readlinkat): Likewise.
17167 * io/rmdir.c (__rmdir): Likewise.
17168 * io/symlink.c (__symlink): Likewise.
17169 * io/symlinkat.c (symlinkat): Likewise.
17170 * io/ttyname.c (ttyname): Likewise.
17171 * io/ttyname_r.c (__ttyname_r): Likewise.
17172 * io/umask.c (__umask): Likewise.
17173 * io/unlink.c (__unlink): Likewise.
17174 * io/unlinkat.c (unlinkat): Likewise.
17175 * io/utime.c (utime): Likewise.
17176 * libio/clearerr.c (clearerr): Likewise.
17177 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
17178 * libio/feof.c (_IO_feof): Likewise.
17179 * libio/feof_u.c (feof_unlocked): Likewise.
17180 * libio/ferror.c (_IO_ferror): Likewise.
17181 * libio/ferror_u.c (ferror_unlocked): Likewise.
17182 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17183 * libio/fileno.c (__fileno): Likewise.
17184 * libio/fputc.c (fputc): Likewise.
17185 * libio/fputc_u.c (fputc_unlocked): Likewise.
17186 * libio/fputwc.c (fputwc): Likewise.
17187 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
17188 * libio/freopen.c (freopen): Likewise.
17189 * libio/freopen64.c (freopen64): Likewise.
17190 * libio/fseek.c (fseek): Likewise.
17191 * libio/fseeko.c (fseeko): Likewise.
17192 * libio/fseeko64.c (fseeko64): Likewise.
17193 * libio/ftello.c (__ftello): Likewise.
17194 * libio/ftello64.c (ftello64): Likewise.
17195 * libio/fwide.c (fwide): Likewise.
17196 * libio/genops.c (_IO_un_link): Likewise.
17197 (_IO_link_in): Likewise.
17198 (_IO_least_marker): Likewise.
17199 (_IO_switch_to_main_get_area): Likewise.
17200 (_IO_switch_to_backup_area): Likewise.
17201 (_IO_switch_to_get_mode): Likewise.
17202 (_IO_free_backup_area): Likewise.
17203 (_IO_switch_to_put_mode): Likewise.
17204 (__overflow): Likewise.
17205 (__underflow): Likewise.
17206 (__uflow): Likewise.
17207 (_IO_setb): Likewise.
17208 (_IO_doallocbuf): Likewise.
17209 (_IO_default_underflow): Likewise.
17210 (_IO_default_uflow): Likewise.
17211 (_IO_default_xsputn): Likewise.
17212 (_IO_sgetn): Likewise.
17213 (_IO_default_xsgetn): Likewise.
17214 (_IO_sync): Likewise.
17215 (_IO_default_setbuf): Likewise.
17216 (_IO_default_seekpos): Likewise.
17217 (_IO_default_doallocate): Likewise.
17218 (_IO_init): Likewise.
17219 (_IO_old_init): Likewise.
17220 (_IO_default_sync): Likewise.
17221 (_IO_default_finish): Likewise.
17222 (_IO_default_seekoff): Likewise.
17223 (_IO_sputbackc): Likewise.
17224 (_IO_sungetc): Likewise.
17225 (_IO_set_column): Likewise.
17226 (_IO_set_column): Likewise.
17227 (_IO_adjust_column): Likewise.
17228 (_IO_get_column): Likewise.
17229 (_IO_init_marker): Likewise.
17230 (_IO_remove_marker): Likewise.
17231 (_IO_marker_difference): Likewise.
17232 (_IO_marker_delta): Likewise.
17233 (_IO_seekmark): Likewise.
17234 (_IO_unsave_markers): Likewise.
17235 (_IO_nobackup_pbackfail): Likewise.
17236 (_IO_default_pbackfail): Likewise.
17237 (_IO_default_seek): Likewise.
17238 (_IO_default_stat): Likewise.
17239 (_IO_default_read): Likewise.
17240 (_IO_default_write): Likewise.
17241 (_IO_default_showmanyc): Likewise.
17242 (_IO_default_imbue): Likewise.
17243 (_IO_iter_next): Likewise.
17244 (_IO_iter_file): Likewise.
17245 * libio/getc.c (_IO_getc): Likewise.
17246 * libio/getwc.c (_IO_getwc): Likewise.
17247 * libio/iofclose.c (_IO_new_fclose): Likewise.
17248 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17249 * libio/iofflush.c (_IO_fflush): Likewise.
17250 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
17251 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
17252 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
17253 * libio/iofgets.c (_IO_fgets): Likewise.
17254 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
17255 * libio/iofgetws.c (fgetws): Likewise.
17256 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17257 * libio/iofopen64.c (_IO_fopen64): Likewise.
17258 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17259 (_IO_cookie_write): Likewise.
17260 (_IO_cookie_seek): Likewise.
17261 (_IO_cookie_close): Likewise.
17262 (_IO_cookie_seekoff): Likewise.
17263 (_IO_old_cookie_seek): Likewise.
17264 * libio/iofputs.c (_IO_fputs): Likewise.
17265 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
17266 * libio/iofputws.c (fputws): Likewise.
17267 * libio/iofputws_u.c (fputws_unlocked): Likewise.
17268 * libio/iofread.c (_IO_fread): Likewise.
17269 * libio/iofread_u.c (__fread_unlocked): Likewise.
17270 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
17271 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
17272 * libio/ioftell.c (_IO_ftell): Likewise.
17273 * libio/iofwrite.c (_IO_fwrite): Likewise.
17274 * libio/iogetdelim.c (_IO_getdelim): Likewise.
17275 * libio/iogets.c (_IO_gets): Likewise.
17276 * libio/iopadn.c (_IO_padn): Likewise.
17277 * libio/iopopen.c (_IO_new_proc_open): Likewise.
17278 (_IO_new_popen): Likewise.
17279 (_IO_new_proc_close): Likewise.
17280 * libio/ioputs.c (_IO_puts): Likewise.
17281 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
17282 (_IO_seekoff): Likewise.
17283 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
17284 (_IO_seekpos): Likewise.
17285 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
17286 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
17287 * libio/ioungetc.c (_IO_ungetc): Likewise.
17288 * libio/ioungetwc.c (ungetwc): Likewise.
17289 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17290 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
17291 * libio/iowpadn.c (_IO_wpadn): Likewise.
17292 * libio/libc_fatal.c (__libc_fatal): Likewise.
17293 * libio/memstream.c (__open_memstream): Likewise.
17294 (_IO_mem_sync): Likewise.
17295 (_IO_mem_finish): Likewise.
17296 * libio/oldfileops.c (_IO_old_file_init): Likewise.
17297 (_IO_old_file_close_it): Likewise.
17298 (_IO_old_file_finish): Likewise.
17299 (_IO_old_file_fopen): Likewise.
17300 (_IO_old_file_attach): Likewise.
17301 (_IO_old_file_setbuf): Likewise.
17302 (_IO_old_do_write): Likewise.
17303 (old_do_write): Likewise.
17304 (_IO_old_file_underflow): Likewise.
17305 (_IO_old_file_overflow): Likewise.
17306 (_IO_old_file_sync): Likewise.
17307 (_IO_old_file_seekoff): Likewise.
17308 (_IO_old_file_write): Likewise.
17309 (_IO_old_file_xsputn): Likewise.
17310 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
17311 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17312 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
17313 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
17314 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17315 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
17316 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
17317 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
17318 (_IO_old_popen): Likewise.
17319 (_IO_old_proc_close): Likewise.
17320 * libio/oldpclose.c (__old_pclose): Likewise.
17321 * libio/pclose.c (__new_pclose): Likewise.
17322 * libio/peekc.c (_IO_peekc_locked): Likewise.
17323 * libio/putc.c (_IO_putc): Likewise.
17324 * libio/putc_u.c (putc_unlocked): Likewise.
17325 * libio/putchar.c (putchar): Likewise.
17326 * libio/putchar_u.c (putchar_unlocked): Likewise.
17327 * libio/putwc.c (putwc): Likewise.
17328 * libio/putwc_u.c (putwc_unlocked): Likewise.
17329 * libio/putwchar.c (putwchar): Likewise.
17330 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
17331 * libio/rewind.c (rewind): Likewise.
17332 * libio/setbuf.c (setbuf): Likewise.
17333 * libio/setlinebuf.c (setlinebuf): Likewise.
17334 * libio/vasprintf.c (_IO_vasprintf): Likewise.
17335 * libio/vscanf.c (_IO_vscanf): Likewise.
17336 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
17337 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
17338 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17339 * libio/wgenops.c (_IO_least_wmarker): Likewise.
17340 (_IO_switch_to_main_wget_area): Likewise.
17341 (_IO_switch_to_wbackup_area): Likewise.
17342 (_IO_wsetb): Likewise.
17343 (_IO_wdefault_pbackfail): Likewise.
17344 (_IO_wdefault_finish): Likewise.
17345 (_IO_wdefault_uflow): Likewise.
17346 (__woverflow): Likewise.
17347 (__wuflow): Likewise.
17348 (__wunderflow): Likewise.
17349 (_IO_wdefault_xsputn): Likewise.
17350 (_IO_wdefault_xsgetn): Likewise.
17351 (_IO_wdoallocbuf): Likewise.
17352 (_IO_wdefault_doallocate): Likewise.
17353 (_IO_switch_to_wget_mode): Likewise.
17354 (_IO_free_wbackup_area): Likewise.
17355 (_IO_switch_to_wput_mode): Likewise.
17356 (_IO_sputbackwc): Likewise.
17357 (_IO_sungetwc): Likewise.
17358 (_IO_adjust_wcolumn): Likewise.
17359 (_IO_init_wmarker): Likewise.
17360 (_IO_wmarker_delta): Likewise.
17361 (_IO_seekwmark): Likewise.
17362 (_IO_unsave_wmarkers): Likewise.
17363 * libio/wmemstream.c (open_wmemstream): Likewise.
17364 (_IO_wmem_sync): Likewise.
17365 (_IO_wmem_finish): Likewise.
17366 * locale/nl_langinfo.c (nl_langinfo): Likewise.
17367 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
17368 * locale/programs/simple-hash.c (init_hash): Likewise.
17369 (delete_hash): Likewise.
17370 (insert_entry): Likewise.
17371 (set_entry): Likewise.
17372 (next_prime): Likewise.
17373 (is_prime): Likewise.
17374 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
17375 (xmalloc): Likewise.
17376 (xrealloc): Likewise.
17377 * locale/programs/xstrdup.c (xstrdup): Likewise.
17378 * localedata/collate-test.c (xstrcoll): Likewise.
17379 * localedata/xfrm-test.c (xstrcmp): Likewise.
17380 * login/getlogin_r.c (__getlogin_r): Likewise.
17381 * login/getpt.c (__posix_openpt): Likewise.
17382 * login/login_tty.c (login_tty): Likewise.
17383 * login/setlogin.c (setlogin): Likewise.
17384 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
17385 (mach_msg_destroy_port): Likewise.
17386 (mach_msg_destroy_memory): Likewise.
17387 * malloc/mcheck.c (flood): Likewise.
17388 * misc/acct.c (acct): Likewise.
17389 * misc/brk.c (__brk): Likewise.
17390 * misc/chflags.c (chflags): Likewise.
17391 * misc/chroot.c (chroot): Likewise.
17392 * misc/fchflags.c (fchflags): Likewise.
17393 * misc/fstab.c (getfsspec): Likewise.
17394 (getfsfile): Likewise.
17395 * misc/fsync.c (fsync): Likewise.
17396 * misc/ftruncate.c (__ftruncate): Likewise.
17397 * misc/ftruncate64.c (__ftruncate64): Likewise.
17398 * misc/getdomain.c (getdomainname): Likewise.
17399 (getdomainname): Likewise.
17400 * misc/gethostname.c (__gethostname): Likewise.
17401 * misc/getpass.c (getpass): Likewise.
17402 * misc/getttyent.c (skip): Likewise.
17403 (value): Likewise.
17404 * misc/gtty.c (gtty): Likewise.
17405 * misc/hsearch.c (hsearch): Likewise.
17406 (hcreate): Likewise.
17407 * misc/hsearch_r.c (__hcreate_r): Likewise.
17408 (__hdestroy_r): Likewise.
17409 * misc/ioctl.c (__ioctl): Likewise.
17410 * misc/mkdtemp.c (mkdtemp): Likewise.
17411 * misc/mkostemp.c (mkostemp): Likewise.
17412 * misc/mkostemp64.c (mkostemp64): Likewise.
17413 * misc/mkostemps.c (mkostemps): Likewise.
17414 * misc/mkostemps64.c (mkostemps64): Likewise.
17415 * misc/mkstemp.c (mkstemp): Likewise.
17416 * misc/mkstemp64.c (mkstemp64): Likewise.
17417 * misc/mkstemps.c (mkstemps): Likewise.
17418 * misc/mkstemps64.c (mkstemps64): Likewise.
17419 * misc/mktemp.c (__mktemp): Likewise.
17420 * misc/preadv.c (preadv): Likewise.
17421 * misc/preadv64.c (preadv64): Likewise.
17422 * misc/pwritev.c (pwritev): Likewise.
17423 * misc/pwritev64.c (pwritev64): Likewise.
17424 * misc/readv.c (__readv): Likewise.
17425 * misc/revoke.c (revoke): Likewise.
17426 * misc/setdomain.c (setdomainname): Likewise.
17427 * misc/setegid.c (setegid): Likewise.
17428 * misc/seteuid.c (seteuid): Likewise.
17429 * misc/sethostid.c (sethostid): Likewise.
17430 * misc/sethostname.c (sethostname): Likewise.
17431 * misc/setregid.c (__setregid): Likewise.
17432 * misc/setreuid.c (__setreuid): Likewise.
17433 * misc/sstk.c (sstk): Likewise.
17434 * misc/stty.c (stty): Likewise.
17435 * misc/syscall.c (syscall): Likewise.
17436 * misc/syslog.c (setlogmask): Likewise.
17437 * misc/truncate.c (__truncate): Likewise.
17438 * misc/truncate64.c (truncate64): Likewise.
17439 * misc/ualarm.c (ualarm): Likewise.
17440 * misc/usleep.c (usleep): Likewise.
17441 * misc/ustat.c (ustat): Likewise.
17442 * misc/writev.c (__writev): Likewise.
17443 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
17444 * nptl/old_pthread_cond_broadcast.c
17445 (__pthread_cond_broadcast_2_0): Likewise.
17446 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
17447 Likewise.
17448 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
17449 Likewise.
17450 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
17451 Likewise.
17452 * nptl/pt-raise.c (raise): Likewise.
17453 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
17454 Likewise.
17455 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
17456 * nptl/pthread_barrierattr_destroy.c
17457 (pthread_barrierattr_destroy): Likewise.
17458 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
17459 Likewise.
17460 * nptl/pthread_barrierattr_setpshared.c
17461 (pthread_barrierattr_setpshared): Likewise.
17462 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17463 Likewise.
17464 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
17465 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
17466 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
17467 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
17468 Likewise.
17469 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
17470 Likewise.
17471 * nptl/pthread_condattr_getpshared.c
17472 (pthread_condattr_getpshared): Likewise.
17473 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
17474 Likewise.
17475 * nptl/pthread_condattr_setpshared.c
17476 (pthread_condattr_setpshared): Likewise.
17477 * nptl/pthread_detach.c (pthread_detach): Likewise.
17478 * nptl/pthread_equal.c (__pthread_equal): Likewise.
17479 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
17480 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
17481 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
17482 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
17483 Likewise.
17484 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
17485 Likewise.
17486 * nptl/pthread_mutex_getprioceiling.c
17487 (pthread_mutex_getprioceiling): Likewise.
17488 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
17489 Likewise.
17490 * nptl/pthread_mutexattr_getprotocol.c
17491 (pthread_mutexattr_getprotocol): Likewise.
17492 * nptl/pthread_mutexattr_getpshared.c
17493 (pthread_mutexattr_getpshared): Likewise.
17494 * nptl/pthread_mutexattr_getrobust.c
17495 (pthread_mutexattr_getrobust): Likewise.
17496 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
17497 Likewise.
17498 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
17499 Likewise.
17500 * nptl/pthread_mutexattr_setprioceiling.c
17501 (pthread_mutexattr_setprioceiling): Likewise.
17502 * nptl/pthread_mutexattr_setprotocol.c
17503 (pthread_mutexattr_setprotocol): Likewise.
17504 * nptl/pthread_mutexattr_setpshared.c
17505 (pthread_mutexattr_setpshared): Likewise.
17506 * nptl/pthread_mutexattr_setrobust.c
17507 (pthread_mutexattr_setrobust): Likewise.
17508 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
17509 Likewise.
17510 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
17511 Likewise.
17512 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
17513 Likewise.
17514 * nptl/pthread_rwlockattr_getkind_np.c
17515 (pthread_rwlockattr_getkind_np): Likewise.
17516 * nptl/pthread_rwlockattr_getpshared.c
17517 (pthread_rwlockattr_getpshared): Likewise.
17518 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
17519 Likewise.
17520 * nptl/pthread_rwlockattr_setkind_np.c
17521 (pthread_rwlockattr_setkind_np): Likewise.
17522 * nptl/pthread_rwlockattr_setpshared.c
17523 (pthread_rwlockattr_setpshared): Likewise.
17524 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
17525 Likewise.
17526 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
17527 Likewise.
17528 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
17529 Likewise.
17530 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
17531 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
17532 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
17533 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
17534 * nptl/sem_close.c (sem_close): Likewise.
17535 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
17536 * nptl/sem_init.c (__old_sem_init): Likewise.
17537 * nptl/sigaction.c (__sigaction): Likewise.
17538 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17539 * posix/_exit.c (_exit): Likewise.
17540 * posix/alarm.c (alarm): Likewise.
17541 * posix/confstr.c (confstr): Likewise.
17542 * posix/fpathconf.c (__fpathconf): Likewise.
17543 * posix/getgroups.c (__getgroups): Likewise.
17544 * posix/getpgid.c (__getpgid): Likewise.
17545 * posix/group_member.c (__group_member): Likewise.
17546 * posix/pathconf.c (__pathconf): Likewise.
17547 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
17548 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
17549 * posix/setgid.c (__setgid): Likewise.
17550 * posix/setpgid.c (__setpgid): Likewise.
17551 * posix/setuid.c (__setuid): Likewise.
17552 * posix/sleep.c (__sleep): Likewise.
17553 * posix/sysconf.c (__sysconf): Likewise.
17554 * posix/times.c (__times): Likewise.
17555 * posix/uname.c (__uname): Likewise.
17556 * posix/waitid.c (__waitid): Likewise.
17557 * pwd/getpw.c (__getpw): Likewise.
17558 * resolv/base64.c (b64_pton): Likewise.
17559 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
17560 * resolv/gethnamaddr.c (Dprintf): Likewise.
17561 (gethostbyname): Likewise.
17562 (gethostbyname2): Likewise.
17563 (gethostbyaddr): Likewise.
17564 (_sethtent): Likewise.
17565 (_gethtbyname): Likewise.
17566 (_gethtbyname2): Likewise.
17567 (_gethtbyaddr): Likewise.
17568 (map_v4v6_address): Likewise.
17569 (map_v4v6_hostent): Likewise.
17570 (addrsort): Likewise.
17571 (ht_sethostent): Likewise.
17572 (ht_gethostbyname): Likewise.
17573 (ht_gethostbyaddr): Likewise.
17574 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
17575 (inet_net_ntop_ipv4): Likewise.
17576 * resolv/inet_neta.c (inet_neta): Likewise.
17577 * resolv/inet_ntop.c (inet_ntop): Likewise.
17578 (inet_ntop4): Likewise.
17579 (inet_ntop6): Likewise.
17580 * resolv/inet_pton.c (__inet_pton): Likewise.
17581 (inet_pton4): Likewise.
17582 (inet_pton6): Likewise.
17583 * resolv/res_debug.c (loc_aton): Likewise.
17584 (loc_ntoa): Likewise.
17585 * resource/getpriority.c (__getpriority): Likewise.
17586 * resource/getrusage.c (__getrusage): Likewise.
17587 * resource/nice.c (nice): Likewise.
17588 * resource/setpriority.c (__setpriority): Likewise.
17589 * resource/setrlimit64.c (setrlimit64): Likewise.
17590 * resource/vlimit.c (vlimit): Likewise.
17591 * resource/vtimes.c (vtimes): Likewise.
17592 * rt/aio_error.c (aio_error): Likewise.
17593 * rt/aio_return.c (aio_return): Likewise.
17594 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
17595 * signal/kill.c (__kill): Likewise.
17596 * signal/killpg.c (killpg): Likewise.
17597 * signal/raise.c (raise): Likewise.
17598 * signal/sigaction.c (__sigaction): Likewise.
17599 * signal/sigaddset.c (sigaddset): Likewise.
17600 * signal/sigaltstack.c (sigaltstack): Likewise.
17601 * signal/sigandset.c (sigandset): Likewise.
17602 * signal/sigblock.c (__sigblock): Likewise.
17603 * signal/sigdelset.c (sigdelset): Likewise.
17604 * signal/sigempty.c (sigemptyset): Likewise.
17605 * signal/sigfillset.c (sigfillset): Likewise.
17606 * signal/sighold.c (sighold): Likewise.
17607 * signal/sigignore.c (sigignore): Likewise.
17608 * signal/sigintr.c (siginterrupt): Likewise.
17609 * signal/sigisempty.c (sigisemptyset): Likewise.
17610 * signal/sigismem.c (sigismember): Likewise.
17611 * signal/signal.c (signal): Likewise.
17612 * signal/sigorset.c (sigorset): Likewise.
17613 * signal/sigpause.c (__sigpause): Likewise.
17614 * signal/sigpending.c (sigpending): Likewise.
17615 * signal/sigprocmask.c (__sigprocmask): Likewise.
17616 * signal/sigrelse.c (sigrelse): Likewise.
17617 * signal/sigreturn.c (__sigreturn): Likewise.
17618 * signal/sigset.c (sigset): Likewise.
17619 * signal/sigsetmask.c (__sigsetmask): Likewise.
17620 * signal/sigstack.c (sigstack): Likewise.
17621 * signal/sigsuspend.c (__sigsuspend): Likewise.
17622 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
17623 * signal/sysv_signal.c (__sysv_signal): Likewise.
17624 * socket/accept.c (accept): Likewise.
17625 * socket/accept4.c (__libc_accept4): Likewise.
17626 * socket/bind.c (__bind): Likewise.
17627 * socket/connect.c (__connect): Likewise.
17628 * socket/getpeername.c (getpeername): Likewise.
17629 * socket/getsockname.c (__getsockname): Likewise.
17630 * socket/getsockopt.c (getsockopt): Likewise.
17631 * socket/listen.c (__listen): Likewise.
17632 * socket/recv.c (__recv): Likewise.
17633 * socket/recvmsg.c (__recvmsg): Likewise.
17634 * socket/send.c (__send): Likewise.
17635 * socket/sendmsg.c (__sendmsg): Likewise.
17636 * socket/shutdown.c (shutdown): Likewise.
17637 * socket/sockatmark.c (sockatmark): Likewise.
17638 * socket/socket.c (__socket): Likewise.
17639 * stdio-common/ctermid.c (ctermid): Likewise.
17640 * stdio-common/cuserid.c (cuserid): Likewise.
17641 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
17642 * stdio-common/remove.c (remove): Likewise.
17643 * stdio-common/rename.c (rename): Likewise.
17644 * stdio-common/renameat.c (renameat): Likewise.
17645 * stdio-common/tempname.c (__gen_tempname): Likewise.
17646 * stdio-common/xbug.c (InitBuffer): Likewise.
17647 (AppendToBuffer): Likewise.
17648 (ReadFile): Likewise.
17649 * stdlib/a64l.c (a64l): Likewise.
17650 * stdlib/drand48_r.c (drand48_r): Likewise.
17651 * stdlib/getcontext.c (getcontext): Likewise.
17652 * stdlib/getenv.c (getenv): Likewise.
17653 * stdlib/l64a.c (l64a): Likewise.
17654 * stdlib/llabs.c (llabs): Likewise.
17655 * stdlib/lldiv.c (lldiv): Likewise.
17656 * stdlib/lrand48_r.c (lrand48_r): Likewise.
17657 * stdlib/mrand48_r.c (mrand48_r): Likewise.
17658 * stdlib/putenv.c (putenv): Likewise.
17659 * stdlib/random.c (__srandom): Likewise.
17660 (__initstate): Likewise.
17661 (__setstate): Likewise.
17662 * stdlib/random_r.c (__srandom_r): Likewise.
17663 (__setstate_r): Likewise.
17664 (__random_r): Likewise.
17665 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
17666 * stdlib/setcontext.c (setcontext): Likewise.
17667 * stdlib/setenv.c (setenv): Likewise.
17668 (unsetenv): Likewise.
17669 * stdlib/srand48.c (srand48): Likewise.
17670 * stdlib/srand48_r.c (__srand48_r): Likewise.
17671 * stdlib/swapcontext.c (swapcontext): Likewise.
17672 * stdlib/system.c (__libc_system): Likewise.
17673 * stdlib/tst-strtod.c (expand): Likewise.
17674 * stdlib/tst-strtol.c (expand): Likewise.
17675 * stdlib/tst-strtoll.c (expand): Likewise.
17676 * streams/fattach.c (fattach): Likewise.
17677 * streams/fdetach.c (fdetach): Likewise.
17678 * streams/getmsg.c (getmsg): Likewise.
17679 * streams/isastream.c (isastream): Likewise.
17680 * string/ffs.c (__ffs): Likewise.
17681 * string/ffsll.c (ffsll): Likewise.
17682 * string/memcmp.c (memcmp_common_alignment): Likewise.
17683 (memcmp_not_common_alignment): Likewise.
17684 (MEMCMP): Likewise.
17685 * string/memcpy.c (memcpy): Likewise.
17686 * string/memmove.c (MEMMOVE): Likewise.
17687 * string/memset.c (memset): Likewise.
17688 * string/rawmemchr.c (RAWMEMCHR): Likewise.
17689 * string/strchrnul.c (STRCHRNUL): Likewise.
17690 * string/strerror.c (strerror): Likewise.
17691 * string/strndup.c (__strndup): Likewise.
17692 * string/strverscmp.c (__strverscmp): Likewise.
17693 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
17694 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
17695 (clnttcp_freeres): Likewise.
17696 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
17697 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
17698 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
17699 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
17700 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
17701 (xdr_callhdr): Likewise.
17702 * sunrpc/rpcinfo.c (udpping): Likewise.
17703 (tcpping): Likewise.
17704 (pstatus): Likewise.
17705 (pmapdump): Likewise.
17706 (brdcst): Likewise.
17707 (deletereg): Likewise.
17708 (getprognum): Likewise.
17709 (getvers): Likewise.
17710 (get_inet_address): Likewise.
17711 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
17712 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17713 (svcudp_stat): Likewise.
17714 (svcudp_recv): Likewise.
17715 (svcudp_reply): Likewise.
17716 (svcudp_getargs): Likewise.
17717 (svcudp_freeargs): Likewise.
17718 (svcudp_destroy): Likewise.
17719 * sunrpc/xdr.c (xdr_bytes): Likewise.
17720 (xdr_netobj): Likewise.
17721 (xdr_string): Likewise.
17722 (xdr_wrapstring): Likewise.
17723 * sunrpc/xdr_float.c (xdr_float): Likewise.
17724 (xdr_double): Likewise.
17725 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
17726 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
17727 * sysvipc/ftok.c (ftok): Likewise.
17728 * sysvipc/msgctl.c (msgctl): Likewise.
17729 * sysvipc/msgget.c (msgget): Likewise.
17730 * sysvipc/msgrcv.c (msgrcv): Likewise.
17731 * sysvipc/msgsnd.c (msgsnd): Likewise.
17732 * sysvipc/semget.c (semget): Likewise.
17733 * sysvipc/semop.c (semop): Likewise.
17734 * sysvipc/shmat.c (shmat): Likewise.
17735 * sysvipc/shmctl.c (shmctl): Likewise.
17736 * sysvipc/shmdt.c (shmdt): Likewise.
17737 * sysvipc/shmget.c (shmget): Likewise.
17738 * termios/cfmakeraw.c (cfmakeraw): Likewise.
17739 * termios/speed.c (cfgetospeed): Likewise.
17740 (cfgetispeed): Likewise.
17741 (cfsetospeed): Likewise.
17742 (cfsetispeed): Likewise.
17743 * termios/tcflow.c (tcflow): Likewise.
17744 * termios/tcflush.c (tcflush): Likewise.
17745 * termios/tcgetattr.c (__tcgetattr): Likewise.
17746 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
17747 * termios/tcgetsid.c (tcgetsid): Likewise.
17748 * termios/tcsendbrk.c (tcsendbreak): Likewise.
17749 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
17750 * time/adjtime.c (__adjtime): Likewise.
17751 * time/dysize.c (dysize): Likewise.
17752 * time/ftime.c (ftime): Likewise.
17753 * time/getitimer.c (__getitimer): Likewise.
17754 * time/gettimeofday.c (__gettimeofday): Likewise.
17755 * time/gmtime.c (__gmtime_r): Likewise.
17756 (gmtime): Likewise.
17757 * time/localtime.c (__localtime_r): Likewise.
17758 (localtime): Likewise.
17759 * time/offtime.c (__offtime): Likewise.
17760 * time/settimeofday.c (__settimeofday): Likewise.
17761 * time/stime.c (stime): Likewise.
17762 * time/strftime_l.c (tm_diff): Likewise.
17763 (iso_week_days): Likewise.
17764 * time/strptime.c (strptime): Likewise.
17765 * time/time.c (time): Likewise.
17766 * time/timespec_get.c (timespec_get): Likewise.
17767 * time/tzset.c (tzset_internal): Likewise.
17768 (compute_change): Likewise.
17769 (__tz_compute): Likewise.
17770 * wcsmbs/btowc.c (__btowc): Likewise.
17771 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
17772 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
17773 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
17774 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
17775 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
17776 * wcsmbs/wcscat.c (__wcscat): Likewise.
17777 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17778 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
17779 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
17780 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17781 * wcsmbs/wcsdup.c (wcsdup): Likewise.
17782 * wcsmbs/wcslen.c (__wcslen): Likewise.
17783 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
17784 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
17785 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
17786 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
17787 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17788 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
17789 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17790 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17791 * wcsmbs/wcstok.c (wcstok): Likewise.
17792 * wcsmbs/wctob.c (wctob): Likewise.
17793 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
17794 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17795 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
17796 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
17797 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
17798 * wcsmbs/wmemset.c (__wmemset): Likewise.
17799 * wctype/wcfuncs.c (__towlower): Likewise.
17800 (__towupper): Likewise.
17801
17802 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
17803 (lll_unlock_elision): Add adapt_count parameter.
17804
17805 2015-10-15 Joseph Myers <joseph@codesourcery.com>
17806
17807 * sysdeps/nptl/configure.ac: Do not give errors based on the
17808 results of top-level configure tests.
17809 * sysdeps/nptl/configure: Regenerated.
17810
17811 * configure.ac (libc_cv_Bgroup): Remove configure test.
17812 * configure: Regenerated.
17813 * config.make.in (have-Bgroup): Remove variable.
17814
17815 * configure.ac (sizeof_long_double): Remove configure test.
17816 * configure: Regenerated.
17817 * config.make.in (sizeof-long-double): Remove variable.
17818
17819 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
17820 * configure: Regenerated.
17821 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
17822 variable.
17823 (exceptions): Likewise.
17824 * sysdeps/arm/configure: Regenerated.
17825 * config.make.in (exceptions): Remove variable.
17826 * Makeconfig (uses-callbacks): Use -fexceptions instead of
17827 $(exceptions).
17828 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
17829 (CFLAGS-vdprintf_chk.c): Likewise.
17830 (CFLAGS-printf_chk.c): Likewise.
17831 (CFLAGS-fprintf_chk.c): Likewise.
17832 (CFLAGS-vprintf_chk.c): Likewise.
17833 (CFLAGS-vfprintf_chk.c): Likewise.
17834 (CFLAGS-gets_chk.c): Likewise.
17835 (CFLAGS-fgets_chk.c): Likewise.
17836 (CFLAGS-fgets_u_chk.c): Likewise.
17837 (CFLAGS-fread_chk.c): Likewise.
17838 (CFLAGS-fread_u_chk.c): Likewise.
17839 (CFLAGS-wprintf_chk.c): Likewise.
17840 (CFLAGS-fwprintf_chk.c): Likewise.
17841 (CFLAGS-vwprintf_chk.c): Likewise.
17842 (CFLAGS-vfwprintf_chk.c): Likewise.
17843 (CFLAGS-fgetws_chk.c): Likewise.
17844 (CFLAGS-fgetws_u_chk.c): Likewise.
17845 * libio/Makefile (CFLAGS-fileops.c): Likewise.
17846 (CFLAGS-fputc.c): Likewise.
17847 (CFLAGS-fputwc.c): Likewise.
17848 (CFLAGS-freopen64.c): Likewise.
17849 (CFLAGS-freopen.c): Likewise.
17850 (CFLAGS-fseek.c): Likewise.
17851 (CFLAGS-fseeko64.c): Likewise.
17852 (CFLAGS-fseeko.c): Likewise.
17853 (CFLAGS-ftello64.c): Likewise.
17854 (CFLAGS-ftello.c): Likewise.
17855 (CFLAGS-fwide.c): Likewise.
17856 (CFLAGS-genops.c): Likewise.
17857 (CFLAGS-getc.c): Likewise.
17858 (CFLAGS-getchar.c): Likewise.
17859 (CFLAGS-getwc.c): Likewise.
17860 (CFLAGS-getwchar.c): Likewise.
17861 (CFLAGS-iofclose.c): Likewise.
17862 (CFLAGS-iofflush.c): Likewise.
17863 (CFLAGS-iofgetpos64.c): Likewise.
17864 (CFLAGS-iofgetpos.c): Likewise.
17865 (CFLAGS-iofgets.c): Likewise.
17866 (CFLAGS-iofgetws.c): Likewise.
17867 (CFLAGS-iofputs.c): Likewise.
17868 (CFLAGS-iofputws.c): Likewise.
17869 (CFLAGS-iofread.c): Likewise.
17870 (CFLAGS-iofsetpos64.c): Likewise.
17871 (CFLAGS-iofsetpos.c): Likewise.
17872 (CFLAGS-ioftell.c): Likewise.
17873 (CFLAGS-iofwrite.c): Likewise.
17874 (CFLAGS-iogetdelim.c): Likewise.
17875 (CFLAGS-iogetline.c): Likewise.
17876 (CFLAGS-iogets.c): Likewise.
17877 (CFLAGS-iogetwline.c): Likewise.
17878 (CFLAGS-ioputs.c): Likewise.
17879 (CFLAGS-ioseekoff.c): Likewise.
17880 (CFLAGS-ioseekpos.c): Likewise.
17881 (CFLAGS-iosetbuffer.c): Likewise.
17882 (CFLAGS-iosetvbuf.c): Likewise.
17883 (CFLAGS-ioungetc.c): Likewise.
17884 (CFLAGS-ioungetwc.c): Likewise.
17885 (CFLAGS-oldfileops.c): Likewise.
17886 (CFLAGS-oldiofclose.c): Likewise.
17887 (CFLAGS-oldiofgetpos64.c): Likewise.
17888 (CFLAGS-oldiofgetpos.c): Likewise.
17889 (CFLAGS-oldiofsetpos64.c): Likewise.
17890 (CFLAGS-oldiofsetpos.c): Likewise.
17891 (CFLAGS-peekc.c): Likewise.
17892 (CFLAGS-putc.c): Likewise.
17893 (CFLAGS-putchar.c): Likewise.
17894 (CFLAGS-putwc.c): Likewise.
17895 (CFLAGS-putwchar.c): Likewise.
17896 (CFLAGS-rewind.c): Likewise.
17897 (CFLAGS-wfileops.c): Likewise.
17898 (CFLAGS-wgenops.c): Likewise.
17899 (CFLAGS-oldiofopen.c): Likewise.
17900 (CFLAGS-iofopen.c): Likewise.
17901 (CFLAGS-iofopen64.c): Likewise.
17902 (CFLAGS-oldtmpfile.c): Likewise.
17903 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
17904 (CFLAGS-fprintf.c): Likewise.
17905 (CFLAGS-printf.c): Likewise.
17906 (CFLAGS-vfwprintf.c): Likewise.
17907 (CFLAGS-vfscanf.c): Likewise.
17908 (CFLAGS-vfwscanf.c): Likewise.
17909 (CFLAGS-fscanf.c): Likewise.
17910 (CFLAGS-scanf.c): Likewise.
17911 (CFLAGS-isoc99_vfscanf.c): Likewise.
17912 (CFLAGS-isoc99_vscanf.c): Likewise.
17913 (CFLAGS-isoc99_fscanf.c): Likewise.
17914 (CFLAGS-isoc99_scanf.c): Likewise.
17915 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
17916 (CFLAGS-isoc99_fwscanf.c): Likewise.
17917 (CFLAGS-isoc99_vwscanf.c): Likewise.
17918 (CFLAGS-isoc99_vfwscanf.c): Likewise.
17919
17920 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
17921 after mkstemp64.
17922 * login/tst-utmp.c (do_prepare): Likewise.
17923 * rt/tst-aio.c (do_prepare): Likewise.
17924 * rt/tst-aio64.c (do_prepare): Likewise.
17925
17926 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17927
17928 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
17929 (__lll_lock_elision): Remove adapt_count decrement...
17930 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17931 (__lll_trylock_elision): Likewise.
17932 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17933 (__lll_unlock_elision): ... to here. And utilize
17934 new adapt_count parameter.
17935 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
17936 (__lll_unlock_elision): Update to include adapt_count
17937 parameter.
17938 (lll_unlock_elision): Pass pointer to adapt_count
17939 variable.
17940
17941 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17942
17943 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
17944 Add elision adapt_count parameter to list of arguments.
17945 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
17946 (lll_unlock_elision): Update with new parameter list
17947 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
17948 (lll_unlock_elision): Likewise.
17949 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
17950 (lll_unlock_elision): Likewise.
17951
17952 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
17953
17954 [BZ #19122]
17955 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
17956 attribute_hidden.
17957
17958 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
17959 attribute_hidden.
17960 [IS_IN (rtld)] (__strdup): Likewise.
17961 [IS_IN (rtld)] (__strerror_r): Likewise.
17962 [IS_IN (rtld)] (__strsep_g): Likewise.
17963 [IS_IN (rtld)] (memchr): Likewise.
17964 [IS_IN (rtld)] (memcmp): Likewise.
17965 [IS_IN (rtld)] (memcpy): Likewise.
17966 [IS_IN (rtld)] (memmove): Likewise.
17967 [IS_IN (rtld)] (memset): Likewise.
17968 [IS_IN (rtld)] (rawmemchr): Likewise.
17969 [IS_IN (rtld)] (stpcpy): Likewise.
17970 [IS_IN (rtld)] (strchr): Likewise.
17971 [IS_IN (rtld)] (strcmp): Likewise.
17972 [IS_IN (rtld)] (strlen): Likewise.
17973 [IS_IN (rtld)] (strnlen): Likewise.
17974 [IS_IN (rtld)] (strsep): Likewise.
17975
17976 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
17977 attribute_hidden.
17978 [IS_IN (rtld)] (__strtoul_internal): Likewise.
17979
17980 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
17981 attribute_hidden.
17982 [IS_IN (rtld)] (__libc_sigaction): Likewise.
17983
17984 * include/setjmp.h (__longjmp): Add attribute_hidden.
17985 [IS_IN (rtld)] (__sigsetjmp): Likewise.
17986
17987 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
17988 Add attribute_hidden.
17989
17990 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
17991 [IS_IN (rtld)] (__open): Likewise.
17992 [IS_IN (rtld)] (__fcntl): Likewise.
17993
17994 * include/dirent.h (__opendirat): Add attribute_hidden.
17995 (__getdents): Likewise.
17996 (__getdents64): Likewise.
17997 (__alloc_dir): Likewise.
17998 [IS_IN (rtld)] (__closedir): Likewise.
17999 [IS_IN (rtld)] (__fdopendir): Likewise.
18000 [IS_IN (rtld)] (__readdir): Likewise.
18001 [IS_IN (rtld)] (__readdir64): Likewise.
18002 [IS_IN (rtld)] (__rewinddir): Likewise.
18003
18004 * include/dlfcn.h (_dl_catch_error): Moved to ...
18005 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
18006 attribute_hidden.
18007
18008 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
18009 (_itoa_word): Likewise.
18010
18011 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
18012 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
18013 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
18014 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
18015 (_dl_higher_prime_number): Likewise.
18016 (_dl_debug_printf_c): Likewise.
18017 (_dl_signal_cerror): Likewise.
18018 (_dl_receive_error): Likewise.
18019 (_dl_reloc_bad_type): Likewise.
18020 (_dl_resolve_conflicts): Likewise.
18021 (_dl_check_all_versions): Likewise.
18022 (_dl_check_map_versions): Likewise.
18023 (_dl_sort_fini): Likewise.
18024 (_dl_debug_initialize): Likewise.
18025 (_dl_init_paths): Likewise.
18026 (_dl_show_auxv): Likewise.
18027 (_dl_next_ld_env_entry): Likewise.
18028 (_dl_important_hwcaps): Likewise.
18029 (_dl_load_cache_lookup): Likewise.
18030 (_dl_update_slotinfo): Likewise.
18031 (_dl_show_scope): Likewise.
18032
18033 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
18034 attribute_hidden.
18035 (_wordcopy_fwd_dest_aligned): Likewise.
18036 (_wordcopy_bwd_aligned): Likewise.
18037 (_wordcopy_bwd_dest_aligned): Likewise.
18038
18039 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18040 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18041 Likewise.
18042 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18043 Likewise.
18044 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
18045
18046 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18047
18048 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
18049 GCC 5 requirement.
18050
18051 2015-10-15 Joseph Myers <joseph@codesourcery.com>
18052
18053 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
18054 test.
18055 * sysdeps/i386/configure: Regenerated.
18056 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
18057 code unconditional.
18058
18059 * configure.ac (libc_cv_asm_previous_directive): Remove configure
18060 test.
18061 (libc_cv_asm_popsection_directive): Likewise.
18062 * configure: Regenerated.
18063 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
18064 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
18065 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
18066 (__make_section_unallocated): Make definition unconditional.
18067 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
18068 Remove conditional definition.
18069 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
18070 (__make_section_unallocated): Likewise.
18071
18072 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
18073 * configure: Regenerated.
18074 * config.make.in (static-libgcc): Remove variable.
18075 * Makerules (build-shlib-helper): Use -static-libgcc instead of
18076 $(static-libgcc).
18077 (build-module-helper): Likewise.
18078
18079 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
18080 * configure: Regenerated.
18081
18082 2015-10-15 Florian Weimer <fweimer@redhat.com>
18083
18084 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
18085 (struct char_buffer): New type.
18086 (char_buffer_start, char_buffer_size, char_buffer_error)
18087 (char_buffer_rewind, char_buffer_add): New functions.
18088 (ADDW): Remove macro, replaced by the char_buffer_add function.
18089 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
18090 of extend_alloca. Make control flow more explicit.
18091
18092 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18093
18094 [BZ #19137]
18095 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18096 Add -fomit-frame-pointer.
18097 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
18098
18099 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18100
18101 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
18102 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
18103 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
18104 only if !__GNUC_PREREQ (5,0).
18105 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
18106 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
18107 (INTERNAL_SYSCALL_NCS): Likewise.
18108 (LOADREGS_0): New macro for GCC 5.
18109 (ASMARGS_0): Likewise.
18110 (LOADREGS_1): Likewise.
18111 (ASMARGS_1): Likewise.
18112 (LOADREGS_2): Likewise.
18113 (ASMARGS_2): Likewise.
18114 (LOADREGS_3): Likewise.
18115 (ASMARGS_3): Likewise.
18116 (LOADREGS_4): Likewise.
18117 (ASMARGS_4): Likewise.
18118 (LOADREGS_5): Likewise.
18119 (ASMARGS_5): Likewise.
18120 (LOADREGS_6): Likewise.
18121 (ASMARGS_6): Likewise.
18122
18123 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18124
18125 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
18126 -fomit-frame-pointer.
18127 (CFLAGS-mmap64.c): Likewise.
18128 (CFLAGS-semtimedop.c): Likewise.
18129 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
18130 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
18131 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18132 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18133
18134 2015-10-15 Florian Weimer <fweimer@redhat.com>
18135
18136 [BZ #18928]
18137 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
18138 _dl_pointer_guard member.
18139 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
18140 initializer.
18141 (security_init): Always set up pointer guard.
18142 (process_envvars): Do not process LD_POINTER_GUARD.
18143
18144 2015-10-14 Joseph Myers <joseph@codesourcery.com>
18145
18146 [BZ #19134]
18147 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
18148 (.LC2): Likewise.
18149 (.LC3): Likewise.
18150 (__lround): Do not add 0.5 to integer or out-of-range arguments.
18151
18152 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
18153
18154 [BZ #19129]
18155 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
18156 r0 and r1.
18157
18158 2015-10-14 Namhyung Kim <namhyung@gmail.com>
18159
18160 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
18161
18162 2015-10-14 Carlos O'Donell <carlos@redhat.com>
18163
18164 * include/stap-probe.h: Fix macro definition formatting.
18165
18166 2015-10-14 Florian Weimer <fweimer@redhat.com>
18167
18168 [BZ #19074]
18169 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
18170 load and store num_ifs.
18171
18172 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18173
18174 [BZ #18822]
18175 * sysdeps/unix/sysv/linux/sched_getaffinity.c
18176 (__sched_getaffinity_new): Add libc_hidden_proto and
18177 libc_hidden_def.
18178
18179 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18180
18181 [BZ #19007]
18182 * scripts/localplt.awk: Also allow GOT references.
18183 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
18184 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
18185 with "+ REL R_386_GLOB_DAT".
18186 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
18187 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
18188
18189 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18190
18191 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
18192 INLINE_SYSCALL_ERROR_RETURN_VALUE.
18193 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
18194 Likewise.
18195 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
18196 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
18197 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
18198 INTERNAL_SYSCALLINTERNAL_SYSCALL and
18199 INLINE_SYSCALL_ERROR_RETURN_VALUE.
18200 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
18201 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18202 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
18203 Likewise.
18204 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18205
18206 2015-10-13 Joseph Myers <joseph@codesourcery.com>
18207
18208 [BZ #19125]
18209 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
18210 <math_private.h> and <stdint.h>.
18211 (__llround): Avoid conversions to and from long long int, and
18212 subtractions, where those might raise spurious exceptions.
18213 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18214 <math_private.h> and <stdint.h>.
18215 (__llroundf): Avoid conversions to and from long long int, and
18216 subtractions, where those might raise spurious exceptions.
18217
18218 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
18219
18220 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
18221 INLINE_SYSCALL_ERROR_RETURN_VALUE.
18222 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18223 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
18224 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18225 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18226 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
18227 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
18228 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
18229 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18230 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18231 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18232 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
18233 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18234 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18235 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
18236 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
18237 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18238 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
18239 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
18240 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
18241 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
18242 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
18243 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
18244 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
18245 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
18246 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
18247 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18248 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18249 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
18250 (__xstat64_conv): Likewise.
18251 (__xstat32_conv): Likewise.
18252
18253 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
18254
18255 * sysdeps/unix/sysv/linux/sysdep.h: New file.
18256 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
18257 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
18258 <sysdeps/unix/sysv/linux/sysdep.h>.
18259 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
18260 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
18261 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
18262 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18263 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
18264 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
18265 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
18266 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
18267 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
18268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18270 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18271 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18272 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18273 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18274 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18275 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
18276 (sysdep-dl-routines): Add sysdep.
18277 [$(subdir) == nptl] (libpthread-routines): Likewise.
18278 [$(subdir) == rt] (librt-routines): Likewise.
18279 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
18280 PIC when branching to SYSCALL_ERROR_LABEL.
18281 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
18282 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
18283 <sysdeps/unix/sysv/linux/sysdep.h>.
18284 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
18285 (SYSCALL_ERROR_ERRNO): Removed.
18286 (SYSCALL_ERROR_HANDLER): Changed to empty.
18287 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
18288 (__syscall_error): New prototype.
18289 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
18290 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
18291
18292 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
18293
18294 [BZ #19124]
18295 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
18296 (_dl_runtime_resolve_avx512): Make it a hidden alias of
18297 _dl_runtime_resolve_avx.
18298 (_dl_runtime_profile_avx512): Make it a hidden alias of
18299 _dl_runtime_profile_avx.
18300
18301 2015-10-13 Joseph Myers <joseph@codesourcery.com>
18302
18303 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
18304 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
18305 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
18306 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
18307
18308 [BZ #16422]
18309 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
18310 New configure test.
18311 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
18312 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
18313 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
18314 <math_private.h> and <stdint.h>.
18315 (__llrint): Avoid conversions to long long int where those might
18316 raise spurious exceptions.
18317 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18318 <math_private.h> and <stdint.h>.
18319 (__llrintf): Avoid conversions to long long int where those might
18320 raise spurious exceptions.
18321
18322 2015-10-12 Andreas Schwab <schwab@suse.de>
18323
18324 [BZ #18969]
18325 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
18326 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
18327 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
18328 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
18329 $(gen-locales).
18330 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
18331 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
18332 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
18333 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
18334 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
18335 $(gen-locales).
18336 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
18337 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
18338 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
18339 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
18340 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
18341 ($(objpfx)tst-ftell-active-handler.out)
18342 ($(objpfx)tst-ftell-append.out)
18343 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
18344 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
18345 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
18346 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
18347 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
18348 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
18349 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
18350 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
18351 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
18352 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
18353 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
18354 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
18355 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
18356 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
18357 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
18358 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
18359 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
18360 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
18361 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
18362 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
18363 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
18364 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
18365 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
18366 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
18367 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
18368 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
18369 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
18370 $(gen-locales).
18371 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
18372 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
18373 $(gen-locales).
18374 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
18375 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
18376 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
18377 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
18378 $(gen-locales).
18379 * libio/tst_wprintf2.c (main): Use explicit locale.
18380 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
18381
18382 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18383
18384 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
18385 __msg_sig_post.
18386 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
18387
18388 2015-10-09 Joseph Myers <joseph@codesourcery.com>
18389
18390 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18391 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18392
18393 * sysdeps/arm/libm-test-ulps: Regenerated.
18394
18395 [BZ #15470]
18396 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
18397
18398 [BZ #16399]
18399 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
18400 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
18401 and <fix-fp-int-convert-overflow.h>.
18402 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
18403 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18404 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
18405 and <fix-fp-int-convert-overflow.h>.
18406 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
18407 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18408 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
18409 <fix-fp-int-convert-overflow.h>.
18410 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
18411 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18412 * sysdeps/ieee754/dbl-64/s_lround.c: Include
18413 <fix-fp-int-convert-overflow.h>.
18414 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
18415 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18416 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
18417 and <fix-fp-int-convert-overflow.h>.
18418 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
18419 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18420 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
18421 <limits.h> and <fix-fp-int-convert-overflow.h>.
18422 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
18423 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18424 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
18425 and <fix-fp-int-convert-overflow.h>.
18426 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
18427 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18428 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
18429 and <fix-fp-int-convert-overflow.h>.
18430 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
18431 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18432 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
18433
18434 2015-10-09 Carlos O'Donell <carlos@redhat.com>
18435
18436 [BZ #18589]
18437 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
18438 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
18439 $(gen-locales).
18440
18441 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18442 Phil Blundell <pb@pbcl.net>
18443
18444 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
18445 * nptl/tst-cancel26.c: New file.
18446 * nptl/tst-cancel27.c: Likewise.
18447
18448 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
18449
18450 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
18451 __ILP32__ isn't defined.
18452 (lrint): Likewise.
18453 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
18454 (lrintf): Likewise.
18455 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
18456 (lrintl): Likewise.
18457 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
18458 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
18459 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
18460
18461 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18462
18463 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18464 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18465
18466 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
18467 file.
18468 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
18469 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
18470
18471 2015-10-09 Joseph Myers <joseph@codesourcery.com>
18472
18473 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
18474 configure test.
18475 * sysdeps/i386/configure: Regenerated.
18476 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
18477 configure test.
18478 * sysdeps/x86_64/configure: Regenerated.
18479 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
18480 Make code unconditional.
18481
18482 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
18483 test.
18484 * sysdeps/i386/configure: Regenerated.
18485 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
18486 test.
18487 * sysdeps/x86_64/configure: Regenerated.
18488 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
18489 Make code unconditional.
18490 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
18491 Likewise.
18492 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
18493 Likewise.
18494 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18495 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
18496 code unconditional.
18497 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18498 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
18499 code unconditional.
18500 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18501 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
18502 code unconditional.
18503 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
18504 code unconditional.
18505 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18506 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
18507 code unconditional.
18508 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18509 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
18510 code unconditional.
18511 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18512 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
18513 code unconditional.
18514 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18515 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
18516 code unconditional.
18517 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18518 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
18519
18520 [BZ #19095]
18521 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
18522 mantissa to long int before shifting left.
18523
18524 2015-10-08 Joseph Myers <joseph@codesourcery.com>
18525
18526 [BZ #19094]
18527 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
18528 <limits.h>.
18529 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18530 when result overflows but exception would not result from cast.
18531 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
18532 <limits.h>.
18533 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18534 when result overflows but exception would not result from cast.
18535 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
18536 <limits.h>.
18537 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18538 when result overflows but exception would not result from cast.
18539 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
18540 <limits.h>.
18541 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18542 when result overflows but exception would not result from cast.
18543 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
18544 <limits.h>.
18545 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18546 when result overflows but exception would not result from cast.
18547 * math/libm-test.inc (lrint_test_data): Add more tests.
18548 (llrint_test_data): Likewise.
18549
18550 2015-10-08 Roland McGrath <roland@hack.frob.com>
18551
18552 [BZ #18872]
18553 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
18554 Move out from under [$(run-built-tests) = yes] conditional.
18555 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
18556 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
18557
18558 2015-10-08 Carlos O'Donell <carlos@redhat.com>
18559
18560 [BZ #18589]
18561 * string/Makefile (tests): Add bug-strcoll2.
18562 (LOCALES): Add cs_CZ.UTF-8.
18563 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
18564
18565 [BZ #18589]
18566 * string/bug-strcoll2.c: New file.
18567 * locale/categories.def: Revert commit
18568 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
18569 * locale/langinfo.h: Likewise.
18570 * locale/localeinfo.h: Likewise.
18571 * locale/C-collate.c: Likewise.
18572 * locale/programs/ld-collate.c (collate_output): Likewise.
18573 * string/strcoll_l.c (STRDIFF): Likewise.
18574 (STRCOLL): Likewise.
18575 * wcsmbs/wcscoll_l.c: Likewise.
18576
18577 2015-10-08 Joseph Myers <joseph@codesourcery.com>
18578
18579 * math/libm-test.inc (lround_test_data): Do not expect the absence
18580 of "inexact" for some tests with non-integer arguments.
18581 (llround_test_data): Likewise.
18582
18583 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
18584 test.
18585 (libc_cv_cc_sse2avx): Likewise.
18586 * sysdeps/i386/configure: Regenerated.
18587 * sysdeps/i386/i686/multiarch/Makefile
18588 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
18589 [$(subdir) = math].
18590 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
18591 code unconditional.
18592 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
18593 Likewise.
18594 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
18595 Likewise.
18596 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
18597 Likewise.
18598 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
18599 test.
18600 (libc_cv_cc_sse2avx): Likewise.
18601 * sysdeps/x86_64/configure: Regenerated.
18602 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
18603 unconditional.
18604 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
18605 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
18606 unconditional.
18607 (_dl_runtime_profile)
18608 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
18609 conditional code.
18610 * sysdeps/x86_64/fpu/multiarch/Makefile
18611 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
18612 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
18613 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18614 * sysdeps/x86_64/fpu/multiarch/e_exp.c
18615 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18616 * sysdeps/x86_64/fpu/multiarch/e_log.c
18617 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18618 * sysdeps/x86_64/fpu/multiarch/s_atan.c
18619 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18620 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
18621 Likewise.
18622 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
18623 Likewise.
18624 * sysdeps/x86_64/fpu/multiarch/s_sin.c
18625 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18626 * sysdeps/x86_64/fpu/multiarch/s_tan.c
18627 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18628 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
18629 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
18630 (HAVE_SSE2AVX_SUPPORT): Likewise.
18631
18632 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
18633
18634 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
18635 instead of #pragma optimize.
18636
18637 2015-10-07 Carlos O'Donell <carlos@redhat.com>
18638
18639 [BZ #17195]
18640 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
18641 as is similarly done in systrim and _int_free already.
18642
18643 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
18644
18645 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
18646
18647 2015-10-07 Joseph Myers <joseph@codesourcery.com>
18648
18649 [BZ #19088]
18650 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
18651 <limits.h>.
18652 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
18653 overflows but exception would not result from cast.
18654 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
18655 and <limits.h>.
18656 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
18657 overflows but exception would not result from cast.
18658 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
18659 <limits.h>.
18660 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
18661 overflows but exception would not result from cast.
18662 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
18663 <limits.h>.
18664 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
18665 overflows but exception would not result from cast.
18666 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
18667 <limits.h>.
18668 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
18669 overflows but exception would not result from cast.
18670 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
18671 <limits.h>.
18672 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
18673 overflows but exception would not result from cast.
18674 * math/libm-test.inc (lround_test_data): Add more tests.
18675 (llround_test_data): Likewise.
18676
18677 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
18678
18679 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
18680 (CFLAGS-ialloc.c): Ditto.
18681 (CFLAGS-scheck.c): Ditto.
18682
18683 2015-10-07 Carlos O'Donell <carlos@redhat.com>
18684
18685 [BZ #19086]
18686 * manual/filesys.texi (Storage Allocation): Fix argument order for
18687 posix_fallocate64.
18688
18689 2015-10-07 Joseph Myers <joseph@codesourcery.com>
18690
18691 [BZ #19085]
18692 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
18693 exponent below 48 inside case for non-overflowing exponent.
18694 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
18695
18696 2015-10-07 Florian Weimer <fweimer@redhat.com>
18697
18698 * iconvdata/cp737.h (from_idx): Add const.
18699 * iconvdata/cp775.h (from_idx): Likewise.
18700
18701 2015-10-07 Joseph Myers <joseph@codesourcery.com>
18702
18703 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
18704 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
18705 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
18706
18707 [BZ #19079]
18708 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
18709 file, conditioned on [!_LP64].
18710 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
18711 [!_LP64] (__lround): Do not define as function or alias.
18712 [!_LP64] (lround): Likewise.
18713 [!_LP64] (__lroundl): Likewise.
18714 [!_LP64] (lroundl): Likewise.
18715 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
18716 macro.
18717 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
18718 Likewise.
18719
18720 2015-10-06 Joseph Myers <joseph@codesourcery.com>
18721
18722 * math/libm-test.inc (lrint_test_data): Add more tests.
18723 (llrint_test_data): Likewise.
18724 (lround_test_data): Likewise.
18725 (llround_test_data): Likewise.
18726
18727 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
18728 (llrint_test_data): Add tests used for lrint.
18729
18730 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
18731 test.
18732 * sysdeps/i386/configure: Regenerated.
18733 * sysdeps/i386/i686/multiarch/Makefile
18734 [$(config-cflags-sse4) = yes]: Make code unconditional.
18735 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
18736 Likewise.
18737 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
18738 Likewise.
18739 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
18740 test.
18741 * sysdeps/x86_64/configure: Regenerated.
18742 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
18743 Make code unconditional.
18744 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
18745 Likewise.
18746 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
18747 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
18748
18749 * scripts/rpm2dynsym.sh: Remove file.
18750
18751 2015-10-06 Florian Weimer <fweimer@redhat.com>
18752
18753 * configure.ac (libc_cv_cxx_thread_local): Define.
18754 * configure: Regenerate.
18755 * config.make.in (have-cxx-thread_local): Define.
18756 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
18757 (LDLIBS-tst-thread_local1): Define.
18758 (tests): Add tst-thread_local1.
18759 [have-cxx-thread_local != yes] (tests-unsupported): Add
18760 tst-thread_local1.
18761 * nptl/tst-thread_local1.cc: New file.
18762
18763 2015-10-06 Joseph Myers <joseph@codesourcery.com>
18764
18765 [BZ #19078]
18766 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
18767 (u_thres): Likewise.
18768 (__expl): Determine whether to call __kernel_standard_l based on
18769 value of result, not argument.
18770
18771 * math/libm-test.inc (scalb_test_data): Add more expectations for
18772 the "inexact" exception.
18773
18774 [BZ #19077]
18775 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
18776 0.0L for argument 1.0L.
18777
18778 [BZ #19076]
18779 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
18780 constant 0.0L when computing infinite result.
18781
18782 2015-10-06 Florian Weimer <fweimer@redhat.com>
18783
18784 [BZ #10432]
18785 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
18786 malloc_usable_size.
18787
18788 2015-10-06 Florian Weimer <fweimer@redhat.com>
18789
18790 [BZ #19018]
18791 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18792 Mangle function pointer before storing it.
18793 (__call_tls_dtors): Demangle function pointer before calling it.
18794
18795 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18796
18797 [BZ #19012]
18798 * iconv/gconv_db.c (gen_steps): Check for additional errors.
18799 Clean up on failure.
18800
18801 2015-10-05 Joseph Myers <joseph@codesourcery.com>
18802
18803 [BZ #19071]
18804 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
18805 long int variable to store possibly incremented high part of
18806 mantissa.
18807 * math/libm-test.inc (lround_test_data): Add tests used for
18808 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
18809 for tests requiring 64-bit long. Do not condition tests on
18810 [TEST_FLOAT] unnecessarily.
18811 (llround_test_data): Add tests used for lround. Add another
18812 expectation for the "inexact" exception. Do not condition tests
18813 on [TEST_FLOAT] unnecessarily.
18814
18815 [BZ #887]
18816 [BZ #19049]
18817 [BZ #19050]
18818 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
18819 * sysdeps/ieee754/dbl-64/e_log10.c: Include
18820 <fix-int-fp-convert-zero.h>.
18821 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18822 * sysdeps/ieee754/dbl-64/e_log2.c: Include
18823 <fix-int-fp-convert-zero.h>.
18824 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18825 * sysdeps/ieee754/dbl-64/s_erf.c: Include
18826 <fix-int-fp-convert-zero.h>.
18827 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18828 * sysdeps/ieee754/dbl-64/s_logb.c: Include
18829 <fix-int-fp-convert-zero.h>.
18830 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18831 * sysdeps/ieee754/flt-32/e_log10f.c: Include
18832 <fix-int-fp-convert-zero.h>.
18833 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18834 * sysdeps/ieee754/flt-32/e_log2f.c: Include
18835 <fix-int-fp-convert-zero.h>.
18836 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18837 * sysdeps/ieee754/flt-32/s_erff.c: Include
18838 <fix-int-fp-convert-zero.h>.
18839 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18840 * sysdeps/ieee754/flt-32/s_logbf.c: Include
18841 <fix-int-fp-convert-zero.h>.
18842 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18843 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
18844 <fix-int-fp-convert-zero.h>.
18845 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18846 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
18847 <fix-int-fp-convert-zero.h>.
18848 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18849 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
18850 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
18851 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
18852 file.
18853 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
18854
18855 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
18856
18857 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18858
18859 2015-10-02 Joseph Myers <joseph@codesourcery.com>
18860
18861 [BZ #19059]
18862 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
18863 overflowing computation.
18864 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18865 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
18866 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18867 Likewise.
18868 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18869 Likewise.
18870 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
18871 Likewise.
18872 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18873 Likewise.
18874 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18875 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18876 Likewise.
18877 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18878 Likewise.
18879 * math/libm-test.inc (nexttoward_test_data): Add more tests.
18880
18881 * nss/rewrite_field.c (__nss_rewrite_field): Use
18882 internal_function.
18883 * nss/valid_field.c (__nss_valid_field): Likewise.
18884 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
18885
18886 2015-10-02 Florian Weimer <fweimer@redhat.com>
18887
18888 [BZ #18724]
18889 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
18890 (__nss_invalid_field_characters, __nss_valid_field)
18891 (__nss_valid_list_field, __nss_rewrite_field): Declare.
18892 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
18893 tst-field.c: New file.
18894 * nss/Makefile (routines): Add valid_field, rewrite_field.
18895 (tests-static): Define unconditionally.
18896 (tests): Include tests-static.
18897 [build-static-nss] (tests-static): Use append.
18898 [build-static-nss] (tests): Remove modification.
18899 * nss/getent.c (print_group): Call putgrent. Report error.
18900 (print_gshadow): Call putsgent. Report error.
18901 (print_passwd): Call putpwent. Report error.
18902 (print_shadow): Call putspent. Report error.
18903 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
18904 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
18905 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
18906 name, password, directory, shell fields for valid syntax. Rewrite
18907 GECOS field to match syntax.
18908 * pwd/Makefile (tests): Add tst-putpwent.
18909 * pwd/tst-putpwent.c: New file.
18910 * grp/putgrent.c (putgrent): Convert to ISO function definition.
18911 Check grName, grpasswd, gr_mem fields for valid syntax.
18912 Change loop variable i to size_t.
18913 * grp/Makefile (tests): Add tst-putgrent.
18914 * grp/tst-putgrent.c: New file.
18915 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
18916 valid syntax.
18917 * shadow/Makefile (tests): Add tst-putspent.
18918 * shadow/tst-putspent.c: New file.
18919 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
18920 sg_mem fields for valid syntax.
18921 * gshadow/Makefile (tests): Add tst-putsgent.
18922 * gshadow/tst-putsgent.c: New file.
18923
18924 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
18925
18926 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
18927 assembly instructions.
18928
18929 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
18930
18931 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
18932 prefix from operands.
18933
18934 2015-10-01 Joseph Myers <joseph@codesourcery.com>
18935
18936 [BZ #16347]
18937 [BZ #19046]
18938 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
18939 <libc-internal.h>.
18940 (MAXLGM): Do not use diagnostic control macros.
18941 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
18942 threshold for ldbl-128ibm.
18943 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
18944 instead of multiplying by log then subtracting.
18945 * math/auto-libm-test-in: Add more tests of lgamma.
18946 * math/auto-libm-test-out: Regenerated.
18947
18948 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
18949 (TYPE_HEX_DIG): Likewise.
18950 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
18951 precisions when printing floating-point numbers.
18952 (check_float_internal): Likewise.
18953
18954 2015-09-30 Joseph Myers <joseph@codesourcery.com>
18955
18956 [BZ #16620]
18957 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
18958 of log (10) rounded downward to 48 bits.
18959 (log10_low): Use corresponding low part of log (10).
18960
18961 [BZ #19032]
18962 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
18963 compute result as (x - x) / (x - x) not as 0 / 0.
18964 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18965 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
18966
18967 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18968 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
18969 and expm1.
18970 * math/auto-libm-test-out: Regenerated.
18971 * math/libm-test.inc (acos_test_data): Add more tests.
18972 (asin_test_data): Likewise.
18973 (asinh_test_data): Likewise.
18974 (atan_test_data): Likewise.
18975 (atanh_test_data): Likewise.
18976 (atan2_test_data): Likewise.
18977 (cbrt_test_data): Likewise.
18978 (ceil_test_data): Likewise.
18979 (copysign_test_data): Likewise.
18980 (cos_test_data): Likewise.
18981 (cosh_test_data): Likewise.
18982 (erf_test_data): Likewise.
18983 (erfc_test_data): Likewise.
18984 (exp_test_data): Likewise.
18985 (exp10_test_data): Likewise.
18986 (exp2_test_data): Likewise.
18987 (expm1_test_data): Likewise.
18988 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18989
18990 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
18991
18992 [BZ #19006]
18993 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
18994 to ...
18995 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
18996 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
18997 to ...
18998 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
18999 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
19000 to ...
19001 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
19002 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
19003 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
19004 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
19005 to ...
19006 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
19007 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19008 Moved to ...
19009 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
19010 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19011 Moved to ...
19012 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
19013 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
19014 to ...
19015 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
19016 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19017 Moved to ...
19018 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
19019 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
19020 to ...
19021 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
19022 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
19023 Removed.
19024 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
19025 Likewise.
19026 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
19027 Likewise.
19028 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
19029 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
19030 Likewise.
19031 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19032 Likewise.
19033 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19034 Likewise.
19035 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19036 Likewise.
19037 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19038 Likewise.
19039 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
19040 Likewise.
19041 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
19042 Likewise.
19043 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
19044 Likewise.
19045 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
19046 Likewise.
19047 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
19048 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
19049 Likewise.
19050 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19051 Likewise.
19052 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19053 Likewise.
19054 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19055 Likewise.
19056 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
19057 Likewise.
19058 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19059 Replace ../i486/pthread_cond_timedwait.S with
19060 ../pthread_cond_timedwait.S.
19061
19062 2015-09-30 Joseph Myers <joseph@codesourcery.com>
19063
19064 * math/libm-test.inc (acos_test_data): Refine expectations for
19065 errno and "inexact" exceptions.
19066 (acosh_test_data): Likewise.
19067 (asin_test_data): Likewise.
19068 (asinh_test_data): Likewise.
19069 (atan_test_data): Likewise.
19070 (atanh_test_data): Likewise.
19071 (atan2_test_data): Likewise.
19072 (cbrt_test_data): Likewise.
19073 (ceil_test_data): Likewise.
19074 (copysign_test_data): Likewise.
19075 (cosh_test_data): Likewise.
19076 (erf_test_data): Likewise.
19077 (erfc_test_data): Likewise.
19078 (exp_test_data): Likewise.
19079 (exp10_test_data): Likewise.
19080 (exp2_test_data): Likewise.
19081 (expm1_test_data): Likewise.
19082 (fabs_test_data): Likewise.
19083 (floor_test_data): Likewise.
19084 (fma_test_data): Likewise.
19085 (fmax_test_data): Likewise.
19086 (fmin_test_data): Likewise.
19087 (fmod_test_data): Likewise.
19088 (fpclassify_test_data): Likewise.
19089 (frexp_test_data): Likewise.
19090 (hypot_test_data): Likewise.
19091 (ilogb_test_data): Likewise.
19092 (isgreater_test_data): Likewise.
19093 (isgreaterequal_test_data): Likewise.
19094 (isinf_test_data): Likewise.
19095 (isless_test_data): Likewise.
19096 (islessequal_test_data): Likewise.
19097 (islessgreater_test_data): Likewise.
19098 (isnan_test_data): Likewise.
19099 (isnormal_test_data): Likewise.
19100 (issignaling_test_data): Likewise.
19101 (isunordered_test_data): Likewise.
19102 (j0_test_data): Likewise.
19103 (j1_test_data): Likewise.
19104 (jn_test_data): Likewise.
19105 (lgamma_test_data): Likewise.
19106 (lrint_test_data): Likewise.
19107 (llrint_test_data): Likewise.
19108 (log_test_data): Likewise.
19109 (log10_test_data): Likewise.
19110 (log1p_test_data): Likewise.
19111 (log2_test_data): Likewise.
19112 (logb_test_data): Likewise.
19113 (lround_test_data): Likewise.
19114 (llround_test_data): Likewise.
19115 (modf_test_data): Likewise.
19116 (nearbyint_test_data): Likewise.
19117 (nextafter_test_data): Likewise.
19118 (nexttoward_test_data): Likewise.
19119 (pow_test_data): Likewise.
19120 (remainder_test_data): Likewise.
19121 (remquo_test_data): Likewise.
19122 (rint_test_data): Likewise.
19123 (round_test_data): Likewise.
19124 (signbit_test_data): Likewise.
19125 (sinh_test_data): Likewise.
19126 (sqrt_test_data): Likewise.
19127 (tanh_test_data): Likewise.
19128 (tgamma_test_data): Likewise.
19129 (trunc_test_data): Likewise.
19130 (y0_test_data): Likewise.
19131 (y1_test_data): Likewise.
19132 (yn_test_data): Likewise.
19133 (significand_test_data): Likewise.
19134
19135 2015-09-29 Carlos O'Donell <carlos@redhat.com>
19136
19137 * manual/filesys.texi (Storage Allocation): Document that
19138 posix_fallocate emulation fails when fd is open with O_WRONLY.
19139
19140 2015-09-28 Joseph Myers <joseph@codesourcery.com>
19141
19142 [BZ #19016]
19143 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
19144 allow more cases with X^2 + Y^2 >= 0.5.
19145 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
19146 normal element in sum instead of special-casing based on values of
19147 arguments.
19148 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
19149 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
19150 -1 as normal element in sum instead of special-casing based on
19151 values of arguments.
19152 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
19153 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
19154 (__x2y2m1): Update comment.
19155 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
19156 as normal element in sum instead of special-casing based on values
19157 of arguments.
19158 * math/s_clog.c (__clog): Handle more cases using log1p without
19159 hypot.
19160 * math/s_clog10.c (__clog10): Likewise.
19161 * math/s_clog10f.c (__clog10f): Likewise.
19162 * math/s_clog10l.c (__clog10l): Likewise.
19163 * math/s_clogf.c (__clogf): Likewise.
19164 * math/s_clogl.c (__clogl): Likewise.
19165 * math/auto-libm-test-in: Add more tests of clog and clog10.
19166 * math/auto-libm-test-out: Regenerated.
19167 * sysdeps/i386/fpu/libm-test-ulps: Update.
19168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19169
19170 2015-09-28 Martin Sebor <msebor@redhat.com>
19171
19172 [BZ #18969]
19173 * string/Makefile (LOCALES): Define.
19174 (gen-locales.mk): Include.
19175 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
19176 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
19177 * string/tst-strxfrm2.c (do_test): Print the name of the locale
19178 on setlocale failure.
19179
19180 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
19181
19182 [BZ #18985]
19183 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
19184 (__strftime_internal): Likewise.
19185 * time/tst-strftime.c (do_bz18985): New test.
19186 (do_test): Call it.
19187
19188 2015-09-26 Joseph Myers <joseph@codesourcery.com>
19189
19190 [BZ #18956]
19191 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
19192 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
19193 extracting high part.
19194 * math/auto-libm-test-in: Add another test of pow.
19195 * math/auto-libm-test-out: Regenerated.
19196 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19197
19198 2015-09-25 Joseph Myers <joseph@codesourcery.com>
19199
19200 [BZ #18825]
19201 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
19202 New macro.
19203 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
19204 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19205 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
19206 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
19207 DBL_NARROW_EVAL, reloading the PIC register as needed.
19208 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
19209 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
19210 FLT_NARROW_EVAL. Use separate return path for case when first
19211 argument is NaN.
19212 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
19213 DEFINE_LDBL_MIN.
19214 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
19215 PIC register.
19216 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
19217 math_check_force_underflow_nonneg.
19218 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
19219 underflow for subnormal result.
19220 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19221 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
19222 math_check_force_underflow_nonneg.
19223 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
19224 math_check_force_underflow.
19225 * sysdeps/x86_64/fpu/x86_64-math-asm.h
19226 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
19227 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
19228 DEFINE_LDBL_MIN.
19229 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
19230 * math/auto-libm-test-in: Add more tests of pow.
19231 * math/auto-libm-test-out: Regenerated.
19232
19233 2015-09-25 Florian Weimer <fweimer@redhat.com>
19234
19235 * nss/bug17079.c (init_test_items): Add diagnostic for
19236 inconsistent entries.
19237 (test_buffer_size): Skip inconsistent entries.
19238
19239 2015-09-25 Joseph Myers <joseph@codesourcery.com>
19240
19241 [BZ #13304]
19242 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
19243 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19244 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
19245
19246 [BZ #13304]
19247 * sysdeps/microblaze/s_fma.c: New file.
19248 * sysdeps/microblaze/s_fmaf.c: Likewise.
19249 * sysdeps/microblaze/sfp-machine.h: Likewise.
19250
19251 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
19252
19253 [BZ #17250]
19254 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
19255 member.
19256
19257 2015-09-24 Joseph Myers <joseph@codesourcery.com>
19258
19259 [BZ #18803]
19260 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
19261 (MO): New macro.
19262 (__ieee754_hypot) [PIC]: Load PIC register.
19263 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
19264 DBL_NARROW_EVAL.
19265 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
19266 math_check_force_underflow_nonneg in case where result might be
19267 tiny.
19268 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19269 Likewise.
19270 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19271 Likewise.
19272 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19273 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19274 * math/auto-libm-test-in: Add more tests of hypot.
19275 * math/auto-libm-test-out: Regenerated.
19276
19277 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
19278
19279 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
19280
19281 2015-09-24 Joseph Myers <joseph@codesourcery.com>
19282
19283 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
19284 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
19285 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19286 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19287 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
19288 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19289 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19290
19291 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
19292 LOAD_PIC_REG.
19293
19294 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
19295 (FLT_CHECK_FORCE_UFLOW): Likewise.
19296 (DBL_CHECK_FORCE_UFLOW): Likewise.
19297 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
19298 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
19299 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
19300 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19301 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19302 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19303 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19304 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19305 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
19306 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19307 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
19308 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
19309 (flt_min): Replace with use of DEFINE_FLT_MIN.
19310 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
19311 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
19312 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19313 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
19314 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
19315 (flt_min): Replace with use of DEFINE_FLT_MIN.
19316 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
19317 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
19318 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19319 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
19320 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
19321 (flt_min): Replace with use of DEFINE_FLT_MIN.
19322 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
19323 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
19324 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19325 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19326 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
19327 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19328 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19329 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
19330 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19331 (__atan): Use DBL_CHECK_FORCE_UFLOW.
19332 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
19333 (flt_min): Replace with use of DEFINE_FLT_MIN.
19334 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
19335 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
19336 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19337 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
19338 main computation.
19339 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
19340 (flt_min): Replace with use of DEFINE_FLT_MIN.
19341 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
19342 main computation.
19343 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
19344 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19345 (MO): New macro.
19346 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
19347 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
19348 (flt_min): Replace with use of DEFINE_FLT_MIN.
19349 (MO): New macro.
19350 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
19351 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
19352 (__log1pl): Use MO.
19353
19354 [BZ #19003]
19355 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
19356 $(config-cflags-nofma).
19357
19358 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19359
19360 * sysdeps/aarch64/libm-test-ulps: Regenerated.
19361
19362 2015-09-23 Joseph Myers <joseph@codesourcery.com>
19363
19364 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
19365 (TWO127): Likewise.
19366
19367 * sysdeps/generic/math_private.h (fabs_tg): New macro.
19368 (min_of_type): Likewise.
19369 (math_check_force_underflow): Likewise.
19370 (math_check_force_underflow_nonneg): Likewise.
19371 (math_check_force_underflow_complex): Likewise.
19372 * math/e_exp2l.c (__ieee754_exp2l): Use
19373 math_check_force_underflow_nonneg.
19374 * math/k_casinh.c (__kernel_casinh): Likewise.
19375 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19376 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19377 * math/s_catan.c (__catan): Use
19378 math_check_force_underflow_complex.
19379 * math/s_catanf.c (__catanf): Likewise.
19380 * math/s_catanh.c (__catanh): Likewise.
19381 * math/s_catanhf.c (__catanhf): Likewise.
19382 * math/s_catanhl.c (__catanhl): Likewise.
19383 * math/s_catanl.c (__catanl): Likewise.
19384 * math/s_ccosh.c (__ccosh): Likewise.
19385 * math/s_ccoshf.c (__ccoshf): Likewise.
19386 * math/s_ccoshl.c (__ccoshl): Likewise.
19387 * math/s_cexp.c (__cexp): Likewise.
19388 * math/s_cexpf.c (__cexpf): Likewise.
19389 * math/s_cexpl.c (__cexpl): Likewise.
19390 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
19391 * math/s_clog10.c (__clog10): Likewise.
19392 * math/s_clog10f.c (__clog10f): Likewise.
19393 * math/s_clog10l.c (__clog10l): Likewise.
19394 * math/s_clogf.c (__clogf): Likewise.
19395 * math/s_clogl.c (__clogl): Likewise.
19396 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
19397 * math/s_csinf.c (__csinf): Likewise.
19398 * math/s_csinh.c (__csinh): Likewise.
19399 * math/s_csinhf.c (__csinhf): Likewise.
19400 * math/s_csinhl.c (__csinhl): Likewise.
19401 * math/s_csinl.c (__csinl): Likewise.
19402 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
19403 * math/s_csqrtf.c (__csqrtf): Likewise.
19404 * math/s_csqrtl.c (__csqrtl): Likewise.
19405 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
19406 * math/s_ctanf.c (__ctanf): Likewise.
19407 * math/s_ctanh.c (__ctanh): Likewise.
19408 * math/s_ctanhf.c (__ctanhf): Likewise.
19409 * math/s_ctanhl.c (__ctanhl): Likewise.
19410 * math/s_ctanl.c (__ctanl): Likewise.
19411 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
19412 instead of volatile.
19413 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
19414 math_check_force_underflow.
19415 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19416 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
19417 volatile when forcing underflow.
19418 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
19419 math_check_force_underflow_nonneg.
19420 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
19421 Likewise.
19422 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
19423 math_check_force_underflow.
19424 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19425 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19426 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19427 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
19428 math_check_force_underflow_nonneg.
19429 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
19430 math_check_force_underflow.
19431 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
19432 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
19433 instead of volatile.
19434 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
19435 math_check_force_underflow.
19436 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19437 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
19438 math_check_force_underflow_nonneg.
19439 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
19440 math_check_force_underflow.
19441 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
19442 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19443 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
19444 math_check_force_underflow_nonneg.
19445 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
19446 Likewise.
19447 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
19448 math_check_force_underflow.
19449 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19450 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
19451 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
19452 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
19453 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
19454 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
19455 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
19456 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
19457 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19458 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
19459 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
19460 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
19461 Likewise.
19462 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
19463 math_check_force_underflow_nonneg.
19464 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
19465 Likewise.
19466 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
19467 math_check_force_underflow.
19468 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19469 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
19470 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19471 Likewise.
19472 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
19473 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
19474 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
19475 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
19476 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
19477 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
19478 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
19479 instead of volatile.
19480 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
19481 math_check_force_underflow.
19482 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
19483 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
19484 math_check_force_underflow.
19485 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
19486 Likewise.
19487 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19488 Use math_check_force_underflow_nonneg.
19489 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
19490 math_check_force_underflow.
19491 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
19492 Likewise.
19493 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19494 Likewise.
19495 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19496 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19497 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19498 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19499 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
19500 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19501 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
19502 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
19503 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
19504 math_check_force_underflow_nonneg.
19505 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
19506 math_check_force_underflow.
19507 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19508 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
19509 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
19510 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
19511 math_check_force_underflow_nonneg.
19512 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
19513 math_check_force_underflow.
19514 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
19515 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
19516 instead of volatile.
19517 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
19518 math_check_force_underflow.
19519
19520 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
19521 * stdlib/strtod_l.c: Include <math_private.h>.
19522 (overflow_value): Use math_narrow_eval.
19523 (underflow_value): Likewise.
19524 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19525 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
19526 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
19527 (__ieee754_gamma_r): Likewise.
19528 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
19529 Likewise.
19530 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
19531 Likewise.
19532 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
19533 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
19534 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
19535 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
19536 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
19537 (__ieee754_gammaf_r): Likewise.
19538 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
19539 Likewise.
19540 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
19541 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
19542 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
19543 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
19544 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
19545 volatile.
19546 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
19547 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
19548 math_narrow_eval.
19549 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
19550 Likewise.
19551 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19552 Likewise.
19553 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
19554 Likewise.
19555 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
19556 volatile.
19557 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
19558 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
19559 math_narrow_eval.
19560 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19561 Likewise.
19562 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19563 Likewise.
19564
19565 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
19566
19567 * nptl/Versions: Remove ignored symbols.
19568
19569 2015-09-22 Florian Weimer <fweimer@redhat.com>
19570
19571 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
19572 * nss/Makefile (tests): Update.
19573
19574 2015-09-22 Florian Weimer <fweimer@redhat.com>
19575
19576 * nss/bug18287.c: New file.
19577 * nss/Makefile (tests): Add bug18287.
19578
19579 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19580
19581 * mach/Versions (__mach_host_self_): Add symbol.
19582
19583 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
19584
19585 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
19586 vm_page_size.
19587
19588 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19589
19590 Really fix sysdeps/i386/fpu/s_scalbn.S build
19591
19592 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
19593 (libc: GLIBC_2_22): Remove unused version set.
19594
19595 2015-09-18 Mike Frysinger <vapier@gentoo.org>
19596
19597 * config.make.in (enable-timezone-tools): New variable.
19598 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
19599 (enable_timezone_tools): Export to generated files.
19600 * configure: Regenerate.
19601 * INSTALL: Regenerate.
19602 * manual/install.texi (--disable-timezone-tools): Document new flag.
19603 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
19604 ifeq ($(enable-timezone-tools),yes) check.
19605
19606 2015-09-18 Joseph Myers <joseph@codesourcery.com>
19607
19608 * timezone/Makefile: Revert previous change.
19609
19610 [BZ #18980]
19611 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
19612 (DEFINE_DBL_MIN): Likewise.
19613 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
19614 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
19615 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
19616 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
19617 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
19618 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19619 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19620 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
19621 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
19622 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19623 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19624 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
19625 (flt_min): Replace with use of DEFINE_FLT_MIN.
19626 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19627 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
19628 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19629 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19630 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
19631 (flt_min): Replace with use of DEFINE_FLT_MIN.
19632 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19633 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
19634 (flt_min): Replace with use of DEFINE_FLT_MIN.
19635 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19636 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
19637 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
19638 (__ieee754_hypot): Use DBL_NARROW_EVAL.
19639 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
19640 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
19641 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
19642 (__ieee754_pow): Use DBL_NARROW_EVAL.
19643 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
19644 (__ieee754_powf): Use FLT_NARROW_EVAL.
19645 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
19646 (__ieee754_expf_sse2): Convert double-precision result to single
19647 precision.
19648 * sysdeps/i386/fpu/libm-test-ulps: Update.
19649
19650 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19651
19652 * timezone/Makefile: Ignore unused variable errors due to private.h
19653 (time_t_min) and (time_t_max).
19654 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
19655 Likewise.
19656
19657 2015-09-18 Joseph Myers <joseph@codesourcery.com>
19658
19659 [BZ #18981]
19660 * sysdeps/i386/fpu/i386-math-asm.h: New file.
19661 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
19662 (__ieee754_scalb): Use DBL_NARROW_EVAL.
19663 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
19664 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
19665 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
19666 (__scalbn): Use DBL_NARROW_EVAL.
19667 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
19668 (__scalbnf): Use FLT_NARROW_EVAL.
19669
19670 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19671
19672 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
19673 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
19674 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
19675 * stdio-common/printf_fp.c (___printf_fp):
19676 Use signbit to get the sign. Use isinf macro to allow inlining.
19677 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
19678 * stdio-common/printf_size.c (__printf_size): Likewise.
19679
19680 2015-09-18 Mike Frysinger <vapier@gentoo.org>
19681
19682 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
19683
19684 2015-09-18 Joseph Myers <joseph@codesourcery.com>
19685
19686 [BZ #18980]
19687 * sysdeps/generic/math_private.h: Include <float.h>.
19688 (math_narrow_eval): New macro.
19689 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
19690 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
19691 math_narrow_eval on overflowing return value.
19692 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
19693 Likewise.
19694 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19695 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
19696 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
19697 Likewise.
19698 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
19699
19700 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19701
19702 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
19703 * math/Makefile: Remove isinf_ns.c.
19704 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
19705 * math/multc3.c (__multc3): Likewise.
19706 * math/s_casin.c (__casin): Likewise.
19707 * math/s_casinf.c (__casinf): Likewise.
19708 * math/s_casinl.c (__casinl): Likewise.
19709 * math/s_cproj.c (__cproj): Likewise.
19710 * math/s_cprojf.c (__cprojf): Likewise.
19711 * math/s_cprojl.c (__cprofl): Likewise.
19712 * math/s_ctan.c (__ctan): Likewise.
19713 * math/s_ctanf.c (__ctanf): Likewise.
19714 * math/s_ctanh.c (__ctanh): Likewise.
19715 * math/s_ctanhf.c (__ctanhf): Likewise.
19716 * math/s_ctanhl.c (__ctanhl): Likewise.
19717 * math/s_ctanl.c (__ctanl): Likewise.
19718 * math/w_fmod.c (__fmod): Likewise.
19719 * math/w_fmodf.c (__fmodf): Likewise.
19720 * math/w_fmodl.c (_fmodl): Likewise.
19721 * math/w_remainder.c (__remainder): Likewise.
19722 * math/w_remainderf.c (__remainderf): Likewise.
19723 * math/w_remainderl.c (__remainderl): Likewise.
19724 * math/w_scalb.c (__scalb): Likewise.
19725 * math/w_scalbf.c (__scalbf): Likewise.
19726 * math/w_scalbl.c (__scalbl): Likewise.
19727 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
19728 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
19729 with isinf.
19730 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
19731 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
19732 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
19733 __isinf_nsf with isinf.
19734 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
19735 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
19736 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
19737 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
19738 with isinf.
19739 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
19740 __isinf_nsl with isinf.
19741 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
19742 with isinf.
19743 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
19744 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
19745 __isinf_nsl with isinf.
19746 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
19747 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
19748 with isinf.
19749
19750 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19751
19752 * resolv/base64.c (rcsid): Remove unused static.
19753 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
19754 static. (tqpi1): Likewise.
19755 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
19756 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
19757 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
19758 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
19759 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
19760 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
19761 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
19762 * timezone/private.h (time_t_min): Likewise. (time_t_max):
19763 Likewise.
19764
19765 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
19766
19767 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
19768 <nptl/pthreadP.h>.
19769 (_longjmp_unwind): Use __libc_ptf_call.
19770 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
19771
19772 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
19773
19774 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
19775 * sysdeps/arm/__longjmp.S: Likewise.
19776
19777 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19778
19779 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
19780 Use __builtin_signbit.
19781 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
19782 Use __builtin_signbitf.
19783 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
19784 Use __builtin_signbitl.
19785 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19786 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
19787
19788 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19789
19790 [BZ #15367]
19791 [BZ #17441]
19792
19793 * math/Makefile: Build test-snan.c with -fsignaling-nans.
19794 * math/math.h (fpclassify): Use __builtin_fpclassify when
19795 available. (signbit): Use __builtin_signbit(f/l).
19796 (isfinite): Use__builtin_isfinite. (isnormal): Use
19797 __builtin_isnormal. (isnan): Use __builtin_isnan.
19798 (isinf): Use __builtin_isinf_sign.
19799
19800 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19801
19802 * benchtests/Makefile: Add bench-math-inlines, link with libm.
19803 * benchtests/bench-math-inlines.c: New benchmark.
19804 * benchtests/bench-util.h: New file.
19805 * benchtests/bench-util.c: New file.
19806 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
19807
19808 2015-09-18 Carlos O'Donell <carlos@redhat.com>
19809
19810 * elf/tst-dlmopen1.c: Define TEST_SO.
19811 (do_test): Use TEST_SO.
19812
19813 * elf/dl-load.c: Include libc-internal.h.
19814 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
19815
19816 2015-09-18 Vincent Bernat <vincent@bernat.im>
19817
19818 [BZ #17887]
19819 * time/strptime_l.c (__strptime_internal): Make %z accept
19820 [+-]HH:MM time zones.
19821
19822 2015-09-18 Vincent Bernat <vincent@bernat.im>
19823
19824 [BZ #17886]
19825 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
19826 valid time zone.
19827
19828 2015-09-17 Mike Frysinger <vapier@gentoo.org>
19829
19830 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
19831 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
19832 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19833 (__ASSUME_FDATASYNC): Delete.
19834
19835 2015-09-17 Joseph Myers <joseph@codesourcery.com>
19836
19837 * conform/linknamespace.pl: Require weak undefined symbols to be
19838 in the standard namespace.
19839 (%strong_syms): Rename to %seen_syms.
19840 (%strong_seen): Rename to %seen_where.
19841
19842 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
19843
19844 [BZ #18970]
19845 * misc/error.c (error): Replace pthread_setcancelstate with
19846 __pthread_setcancelstate.
19847 (error_at_line): Likewise.
19848 * posix/wordexp.c (parse_comm): Likewise.
19849 * stdlib/fmtmsg.c (fmtmsg): Likewise.
19850 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
19851 (__pthread_setcancelstate): This.
19852 (pthread_setcancelstate): Add an alias.
19853 * nptl/nptl-init.c (pthread_functions): Replace
19854 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
19855 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
19856 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
19857 hidden_proto.
19858 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
19859 it with hidden_def.
19860 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
19861 (pthread_setcancelstate): Renamed to ...
19862 (__pthread_setcancelstate): This.
19863 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
19864 __libc_ptf_call with __pthread_setcancelstate.
19865
19866 2015-09-17 Joseph Myers <joseph@codesourcery.com>
19867 Andreas Schwab <schwab@suse.de>
19868
19869 [BZ #17118]
19870 * math/s_ctan.c (__ctan): Determine sign of zero real part of
19871 result when imaginary part of argument is infinite using sine and
19872 cosine.
19873 * math/s_ctanf.c (__ctanf): Likewise.
19874 * math/s_ctanl.c (__ctanl): Likewise.
19875 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
19876 of result when real part of argument is infinite using sine and
19877 cosine.
19878 * math/s_ctanhf.c (__ctanhf): Likewise.
19879 * math/s_ctanhl.c (__ctanhl): Likewise.
19880 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
19881 (ctanh_test_data): Add more tests of ctanh.
19882
19883 2015-09-17 Joseph Myers <joseph@codesourcery.com>
19884
19885 [BZ #15384]
19886 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
19887 bit-mask as in subtraction.
19888 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
19889 Likewise.
19890 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
19891 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
19892 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
19893
19894 [BZ #18951]
19895 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
19896 underflow exception for small results.
19897 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
19898 Likewise.
19899 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
19900 Likewise.
19901 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19902 Likewise.
19903 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19904 Likewise.
19905 * math/auto-libm-test-in: Add more tests of tgamma.
19906 * math/auto-libm-test-out: Regenerated.
19907
19908 2015-09-17 Andreas Schwab <schwab@suse.de>
19909
19910 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
19911
19912 2015-09-16 Joseph Myers <joseph@codesourcery.com>
19913
19914 [BZ #18977]
19915 * math/bits/mathcalls.h
19916 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
19917 not declare.
19918 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
19919 Likewise.
19920 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
19921 Likewise.
19922 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
19923 Likewise.
19924 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
19925 Likewise.
19926 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
19927 Likewise.
19928 * conform/data/math.h-data
19929 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
19930 function.
19931 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
19932 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
19933 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
19934 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
19935 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
19936 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
19937 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
19938 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
19939 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
19940 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
19941 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
19942
19943 [BZ #6803]
19944 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
19945 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
19946 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
19947 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
19948 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
19949 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
19950 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
19951 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
19952 [NO_LONG_DOUBLE] (scalbnl): Likewise.
19953 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
19954 Likewise.
19955 [NO_LONG_DOUBLE] (scalbnl): Likewise.
19956 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
19957 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
19958 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
19959 long_double_symbol calls.
19960 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
19961 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
19962 strong alias of __ldexpl.
19963 (scalbnl): Define using long_double_symbol.
19964 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
19965 Remove alias.
19966 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
19967 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
19968 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
19969 (scalbln_test_data): Add more errno expectations.
19970
19971 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
19972
19973 Cache the host port like we cache the task port. This way we do not
19974 need to call the kernel just to get the port. Furthermore, we no
19975 longer increase the reference count on every invocation of
19976 `mach_host_self'.
19977
19978 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
19979 Protect declarations against the macro expansion.
19980 * mach/mach_init.c (__mach_host_self_): New variable.
19981 (mach_init): Initialize `__mach_host_self_'.
19982 * mach/mach_init.h (__mach_host_self_): New declaration.
19983 (__mach_host_self, mach_host_self): New macros.
19984 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
19985 Release reference.
19986
19987 2015-09-16 Joseph Myers <joseph@codesourcery.com>
19988
19989 [BZ #4404]
19990 * po/de.po: Update from Translation Project.
19991
19992 [BZ #16415]
19993 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
19994 (__expm1l): Remove code to handle positive infinity and overflow.
19995 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
19996 variable.
19997 (__expm1l): Remove code to handle positive infinity and overflow.
19998
19999 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
20000 Paul Pluzhnikov <ppluzhnikov@google.com>
20001
20002 [BZ #18872]
20003 * stdio-common/Makefile (tst-printf-bz18872): New test.
20004 (tst-printf-bz18872-mem.out): Likewise.
20005 * stdio-common/tst-printf-bz18872.sh: Generate new test.
20006 * stdio-common/vfprintf.c: Fix memory leaks.
20007
20008 2015-09-16 Andreas Schwab <schwab@suse.de>
20009
20010 [BZ #17244]
20011 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
20012 Remove extra va_start/va_end calls.
20013
20014 [BZ #17243]
20015 * posix/execl.c (execl): Add missing va_end.
20016 * posix/execle.c (execle): Likewise.
20017 * posix/execlp.c (execlp): Likewise.
20018
20019 2015-09-15 Roland McGrath <roland@hack.frob.com>
20020
20021 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
20022 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
20023
20024 2015-09-15 Joseph Myers <joseph@codesourcery.com>
20025
20026 [BZ #18967]
20027 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
20028 undefine around includes of <bits/mathcalls.h>.
20029 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
20030 not declare function.
20031 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
20032 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
20033 (scalb): Likewise.
20034 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
20035 not define macro.
20036 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
20037 variable.
20038 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20039 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20040 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20041
20042 [BZ #18857]
20043 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
20044 return non-finite argument without doing ordered comparisons on
20045 it.
20046
20047 [BZ #16296]
20048 * math/fenv.h (fegetround): Use __attribute_pure__.
20049 * include/fenv.h (__fegetround): Likewise.
20050
20051 [BZ #18595]
20052 * math/s_ctan.c (__ctan): Force underflow exception for results
20053 whose real or imaginary part has small absolute value.
20054 * math/s_ctanf.c (__ctanf): Likewise.
20055 * math/s_ctanh.c (__ctanh): Likewise.
20056 * math/s_ctanhf.c (__ctanhf): Likewise.
20057 * math/s_ctanhl.c (__ctanhl): Likewise.
20058 * math/s_ctanl.c (__ctanl): Likewise.
20059 * math/auto-libm-test-in: Do not allow missing underflow for ctan
20060 and ctanh. Add more tests of ctan and ctanh.
20061
20062 [BZ #15918]
20063 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
20064 handling of cases where one argument is an infinity.
20065
20066 [BZ #18875]
20067 [BZ #18966]
20068 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
20069 (MO): New macro.
20070 (__ieee754_exp10): For small results, force underflow exception
20071 and remove excess range and precision from return value.
20072 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
20073 (MO): New macro.
20074 (__ieee754_exp10f): For small results, force underflow exception
20075 and remove excess range and precision from return value.
20076 * math/auto-libm-test-in: Add more tests of exp10.
20077 * math/auto-libm-test-out: Regenerated.
20078
20079 2015-09-14 Joseph Myers <joseph@codesourcery.com>
20080
20081 [BZ #18875]
20082 [BZ #18961]
20083 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
20084 (MO): New macro.
20085 (__ieee754_exp): For small results, force underflow exception and
20086 remove excess range and precision from return value.
20087 (__exp_finite): Likewise.
20088 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
20089 (MO): New macro.
20090 (__ieee754_expf): For small results, force underflow exception and
20091 remove excess range and precision from return value.
20092 (__expf_finite): Likewise.
20093 * math/auto-libm-test-in: Add more tests of exp.
20094 * math/auto-libm-test-out: Regenerated.
20095
20096 [BZ #16521]
20097 [BZ #18875]
20098 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
20099 small results.
20100 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
20101 (MO): New macro.
20102 (__ieee754_exp2): For small results, force underflow exception and
20103 remove excess range and precision from return value.
20104 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
20105 (MO): New macro.
20106 (__ieee754_exp2f): For small results, force underflow exception
20107 and remove excess range and precision from return value.
20108 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
20109 (MO): New macro.
20110 (__ieee754_exp2l): Force underflow exception for small results.
20111 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20112 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20113 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
20114 (MO): New macro.
20115 (__ieee754_exp2l): Force underflow exception for small results.
20116 * math/auto-libm-test-in: Add more tests or exp2.
20117 * math/auto-libm-test-out: Regenerated.
20118
20119 2015-09-14 Carlos O'Donell <carlos@redhat.com>
20120
20121 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
20122
20123 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
20124 /dev/null.
20125
20126 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
20127
20128 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20129 io fs process)): Drop spurious backslash.
20130
20131 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
20132
20133 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
20134 Use sysinfo system call instead of parsing /proc/meminfo.
20135 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
20136 Likewise.
20137
20138 2015-09-11 Mike Frysinger <vapier@gentoo.org>
20139
20140 [BZ #16985]
20141 * programs/localedef.c (main): Display argv[remaining] when
20142 output_path is NULL.
20143
20144 2015-09-11 Joseph Myers <joseph@codesourcery.com>
20145
20146 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20147 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
20148 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
20149 tanh.
20150 * math/auto-libm-test-out: Regenerated.
20151 * sysdeps/i386/fpu/libm-test-ulps: Update.
20152 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20153 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20155
20156 2015-09-11 Roland McGrath <roland@hack.frob.com>
20157
20158 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
20159 Use 'override' keyword to freeze the value here, preventing
20160 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
20161
20162 2015-09-11 Joseph Myers <joseph@codesourcery.com>
20163
20164 [BZ #14912]
20165 * sysdeps/aarch64/bits/atomic.h: Move to ...
20166 * sysdeps/aarch64/atomic-machine.h: ...here.
20167 (_AARCH64_BITS_ATOMIC_H): Rename macro to
20168 _AARCH64_ATOMIC_MACHINE_H.
20169 * sysdeps/alpha/bits/atomic.h: Move to ...
20170 * sysdeps/alpha/atomic-machine.h: ...here.
20171 * sysdeps/arm/bits/atomic.h: Move to ...
20172 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
20173 * bits/atomic.h: Move to ...
20174 * sysdeps/generic/atomic-machine.h: ...here.
20175 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20176 * sysdeps/i386/bits/atomic.h: Move to ...
20177 * sysdeps/i386/atomic-machine.h: ...here.
20178 * sysdeps/ia64/bits/atomic.h: Move to ...
20179 * sysdeps/ia64/atomic-machine.h: ...here.
20180 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
20181 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
20182 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20183 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
20184 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
20185 * sysdeps/microblaze/bits/atomic.h: Move to ...
20186 * sysdeps/microblaze/atomic-machine.h: ...here.
20187 * sysdeps/mips/bits/atomic.h: Move to ...
20188 * sysdeps/mips/atomic-machine.h: ...here.
20189 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
20190 * sysdeps/powerpc/bits/atomic.h: Move to ...
20191 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
20192 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
20193 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
20194 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
20195 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
20196 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
20197 <atomic-machine.h> instead of <bits/atomic.h>.
20198 * sysdeps/s390/bits/atomic.h: Move to ...
20199 * sysdeps/s390/atomic-machine.h: ...here.
20200 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
20201 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
20202 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20203 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
20204 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
20205 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
20206 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
20207 * sysdeps/tile/bits/atomic.h: Move to ...
20208 * sysdeps/tile/atomic-machine.h: ...here.
20209 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
20210 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
20211 <sysdeps/tile/atomic-machine.h> instead of
20212 <sysdeps/tile/bits/atomic.h>.
20213 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20214 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
20215 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
20216 <sysdeps/tile/atomic-machine.h> instead of
20217 <sysdeps/tile/bits/atomic.h>.
20218 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20219 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
20220 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
20221 <sysdeps/arm/atomic-machine.h> instead of
20222 <sysdeps/arm/bits/atomic.h>.
20223 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
20224 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
20225 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20226 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
20227 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
20228 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20229 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
20230 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
20231 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
20232 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
20233 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
20234 * sysdeps/x86_64/bits/atomic.h: Move to ...
20235 * sysdeps/x86_64/atomic-machine.h: ...here.
20236 * include/atomic.h: Include <atomic-machine.h> instead of
20237 <bits/atomic.h>.
20238
20239 * sysdeps/mips/mips32/libm-test-ulps: Update.
20240 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20241
20242 [BZ #18952]
20243 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
20244 not convert non-integer negative arguments to int to determine the
20245 value of signgam.
20246 * math/auto-libm-test-in: Add more tests of lgamma.
20247 * math/auto-libm-test-out: Regenerated.
20248
20249 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
20250 cosh, csqrt, erfc, expm1 and lgamma.
20251 * math/auto-libm-test-out: Regenerated.
20252 * sysdeps/i386/fpu/libm-test-ulps: Update.
20253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20254
20255 2015-09-10 Joseph Myers <joseph@codesourcery.com>
20256
20257 [BZ #2542]
20258 [BZ #2543]
20259 [BZ #2558]
20260 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
20261 __lgamma_neg for arguments from -28.0 to -2.0.
20262 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
20263 __lgamma_negf for arguments from -15.0 to -2.0.
20264 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20265 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
20266 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
20267 Call __lgamma_negl for arguments from -33.0 to -2.0.
20268 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
20269 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
20270 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
20271 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
20272 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
20273 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
20274 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
20275 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
20276 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
20277 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
20278 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
20279 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
20280 (__lgamma_neg): Likewise.
20281 (__lgamma_negl): Likewise.
20282 (__lgamma_product): Likewise.
20283 (__lgamma_productl): Likewise.
20284 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
20285 * math/auto-libm-test-in: Add more tests of lgamma.
20286 * math/auto-libm-test-out: Regenerated.
20287 * sysdeps/i386/fpu/libm-test-ulps: Update.
20288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20289
20290 2015-09-09 Justin Maggard <jmaggard@netgear.com>
20291
20292 [BZ #18675]
20293 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
20294
20295 2015-09-08 Joseph Myers <joseph@codesourcery.com>
20296
20297 [BZ #14912]
20298 * bits/libc-lock.h: Move to ...
20299 * sysdeps/generic/libc-lock.h: ...here.
20300 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20301 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
20302 * sysdeps/mach/hurd/libc-lock.h: ...here.
20303 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20304 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
20305 * sysdeps/mach/bits/libc-lock.h: Move to ...
20306 * sysdeps/mach/libc-lock.h: ...here.
20307 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20308 * sysdeps/nptl/bits/libc-lock.h: Move to ...
20309 * sysdeps/nptl/libc-lock.h: ...here.
20310 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20311 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
20312 * sysdeps/nptl/libc-lockP.h: ...here.
20313 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
20314 * crypt/crypt_util.c: Include <libc-lock.h> instead of
20315 <bits/libc-lock.h>.
20316 * dirent/scandir-tail.c: Likewise.
20317 * dlfcn/dlerror.c: Likewise.
20318 * elf/dl-close.c: Likewise.
20319 * elf/dl-iteratephdr.c: Likewise.
20320 * elf/dl-lookup.c: Likewise.
20321 * elf/dl-open.c: Likewise.
20322 * elf/dl-support.c: Likewise.
20323 * elf/dl-writev.h: Likewise.
20324 * elf/rtld.c: Likewise.
20325 * grp/fgetgrent.c: Likewise.
20326 * gshadow/fgetsgent.c: Likewise.
20327 * gshadow/sgetsgent.c: Likewise.
20328 * iconv/gconv_conf.c: Likewise.
20329 * iconv/gconv_db.c: Likewise.
20330 * iconv/gconv_dl.c: Likewise.
20331 * iconv/gconv_int.h: Likewise.
20332 * iconv/gconv_trans.c: Likewise.
20333 * include/link.h: Likewise.
20334 * inet/getnameinfo.c: Likewise.
20335 * inet/getnetgrent.c: Likewise.
20336 * inet/getnetgrent_r.c: Likewise.
20337 * intl/bindtextdom.c: Likewise.
20338 * intl/dcigettext.c: Likewise.
20339 * intl/finddomain.c: Likewise.
20340 * intl/gettextP.h: Likewise.
20341 * intl/loadmsgcat.c: Likewise.
20342 * intl/localealias.c: Likewise.
20343 * intl/textdomain.c: Likewise.
20344 * libidn/idn-stub.c: Likewise.
20345 * libio/libioP.h: Likewise.
20346 * locale/duplocale.c: Likewise.
20347 * locale/freelocale.c: Likewise.
20348 * locale/newlocale.c: Likewise.
20349 * locale/setlocale.c: Likewise.
20350 * login/getutent_r.c: Likewise.
20351 * login/getutid_r.c: Likewise.
20352 * login/getutline_r.c: Likewise.
20353 * login/utmp-private.h: Likewise.
20354 * login/utmpname.c: Likewise.
20355 * malloc/mtrace.c: Likewise.
20356 * misc/efgcvt.c: Likewise.
20357 * misc/error.c: Likewise.
20358 * misc/fstab.c: Likewise.
20359 * misc/getpass.c: Likewise.
20360 * misc/mntent.c: Likewise.
20361 * misc/syslog.c: Likewise.
20362 * nis/nis_call.c: Likewise.
20363 * nis/nis_callback.c: Likewise.
20364 * nis/nss-default.c: Likewise.
20365 * nis/nss_compat/compat-grp.c: Likewise.
20366 * nis/nss_compat/compat-initgroups.c: Likewise.
20367 * nis/nss_compat/compat-pwd.c: Likewise.
20368 * nis/nss_compat/compat-spwd.c: Likewise.
20369 * nis/nss_nis/nis-alias.c: Likewise.
20370 * nis/nss_nis/nis-ethers.c: Likewise.
20371 * nis/nss_nis/nis-grp.c: Likewise.
20372 * nis/nss_nis/nis-hosts.c: Likewise.
20373 * nis/nss_nis/nis-network.c: Likewise.
20374 * nis/nss_nis/nis-proto.c: Likewise.
20375 * nis/nss_nis/nis-pwd.c: Likewise.
20376 * nis/nss_nis/nis-rpc.c: Likewise.
20377 * nis/nss_nis/nis-service.c: Likewise.
20378 * nis/nss_nis/nis-spwd.c: Likewise.
20379 * nis/nss_nisplus/nisplus-alias.c: Likewise.
20380 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
20381 * nis/nss_nisplus/nisplus-grp.c: Likewise.
20382 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
20383 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
20384 * nis/nss_nisplus/nisplus-network.c: Likewise.
20385 * nis/nss_nisplus/nisplus-proto.c: Likewise.
20386 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
20387 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
20388 * nis/nss_nisplus/nisplus-service.c: Likewise.
20389 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
20390 * nis/ypclnt.c: Likewise.
20391 * nptl/libc_pthread_init.c: Likewise.
20392 * nss/getXXbyYY.c: Likewise.
20393 * nss/getXXent.c: Likewise.
20394 * nss/getXXent_r.c: Likewise.
20395 * nss/nss_db/db-XXX.c: Likewise.
20396 * nss/nss_db/db-netgrp.c: Likewise.
20397 * nss/nss_db/nss_db.h: Likewise.
20398 * nss/nss_files/files-XXX.c: Likewise.
20399 * nss/nss_files/files-alias.c: Likewise.
20400 * nss/nsswitch.c: Likewise.
20401 * posix/regex_internal.h: Likewise.
20402 * posix/wordexp.c: Likewise.
20403 * pwd/fgetpwent.c: Likewise.
20404 * resolv/res_hconf.c: Likewise.
20405 * resolv/res_libc.c: Likewise.
20406 * shadow/fgetspent.c: Likewise.
20407 * shadow/lckpwdf.c: Likewise.
20408 * shadow/sgetspent.c: Likewise.
20409 * socket/opensock.c: Likewise.
20410 * stdio-common/reg-modifier.c: Likewise.
20411 * stdio-common/reg-printf.c: Likewise.
20412 * stdio-common/reg-type.c: Likewise.
20413 * stdio-common/vfprintf.c: Likewise.
20414 * stdio-common/vfscanf.c: Likewise.
20415 * stdlib/abort.c: Likewise.
20416 * stdlib/cxa_atexit.c: Likewise.
20417 * stdlib/fmtmsg.c: Likewise.
20418 * stdlib/random.c: Likewise.
20419 * stdlib/setenv.c: Likewise.
20420 * string/strsignal.c: Likewise.
20421 * sunrpc/auth_none.c: Likewise.
20422 * sunrpc/bindrsvprt.c: Likewise.
20423 * sunrpc/create_xid.c: Likewise.
20424 * sunrpc/key_call.c: Likewise.
20425 * sunrpc/rpc_thread.c: Likewise.
20426 * sysdeps/arm/backtrace.c: Likewise.
20427 * sysdeps/generic/ldsodefs.h: Likewise.
20428 * sysdeps/generic/stdio-lock.h: Likewise.
20429 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
20430 * sysdeps/i386/backtrace.c: Likewise.
20431 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20432 * sysdeps/m68k/backtrace.c: Likewise.
20433 * sysdeps/mach/hurd/cthreads.c: Likewise.
20434 * sysdeps/mach/hurd/dirstream.h: Likewise.
20435 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
20436 * sysdeps/nptl/malloc-machine.h: Likewise.
20437 * sysdeps/nptl/stdio-lock.h: Likewise.
20438 * sysdeps/posix/dirstream.h: Likewise.
20439 * sysdeps/posix/getaddrinfo.c: Likewise.
20440 * sysdeps/posix/system.c: Likewise.
20441 * sysdeps/pthread/aio_suspend.c: Likewise.
20442 * sysdeps/s390/s390-32/backtrace.c: Likewise.
20443 * sysdeps/s390/s390-64/backtrace.c: Likewise.
20444 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20445 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
20446 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
20447 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
20448 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
20449 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
20450 * sysdeps/unix/sysv/linux/system.c: Likewise.
20451 * sysdeps/x86_64/backtrace.c: Likewise.
20452 * time/alt_digit.c: Likewise.
20453 * time/era.c: Likewise.
20454 * time/tzset.c: Likewise.
20455 * wcsmbs/wcsmbsload.c: Likewise.
20456 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
20457 instead of <bits/libc-lock.h> in comment.
20458
20459 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
20460
20461 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
20462 Only use .set mips2 if the current ISA is below mips2.
20463 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
20464 Likewise.
20465 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
20466 mips32r2 if the current ISA is below mips32r2.
20467 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
20468 (TLS_IE): Updated to use the TLD_RDHWR macro.
20469 (TLS_LE): Likewise.
20470 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
20471 __ASSEMBLER__ condition.
20472
20473 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
20474
20475 Fix parallel build of before-compile targets.
20476
20477 * sysdeps/mach/Makefile ($(patsubst
20478 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
20479 mach-before-compile target.
20480 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20481 io fs process)): Move rule to dedicated hurd-before-compile target.
20482
20483 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20484
20485 Fix rules generating headers in hurd/ and mach/ when initial make call
20486 has subdir= explicitly set.
20487
20488 * sysdeps/mach/Makefile ($(patsubst
20489 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
20490 calling $(MAKE).
20491 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20492 io fs process)): Force subdir to hurd when calling $(MAKE).
20493 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
20494 subdir to mach when calling $(MAKE).
20495
20496 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
20497
20498 Check sysheaders when looking for Mach and Hurd headers
20499
20500 * sysdeps/mach/configure.ac: Add sysheaders check.
20501 * sysdeps/mach/configure: Regenerate.
20502 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
20503 * sysdeps/mach/hurd/configure: Regenerate.
20504
20505 2015-09-04 Roland McGrath <roland@hack.frob.com>
20506
20507 [BZ #18921]
20508 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
20509 Fix inverted sense of test of 'o_directory_works' value.
20510 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
20511 Bernhard Voelker <mail@bernhard-voelker.de>.
20512
20513 2015-09-04 Joseph Myers <joseph@codesourcery.com>
20514
20515 [BZ #14912]
20516 * bits/linkmap.h: Move to ...
20517 * sysdeps/generic/linkmap.h: ...here.
20518 * sysdeps/aarch64/bits/linkmap.h: Move to ...
20519 * sysdeps/aarch64/linkmap.h: ...here.
20520 * sysdeps/arm/bits/linkmap.h: Move to ...
20521 * sysdeps/arm/linkmap.h: ...here.
20522 * sysdeps/hppa/bits/linkmap.h: Move to ...
20523 * sysdeps/hppa/linkmap.h: ...here.
20524 * sysdeps/ia64/bits/linkmap.h: Move to ...
20525 * sysdeps/ia64/linkmap.h: ...here.
20526 * sysdeps/mips/bits/linkmap.h: Move to ...
20527 * sysdeps/mips/linkmap.h: ...here.
20528 * sysdeps/s390/bits/linkmap.h: Move to ...
20529 * sysdeps/s390/linkmap.h: ...here.
20530 * sysdeps/sh/bits/linkmap.h: Move to ...
20531 * sysdeps/sh/linkmap.h: ...here.
20532 * sysdeps/x86/bits/linkmap.h: Move to ...
20533 * sysdeps/x86/linkmap.h: ...here.
20534 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
20535
20536 2015-09-04 Andreas Schwab <schwab@suse.de>
20537
20538 [BZ #18635]
20539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
20540 (__makecontext): Terminate FDE before return label.
20541 (__novec_makecontext): Likewise.
20542
20543 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
20544
20545 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
20546 first member of struct sv in syscall macro.
20547
20548 2015-09-04 Joseph Myers <joseph@codesourcery.com>
20549
20550 [BZ #14912]
20551 * bits/stdio-lock.h: Move to ...
20552 * sysdeps/generic/stdio-lock.h: ...here.
20553 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
20554 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
20555 * sysdeps/nptl/stdio-lock.h: ...here.
20556 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
20557 * include/libio.h: Include <stdio-lock.h> instead of
20558 <bits/stdio-lock.h>.
20559 * sysdeps/nptl/fork.c: Likewise.
20560 * sysdeps/pthread/flockfile.c: Likewise.
20561 * sysdeps/pthread/ftrylockfile.c: Likewise.
20562 * sysdeps/pthread/funlockfile.c: Likewise.
20563
20564 [BZ #14912]
20565 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
20566 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
20567 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
20568 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
20569 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
20570 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
20571 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
20572
20573 2015-09-03 Roland McGrath <roland@hack.frob.com>
20574
20575 * elf/Makefile (test-xfail-tst-protected1a): New variable.
20576 (test-xfail-tst-protected1b): New variable.
20577
20578 2015-09-03 Joseph Myers <joseph@codesourcery.com>
20579
20580 [BZ #14912]
20581 * bits/libc-tsd.h: Move to ...
20582 * sysdeps/generic/libc-tsd.h: ...here.
20583 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
20584 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
20585 * sysdeps/mach/hurd/libc-tsd.h: ...here.
20586 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
20587 * include/ctype.h: Include <libc-tsd.h> instead of
20588 <bits/libc-tsd.h>.
20589 * include/rpc/rpc.h: Likewise.
20590 * locale/localeinfo.h: Likewise.
20591 * sunrpc/rpc_thread.c: Likewise.
20592 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
20593 * sysdeps/nptl/malloc-machine.h: Likewise.
20594
20595 * Makefile (headers): Remove bits/libc-lock.h.
20596 * libio/Makefile (headers): Remove bits/stdio-lock.h.
20597
20598 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
20599 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
20600 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
20601 <bits/stdio-lock.h>.
20602 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
20603 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
20604
20605 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
20606
20607 [BZ #18757]
20608 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
20609 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
20610 BZ #18757.
20611
20612 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
20613
20614 * malloc/mtrace.pl: Filter out NULL entries.
20615
20616 2015-09-01 Joseph Myers <joseph@codesourcery.com>
20617
20618 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
20619 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
20620 macro.
20621
20622 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
20623 (TCP_CC_INFO): Likewise.
20624 (TCP_SAVE_SYN): Likewise.
20625 (TCP_SAVED_SYN): Likewise.
20626
20627 2015-08-31 Brett Neumeier <brett@neumeier.us>
20628
20629 [BZ #18870]
20630 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
20631
20632 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
20633
20634 [BZ #18873]
20635 Fix broken overflow check in posix_fallocate
20636 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
20637 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20638 Fix parenthesization typo.
20639
20640 2015-08-28 Mike Frysinger <vapier@gentoo.org>
20641
20642 [BZ #18887]
20643 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
20644 tst-mntent-blank-passno.
20645 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
20646 * misc/tst-mntent-blank-corrupt.c: New test.
20647 * misc/tst-mntent-blank-passno.c: New test ripped from ...
20648 * misc/tst-mntent.c (do_test): ... here.
20649
20650 2015-08-29 Mike Frysinger <vapier@gentoo.org>
20651
20652 [BZ #4404]
20653 * po/de.po: Fix SIGALRM typo.
20654
20655 2015-08-28 James Perkins <james@loowit.net>
20656
20657 * time/tst-strptime2.c (tests): Replace short list of test
20658 strings for strptime %z specifier with code which exhaustively
20659 tests every combination of sign and 0 to 5 digits. Tests for
20660 rejection of invalid strings.
20661
20662 2015-08-28 James Perkins <james@loowit.net>
20663
20664 [BZ #16141]
20665 * time/strptime_l.c (__strptime_internal): Fix %z minutes
20666 calculation, removing incorrect decimal time rounding, so that
20667 all minute values result in a valid seconds value.
20668 * time/strptime_l.c (__strptime_internal): Extend %z time zone
20669 offset range limits to UTC-99:59 through UTC+99:59 to parse
20670 current and historical use cases.
20671 * time/tst-strptime2.c (tests): Modify and add tests for the
20672 strptime %z input field descriptor, specifically conversion of
20673 minutes to seconds and validating an offset range of -9959 to
20674 +9959.
20675
20676 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20677 Dmitry V. Levin <ldv@altlinux.org>
20678
20679 [BZ #18877]
20680 * posix/Makefile (tests): Add tst-mmap-offset.
20681 * posix/tst-mmap.c: New file.
20682 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
20683 offset calculation for negative values.
20684
20685 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20686
20687 * sysdeps/i386/init-arch.h: New file.
20688 * sysdeps/i386/i586/init-arch.h: Likewise.
20689 * sysdeps/i386/i686/init-arch.h: Likewise.
20690 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
20691 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
20692 * sysdeps/x86/cpu-features.h (bit_I586): New.
20693 (bit_I686): Likewise.
20694 (bit_CX8): Likewise.
20695 (bit_CMOV): Likewise.
20696 (index_CX8): Likewise.
20697 (index_CMOV): Likewise.
20698 (index_I586): Likewise.
20699 (index_I686): Likewise.
20700 (reg_CX8): Likewise.
20701 (reg_CMOV): Likewise.
20702 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
20703 available at compile-time.
20704 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
20705 available at compile-time.
20706 * sysdeps/x86/init-arch.h (USE_I586): New macro.
20707 (USE_I686): Likewise.
20708
20709 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20710
20711 * sysdeps/i386/bcopy.S: New file.
20712 * sysdeps/i386/bzero.S: Likewise.
20713 * sysdeps/i386/memcpy.S: Likewise.
20714 * sysdeps/i386/memmove.S: Likewise.
20715 * sysdeps/i386/mempcpy.S: Likewise.
20716 * sysdeps/i386/memset.S: Likewise.
20717 * sysdeps/i386/bzero.c: Removed.
20718 * sysdeps/i386/memset.c: Likewise.
20719 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
20720 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
20721 * sysdeps/i386/i586/memset_chk.S: Likewise.
20722 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
20723 * sysdeps/i386/memcpy_chk.S: Here.
20724 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
20725 * sysdeps/i386/memmove_chk.S: Here.
20726 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
20727 * sysdeps/i386/mempcpy_chk.S: Likewise.
20728 * sysdeps/i386/i686/memset_chk.S: Moved to ...
20729 * sysdeps/i386/memset_chk.S: Likewise.
20730
20731 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
20732
20733 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
20734 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
20735 file, move DIAG_POP_NEEDS_COMMENT to end of file.
20736 * soft-fp/fmadf4.c: Ditto.
20737 * soft-fp/fmatf4.c: Ditto.
20738
20739 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20740
20741 * sysdeps/i386/i586/Implies: Removed.
20742 * sysdeps/i386/i686/Implies: Likewise.
20743
20744 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20745
20746 * sysdeps/i386/i486/strlen.S: Moved to ...
20747 * sysdeps/i386/strlen.S: Here.
20748
20749 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20750
20751 * sysdeps/i386/i486/strcat.S: Moved to ...
20752 * sysdeps/i386/strcat.S: Here.
20753
20754 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20755
20756 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
20757 * sysdeps/i386/pthread_spin_trylock.S: Here.
20758 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
20759 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
20760
20761 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20762
20763 * sysdeps/i386/i486/string-inlines.c: Moved to ...
20764 * sysdeps/i386/string-inlines.c: Here.
20765
20766 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20767
20768 * sysdeps/i386/i486/htonl.S: Moved ...
20769 * sysdeps/i386/htonl.S: here.
20770
20771 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20772
20773 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
20774 * sysdeps/i386/bits/atomic.h: Here.
20775
20776 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20777
20778 * sysdeps/i386/i486/Versions: Removed.
20779
20780 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
20781
20782 [BZ #2898]
20783 * misc/mktemp.c: Add mkdtemp to the link_warning message.
20784 Based on patch by Aurelien Jarno.
20785
20786 2015-08-26 Stan Shebs <stanshebs@google.com>
20787
20788 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
20789 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20790
20791 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
20792
20793 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
20794 * sysdeps/powerpc/dl-procinfo.c:
20795 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
20796 feature so it shows when LD_SHOW_AUXV=1.
20797
20798 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20799
20800 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20801 (__arch_compare_and_exchange_val_32_acq): Remove and use common
20802 definition. ISA 2.07B no longer requires full sync.
20803
20804 2015-08-26 Mike Frysinger <vapier@gentoo.org>
20805
20806 [BZ #18863]
20807 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
20808 (si_call_addr): Define.
20809 (si_syscall): Define.
20810 (si_arch): Define.
20811
20812 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
20813
20814 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
20815 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
20816 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
20817 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
20818 (__memset_zero_constant_len_parameter): New.
20819 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
20820 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
20821 (__memset_zero_constant_len_parameter): Don't define if
20822 __memset_chk or USE_AS_BZERO are defined.
20823
20824 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
20825 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
20826 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
20827
20828 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
20829 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
20830 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
20831 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
20832 comments.
20833 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
20834 -mno-mmx for $(all-rtld-routines).
20835 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
20836 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
20837 i386.
20838
20839 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20840
20841 * sysdeps/generic/unwind.h
20842 (_Unwind_Word): Use __mode__(__unwind_word__)
20843 instead of __mode__(__word__).
20844 (_Unwind_Sword): Likewise.
20845
20846 * sysdeps/s390/s390-64/utf8-utf16-z9.c
20847 (MAX_NEEDED_INPUT): New define.
20848 (MAX_NEEDED_OUTPUT): New define.
20849
20850 * NEWS: New item for IBM z13 string optimizations.
20851
20852 * sysdeps/s390/multiarch/memrchr-c.c: New File.
20853 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
20854 * sysdeps/s390/multiarch/memrchr.c: Likewise.
20855 * sysdeps/s390/multiarch/Makefile
20856 (sysdep_routines): Add memrchr functions.
20857 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20858 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
20859
20860 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
20861 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
20862 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
20863 * sysdeps/s390/multiarch/Makefile
20864 (sysdep_routines): Add wmemcmp functions.
20865 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20866 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
20867 * benchtests/bench-wmemcmp.c: New File.
20868 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
20869
20870 * sysdeps/s390/multiarch/wmemset-c.c: New File.
20871 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
20872 * sysdeps/s390/multiarch/wmemset.c: Likewise.
20873 * sysdeps/s390/multiarch/Makefile
20874 (sysdep_routines): Add wmemset functions.
20875 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20876 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
20877 * wcsmbs/wmemset.c: Use WMEMSET if defined.
20878 * string/test-memset.c: Add wmemset support.
20879 * wcsmbs/test-wmemset.c: New File.
20880 * wcsmbs/Makefile (strop-tests): Add wmemset.
20881 * benchtests/bench-memset.c: Add wmemset support.
20882 * benchtests/bench-wmemset.c: New File.
20883 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
20884
20885 * sysdeps/s390/multiarch/memccpy-c.c: New File.
20886 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
20887 * sysdeps/s390/multiarch/memccpy.c: Likewise.
20888 * sysdeps/s390/multiarch/Makefile
20889 (sysdep_routines): Add memccpy functions.
20890 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20891 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
20892 * string/memccpy.c: Use MEMCCPY if defined.
20893
20894 * sysdeps/s390/multiarch/memchr-vx.S: New File.
20895 * sysdeps/s390/multiarch/memchr.c: Likewise.
20896 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
20897 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
20898 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
20899 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
20900 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
20901 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
20902 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
20903 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
20904 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
20905 and rawmemchr functions.
20906 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20907 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
20908 and wmemchr.
20909 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
20910 * string/test-memchr.c: Add wmemchr support.
20911 * wcsmbs/test-wmemchr.c: New File.
20912 * wcsmbs/Makefile (strop-tests): Add wmemchr.
20913 * benchtests/bench-memchr.c: Add wmemchr support.
20914 * benchtests/bench-wmemchr.c: New File.
20915 * benchtests/Makefile (wcsmbs-bench): wmemchr.
20916
20917 * sysdeps/s390/multiarch/strcspn-c.c: New File.
20918 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
20919 * sysdeps/s390/multiarch/strcspn.c: Likewise.
20920 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
20921 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
20922 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
20923 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
20924 wcscspn functions.
20925 * sysdeps/s390/multiarch/ifunc-impl-list.c
20926 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
20927 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
20928 * string/test-strcspn.c: Add wcscspn support.
20929 * wcsmbs/test-wcscspn.c: New File.
20930 * wcsmbs/Makefile (strop-tests): Add wcscspn.
20931 * benchtests/bench-strcspn.c: Add wcscspn support.
20932 * benchtests/bench-wcscspn.c: New File.
20933 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
20934
20935 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
20936 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
20937 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
20938 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
20939 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
20940 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
20941 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
20942 wcspbrk functions.
20943 * sysdeps/s390/multiarch/ifunc-impl-list.c
20944 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
20945 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
20946 * string/test-strpbrk.c: Add wcspbrk support.
20947 * wcsmbs/test-wcspbrk.c: New File.
20948 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
20949 * benchtests/bench-strpbrk.c: Add wcspbrk support.
20950 * benchtests/bench-wcspbrk.c: New File.
20951 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
20952
20953 * sysdeps/s390/multiarch/strspn-c.c: New File.
20954 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
20955 * sysdeps/s390/multiarch/strspn.c: Likewise.
20956 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
20957 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
20958 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
20959 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
20960 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
20961 wcsspn functions.
20962 * sysdeps/s390/multiarch/ifunc-impl-list.c
20963 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
20964 * string/test-strspn.c: Add wcsspn support.
20965 * wcsmbs/test-wcsspn.c: New File.
20966 * wcsmbs/Makefile (strop-tests): Add wcsspn.
20967 * benchtests/bench-strspn.c: Add wcsspn support.
20968 * benchtests/bench-wcsspn.c: New File.
20969 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
20970
20971 * sysdeps/s390/multiarch/strrchr-c.c: New File.
20972 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
20973 * sysdeps/s390/multiarch/strrchr.c: Likewise.
20974 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
20975 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
20976 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
20977 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
20978 wcsrchr functions.
20979 * sysdeps/s390/multiarch/ifunc-impl-list.c
20980 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
20981 * benchtests/bench-wcsrchr.c: New File.
20982 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
20983
20984 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
20985 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
20986 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
20987 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
20988 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
20989 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
20990 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
20991 wcschrnul functions.
20992 * sysdeps/s390/multiarch/ifunc-impl-list.c
20993 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
20994 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
20995 * string/test-strchr.c: Add wcschrnul support.
20996 * wcsmbs/test-wcschrnul.c: New File.
20997 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
20998 * benchtests/bench-strchr.c: Add wcschrnul support.
20999 * benchtests/bench-wcschrnul.c: New File.
21000 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
21001
21002 * sysdeps/s390/multiarch/strchr-c.c: New File.
21003 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
21004 * sysdeps/s390/multiarch/strchr.c: Likewise.
21005 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
21006 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
21007 * sysdeps/s390/multiarch/wcschr.c: Likewise.
21008 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
21009 wcschr functions.
21010 * sysdeps/s390/multiarch/ifunc-impl-list.c
21011 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
21012 * string/strchr.c (STRCHR): Define and use macro.
21013 * benchtests/bench-wcschr.c: New File.
21014 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
21015
21016 * sysdeps/s390/multiarch/strncmp-c.c: New File.
21017 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
21018 * sysdeps/s390/multiarch/strncmp.c: Likewise.
21019 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
21020 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
21021 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
21022 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
21023 wcsncmp functions.
21024 * sysdeps/s390/multiarch/ifunc-impl-list.c
21025 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
21026 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
21027 * benchtests/bench-strncmp.c: Add wcsncmp support.
21028 * benchtests/bench-wcsncmp.c: New File.
21029 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
21030
21031 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
21032 * sysdeps/s390/multiarch/strcmp.c: Likewise.
21033 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
21034 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
21035 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
21036 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
21037 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
21038 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
21039 wcscmp functions.
21040 * sysdeps/s390/multiarch/ifunc-impl-list.c
21041 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
21042 * string/strcmp.c (STRCMP): Define and use macro.
21043 * benchtests/bench-wcscmp.c: New File.
21044 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
21045 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
21046 instead of _HAVE_STRING_ARCH_memchr.
21047
21048 * sysdeps/s390/multiarch/strncat-c.c: New File.
21049 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
21050 * sysdeps/s390/multiarch/strncat.c: Likewise.
21051 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
21052 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
21053 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
21054 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
21055 wcsncat functions.
21056 * sysdeps/s390/multiarch/ifunc-impl-list.c
21057 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
21058 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
21059 * string/test-strncat.c: Add wcsncat support.
21060 * wcsmbs/test-wcsncat.c: New File.
21061 * wcsmbs/Makefile (strop-tests): Add wcsncat.
21062 * benchtests/bench-strncat.c: Add wcsncat support.
21063 * benchtests/bench-wcsncat.c: New File.
21064 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
21065
21066 * sysdeps/s390/multiarch/strcat-c.c: New File.
21067 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
21068 * sysdeps/s390/multiarch/strcat.c: Likewise.
21069 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
21070 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
21071 * sysdeps/s390/multiarch/wcscat.c: Likewise.
21072 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
21073 wcscat functions.
21074 * sysdeps/s390/multiarch/ifunc-impl-list.c
21075 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
21076 * string/strcat.c (STRCAT): Define and use macro.
21077 * wcsmbs/wcscat.c: Use WCSCAT if defined.
21078 * string/test-strcat.c: Add wcscat support.
21079 * wcsmbs/test-wcscat.c: New File.
21080 * wcsmbs/Makefile (strop-tests): Add wcscat.
21081 * benchtests/bench-strcat.c: Add wcscat support.
21082 * benchtests/bench-wcscat.c: New File.
21083 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
21084
21085 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
21086 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
21087 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
21088 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
21089 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
21090 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
21091 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
21092 wcpncpy functions.
21093 * sysdeps/s390/multiarch/ifunc-impl-list.c
21094 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
21095 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
21096 * string/test-stpncpy.c: Add wcpncpy support.
21097 * wcsmbs/test-wcpncpy.c: New File.
21098 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
21099 * benchtests/bench-stpncpy.c: Add wcpncpy support.
21100 * benchtests/bench-wcpncpy.c: New File.
21101 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
21102
21103 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
21104 * sysdeps/s390/multiarch/strncpy.c: Likewise.
21105 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
21106 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
21107 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
21108 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
21109 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
21110 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
21111 wcsncpy functions.
21112 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
21113 * sysdeps/s390/multiarch/ifunc-impl-list.c
21114 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
21115 * string/test-strncpy.c: Add wcsncpy support.
21116 * wcsmbs/test-wcsncpy.c: New File.
21117 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
21118 * benchtests/bench-strncpy.c: Add wcsncpy support.
21119 * benchtests/bench-wcsncpy.c: New File.
21120 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
21121
21122 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
21123 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
21124 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
21125 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
21126 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
21127 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
21128 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
21129 wcpcpy functions.
21130 * string/stpcpy.c: Use STPCPY if defined.
21131 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
21132 * sysdeps/s390/multiarch/ifunc-impl-list.c
21133 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
21134 * string/test-stpcpy.c: Add wcpcpy support.
21135 * wcsmbs/test-wcpcpy.c: New File.
21136 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
21137 * benchtests/bench-stpcpy.c: Add wcpcpy support.
21138 * benchtests/bench-wcpcpy.c: New File.
21139 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
21140
21141 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
21142 * sysdeps/s390/multiarch/strcpy.c: Likewise.
21143 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
21144 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
21145 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
21146 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
21147 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
21148 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
21149 wcscpy functions.
21150 * sysdeps/s390/multiarch/ifunc-impl-list.c
21151 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
21152 * benchtests/bench-wcscpy.c: New File.
21153 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
21154
21155 * sysdeps/s390/multiarch/strnlen-c.c: New File.
21156 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
21157 * sysdeps/s390/multiarch/strnlen.c: Likewise.
21158 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
21159 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
21160 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
21161 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
21162 wcsnlen functions.
21163 * sysdeps/s390/multiarch/ifunc-impl-list.c
21164 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
21165 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
21166 * string/test-strnlen.c: Add wcsnlen support.
21167 * wcsmbs/test-wcsnlen.c: New File.
21168 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
21169 * benchtests/bench-strnlen.c: Add wcsnlen support.
21170 * benchtests/bench-wcsnlen.c: New File.
21171 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
21172
21173 * sysdeps/s390/multiarch/Makefile: New File.
21174 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
21175 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
21176 * sysdeps/s390/multiarch/strlen.c: Likewise.
21177 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
21178 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
21179 * sysdeps/s390/multiarch/wcslen.c: Likewise.
21180 * string/strlen.c (STRLEN): Define and use macro.
21181 * sysdeps/s390/multiarch/ifunc-impl-list.c
21182 (IFUNC_VX_IMPL): New macro function.
21183 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
21184 * benchtests/Makefile (wcsmbs-bench): New variable.
21185 (string-bench-all): Added wcsmbs-bench.
21186 * benchtests/bench-wcslen.c: New File.
21187
21188 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
21189 s390_vx_libc_ifunc2): New macro function.
21190
21191 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
21192 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
21193 assembler support.
21194 * sysdeps/s390/configure: Regenerated.
21195
21196 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
21197 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
21198
21199 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
21200 * sysdeps/s390/dl-procinfo.h: Add vector capability.
21201 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
21202
21203 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
21204 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
21205 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
21206 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
21207 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
21208 (memcmp, bcmp): Use __memcmp_default as alias source.
21209 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
21210 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
21211 Rename to __memcmp_default.
21212 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
21213 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
21214 (memcpy): Use __memcpy_default as alias source.
21215 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
21216 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
21217 Rename to __memcpy_default.
21218 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
21219 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
21220 (memset): Use __memset_default as alias source.
21221 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
21222 * sysdeps/s390/s390-32/memset.S (__memset_g5):
21223 Rename to __memset_default.
21224 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
21225 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
21226 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
21227 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
21228 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
21229 (memcmp, bcmp): Use __memcmp_default as alias source.
21230 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
21231 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
21232 Rename to __memcmp_default.
21233 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
21234 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
21235 (memcpy): Use __memcpy_default as alias source.
21236 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
21237 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
21238 Rename to __memcpy_default.
21239 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
21240 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
21241 (memset): Use __memset_default as alias source.
21242 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
21243 * sysdeps/s390/s390-64/memset.S (__memset_z900):
21244 Rename to __memset_default.
21245 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
21246 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
21247
21248 [BZ #18610]
21249 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
21250 __ieee_instruction_pointer to __unused.
21251 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
21252 __ieee_instruction_pointer.
21253 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
21254 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
21255 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21256 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21257 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
21258 Mark dxc-field as reserved.
21259
21260 2015-08-25 Roland McGrath <roland@hack.frob.com>
21261
21262 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
21263 if the weak reference is not null.
21264
21265 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
21266
21267 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
21268
21269 [BZ #11214]
21270 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
21271
21272 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21273
21274 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
21275 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
21276 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
21277 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
21278 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
21279 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
21280 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
21281 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
21282 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
21283 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
21284 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
21285 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
21286 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
21287 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
21288 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
21289 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
21290 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
21291 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
21292
21293 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21294
21295 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
21296 register other than r0 for tabort, it has special meaning.
21297 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
21298 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
21299 transaction before starting syscall.
21300
21301 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21302
21303 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
21304
21305 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
21306
21307 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
21308
21309 * sysdeps/x86_64/rtld-memcmp.c: Removed.
21310 * sysdeps/x86_64/rtld-memset.S: Likewise.
21311 * sysdeps/x86_64/rtld-strchr.S: Likewise.
21312 * sysdeps/x86_64/rtld-strlen.S: Likewise.
21313 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
21314 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
21315
21316 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
21317
21318 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
21319
21320 * debug/strcpy_chk.c: Improve performance.
21321 * debug/stpcpy_chk.c: Likewise.
21322 * sysdeps/x86_64/strcpy_chk.S: Remove.
21323 * sysdeps/x86_64/stpcpy_chk.S: Remove.
21324
21325 [BZ #18240]
21326 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
21327
21328 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
21329
21330 [BZ #15128]
21331 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
21332 ifuncmain8.
21333 (modules-names): Add ifuncmod8.
21334 ($(objpfx)ifuncmain8): New rule.
21335 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
21336 <cpuid.h>.
21337 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
21338 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
21339 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
21340 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
21341 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
21342 * sysdeps/x86_64/dl-trampoline.h: Likewise.
21343 * sysdeps/x86_64/ifuncmain8.c: New file.
21344 * sysdeps/x86_64/ifuncmod8.c: Likewise.
21345 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
21346 Removed.
21347 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
21348 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
21349 Change rtld_savespace_sse to __glibc_unused2.
21350 (RTLD_CHECK_FOREIGN_CALL): Removed.
21351 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
21352 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
21353 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
21354
21355 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
21356
21357 * sysdeps/aarch64/bzero.S (__bzero): Remove.
21358
21359 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
21360
21361 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
21362 Unconditionally set __fpcr to avoid uninialized warning.
21363 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
21364
21365 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21366
21367 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
21368 is corrupt.
21369
21370 * malloc/arena.c (arena_get2): Drop unused argument.
21371 (arena_lock): Adjust.
21372 (arena_get_retry): Likewise.
21373
21374 2015-08-24 Andreas Schwab <schwab@suse.de>
21375
21376 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
21377 Don't define.
21378 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21379 (__ASSUME_IPC64): Don't undef.
21380 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
21381 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21382 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21383 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
21384 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
21385 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
21386 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
21387 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
21388 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
21389 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
21390 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
21391 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
21392 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
21393 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
21394 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
21395 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
21396 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
21397 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
21398 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
21399 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
21400 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
21401
21402 2015-08-21 Mike Frysinger <vapier@gentoo.org>
21403
21404 * manual/Makefile (install): Only build manual when perl is available.
21405
21406 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21407
21408 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
21409 '#undef memcpy' by '#undef memchr'.
21410
21411 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21412
21413 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
21414 memchr not point to the internal __GI_memchr implementation.
21415
21416 2015-08-20 Joseph Myers <joseph@codesourcery.com>
21417
21418 * timezone/Makefile (CFLAGS-zdump.c): Remove
21419 -Wno-strict-prototypes.
21420 (CFLAGS-zic.c): Likewise.
21421 (CFLAGS-ialloc.c): Likewise.
21422 (CFLAGS-scheck.c): Likewise.
21423
21424 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
21425 -Wno-error=undef.
21426
21427 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
21428
21429 * i386/i686/multiarch/strcasestr-c.c: Removed.
21430 * x86_64/multiarch/strcasestr.c: Likewise.
21431 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21432 Remove strcasestr.
21433
21434 2015-08-20 Joseph Myers <joseph@codesourcery.com>
21435
21436 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
21437
21438 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
21439 variables for high and low parts before possibly modifying them.
21440
21441 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
21442
21443 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
21444 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
21445 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
21446 of "multiarch/init-arch.h".
21447 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
21448 * sysdeps/x86/init-arch.h: This.
21449
21450 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
21451
21452 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
21453 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
21454
21455 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
21456
21457 [BZ #17787]
21458 * manual/macros.texi: Add twoexp macro.
21459 * manual/filesys.texi: Fix exponents.
21460 * manual/llio.texi: Likewise.
21461 * manual/stdio.texi: Likewise.
21462
21463 2015-08-20 Florian Weimer <fweimer@redhat.com>
21464
21465 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
21466 incorrect use.
21467
21468 2015-08-19 Joseph Myers <joseph@codesourcery.com>
21469
21470 [BZ #18370]
21471 * math/s_csqrt.c (__csqrt): Force underflow exception for results
21472 whose real or imaginary part has small absolute value.
21473 * math/s_csqrtf.c (__csqrtf): Likewise.
21474 * math/s_csqrtl.c (__csqrtl): Likewise.
21475 * math/auto-libm-test-in: Add more tests of csqrt.
21476 * math/auto-libm-test-out: Regenerated.
21477 * sysdeps/i386/fpu/libm-test-ulps: Update.
21478
21479 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
21480
21481 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
21482 __ppc_set_ppr_very_low): New functions.
21483 * manual/platform.texi: Add documentation about
21484 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
21485
21486 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
21487
21488 * string/stpncpy.c (stpncpy): Improve performance using
21489 __strnlen/memcpy/memset.
21490
21491 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
21492
21493 [BZ #18796]
21494 * scripts/test-installation.pl: Don't add -lmvec to build options if
21495 libmvec wasn't built.
21496
21497 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
21498
21499 [BZ #14341]
21500 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
21501 case when there is a gap between DT_REL and DT_JMPREL sections.
21502 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
21503 (LDFLAGS-tst-split-dynreloc): New.
21504 (tst-split-dynreloc-ENV): Likewise.
21505 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
21506 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
21507
21508 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
21509
21510 [BZ #18822]
21511 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
21512 attribute_hidden.
21513 (__xstat64_conv): Likewise.
21514 (__xstat32_conv): Likewise.
21515
21516 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
21517
21518 [BZ #18822]
21519 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
21520 Don't load %ebx when calling __setcontext. Call __setcontext
21521 with HIDDEN_JUMPTARGET.
21522 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
21523 libc_hidden_def.
21524
21525 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
21526
21527 * sysdeps/i386/i686/Makefile
21528 [$(subdir) == string] (sysdep_routines): Moved to ...
21529 * sysdeps/i386/Makefile: Here.
21530 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
21531 * sysdeps/i386/cacheinfo.c: Here.
21532 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
21533 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
21534 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
21535 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
21536
21537 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
21538
21539 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
21540 __i586__ is defined.
21541 (HAS_I686): Defined to 1 if __i686__ is defined.
21542
21543 2015-08-19 Joseph Myers <joseph@codesourcery.com>
21544
21545 * elf/Makefile [$(have-z-execstack) = yes]
21546 (CPPFLAGS-tst-execstack.c): New variable.
21547
21548 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
21549 conditional to [defined UTMPX || _HAVE_UT_TYPE].
21550 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
21551 UTMPX || _HAVE_UT_TV].
21552 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
21553 UTMPX || _HAVE_UT_TV - 0].
21554
21555 2015-08-18 Joseph Myers <joseph@codesourcery.com>
21556
21557 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
21558 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
21559 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
21560
21561 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21562
21563 * sysdeps/powerpc/dl-procinfo.c:
21564 (_dl_powerpc_cap_flags): Added missing strings for some
21565 hwcap features.
21566 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
21567
21568 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
21569
21570 Port the 0x7efe...feff pattern to GCC 6.
21571 See Steve Ellcey's bug report in:
21572 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
21573 * string/memrchr.c (MEMRCHR):
21574 * string/rawmemchr.c (RAWMEMCHR):
21575 * string/strchr.c (strchr):
21576 * string/strchrnul.c (STRCHRNUL):
21577 Rewrite code to avoid issues with signed shift overflow.
21578
21579 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
21580
21581 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
21582 whether cpuid is available only if HAS_CPUID is 0.
21583 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
21584 (HAS_I586): Likewise.
21585 (HAS_I686): Likewise.
21586
21587 2015-08-18 Zack Weinberg <zackw@panix.com>
21588
21589 * misc/Versions (libc): Add GLIBC_2.23.
21590
21591 2015-08-18 Alan Modra <amodra@gmail.com>
21592
21593 [BZ #18421]
21594 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
21595 .Lp__global.
21596 (_start): Load %dp via .Lp__global.
21597 [!SHARED]: Use .section .rodata.
21598
21599 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21600
21601 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
21602 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
21603
21604 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21605
21606 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
21607 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
21608
21609 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21610
21611 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
21612 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
21613
21614 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21615
21616 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
21617 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
21618
21619 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21620
21621 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
21622 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
21623
21624 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21625
21626 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
21627 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
21628
21629 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21630
21631 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
21632
21633 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21634
21635 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
21636 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
21637 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21638 (__ASSUME_LWS_CAS): Delete.
21639
21640 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21641
21642 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
21643 * sysdeps/hppa/configure: Regenerated.
21644 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
21645 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
21646 * sysdeps/hppa/nptl/tls.h: Likewise.
21647
21648 2015-08-17 Joseph Myers <joseph@codesourcery.com>
21649
21650 [BZ #18823]
21651 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
21652 for scaling up small arguments.
21653 * math/s_csqrtf.c (__csqrtf): Likewise.
21654 * math/s_csqrtl.c (__csqrtl): Likewise.
21655 * math/auto-libm-test-in: Add more tests of csqrt.
21656 * math/auto-libm-test-out: Regenerated.
21657
21658 2015-08-17 Andreas Schwab <schwab@suse.de>
21659
21660 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
21661 version set GLIBC_2.19.
21662
21663 2015-08-16 Zack Weinberg <zackw@panix.com>
21664
21665 [BZ #18681]
21666 * misc/regexp.h: This interface is no longer supported.
21667 Remove all contents, leaving only an #error directive.
21668 * misc/regexp.c (loc1, loc2, locs, step, advance):
21669 Demote to compatibility symbols.
21670
21671 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
21672
21673 [BZ #18084]
21674 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
21675 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
21676 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
21677 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
21678 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
21679 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
21680 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
21681 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
21682 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
21683
21684 2015-08-15 Zack Weinberg <zackw@panix.com>
21685
21686 [BZ #18795]
21687 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
21688 buffer length is known to be too large, not if it's known to be
21689 small enough.
21690 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
21691 overflow at runtime, involving a length parameter, twice: once
21692 with a compile-time constant length parameter, once without.
21693
21694 2015-08-14 Joseph Myers <joseph@codesourcery.com>
21695
21696 [BZ #18824]
21697 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
21698 scaling x * y up instead of down.
21699 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21700 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21701 * math/auto-libm-test-in: Add more tests of fma.
21702 * math/auto-libm-test-out: Regenerated.
21703
21704 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
21705
21706 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21707
21708 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21709
21710 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
21711 unnecessary movq.
21712 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
21713 Likewise.
21714
21715 2015-08-13 Joseph Myers <joseph@codesourcery.com>
21716
21717 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21718 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
21719 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
21720 and tgamma.
21721 * math/auto-libm-test-out: Regenerated.
21722 * sysdeps/i386/fpu/libm-test-ulps: Update.
21723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21724
21725 [BZ #16520]
21726 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
21727 (__tanh): Force underflow exception for arguments with small
21728 absolute value.
21729 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
21730 (__tanhf): Force underflow exception for arguments with small
21731 absolute value.
21732 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
21733 (__tanhl): Force underflow exception for arguments with small
21734 absolute value.
21735 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
21736 (__tanhl): Force underflow exception for arguments with small
21737 absolute value.
21738 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
21739 (__tanhl): Force underflow exception for arguments with small
21740 absolute value.
21741 * math/auto-libm-test-in: Add more tests of tanh.
21742 * math/auto-libm-test-out: Regenerated.
21743 * sysdeps/i386/fpu/libm-test-ulps: Update.
21744
21745 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21746
21747 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
21748 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
21749
21750 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21751
21752 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
21753 <cpuid.h>.
21754
21755 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21756
21757 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
21758 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
21759
21760 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21761
21762 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
21763 Remove $(objpfx)init-arch.o.
21764 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
21765 init-arch.
21766 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
21767 (INIT_ARCH_EXT): Defined as empty.
21768 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
21769 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
21770 __init_cpu_features call. Replace HAS_XXX with
21771 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21772 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
21773 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
21774 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
21775 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
21776 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
21777 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
21778 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
21779 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
21780 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
21781 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
21782 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
21783 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
21784 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
21785 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
21786 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
21787 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
21788 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
21789 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
21790 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
21791 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
21792 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
21793 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
21794 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
21795 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
21796 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
21797 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
21798 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
21799 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
21800 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
21801 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
21802 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
21803 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
21804 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
21805 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
21806 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
21807
21808 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21809
21810 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
21811 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21812 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
21813 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
21814 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
21815 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
21816 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
21817 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
21818 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
21819 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
21820 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
21821 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
21822 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21823 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21824 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21825 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21826 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21827 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21828 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21829 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21830 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21831 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21832 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21833 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21834 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21835 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21836 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21837 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21838 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21839 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21840 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21841 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21842 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21843 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21844 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21845 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21846 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21847 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21848 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21849 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21850 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21851 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21852 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21853
21854 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21855
21856 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
21857 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21858 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21859 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21860 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21861 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
21862 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21863 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
21864 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21865 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21866 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21867 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
21868 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
21869 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
21870 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
21871 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
21872 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
21873 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
21874 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
21875 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
21876 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
21877 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
21878 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
21879 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21880 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21881 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
21882 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
21883 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
21884 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21885 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21886 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21887 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21888 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21889 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21890 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21891 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21892 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21893 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21894 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21895 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21896 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21897 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21898 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21899
21900 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21901
21902 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
21903 (dl_platform_init): Call init_cpu_features.
21904 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
21905 * sysdeps/i386/i686/cacheinfo.c
21906 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
21907 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
21908 * sysdeps/i386/i686/multiarch/Versions: Removed.
21909 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
21910 Removed.
21911 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
21912 * sysdeps/unix/sysv/linux/x86/Makefile
21913 (libpthread-sysdep_routines): Remove init-arch.
21914 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
21915 <sysdeps/x86_64/dl-procinfo.c> instead of
21916 sysdeps/generic/dl-procinfo.c>.
21917 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
21918 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
21919 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
21920 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
21921 [$(subdir) == elf] (tests-static): Add
21922 tst-get-cpu-features-static.
21923 * sysdeps/x86/Versions: New file.
21924 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
21925 * sysdeps/x86/cpu-features.c: Likewise.
21926 * sysdeps/x86/cpu-features.h: Likewise.
21927 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
21928 * sysdeps/x86/libc-start.c: Likewise.
21929 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21930 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
21931 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
21932 * sysdeps/x86_64/dl-procinfo.c: Likewise.
21933 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
21934 Assume USE_MULTIARCH is defined and don't check it.
21935 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
21936 (is_amd): Likewise.
21937 (max_cpuid): Likewise.
21938 (intel_check_word): Likewise.
21939 (__cache_sysconf): Don't call __init_cpu_features.
21940 (__x86_preferred_memory_instruction): Removed.
21941 (init_cacheinfo): Don't call __init_cpu_features. Replace
21942 __cpu_features with GLRO(dl_x86_cpu_features).
21943 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
21944 (dl_platform_init): Call init_cpu_features.
21945 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
21946 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
21947 * sysdeps/x86_64/multiarch/Versions: Removed.
21948 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
21949 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
21950 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
21951 Removed.
21952 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
21953
21954 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
21955
21956 [BZ #18820]
21957 * libio/Makefile (test-fmemopen-mem): New test.
21958 * libio/test-fmemopen.c (do_bz18820): New test.
21959 * libio/fmemopen.c (__fmemopen): Fix memory leak.
21960 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
21961
21962 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
21963
21964 [BZ #16734]
21965 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
21966 (FREE_BUF): Delete.
21967 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
21968 * libio/genops.c (_IO_setb): Use malloc and free directly.
21969 (_IO_default_doallocate, _IO_default_finish): Likewise.
21970 ( _IO_unbuffer_all): Likewise.
21971 ( libc_freeres_fn): Likewise.
21972 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21973 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
21974 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
21975 (_IO_wdefault_doallocate): Likewise.
21976
21977 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
21978
21979 [BZ #18086]
21980 * sysdeps/posix/nice.c (nice): Restore old errno.
21981 * posix/tst-nice.c (do_test): Add test for BZ #18086.
21982
21983 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
21984
21985 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
21986
21987 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21988
21989 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
21990 __bcopy and add a weak_alias to bcopy.
21991 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
21992 for static build.
21993
21994 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
21995 cleanup macro usage.
21996 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
21997 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
21998 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
21999 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
22000 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22001 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
22002 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
22003 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22004 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22005 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
22006 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22007 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
22008 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22009 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
22010 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22011 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
22012 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
22013 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
22014 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22015
22016 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
22017 libc_hidden_def.
22018 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
22019
22020 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
22021 (sysdep_routines): Add strstr-ppc64.
22022 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
22023
22024 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
22025
22026 [BZ #18778]
22027 * elf/Makefile (tests): Add Add tst-nodelete2.
22028 (modules-names): Add tst-nodelete2mod.
22029 (tst-nodelete2mod.so-no-z-defs): New.
22030 ($(objpfx)tst-nodelete2): Likewise.
22031 ($(objpfx)tst-nodelete2.out): Likewise.
22032 (LDFLAGS-tst-nodelete2): Likewise.
22033 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
22034 out of loop through all loaded libraries.
22035 * elf/tst-nodelete2.c: New file.
22036 * elf/tst-nodelete2mod.c: Likewise.
22037 * elf/tst-znodelete-zlib.cc: Delete.
22038
22039 2015-08-11 Andreas Schwab <schwab@suse.de>
22040
22041 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
22042 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
22043 (__openat64_nocancel): Likewise.
22044
22045 2015-08-11 Joseph Myers <joseph@codesourcery.com>
22046
22047 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
22048 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
22049 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
22050 * math/auto-libm-test-out: Regenerated.
22051 * sysdeps/i386/fpu/libm-test-ulps: Update.
22052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22053
22054 2015-08-10 Joseph Myers <joseph@codesourcery.com>
22055
22056 [BZ #18790]
22057 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
22058 threshold for returning +/- 1.
22059 * math/auto-libm-test-in: Add more tests of tanh.
22060 * math/auto-libm-test-out: Regenerated.
22061 * sysdeps/i386/fpu/libm-test-ulps: Update.
22062
22063 2015-08-10 Andreas Schwab <schwab@suse.de>
22064
22065 [BZ #18781]
22066 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
22067 MORE_OFLAGS to oflag.
22068 * io/test-lfs.c (do_test): Test openat64.
22069
22070 2015-08-10 Joseph Myers <joseph@codesourcery.com>
22071
22072 [BZ #18789]
22073 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
22074 smaller threshold for returning the argument.
22075 * math/auto-libm-test-in: Add more tests of sinh.
22076 * math/auto-libm-test-out: Regenerated.
22077 * sysdeps/i386/fpu/libm-test-ulps: Update.
22078
22079 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
22080
22081 [BZ #18674]
22082 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
22083 break.
22084
22085 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
22086
22087 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
22088 (generated): Don't add $(addprefix z.,$(tzfiles)).
22089
22090 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22091
22092 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
22093 * scripts/sysd-rules.awk: Likewise.
22094
22095 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22096
22097 * iconvdata/tst-tables.sh: Change echo -n to printf.
22098 * nss/db-Makefile: Likewise.
22099 * posix/tst-getconf.sh: Likewise.
22100 * stdio-common/tst-unbputc.sh: Likewise.
22101
22102 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22103
22104 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
22105 MADV_*_PAGES defines behind this feature check.
22106
22107 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
22108
22109 [BZ #18480]
22110 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
22111 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
22112 Define.
22113 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
22114 LOAD_REGS_5, LOAD_REGS_6): Update.
22115 (INTERNAL_SYSCALL): Update using new LOAD defines.
22116 (INTERNAL_SYSCALL_NCS): Likewise.
22117 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
22118
22119 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22120
22121 [BZ #16734]
22122 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
22123
22124 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22125
22126 [BZ #17905]
22127 * catgets/Makefile (tst-catgets-mem): New test.
22128 * catgets/catgets.c (catopen): Don't use unbounded alloca.
22129 * catgets/open_catalog.c (__open_catalog): Likewise.
22130 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
22131
22132 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
22133
22134 [BZ #18787]
22135 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
22136 clobber registers.
22137 (atomic_compare_and_exchange_val_acq): Use register asms to assign
22138 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
22139 Cast return to __typeof (oldval).
22140
22141 2015-08-08 Mike Frysinger <vapier@gentoo.org>
22142
22143 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
22144 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
22145 and delete sys/syscall.h include.
22146
22147 2015-08-07 Joseph Myers <joseph@codesourcery.com>
22148
22149 [BZ #16517]
22150 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
22151 (tan): Force underflow exception for arguments with small absolute
22152 value.
22153 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
22154 (__kernel_tanf): Force underflow exception for arguments with
22155 small absolute value.
22156 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
22157 (__kernel_tanl): Force underflow exception for arguments with
22158 small absolute value.
22159 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
22160 (__kernel_tanl): Force underflow exception for arguments with
22161 small absolute value.
22162 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
22163 (__kernel_tanl): Force underflow exception for arguments with
22164 small absolute value.
22165 * math/auto-libm-test-in: Add more tests of tan.
22166 * math/auto-libm-test-out: Regenerated.
22167
22168 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
22169
22170 Fix sysdeps/i386/fpu/s_scalbn.S build
22171
22172 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
22173
22174 2015-08-07 Mike Frysinger <vapier@gentoo.org>
22175
22176 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22177
22178 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
22179
22180 Fix gcrt0.o compilation
22181
22182 When static-start-installed-name is different from
22183 start-installed-name, we must not use the shared objects.
22184
22185 * csu/Makefile
22186 (extra-objs): Add gmon-start.o when building shared library and
22187 $(static-start-installed-name) is different from
22188 $(start-installed-name).
22189 $(objpfx)g$(static-start-installed-name): When building shared
22190 library and $(static-start-installed-name) is different from
22191 $(static-start-installed-name), revert to non-shared rule,
22192 i.e. using $(objpfx)% and gmon-start.o.
22193
22194 2015-08-06 Joseph Myers <joseph@codesourcery.com>
22195
22196 [BZ #16519]
22197 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
22198 (__ieee754_sinh): Force underflow exception for arguments with
22199 small absolute value.
22200 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
22201 (__ieee754_sinhf): Force underflow exception for arguments with
22202 small absolute value.
22203 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
22204 (__ieee754_sinhl): Force underflow exception for arguments with
22205 small absolute value.
22206 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
22207 (__ieee754_sinhl): Force underflow exception for arguments with
22208 small absolute value.
22209 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
22210 (__ieee754_sinhl): Force underflow exception for arguments with
22211 small absolute value.
22212 * math/auto-libm-test-in: Add more tests of sinh.
22213 * math/auto-libm-test-out: Regenerated.
22214 * sysdeps/i386/fpu/libm-test-ulps: Update.
22215
22216 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22217
22218 * libio/oldfileops.c: Include unistd.h.
22219
22220 2015-08-06 Mike Frysinger <vapier@gentoo.org>
22221
22222 * stdlib/isomac.c: Include ctype.h.
22223
22224 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
22225
22226 * dirent/tst-seekdir.c (main): Converted to ...
22227 (do_test): ... this.
22228 (TEST_FUNCTION): New macro.
22229 Include test-skeleton.c.
22230 * elf/tst-dlmodcount.c (main): Converted to ...
22231 (do_test): ... this.
22232 (TEST_FUNCTION): New macro.
22233 Include test-skeleton.c.
22234 * elf/tst-order-main.c (main): Converted to ...
22235 (do_test): ... this.
22236 (TEST_FUNCTION): New macro.
22237 Include test-skeleton.c.
22238 * elf/tst-pie2.c (main): Converted to ...
22239 (do_test): ... this.
22240 (TEST_FUNCTION): New macro.
22241 Include test-skeleton.c.
22242 * inet/tst-ether_aton.c (main): Converted to ...
22243 (do_test): ... this.
22244 (TEST_FUNCTION): New macro.
22245 Include test-skeleton.c.
22246 * misc/tst-mntent.c (main): Converted to ...
22247 (do_test): ... this.
22248 (TEST_FUNCTION): New macro.
22249 Include test-skeleton.c.
22250 * misc/tst-tsearch.c (main): Converted to ...
22251 (do_test): ... this.
22252 (TEST_FUNCTION): New macro.
22253 Include test-skeleton.c.
22254 * posix/tst-regexloc.c (main): Converted to ...
22255 (do_test): ... this.
22256 (TEST_FUNCTION): New macro.
22257 Include test-skeleton.c.
22258 * resolv/tst-aton.c (main): Converted to ...
22259 (do_test): ... this.
22260 (TEST_FUNCTION): New macro.
22261 Include test-skeleton.c.
22262 * stdio-common/test-fwrite.c (main): Converted to ...
22263 (do_test): ... this.
22264 (TEST_FUNCTION): New macro.
22265 Include test-skeleton.c.
22266 * stdio-common/tst-ferror.c (main): Converted to ...
22267 (do_test): ... this.
22268 (TEST_FUNCTION): New macro.
22269 Include test-skeleton.c.
22270 * stdio-common/tst-printf.c (main): Converted to ...
22271 (do_test): ... this.
22272 (TEST_FUNCTION): New macro.
22273 Include test-skeleton.c.
22274 * stdio-common/tst-printfsz.c (main): Converted to ...
22275 (do_test): ... this.
22276 (TEST_FUNCTION): New macro.
22277 Include test-skeleton.c.
22278 * stdlib/tst-strtod.c (main): Converted to ...
22279 (do_test): ... this.
22280 (TEST_FUNCTION): New macro.
22281 Include test-skeleton.c.
22282 * string/tst-strlen.c (main): Converted to ...
22283 (do_test): ... this.
22284 (TEST_FUNCTION): New macro.
22285 Include test-skeleton.c.
22286 * string/tst-svc.c (main): Converted to ...
22287 (do_test): ... this.
22288 (TEST_FUNCTION): New macro.
22289 Include test-skeleton.c.
22290 * time/tst-strptime.c (main): Converted to ...
22291 (do_test): ... this.
22292 (TEST_FUNCTION): New macro.
22293 Include test-skeleton.c.
22294 * timezone/tst-timezone.c (main): Converted to ...
22295 (do_test): ... this.
22296 (TEST_FUNCTION): New macro.
22297 Include test-skeleton.c.
22298
22299 2015-08-05 Zack Weinberg <zackw@panix.com>
22300
22301 * misc/regexp.h: Update comments.
22302
22303 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
22304
22305 [BZ #18635]
22306 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
22307 before return label.
22308
22309 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22310
22311 [BZ #18661]
22312 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
22313 when calling __errno_location.
22314 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
22315 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
22316
22317 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22318
22319 [BZ #18661]
22320 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
22321 (__lll_timedwait_tid): Align stack to 16 bytes when calling
22322 __gettimeofday.
22323
22324 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22325
22326 [BZ #18661]
22327 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22328 (__start_context): Don't use pop to restore %rdi so that stack
22329 is aligned to 16 bytes when calling __setcontext.
22330
22331 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22332
22333 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
22334 only for libc.
22335 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22336
22337 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22338
22339 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
22340 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
22341 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
22342
22343 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22344
22345 * string/memccpy.c (memccpy):
22346 Improve performance by using memchr/memcpy/__mempcpy.
22347
22348 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22349
22350 * string/strncpy.c (strncpy):
22351 Improve performance by using __strnlen/memcpy.
22352
22353 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22354
22355 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22356 Optimize to avoid an unnecessary FPCR read.
22357
22358 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22359
22360 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22361 Optimize to reduce FPCR/FPSR accesses.
22362
22363 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22364
22365 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
22366 dead->data[category] != NULL.
22367
22368 2015-08-05 Joseph Myers <joseph@codesourcery.com>
22369
22370 [BZ #18647]
22371 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
22372 and |x| close to 1, use absolute value of x when computing log.
22373 * math/auto-libm-test-in: Add more tests of pow.
22374 * math/auto-libm-test-out: Regenerated.
22375
22376 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22377
22378 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
22379 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
22380 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
22381
22382 2015-08-05 Marko Myllynen <myllynen@redhat.com>
22383
22384 [BZ #18525]
22385 * locales/km_KH: Remove timezone definition.
22386 * locales/lo_LA: Likewise.
22387 * locales/my_MM: Likewise.
22388 * locales/nan_TW@latin: Likewise.
22389 * locales/th_TH: Likewise.
22390 * locales/uk_UA: Likewise.
22391
22392 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
22393
22394 [BZ #18265]
22395 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
22396 (wcsncat): Likewise.
22397 (wcscmp): Likewise.
22398 (wcsncmp): Likewise.
22399
22400 2015-08-05 Mike Frysinger <vapier@gentoo.org>
22401
22402 * test-skeleton.c (usage): New function.
22403 (main): Call usage when opt is '?'.
22404
22405 2015-08-05 Mike Frysinger <vapier@gentoo.org>
22406
22407 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
22408 before first use.
22409
22410 2015-08-05 Mike Frysinger <vapier@gentoo.org>
22411
22412 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
22413 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
22414 in there too.
22415
22416 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
22417
22418 * version.h (RELEASE): Set to "development".
22419 (VERSION): Set to "2.22.90"
22420
22421 * version.h (RELEASE): Set to "stable".
22422 (VERSION): Set to "2.22"
22423 * include/features.h (__GLIBC_MINOR__): Set to 22.
22424
22425 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
22426
22427 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
22428 Restructure macro to avoid "value computed is not used" warning.
22429 (atomic_compare_and_exchange_val_acq): Likewise.
22430
22431 2015-08-04 Andreas Schwab <schwab@suse.de>
22432
22433 [BZ #18635]
22434 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
22435 ret.
22436 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
22437
22438 2015-08-01 Carlos O'Donell <carlos@redhat.com>
22439
22440 * po/pl.po: Updated translation.
22441 * po/uk.po: Likewise.
22442 * po/fi.po: Likewise.
22443 * po/ko.po: Likewise.
22444 * po/ru.po: Likewise.
22445 * po/vi.po: Likewise.
22446
22447 2015-07-31 Zack Weinberg <zackw@panix.com>
22448
22449 [BZ #18681]
22450 * regexp.h: Add unconditional #warning stating that this header
22451 will be removed soon. Revise banner comment to match.
22452 (compile): Consistently use ERROR instead of RETURN to report
22453 errors (partial fix for bz#18681).
22454 * regexp.c: Don't include regexp.h. Remove some unnecessary
22455 declarations.
22456
22457 2015-07-31 Carlos O'Donell <carlos@redhat.com>
22458
22459 * po/libc.pot: Regenerated.
22460
22461 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
22462
22463 [BZ #18740]
22464 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
22465 float-vlen4-arch-ext-cflags): Removed.
22466 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
22467 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
22468
22469 2015-07-30 Mike Frysinger <vapier@gentoo.org>
22470
22471 [BZ #14113]
22472 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
22473 aligned to __aligned__.
22474 (pthread_cond_t, pthread_rwlock_t): Likewise.
22475
22476 2015-07-30 Torvald Riegel <triegel@redhat.com>
22477
22478 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
22479
22480 2015-07-30 Mike Frysinger <vapier@gentoo.org>
22481
22482 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
22483 (struct sigaction): Change sa_flags from a long to an int, and add
22484 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
22485
22486 2015-07-30 Mike Frysinger <vapier@gentoo.org>
22487
22488 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
22489 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
22490 sysdeps/generic/sysdep.h include.
22491 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
22492 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
22493 sysdeps/hppa/sysdep.h.
22494 (ENTRY, PSEUDO): Undefine before defining.
22495
22496 2015-07-30 Mike Frysinger <vapier@gentoo.org>
22497
22498 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
22499 from scratch to use INTERNAL_SYSCALL.
22500
22501 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
22502
22503 [BZ #18078]
22504 * scripts/check-localplt.awk: Support alternate relocations.
22505 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
22506 sections.
22507 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
22508 malloc entries with + REL R_386_GLOB_DAT.
22509 * sysdeps/x86_64/localplt.data: New file.
22510
22511 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
22512
22513 [BZ #18731]
22514 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
22515 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22516 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22517
22518 2015-07-27 Mike Frysinger <vapier@gentoo.org>
22519
22520 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
22521
22522 2015-07-27 Mike Frysinger <vapier@gentoo.org>
22523
22524 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
22525 directly in terms of __sync_fetch_and_add and delete (int) cast.
22526
22527 2015-07-27 Mike Frysinger <vapier@gentoo.org>
22528
22529 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
22530 the -D_ASM_IA64_CURRENT_H flag.
22531
22532 2015-07-27 Mike Frysinger <vapier@gentoo.org>
22533
22534 [BZ #18641]
22535 * pwd/pwd.h (putpwent): Delete __nonnull markings.
22536
22537 2015-07-27 Andreas Schwab <schwab@suse.de>
22538
22539 * conform/conformtest.pl (checknamespace): Filter out string
22540 literals while tokenizing.
22541
22542 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
22543
22544 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22545 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
22546 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22547
22548 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
22549
22550 * nptl/tst-join7mod.c: Add #include <string.h>.
22551
22552 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
22553
22554 * sysdeps/nios2/libm-test-ulps: Update.
22555
22556 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
22557
22558 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
22559 Fix order of arguments to the rt_sigprocmask syscall.
22560 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
22561 Likewise.
22562
22563 2015-07-24 Roland McGrath <roland@hack.frob.com>
22564
22565 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
22566
22567 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22568
22569 [BZ #18457]
22570 * nptl/Makefile (tests): New test case tst-join7.
22571 (modules-names): New test case module tst-join7mod.
22572 * nptl/tst-join7.c: New file.
22573 * nptl/tst-join7mod.c: New file.
22574 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
22575 all translation units in libc.so, libpthread.so and rtld.
22576
22577 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22578
22579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22580
22581 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
22582
22583 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
22584 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
22585 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
22586 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
22587 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
22588 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
22589 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
22590 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
22591 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
22592 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
22593 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
22594 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
22595 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
22596 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
22597 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
22598 implementation.
22599
22600 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
22601
22602 [BZ #17711]
22603 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22604 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
22605 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22606 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22607 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
22608 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22609
22610 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22611
22612 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
22613 instead of just saying load lock in the comments.
22614
22615 2015-07-23 Roland McGrath <roland@hack.frob.com>
22616
22617 * sysdeps/unix/Subdirs: Moved ...
22618 * sysdeps/posix/Subdirs: ... here.
22619 * login/pty.h (struct termios, struct winsize): Add forward decls.
22620 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
22621 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
22622 * sysdeps/arm/nacl/libc.abilist: Updated.
22623 * sysdeps/nacl/libutil.abilist: New file.
22624
22625 * bits/signum.h: Update comments to mention 1003.1-2013 too.
22626 (SIGWINCH): New macro.
22627
22628 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
22629 * sysdeps/arm/nacl/libc.abilist: Add it.
22630
22631 2015-07-23 Mike Frysinger <vapier@gentoo.org>
22632
22633 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
22634
22635 2015-07-23 Mike Frysinger <vapier@gentoo.org>
22636
22637 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
22638 Swap __glibc_reserved0 and sa_flags order.
22639
22640 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22641
22642 [BZ #18657]
22643 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
22644 are pending TLS destructor calls.
22645 * include/link.h (struct link_map): Add concurrency note for
22646 L_TLS_DTOR_COUNT.
22647 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22648 Don't touch the link map flag. Atomically increment
22649 l_tls_dtor_count.
22650 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
22651 Avoid taking the load lock and don't touch the link map flag.
22652 * stdlib/tst-tls-atexit-nodelete.c: New test case.
22653 * stdlib/Makefile (tests): Use it.
22654 * stdlib/tst-tls-atexit.c (do_test): dlopen
22655 tst-tls-atexit-lib.so again before dlclose. Add conditionals
22656 to allow tst-tls-atexit-nodelete test case to use it.
22657
22658 2015-07-22 Mike Frysinger <vapier@gentoo.org>
22659
22660 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
22661 to bits/types.h.
22662 (msgqnum_t): New typedef.
22663 (msglen_t): Likewise.
22664 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
22665 and msg_qbytes type to msglen_t.
22666
22667 2015-07-22 Mike Frysinger <vapier@gentoo.org>
22668
22669 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
22670 pad0 to __glibc_reserved0.
22671 (struct stat64): Likewise.
22672
22673 2015-07-22 Mike Frysinger <vapier@gentoo.org>
22674
22675 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
22676 Change sa_flags from a long to an int and add __glibc_reserved0 before
22677 it for padding.
22678
22679 2015-07-22 Mike Frysinger <vapier@gentoo.org>
22680
22681 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
22682 anonymous by deleting "siginfo" name.
22683
22684 2015-07-21 Roland McGrath <roland@hack.frob.com>
22685
22686 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
22687 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
22688 rather than __nacl_irt_filename.
22689 * sysdeps/nacl/xstat.c (__xstat): Likewise.
22690
22691 * NEWS: New item for arm-nacl port.
22692 * sysdeps/arm/nacl/libc.abilist: New file.
22693 * sysdeps/nacl/ld.abilist: New file.
22694 * sysdeps/nacl/libBrokenLocale.abilist: New file.
22695 * sysdeps/nacl/libanl.abilist: New file.
22696 * sysdeps/nacl/libcrypt.abilist: New file.
22697 * sysdeps/nacl/libdl.abilist: New file.
22698 * sysdeps/nacl/libm.abilist: New file.
22699 * sysdeps/nacl/libpthread.abilist: New file.
22700 * sysdeps/nacl/libresolv.abilist: New file.
22701 * sysdeps/nacl/librt.abilist: New file.
22702
22703 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
22704
22705 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
22706 __startcontext to initialize the new context.
22707 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
22708 up CFI directive to forbid further backtracing.
22709
22710 2015-07-21 Marko Myllynen <myllynen@redhat.com>
22711
22712 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
22713 reference.
22714 * charmaps/ANSI_X3.4-1968: Likewise.
22715 * charmaps/BS_4730: Likewise.
22716 * charmaps/BS_VIEWDATA: Likewise.
22717 * charmaps/CP1250: Likewise.
22718 * charmaps/CP1251: Likewise.
22719 * charmaps/CP1252: Likewise.
22720 * charmaps/CP1253: Likewise.
22721 * charmaps/CP1254: Likewise.
22722 * charmaps/CP1255: Likewise.
22723 * charmaps/CP1256: Likewise.
22724 * charmaps/CSN_369103: Likewise.
22725 * charmaps/EBCDIC-DK-NO: Likewise.
22726 * charmaps/GB_1988-80: Likewise.
22727 * charmaps/GREEK-CCITT: Likewise.
22728 * charmaps/GREEK7: Likewise.
22729 * charmaps/INIS-8: Likewise.
22730 * charmaps/ISIRI-3342: Likewise.
22731 * charmaps/ISO_2033-1983: Likewise.
22732 * charmaps/ISO_5427-EXT: Likewise.
22733 * locales/POSIX: Likewise.
22734 * locales/ar_SA: Likewise.
22735 * locales/be_BY: Likewise.
22736 * locales/be_BY@latin: Likewise.
22737 * locales/ca_ES: Likewise.
22738 * locales/cs_CZ: Likewise.
22739 * locales/da_DK: Likewise.
22740 * locales/de_BE: Likewise.
22741 * locales/de_CH: Likewise.
22742 * locales/de_LU: Likewise.
22743 * locales/en_AU: Likewise.
22744 * locales/en_BW: Likewise.
22745 * locales/en_CA: Likewise.
22746 * locales/en_DK: Likewise.
22747 * locales/en_GB: Likewise.
22748 * locales/en_IE: Likewise.
22749 * locales/en_NZ: Likewise.
22750 * locales/en_ZA: Likewise.
22751 * locales/en_ZW: Likewise.
22752 * locales/es_AR: Likewise.
22753 * locales/es_BO: Likewise.
22754 * locales/es_CL: Likewise.
22755 * locales/es_CO: Likewise.
22756 * locales/es_DO: Likewise.
22757 * locales/es_EC: Likewise.
22758 * locales/es_ES: Likewise.
22759 * locales/es_HN: Likewise.
22760 * locales/es_MX: Likewise.
22761 * locales/es_PA: Likewise.
22762 * locales/es_PE: Likewise.
22763 * locales/es_PY: Likewise.
22764 * locales/es_SV: Likewise.
22765 * locales/es_US: Likewise.
22766 * locales/es_UY: Likewise.
22767 * locales/es_VE: Likewise.
22768 * locales/et_EE: Likewise.
22769 * locales/fa_IR: Likewise.
22770 * locales/fo_FO: Likewise.
22771 * locales/fr_CA: Likewise.
22772 * locales/fr_CH: Likewise.
22773 * locales/gv_GB: Likewise.
22774 * locales/he_IL: Likewise.
22775 * locales/hr_HR: Likewise.
22776 * locales/id_ID: Likewise.
22777 * locales/is_IS: Likewise.
22778 * locales/it_CH: Likewise.
22779 * locales/iw_IL: Likewise.
22780 * locales/kl_GL: Likewise.
22781 * locales/ko_KR: Likewise.
22782 * locales/kw_GB: Likewise.
22783 * locales/lg_UG: Likewise.
22784 * locales/lt_LT: Likewise.
22785 * locales/lv_LV: Likewise.
22786 * locales/mi_NZ: Likewise.
22787 * locales/nhn_MX: Likewise.
22788 * locales/nl_BE: Likewise.
22789 * locales/pl_PL: Likewise.
22790 * locales/sk_SK: Likewise.
22791 * locales/sl_SI: Likewise.
22792 * locales/sv_FI: Likewise.
22793 * locales/tl_PH: Likewise.
22794 * locales/tr_TR: Likewise.
22795 * locales/vi_VN: Likewise.
22796
22797 2015-07-21 Khem Raj <raj.khem@gmail.com>
22798
22799 [BZ #17475]
22800 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
22801 of tu_IN and bh_IN.
22802
22803 2015-07-21 Mike Frysinger <vapier@gentoo.org>
22804
22805 [BZ #18694]
22806 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
22807 bits/wordsize.h.
22808 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
22809
22810 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22811
22812 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
22813 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
22814 (spawn_thread): New function.
22815 (load): Rename to reg_dtor_and_close. Move dlopen to...
22816 (do_test): ... here. Use IS_LOADED to test for its
22817 availability.
22818
22819 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
22820
22821 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22822
22823 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
22824
22825 [BZ #18696]
22826 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
22827 si_addr_bnd.
22828 (si_lower): New.
22829 (si_upper): Likewise.
22830
22831 2015-07-16 David S. Miller <davem@davemloft.net>
22832
22833 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
22834
22835 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22836
22837 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
22838 buffer.
22839 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
22840 fail output information.
22841
22842 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22843
22844 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
22845 and strstr-ppc64..
22846 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
22847 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
22848 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
22849 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
22850 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
22851
22852 2015-07-16 Mike Frysinger <vapier@gentoo.org>
22853
22854 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
22855 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22856 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
22857 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22858
22859 2015-07-16 Mike Frysinger <vapier@gentoo.org>
22860
22861 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22862 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
22863 rtld_hidden_proto.
22864 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
22865
22866 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22867
22868 * tst-nodelete-opened.c (do_test): Add comment to clarify how
22869 the test can fail.
22870
22871 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
22872
22873 [BZ #18676]
22874 * elf/tst-nodelete-opened.c: New test case.
22875 * elf/tst-nodelete-opened-lib.c: New test case module.
22876 * elf/Makefile (tests, modules-names): Use them.
22877 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
22878 early.
22879
22880 2015-07-15 David S. Miller <davem@davemloft.net>
22881
22882 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
22883 futex-intenal.h
22884 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
22885 * sysdeps/sparc/sparc64/Makefile: Likewise.
22886 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
22887 Remove space from macro define.
22888 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
22889
22890 2015-07-15 Pravin Satpute <psatpute@redhat.com>
22891
22892 [BZ #17475]
22893 * locale/iso-639.def: Update Bhili and Tulu language codes as
22894 per iso639-3.
22895
22896 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
22897
22898 * elf/tst-leaks1.c (main): Converted to ...
22899 (do_test): ... this.
22900 (TEST_FUNCTION): New macro.
22901 Include test-skeleton.c.
22902 * localedata/tst-langinfo.c (main): Converted to ...
22903 (do_test): ... this.
22904 (TEST_FUNCTION): New macro.
22905 Include test-skeleton.c.
22906 * math/test-fpucw.c (main): Converted to ...
22907 (do_test): ... this.
22908 (TEST_FUNCTION): New macro.
22909 Include test-skeleton.c.
22910 * math/test-tgmath.c (main): Converted to ...
22911 (do_test): ... this.
22912 (TEST_FUNCTION): New macro.
22913 Include test-skeleton.c.
22914 * math/test-tgmath2.c (main): Converted to ...
22915 (do_test): ... this.
22916 (TEST_FUNCTION): New macro.
22917 Include test-skeleton.c.
22918 * setjmp/tst-setjmp.c (main): Converted to ...
22919 (do_test): ... this.
22920 (TEST_FUNCTION): New macro.
22921 Include test-skeleton.c.
22922 * stdio-common/tst-sscanf.c (main): Converted to ...
22923 (do_test): ... this.
22924 (TEST_FUNCTION): New macro.
22925 Include test-skeleton.c.
22926 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
22927 (do_test): ... this.
22928 (TEST_FUNCTION): New macro.
22929 Include test-skeleton.c.
22930
22931 * elf/tst-audit9.c (main): Converted to ...
22932 (do_test): ... this.
22933 (TEST_FUNCTION): New macro.
22934 Include test-skeleton.c.
22935
22936 2015-07-15 Mike Frysinger <vapier@gentoo.org>
22937
22938 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
22939
22940 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
22941
22942 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
22943 New variable.
22944
22945 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
22946
22947 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22948
22949 2015-07-14 Roland McGrath <roland@hack.frob.com>
22950
22951 * sysdeps/generic/dl-fileid.h: New file.
22952 * sysdeps/posix/dl-fileid.h: New file.
22953 * sysdeps/nacl/dl-fileid.h: New file.
22954 * include/link.h: Include <dl-fileid.h>.
22955 (struct link_map): Replace l_dev and l_ino with l_file_id.
22956 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
22957 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
22958 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
22959
22960 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22961
22962 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
22963
22964 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22965
22966 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
22967 Add iff $CXX is set.
22968 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
22969 Likewise.
22970 (tst-nodelete-zmodiff): Likewise.
22971 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
22972
22973 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22974
22975 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
22976
22977 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
22978
22979 * sysdeps/aarch64/fpu/math_private.h
22980 (define math_opt_barrier): Add AArch64 version.
22981 (math_force_eval): Likewise.
22982
22983 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
22984
22985 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
22986
22987 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
22988
22989 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
22990 %ld with %jd and cast to intmax_t.
22991 (do_test_length_zero): Likewise.
22992
22993 2015-07-10 Roland McGrath <roland@hack.frob.com>
22994
22995 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
22996
22997 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
22998
22999 * sysdeps/tile/libm-test-ulps: Regenerated.
23000
23001 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
23002 Comment out the whole function, not just its body.
23003
23004 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23005
23006 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
23007 locks.
23008
23009 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
23010
23011 2015-07-10 Torvald Riegel <triegel@redhat.com>
23012
23013 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
23014 (sem_assume_only_signals_cause_futex_EINTR): Remove.
23015
23016 2015-07-10 Torvald Riegel <triegel@redhat.com>
23017
23018 * sysdeps/nptl/futex-internal.h: New file.
23019 * sysdeps/nacl/futex-internal.h: New file.
23020 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
23021 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
23022 error checking.
23023 (setxid_unmark_thread): Likewise.
23024 (__nptl_setxid): Likewise.
23025 (__wait_lookup_done): Likewise.
23026 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
23027 * nptl/nptl-init.c (sighandler_setxid): Likewise.
23028 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23029 * nptl/pthread_once.c (clear_once_control): Likewise.
23030 (__pthread_once_slow): Likewise.
23031 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
23032 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
23033 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
23034 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23035 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
23036 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
23037 Likewise.
23038 (__pthread_rwlock_rdlock): Likewise.
23039 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23040 Likewise.
23041 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23042 Likewise.
23043 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23044 Likewise.
23045 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
23046 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
23047 Likewise.
23048 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
23049 __ASSUME_PRIVATE_FUTEX check.
23050 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
23051 Check that shared futexes are supported.
23052 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
23053 wrappers with error checking.
23054 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
23055 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
23056 * nptl/pthread_barrierattr_setpshared.c
23057 (pthread_barrierattr_setpshared): Check that shared futexes are
23058 supported.
23059 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
23060 Likewise.
23061 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
23062 Likewise.
23063 * nptl/sem_init.c (futex_private_if_supported): Remove.
23064 (__new_sem_init): Adapt and check that shared futexes are supported.
23065 * nptl/sem_open.c (sem_open): Likewise.
23066 * nptl/sem_post.c (futex_wake): Remove.
23067 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
23068 (do_futex_wait): Use futex wrappers with error checking.
23069 * nptl/sem_wait.c: Include lowlevellock.h.
23070 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
23071 Use futex_supports_pshared.
23072 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
23073 Use futex wrappers with error checking.
23074 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
23075 Likewise.
23076 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
23077 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
23078 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
23079 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
23080 (futex_wake): Likewise.
23081 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
23082 (do_futex_wait): Use futex wrappers with error checking.
23083 (__new_sem_wait_slow): Update EINTR handling.
23084 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
23085
23086 2015-07-09 Martin Sebor <msebor@redhat.com>
23087
23088 [BZ #18435]
23089 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23090 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
23091 * nptl/Makefile (test-xfail-tst-once5): Define.
23092
23093 2015-07-09 Roland McGrath <roland@hack.frob.com>
23094
23095 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
23096 * elf/dl-minimal.c: For readability, reorder some definitions and
23097 introduce more page breaks. Include <stdio.h>.
23098 (__libc_fatal): New function.
23099
23100 * include/unistd.h: Add rtld_hidden_proto for _exit.
23101 * posix/_exit.c: Add rtld_hidden_def.
23102 * sysdeps/mach/hurd/_exit.c: Likewise.
23103 * sysdeps/nacl/_exit.c: Likewise.
23104 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
23105 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
23106
23107 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
23108
23109 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
23110 bndmov encoding with zero displacement.
23111
23112 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
23113 H.J. Lu <hongjiu.lu@intel.com>
23114
23115 [BZ #18134]
23116 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
23117 * sysdeps/i386/configure: Regenerated.
23118 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23119 (_dl_runtime_profile): Save and restore Intel MPX return bound
23120 registers when calling _dl_call_pltexit. Add
23121 PRESERVE_BND_REGS_PREFIX before return.
23122 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
23123 (LRV_BND1_OFFSET): Likewise.
23124 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
23125 lrv_bnd1.
23126 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
23127 typo in bndmov encoding.
23128 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
23129 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
23130 branch instructions to preserve bounds.
23131
23132 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23133
23134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
23135 [GLIBC_2.22]: Add fmemopen.
23136
23137 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
23138
23139 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
23140 returns an error, also try to use host port from __mach_host_self for
23141 the __vm_wire call.
23142 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
23143
23144 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
23145
23146 [BZ #18400]
23147 [BZ #18648]
23148 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
23149 Fix pr_uid and pr_gid members.
23150 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
23151 definition to elf_greg_t.
23152
23153 2015-07-08 Roland McGrath <roland@hack.frob.com>
23154
23155 [BZ #18383]
23156 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
23157 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
23158 * sysdeps/arm/configure: Regenerated.
23159 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
23160 (test-xfail-tst-tlsalign-static): Variable removed.
23161
23162 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
23163 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
23164 rather than explicit 'ln -s'.
23165
23166 * resolv/rpc/netdb.h: New file.
23167 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
23168
23169 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23170
23171 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
23172 length buffers.
23173 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23174 test-skeleton.c.
23175
23176 [BZ #6544]
23177 [BZ #11216]
23178 [BZ #12836]
23179 [BZ #13151]
23180 [BZ #13152]
23181 [BZ #14292]
23182 * include/stdio.h (fmemopen): Remove hidden prototype.
23183 (__fmemopen): Add new hidden prototype.
23184 * libio/Makefile: Add oldfmemopen object.
23185 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
23186 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
23187 compliance.
23188 * libio/oldfmemopen.c: New file: old fmemopen implementation for
23189 symbol compatibility.
23190 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
23191 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
23192 fmemopen.
23193 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
23194 on append and read mode.
23195 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
23196 fmemopen.
23197 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
23198 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
23199 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
23200 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
23201 Likewise.
23202 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
23203 [GLIBC_2.22]: Likewise.
23204 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
23205 Likewise.
23206 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
23207 Likewise.
23208 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
23209 [GLIBC_2.22]: Likewise.
23210 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
23211 [GLIBC_2.22]: Likewise.
23212 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
23213 [GLIBC_2.22]: Likewise.
23214 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
23215 [GLIBC_2.22]: Likewise.
23216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
23217 [GLIBC_2.22]: Likewise.
23218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
23219 [GLIBC_2.22]: Likewise.
23220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
23221 [GLIBC_2.22]: Likewise.
23222 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
23223 Likewise.
23224 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
23225 Likewise.
23226 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
23227 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
23228 [GLIBC_2.22]: Likewise.
23229 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
23230 [GLIBC_2.22]: Likewise.
23231 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
23232 [GLIBC_2.22]: Likewise.
23233 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
23234 [GLIBC_2.22]: Likewise.
23235 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
23236 Likewise.
23237 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
23238 Likewise.
23239 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
23240 Likewise.
23241 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
23242 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
23243
23244 2015-07-08 Carlos O'Donell <carlos@redhat.com>
23245
23246 [BZ #18643]
23247 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
23248 IPV6_PATHMTU, and IPV6_DONTFRAG.
23249
23250 2015-07-08 Feng Gao <gfree.wind@gmail.com>
23251
23252 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
23253 and _IO_UNBUFFERED.
23254 * libio/oldfileops.c: Likewise.
23255 * libio/wfileops.c: Likewise.
23256
23257 2015-07-08 Mike Frysinger <vapier@gentoo.org>
23258
23259 * nscd/selinux.c: Delete selinux/flask.h include.
23260
23261 2015-07-08 Mike Frysinger <vapier@gentoo.org>
23262
23263 [BZ #18641]
23264 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
23265 (putpwent): Likewise.
23266 (getpwnam): Likewise.
23267 (getpwent_r): Likewise.
23268 (getpwuid_r): Likewise.
23269 (getpwnam_r): Likewise.
23270 (fgetpwent_r): Likewise.
23271
23272 2015-07-08 Carlos O'Donell <carlos@redhat.com>
23273
23274 [BZ #18557]
23275 * inet/rcmd.c (__validuser2_sa): Check user first to
23276 short-circuit host check.
23277
23278 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
23279 Mikhail Ilin <m.ilin@samsung.com>
23280
23281 [BZ #17833]
23282 * elf/Makefile (tests): Add tst-nodelete.
23283 (modules-names): Add tst-nodelete-uniquemod.
23284 (tst-nodelete-uniquemod.so-no-z-defs): New.
23285 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
23286 (tst-nodelete-zmod.so-no-z-defs): Likewise.
23287 ($(objpfx)tst-nodelete): Likewise.
23288 ($(objpfx)tst-nodelete.out): Likewise.
23289 (LDFLAGS-tst-nodelete): Likewise.
23290 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
23291 * elf/dl-close.c (_dl_close_worker): Add a parameter to
23292 implement forced object deletion.
23293 (_dl_close): Pass false to _dl_close_worker.
23294 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
23295 * elf/tst-nodelete.cc: New file.
23296 * elf/tst-nodeletelib.cc: Likewise.
23297 * elf/tst-znodeletelib.cc: Likewise.
23298 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
23299
23300 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
23301
23302 [BZ #18508]
23303 * stdlib/Makefile ($(objpfx)tst-makecontext3):
23304 Depend on $(libdl).
23305 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
23306 is not called infinitely times.
23307 (backtrace_helper): New function.
23308 (trace_arg): New struct.
23309 (st1): Enlarge stack size.
23310 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23311 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
23312 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23313 Likewise.
23314
23315 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
23316
23317 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23318
23319 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
23320
23321 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
23322 Include sys/types.h instead of bits/types.h.
23323 Remove inclusion of bits/wordsize.h.
23324
23325 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
23326
23327 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
23328 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
23329 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
23330 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
23331 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
23332 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
23333
23334 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
23335
23336 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
23337 link-defines.sym.
23338 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
23339 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
23340 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
23341 and LR_SIZE.
23342 * sysdeps/i386/link-defines.sym: New file.
23343
23344 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
23345
23346 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
23347 (modules-names): Add tst-auditmod3a tst-auditmod3b.
23348 ($(objpfx)tst-audit3): New rule.
23349 ($(objpfx)tst-audit3.out): Likewise.
23350 * sysdeps/i386/tst-audit3.c: New file.
23351 * sysdeps/i386/tst-audit3.h: Likewise.
23352 * sysdeps/i386/tst-auditmod3a.c: Likewise.
23353 * sysdeps/i386/tst-auditmod3b.c: Likewise.
23354
23355 2015-07-07 Torvald Riegel <triegel@redhat.com>
23356
23357 [BZ #18633]
23358 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
23359 pointer in C code.
23360 (__strcat_c): Likewise.
23361 (__strcat_g): Likewise.
23362
23363 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
23364
23365 [BZ #18592]
23366 * misc/sbrk.c: Set errno to ENOMEM on overflow.
23367
23368 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
23369
23370 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
23371 New function. (__ieee754_sqrtf): New function.
23372 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
23373 New function.
23374 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
23375 New function.
23376
23377 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
23378
23379 * sysdeps/ieee754/support.c: Remove unused file.
23380
23381 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
23382
23383 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
23384 registers instead of d ones so the layout is kernel abi compatible.
23385 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
23386 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
23387 Likewise.
23388
23389 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
23390
23391 * sysdeps/aarch64/libm-test-ulps: Regenerated.
23392
23393 2015-07-01 Joseph Myers <joseph@codesourcery.com>
23394
23395 [BZ #18619]
23396 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
23397 and return argument in case of subnormal argument.
23398
23399 2015-07-01 Martin Sebor <msebor@redhat.com>
23400
23401 [BZ #18435]
23402 * nptl/Makefile: Add tst-once5.cc.
23403 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23404 Remove macro redefinitions.
23405 * nptl/tst-once5.cc: New test.
23406
23407 2015-07-01 Joseph Myers <joseph@codesourcery.com>
23408
23409 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23410
23411 * sysdeps/arm/libm-test-ulps: Regenerated.
23412
23413 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23414 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23415
23416 2015-06-30 Torvald Riegel <triegel@redhat.com>
23417
23418 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
23419 lll_lock_wait_private and lll_futex_wake probes.
23420
23421 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
23422 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
23423 Likewise.
23424 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
23425 atomic_spin_nop.
23426 * sysdeps/x86_64/bits/atomic.h: Likewise.
23427 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
23428 to atomic_spin_nop and move ...
23429 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
23430 ... here and ...
23431 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
23432 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
23433 atomic_spin_nop instead of BUSY_WAIT_NOP.
23434 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
23435 Likewise.
23436 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
23437 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
23438 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
23439 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
23440 instead of atomic_delay.
23441
23442 2015-06-29 Joseph Myers <joseph@codesourcery.com>
23443
23444 [BZ #18613]
23445 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
23446 X_ADJ not X when adjusting exponent.
23447 (__ieee754_gamma_r): Do intermediate computations in
23448 round-to-nearest then adjust overflowing and underflowing results
23449 as needed.
23450 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
23451 of X_ADJ not X when adjusting exponent.
23452 (__ieee754_gammaf_r): Do intermediate computations in
23453 round-to-nearest then adjust overflowing and underflowing results
23454 as needed.
23455 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
23456 log of X_ADJ not X when adjusting exponent.
23457 (__ieee754_gammal_r): Do intermediate computations in
23458 round-to-nearest then adjust overflowing and underflowing results
23459 as needed. Use 1.0L not 1.0f as numerator of division.
23460 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
23461 log of X_ADJ not X when adjusting exponent.
23462 (__ieee754_gammal_r): Do intermediate computations in
23463 round-to-nearest then adjust overflowing and underflowing results
23464 as needed. Use 1.0L not 1.0f as numerator of division.
23465 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
23466 of X_ADJ not X when adjusting exponent.
23467 (__ieee754_gammal_r): Do intermediate computations in
23468 round-to-nearest then adjust overflowing and underflowing results
23469 as needed. Use 1.0L not 1.0f as numerator of division.
23470 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
23471 to auto-libm-test-in.
23472 (tgamma_test): Use ALL_RM_TEST.
23473 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
23474 tests of tgamma with spurious-overflow.
23475 * math/auto-libm-test-out: Regenerated.
23476 * math/gen-libm-have-vector-test.sh: Do not check for START.
23477 * sysdeps/i386/fpu/libm-test-ulps: Update.
23478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23479
23480 [BZ #18612]
23481 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
23482 arguments, just return 0.5 times the argument, with underflow
23483 forced as needed.
23484 * math/auto-libm-test-in: Add more tests of j1.
23485 * math/auto-libm-test-out: Regenerated.
23486
23487 [BZ #16559]
23488 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
23489 (__ieee754_j1): Force underflow exception for small results.
23490 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23491 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
23492 (__ieee754_j1f): Force underflow exception for small results.
23493 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23494 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23495 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23496 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
23497 (__ieee754_j1l): Force underflow exception for small results.
23498 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23499 * math/auto-libm-test-in: Add more tests of j1 and jn.
23500 * math/auto-libm-test-out: Regenerated.
23501
23502 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
23503 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
23504 (PF_MPLS): Likewise.
23505 (AF_IB): Likewise.
23506 (AF_MPLS): Likewise.
23507 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
23508 value and macro.
23509 (MS_RMT_MASK): Include MS_LAZYTIME.
23510
23511 2015-06-26 Mel Gorman <mgorman@suse.de>
23512
23513 [BZ #18502]
23514 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
23515 already minimal.
23516
23517 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
23518
23519 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
23520 (DT_MIPS_NUM): Update.
23521 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
23522 DT_MIPS_RLD_MAP_REL.
23523
23524 2015-06-25 Joseph Myers <joseph@codesourcery.com>
23525
23526 [BZ #16559]
23527 [BZ #18602]
23528 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
23529 round-to-nearest internally then recompute results that
23530 underflowed to zero in the original rounding mode.
23531 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23532 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23533 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23534 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23535 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
23536 * sysdeps/i386/fpu/libm-test-ulps: Update.
23537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23538
23539 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
23540
23541 * NEWS: Fixed description of link with vector math library.
23542
23543 2015-06-25 Andreas Schwab <schwab@suse.de>
23544
23545 [BZ #18549]
23546 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
23547 * libio/test-fmemopen.c (do_test): Add test for it.
23548
23549 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
23550
23551 [BZ #17841]
23552 * Makeconfig (no-pie-ldflag): New.
23553 (+link): Set to $(+link-pie) if default to PIE.
23554 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
23555 * config.make.in (build-pie-default): New.
23556 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
23557 is default. AC_SUBST.
23558 * configure: Regenerated.
23559 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
23560
23561 2015-06-24 Roland McGrath <roland@hack.frob.com>
23562
23563 * nptl/descr.h (struct pthread): Change type of field setxid_futex
23564 to 'unsigned int'.
23565
23566 * resolv/gai_misc.h (struct waitlist): Change type of field
23567 counterp to 'volatile unsigned int *'.
23568 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
23569 FUTEXADDR and OLDVAL.
23570 * resolv/getaddrinfo_a.c (getaddrinfo_a):
23571 Give local variable TOTAL type 'volatile unsigned int'.
23572 (struct async_waitlist): Change type of field counter to 'unsigned int'.
23573 * resolv/gai_suspend.c (gai_suspend):
23574 Give local variable CNTR type 'unsigned int'.
23575
23576 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
23577 counterp to 'volatile unsigned int *'.
23578 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
23579 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
23580 (aio_suspend): Give local variable CNTR type 'unsigned int'.
23581 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
23582 Give local variable TOTAL type 'volatile unsigned int'.
23583 (struct async_waitlist): Change type of field counter to 'unsigned int'.
23584
23585 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
23586
23587 [BZ #18383]
23588 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
23589 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
23590 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
23591 comment for i386/x86-64.
23592 (test-xfail-tst-tlsalign-extern-static): Removed.
23593
23594 2015-06-24 Joseph Myers <joseph@codesourcery.com>
23595
23596 * math/test-double.h: New file.
23597 * math/test-float.h: Likewise.
23598 * math/test-ldouble.h: Likewise.
23599 * math/test-math-inline.h: Likewise.
23600 * math/test-math-no-inline.h: Likewise.
23601 * math/test-math-scalar.h: Likewise.
23602 * math/test-math-vector.h: Likewise.
23603 * math/test-vec-loop.h: Remove file. Contents moved into
23604 test-math-vector.h.
23605 * math/libm-test.inc (MATHCONST): Do not document macro.
23606 * math/test-double.c: Include test-double.h, test-math-no-inline.h
23607 and test-math-scalar.h.
23608 (FUNC): Remove macro.
23609 (FUNC_TEST): Likewise.
23610 (FLOAT): Likewise.
23611 (MATHCONST): Likewise.
23612 (PRINTF_EXPR): Likewise.
23613 (PRINTF_XEXPR): Likewise.
23614 (PRINTF_NEXPR): Likewise.
23615 (TEST_DOUBLE): Likewise.
23616 (TEST_MATHVEC): Likewise.
23617 (__NO_MATH_INLINES): Likewise.
23618 * math/test-float.c: Include test-float.h, test-math-no-inline.h
23619 and test-math-scalar.h.
23620 (FUNC): Remove macro.
23621 (FUNC_TEST): Likewise.
23622 (FLOAT): Likewise.
23623 (MATHCONST): Likewise.
23624 (PRINTF_EXPR): Likewise.
23625 (PRINTF_XEXPR): Likewise.
23626 (PRINTF_NEXPR): Likewise.
23627 (TEST_FLOAT): Likewise.
23628 (TEST_MATHVEC): Likewise.
23629 (__NO_MATH_INLINES): Likewise.
23630 * math/test-idouble.c: Include test-double.h, test-math-inline.h
23631 and test-math-scalar.h.
23632 (FUNC): Remove macro.
23633 (FUNC_TEST): Likewise.
23634 (FLOAT): Likewise.
23635 (MATHCONST): Likewise.
23636 (PRINTF_EXPR): Likewise.
23637 (PRINTF_XEXPR): Likewise.
23638 (PRINTF_NEXPR): Likewise.
23639 (TEST_DOUBLE): Likewise.
23640 (TEST_MATHVEC): Likewise.
23641 (TEST_INLINE): Likewise.
23642 (__NO_MATH_INLINES): Likewise.
23643 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
23644 test-math-scalar.h.
23645 (FUNC): Remove macro.
23646 (FUNC_TEST): Likewise.
23647 (FLOAT): Likewise.
23648 (MATHCONST): Likewise.
23649 (PRINTF_EXPR): Likewise.
23650 (PRINTF_XEXPR): Likewise.
23651 (PRINTF_NEXPR): Likewise.
23652 (TEST_FLOAT): Likewise.
23653 (TEST_MATHVEC): Likewise.
23654 (TEST_INLINE): Likewise.
23655 (__NO_MATH_INLINES): Likewise.
23656 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
23657 and test-math-scalar.h.
23658 (FUNC): Remove macro.
23659 (FUNC_TEST): Likewise.
23660 (FLOAT): Likewise.
23661 (MATHCONST): Likewise.
23662 (PRINTF_EXPR): Likewise.
23663 (PRINTF_XEXPR): Likewise.
23664 (PRINTF_NEXPR): Likewise.
23665 (TEST_LDOUBLE): Likewise.
23666 (TEST_MATHVEC): Likewise.
23667 (TEST_INLINE): Likewise.
23668 (__NO_MATH_INLINES): Likewise.
23669 * math/test-ldouble.c: Include test-ldouble.h,
23670 test-math-no-inline.h and test-math-scalar.h.
23671 (FUNC): Remove macro.
23672 (FUNC_TEST): Likewise.
23673 (FLOAT): Likewise.
23674 (MATHCONST): Likewise.
23675 (PRINTF_EXPR): Likewise.
23676 (PRINTF_XEXPR): Likewise.
23677 (PRINTF_NEXPR): Likewise.
23678 (TEST_LDOUBLE): Likewise.
23679 (TEST_MATHVEC): Likewise.
23680 (__NO_MATH_INLINES): Likewise.
23681 * math/test-double-vlen2.h: Include test-double.h,
23682 test-math-no-inline.h and test-math-vector.h.
23683 (FLOAT): Remove macro.
23684 (FUNC): Likewise.
23685 (MATHCONST): Likewise.
23686 (PRINTF_EXPR): Likewise.
23687 (PRINTF_XEXPR): Likewise.
23688 (PRINTF_NEXPR): Likewise.
23689 (TEST_DOUBLE): Likewise.
23690 (TEST_MATHVEC): Likewise.
23691 (__NO_MATH_INLINES): Likewise.
23692 (CNCT): Likewise.
23693 (CONCAT): Likewise.
23694 (WRAPPER_NAME): Likewise.
23695 (WRAPPER_DECL): Likewise.
23696 (WRAPPER_DECL_ff): Likewise.
23697 (WRAPPER_DECL_fFF): Likewise.
23698 (VECTOR_WRAPPER): Likewise.
23699 (VECTOR_WRAPPER_ff): Likewise.
23700 (VECTOR_WRAPPER_fFF): Likewise.
23701 (VEC_LEN): New macro.
23702 * math/test-double-vlen4.h: Include test-double.h,
23703 test-math-no-inline.h and test-math-vector.h.
23704 (FLOAT): Remove macro.
23705 (FUNC): Likewise.
23706 (MATHCONST): Likewise.
23707 (PRINTF_EXPR): Likewise.
23708 (PRINTF_XEXPR): Likewise.
23709 (PRINTF_NEXPR): Likewise.
23710 (TEST_DOUBLE): Likewise.
23711 (TEST_MATHVEC): Likewise.
23712 (__NO_MATH_INLINES): Likewise.
23713 (CNCT): Likewise.
23714 (CONCAT): Likewise.
23715 (WRAPPER_NAME): Likewise.
23716 (WRAPPER_DECL): Likewise.
23717 (WRAPPER_DECL_ff): Likewise.
23718 (WRAPPER_DECL_fFF): Likewise.
23719 (VECTOR_WRAPPER): Likewise.
23720 (VECTOR_WRAPPER_ff): Likewise.
23721 (VECTOR_WRAPPER_fFF): Likewise.
23722 (VEC_LEN): New macro.
23723 * math/test-double-vlen8.h: Include test-double.h,
23724 test-math-no-inline.h and test-math-vector.h.
23725 (FLOAT): Remove macro.
23726 (FUNC): Likewise.
23727 (MATHCONST): Likewise.
23728 (PRINTF_EXPR): Likewise.
23729 (PRINTF_XEXPR): Likewise.
23730 (PRINTF_NEXPR): Likewise.
23731 (TEST_DOUBLE): Likewise.
23732 (TEST_MATHVEC): Likewise.
23733 (__NO_MATH_INLINES): Likewise.
23734 (CNCT): Likewise.
23735 (CONCAT): Likewise.
23736 (WRAPPER_NAME): Likewise.
23737 (WRAPPER_DECL): Likewise.
23738 (WRAPPER_DECL_ff): Likewise.
23739 (WRAPPER_DECL_fFF): Likewise.
23740 (VECTOR_WRAPPER): Likewise.
23741 (VECTOR_WRAPPER_ff): Likewise.
23742 (VECTOR_WRAPPER_fFF): Likewise.
23743 (VEC_LEN): New macro.
23744 * math/test-float-vlen4.h: Include test-float.h,
23745 test-math-no-inline.h and test-math-vector.h.
23746 (FLOAT): Remove macro.
23747 (FUNC): Likewise.
23748 (MATHCONST): Likewise.
23749 (PRINTF_EXPR): Likewise.
23750 (PRINTF_XEXPR): Likewise.
23751 (PRINTF_NEXPR): Likewise.
23752 (TEST_FLOAT): Likewise.
23753 (TEST_MATHVEC): Likewise.
23754 (__NO_MATH_INLINES): Likewise.
23755 (CNCT): Likewise.
23756 (CONCAT): Likewise.
23757 (WRAPPER_NAME): Likewise.
23758 (WRAPPER_DECL): Likewise.
23759 (WRAPPER_DECL_ff): Likewise.
23760 (WRAPPER_DECL_fFF): Likewise.
23761 (VECTOR_WRAPPER): Likewise.
23762 (VECTOR_WRAPPER_ff): Likewise.
23763 (VECTOR_WRAPPER_fFF): Likewise.
23764 (VEC_LEN): New macro.
23765 * math/test-float-vlen8.h: Include test-float.h,
23766 test-math-no-inline.h and test-math-vector.h.
23767 (FLOAT): Remove macro.
23768 (FUNC): Likewise.
23769 (MATHCONST): Likewise.
23770 (PRINTF_EXPR): Likewise.
23771 (PRINTF_XEXPR): Likewise.
23772 (PRINTF_NEXPR): Likewise.
23773 (TEST_FLOAT): Likewise.
23774 (TEST_MATHVEC): Likewise.
23775 (__NO_MATH_INLINES): Likewise.
23776 (CNCT): Likewise.
23777 (CONCAT): Likewise.
23778 (WRAPPER_NAME): Likewise.
23779 (WRAPPER_DECL): Likewise.
23780 (WRAPPER_DECL_ff): Likewise.
23781 (WRAPPER_DECL_fFF): Likewise.
23782 (VECTOR_WRAPPER): Likewise.
23783 (VECTOR_WRAPPER_ff): Likewise.
23784 (VECTOR_WRAPPER_fFF): Likewise.
23785 (VEC_LEN): New macro.
23786 * math/test-float-vlen16.h: Include test-float.h,
23787 test-math-no-inline.h and test-math-vector.h.
23788 (FLOAT): Remove macro.
23789 (FUNC): Likewise.
23790 (MATHCONST): Likewise.
23791 (PRINTF_EXPR): Likewise.
23792 (PRINTF_XEXPR): Likewise.
23793 (PRINTF_NEXPR): Likewise.
23794 (TEST_FLOAT): Likewise.
23795 (TEST_MATHVEC): Likewise.
23796 (__NO_MATH_INLINES): Likewise.
23797 (CNCT): Likewise.
23798 (CONCAT): Likewise.
23799 (WRAPPER_NAME): Likewise.
23800 (WRAPPER_DECL): Likewise.
23801 (WRAPPER_DECL_ff): Likewise.
23802 (WRAPPER_DECL_fFF): Likewise.
23803 (VECTOR_WRAPPER): Likewise.
23804 (VECTOR_WRAPPER_ff): Likewise.
23805 (VECTOR_WRAPPER_fFF): Likewise.
23806 (VEC_LEN): New macro.
23807 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
23808 test-vec-loop.h.
23809 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23810 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23811 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23812 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23813 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23814 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23815 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
23816
23817 2015-06-24 Roland McGrath <roland@hack.frob.com>
23818
23819 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
23820 (__getlogin_r): ... this.
23821
23822 2015-06-24 Joseph Myers <joseph@codesourcery.com>
23823
23824 [BZ #18594]
23825 * math/s_ccosh.c (__ccosh): Compare with least normal value
23826 instead of comparing class with FP_SUBNORMAL.
23827 * math/s_ccoshf.c (__ccoshf): Likewise.
23828 * math/s_ccoshl.c (__ccoshl): Likewise.
23829 * math/s_cexp.c (__cexp): Likewise.
23830 * math/s_cexpf.c (__cexpf): Likewise.
23831 * math/s_cexpl.c (__cexpl): Likewise.
23832 * math/s_csin.c (__csin): Likewise.
23833 * math/s_csinf.c (__csinf): Likewise.
23834 * math/s_csinh.c (__csinh): Likewise.
23835 * math/s_csinhf.c (__csinhf): Likewise.
23836 * math/s_csinhl.c (__csinhl): Likewise.
23837 * math/s_csinl.c (__csinl): Likewise.
23838 * math/s_ctan.c (__ctan): Likewise.
23839 * math/s_ctanf.c (__ctanf): Likewise.
23840 * math/s_ctanh.c (__ctanh): Likewise.
23841 * math/s_ctanhf.c (__ctanhf): Likewise.
23842 * math/s_ctanhl.c (__ctanhl): Likewise.
23843 * math/s_ctanl.c (__ctanl): Likewise.
23844 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
23845 csin, csinh, ctan and ctanh.
23846 * math/auto-libm-test-out: Regenerated.
23847 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
23848 * sysdeps/i386/fpu/libm-test-ulps: Update.
23849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23850
23851 2015-06-24 Roland McGrath <roland@hack.frob.com>
23852
23853 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
23854 return value is wrong, print the expected value too.
23855
23856 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
23857
23858 [BZ #18585]
23859 * elf/readlib.c (is_gdb_python_file): New.
23860 (process_file): Don't issue errors on filenames with -gdb.py
23861 suffix.
23862
23863 2015-06-24 Joseph Myers <joseph@codesourcery.com>
23864
23865 * math/auto-libm-test-in: Add more tests of csin and csinh.
23866 * math/auto-libm-test-out: Regenerated.
23867 * math/libm-test.inc (csin_test_data): Remove tests moved to
23868 auto-libm-test-in.
23869 (csinh_test_data): Likewise.
23870
23871 [BZ #18593]
23872 * math/s_csin.c (__csin): Negate before rather than after possibly
23873 overflowing multiplication.
23874 * math/s_csinf.c (__csinf): Likewise.
23875 * math/s_csinh.c (__csinh): Likewise.
23876 * math/s_csinhf.c (__csinhf): Likewise.
23877 * math/s_csinhl.c (__csinhl): Likewise.
23878 * math/s_csinl.c (__csinl): Likewise.
23879 * math/auto-libm-test-in: Add some tests of csin and csinh.
23880 * math/auto-libm-test-out: Regenerated.
23881 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
23882 (csinh_test_data): Likewise.
23883 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23884
23885 [BZ #18586]
23886 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
23887 underflow exception for small results.
23888
23889 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
23890
23891 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
23892 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
23893 variable and included header.
23894 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
23895 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
23896 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
23897 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
23898 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
23899 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
23900 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
23901 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
23902 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
23903 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
23904 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
23905 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
23906 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
23907 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
23908 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
23909 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
23910
23911 2015-06-23 Joseph Myers <joseph@codesourcery.com>
23912
23913 [BZ #16526]
23914 [BZ #16538]
23915 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
23916 (__sin): Force underflow exception for arguments with small
23917 absolute value.
23918 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
23919 (__kernel_sinf): Force underflow exception for arguments with
23920 small absolute value.
23921 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
23922 (__kernel_sincosl): Force underflow exception for arguments with
23923 small absolute value.
23924 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
23925 (__kernel_sinl): Force underflow exception for arguments with
23926 small absolute value.
23927 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
23928 (__kernel_sincosl): Force underflow exception for arguments with
23929 small absolute value.
23930 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
23931 (__kernel_sinl): Force underflow exception for arguments with
23932 small absolute value.
23933 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
23934 (__kernel_sinl): Force underflow exception for arguments with
23935 small absolute value.
23936 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
23937 (__kernel_sinf): Force underflow exception for arguments with
23938 small absolute value.
23939 * math/auto-libm-test-in: Add more tests of sin and sincos.
23940 * math/auto-libm-test-out: Regenerated.
23941
23942 [BZ #18245]
23943 [BZ #18583]
23944 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
23945 (__kernel_standard_l): Use feholdexcept and fesetenv around
23946 conversion to double instead of special-casing overflow and
23947 underflow.
23948 * math/libm-test.inc (fmod_test_data): Add more tests.
23949 (remainder_test_data): Likewise.
23950 (sqrt_test_data): Likewise.
23951
23952 2015-06-23 Torvald Riegel <triegel@redhat.com>
23953
23954 [BZ #17403]
23955 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
23956 atomic_read_barrier, atomic_write_barrier): Define.
23957 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
23958 atomic_read_barrier, atomic_write_barrier): Define.
23959
23960 2015-06-23 Joseph Myers <joseph@codesourcery.com>
23961
23962 * math/Makefile [$(PERL) != no]
23963 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
23964 dependency on libm-test.stmp below the inclusion of Rules.
23965
23966 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
23967
23968 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
23969 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
23970 and included header.
23971 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
23972 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
23973 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
23974 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
23975 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
23976 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
23977 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
23978 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
23979 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
23980 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
23981 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
23982 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
23983 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
23984 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
23985 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
23986 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
23987 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
23988 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
23989 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
23990
23991 2015-06-23 Joseph Myers <joseph@codesourcery.com>
23992
23993 [BZ #18371]
23994 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
23995 intermediate but not final result might underflow.
23996 * math/s_csqrtf.c (__csqrtf): Likewise.
23997 * math/s_csqrtl.c (__csqrtl): Likewise.
23998 * math/auto-libm-test-in: Add more tests of csqrt.
23999 * math/auto-libm-test-out: Regenerated.
24000 * sysdeps/i386/fpu/libm-test-ulps: Update.
24001
24002 [BZ #18219]
24003 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
24004 threshold on absolute value of exponent for which scaling is used.
24005 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24006 * math/auto-libm-test-in: Add more tests of exp2.
24007 * math/auto-libm-test-out: Regenerated.
24008
24009 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
24010
24011 [BZ #17977]
24012 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
24013 when initializing interface list, based on the bug analysis
24014 and the patch proposed by Eric Newton.
24015 * resolv/tst-res_hconf_reorder.c: New test.
24016 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
24017 tst-res_hconf_reorder.
24018 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
24019 and $(shared-thread-library).
24020 (tst-res_hconf_reorder-ENV): New variable.
24021
24022 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
24023 in comment.
24024
24025 2015-06-22 Joseph Myers <joseph@codesourcery.com>
24026
24027 [BZ #16353]
24028 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
24029 (__expm1): Force underflow exception for arguments with small
24030 absolute value.
24031 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
24032 (__expm1f): Force underflow exception for arguments with small
24033 absolute value.
24034 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
24035 (__expm1): Force underflow exception for arguments with small
24036 absolute value.
24037 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
24038 (__expm1f): Force underflow exception for arguments with small
24039 absolute value.
24040 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
24041 Check for small arguments before calling __expm1.
24042 * math/auto-libm-test-in: Do not mark underflow exceptions as
24043 possibly missing for bug 16353.
24044 * math/auto-libm-test-out: Regenerated.
24045
24046 2015-06-22 Andreas Schwab <schwab@suse.de>
24047
24048 [BZ #18513]
24049 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
24050 PTR queries.
24051
24052 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
24053
24054 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
24055
24056 * string/strcoll_l.c: Remove unused struct element idxnow.
24057
24058 2015-06-21 Joseph Myers <joseph@codesourcery.com>
24059
24060 [BZ #18569]
24061 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
24062 underflow and return argument in case of subnormal argument.
24063 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24064 Likewise.
24065 * math/auto-libm-test-in: Add more tests of expm1.
24066 * math/auto-libm-test-out: Regenerated.
24067
24068 [BZ #16361]
24069 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24070 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24071 tiny results.
24072 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24073 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24074 tiny results.
24075 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
24076 mark underflow exceptions as possibly missing for bug 16361.
24077 * math/auto-libm-test-out: Regenerated.
24078
24079 2015-06-19 Joseph Myers <joseph@codesourcery.com>
24080
24081 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
24082 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
24083 Remove variable.
24084 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24085 (test-xfail-XOPEN2K8/utmpx.h/conform).
24086
24087 * conform/conformtest.pl ($xerrors): New variable.
24088 (note_error): New function.
24089 (compiletest): New argument $xfail. Use not_error.
24090 (runtest): Likewise.
24091 (top level): Handle xfail- lines. Update calls to compiletest and
24092 runtest. Handle xfail- and optional- in headers listed with
24093 allow-header.
24094 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
24095 (O_EXEC): Likewise.
24096 (O_SEARCH): Likewise.
24097 * conform/data/stropts.h-data (ioctl): Likewise.
24098 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
24099 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
24100 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
24101 (msghdr.msg_controllen): Likewise.
24102 (cmsghdr.cmsg_len): Likewise.
24103 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
24104 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
24105 variable.
24106 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24107 (test-xfail-XPG4/stropts.h/conform): Likewise.
24108 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24109 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24110 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24111 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24112 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24113 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24114 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24115 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24116 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24117 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24118 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24119 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24120 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24121 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24122 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24123 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24124 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24125 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24126 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24127
24128 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
24129
24130 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
24131 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
24132 definitions for proper unfolding of __MATHDECL_VEC.
24133
24134 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24135
24136 * benchtests/bench-strcoll.c:
24137 Include string.h.
24138 (main): Remove unused variable res.
24139
24140 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24141
24142 * timezone/Makefile (%/UTC %/Universal):
24143 Generate test-result files for UTC and Universal.
24144
24145 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24146
24147 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24148
24149 2015-06-18 Joseph Myers <joseph@codesourcery.com>
24150
24151 [BZ #16350]
24152 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
24153 for arguments with small absolute value.
24154 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
24155 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
24156 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
24157 (__asinh): Force underflow exception for arguments with small
24158 absolute value.
24159 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
24160 (__asinhf): Force underflow exception for arguments with small
24161 absolute value.
24162 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
24163 (__asinhl): Force underflow exception for arguments with small
24164 absolute value.
24165 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
24166 (__asinhl): Force underflow exception for arguments with small
24167 absolute value.
24168 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
24169 (__asinhl): Force underflow exception for arguments with small
24170 absolute value.
24171 * math/auto-libm-test-in: Do not mark underflow exceptions as
24172 possibly missing for bug 16350.
24173 * math/auto-libm-test-out: Regenerated.
24174
24175 * include/bits/ipc.h: Remove file.
24176 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
24177 variable.
24178 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24179 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24180 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24181 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24182 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24183 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24184 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24185 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24186 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24187
24188 * math/auto-libm-test-in: Remove spurious underflow allowance for
24189 tests of cexp.
24190 * math/auto-libm-test-out: Regenerated.
24191
24192 [BZ #18558]
24193 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
24194 unconditional definition.
24195 (MCAST_BLOCK_SOURCE): Likewise.
24196 (MCAST_UNBLOCK_SOURCE): Likewise.
24197 (MCAST_LEAVE_GROUP): Likewise.
24198 (MCAST_JOIN_SOURCE_GROUP): Likewise.
24199 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24200 (MCAST_MSFILTER): Likewise.
24201 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
24202 Remove variable.
24203 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24204 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24205 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24206 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24207 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24208
24209 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
24210
24211 * NEWS: Mention addition of x86_64 vector sincosf.
24212 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
24213 * math/test-float-vlen4.h: Likewise.
24214 * math/test-float-vlen8.h: Likewise.
24215 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24216 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
24217 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24218 * sysdeps/x86_64/fpu/Versions: New versions added.
24219 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24220 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24221 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24222 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
24223 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
24224 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
24225 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
24226 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
24227 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
24228 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
24229 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
24230 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
24231 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
24232 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
24233 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
24234 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
24235 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
24236 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24237 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24238 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24239 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24240 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24241 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24242 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24243
24244 * NEWS: Mention addition of x86_64 vector sincos.
24245 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
24246 * math/math.h (__MATHDECL_VEC): New macro.
24247 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
24248 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
24249 declaration under condition.
24250 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
24251 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
24252 TEST_VEC_LOOP change.
24253 * math/test-double-vlen4.h: Likewise.
24254 * math/test-double-vlen8.h: Likewise.
24255 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
24256 * math/test-float-vlen4.h: Likewise.
24257 * math/test-float-vlen8.h: Likewise.
24258 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24259 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
24260 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24261 * sysdeps/x86_64/fpu/Versions: New versions added.
24262 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24263 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24264 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24265 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
24266 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
24267 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
24268 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
24269 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
24270 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
24271 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
24272 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
24273 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
24274 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
24275 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
24276 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
24277 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
24278 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
24279 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24280 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24281 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24282 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24283 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24284 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24285 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24286
24287 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24288 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24289 redirections for powf.
24290 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24291 * sysdeps/x86_64/fpu/Versions: New versions added.
24292 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24293 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24294 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24295 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
24296 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
24297 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
24298 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
24299 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
24300 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
24301 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
24302 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
24303 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
24304 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
24305 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
24306 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
24307 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
24308 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
24309 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24310 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24311 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24312 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24313 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24314 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24315 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24316 * math/test-float-vlen16.h: Fixed 2 argument macro.
24317 * math/test-float-vlen4.h: Likewise.
24318 * math/test-float-vlen8.h: Likewise.
24319 * NEWS: Mention addition of x86_64 vector powf.
24320
24321 2015-06-17 Joseph Myers <joseph@codesourcery.com>
24322
24323 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24324 and redefine.
24325 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24326 and redefine.
24327 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
24328 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24329 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24330
24331 [BZ #18553]
24332 * resource/getpriority.c (getpriority): Rename to __getpriority
24333 and define as weak alias of __getpriority.
24334 * resource/setpriority.c (setpriority): Rename to __setpriority
24335 and define as weak alias of __setpriority.
24336 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
24337 __getpriority and define as weak alias of __getpriority.
24338 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
24339 __setpriority and define as weak alias of __setpriority.
24340 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
24341 strong name.
24342 (setpriority): Use __setpriority as strong name.
24343 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
24344 __getpriority and define as weak alias of __getpriority.
24345 * include/sys/resource.h (__getpriority): Declare. Use
24346 libc_hidden_proto.
24347 (__setpriority): Likewise.
24348 (getpriority): Don't use libc_hidden_proto.
24349 (setpriority): Likewise.
24350 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
24351 getpriority. Call __setpriority instead of setpriority.
24352 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
24353 Remove variable.
24354
24355 [BZ #18547]
24356 * misc/getttyent.c (getttynam): Rename to __getttynam and define
24357 as weak alias of __getttynam. Use prototype function definition.
24358 Call __setttyent, __getttyent and __endttyent instead of
24359 setttyent, getttyent and endttyent.
24360 (getttyent): Rename to __getttyent and define as weak alias of
24361 __getttyent. Call __setttyent instead of setttyent. Call
24362 __fgets_unlocked instead of fgets_unlocked.
24363 (setttyent): Rename to __setttyent and define as weak alias of
24364 __setttyent.
24365 (endttyent): Rename to __endttyent and define as weak alias of
24366 __endttyent.
24367 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
24368 (__setttyent): Likewise.
24369 (__endttyent): Likewise.
24370 (getttyent): Don't use libc_hidden_proto.
24371 (setttyent): Likewise.
24372 (endttyent): Likewise.
24373 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
24374 __endttyent instead of setttyent, getttyent and endttyent.
24375 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
24376 Remove variable.
24377
24378 [BZ #18546]
24379 * socket/recv.c (__recv): Use libc_hidden_def.
24380 * socket/socket.c (__socket): Likewise.
24381 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
24382 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
24383 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
24384 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
24385 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
24386 libc_hidden_def.
24387 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
24388 libc_hidden_weak.
24389 * include/sys/socket.h (__socket): Do not use attribute_hidden.
24390 Use libc_hidden_proto.
24391 (__recv): Likewise.
24392 * socket/Versions (libc): Export __recv and __socket at version
24393 GLIBC_PRIVATE.
24394 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
24395 instead of recv.
24396 (init_mq_netlink): Call __socket instead of socket.
24397 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
24398 Remove variable.
24399
24400 [BZ #18545]
24401 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
24402 __mq_timedreceive and define as alias of __mq_timedreceive. Use
24403 hidden_weak.
24404 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
24405 define as alias of __mq_timedsend. Use hidden_weak.
24406 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
24407 __mq_timedsend as strong name.
24408 (mq_timedreceive): Use __mq_timedreceive as strong name.
24409 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
24410 (__mq_timedreceive): Likewise.
24411 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
24412 __mq_timedreceive instead of mq_timedreceive.
24413 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
24414 instead of mq_timedsend.
24415 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
24416 Remove variable.
24417
24418 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
24419 hidden_def and hidden_weak instead of libc_hidden_def and
24420 libc_hidden_weak.
24421 (top level): Refer to hidden_def in comment.
24422 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
24423 macro. Use it instead of libc_hidden_def.
24424 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
24425 specify __GI_* name explicitly.
24426 (mq_timedreceive): Likewise.
24427 (mq_setattr): Likewise.
24428
24429 [BZ #18544]
24430 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
24431 __pthread_barrier_init and define as weak alias of
24432 __pthread_barrier_init.
24433 * sysdeps/sparc/nptl/pthread_barrier_init.c
24434 (pthread_barrier_init): Likewise.
24435 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
24436 __pthread_barrier_wait and define as weak alias of
24437 __pthread_barrier_wait.
24438 * sysdeps/sparc/nptl/pthread_barrier_wait.c
24439 (pthread_barrier_wait): Likewise.
24440 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
24441 (pthread_barrier_wait): Likewise.
24442 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
24443 (pthread_barrier_wait): Likewise.
24444 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
24445 (pthread_barrier_wait): Likewise.
24446 * nptl/Versions (libpthread): Export __pthread_barrier_init and
24447 __pthread_barrier_wait at version GLIBC_PRIVATE.
24448 * include/pthread.h (__pthread_barrier_init): Declare.
24449 (__pthread_barrier_wait): Likewise.
24450 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
24451 Call __pthread_barrier_wait instead of pthread_barrier_wait.
24452 (helper_thread): Likewise.
24453 (init_mq_netlink): Call __pthread_barrier_init instead of
24454 pthread_barrier_init.
24455
24456 [BZ #18542]
24457 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
24458 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
24459 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
24460 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
24461 vswscanf.
24462 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
24463 Remove variable.
24464
24465 [BZ #18540]
24466 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
24467 strong alias of _IO_fflush. Use libc_hidden_def.
24468 * libio/iofflush_u.c (fflush_unlocked): Rename to
24469 __fflush_unlocked and define as weak alias of __fflush_unlocked.
24470 Use libc_hidden_weak.
24471 * include/stdio.h (__fflush_unlocked): Declare. Use
24472 libc_hidden_proto.
24473 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
24474 fflush_unlocked.
24475 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
24476 Remove variable.
24477
24478 [BZ #18539]
24479 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
24480 define as weak alias of __addseverity.
24481 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
24482 Remove variable.
24483 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
24484 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
24485 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
24486
24487 [BZ #18536]
24488 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
24489 (__tfind): Likewise.
24490 (__tdelete): Likewise.
24491 (__twalk): Likewise.
24492 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
24493 __twalk to GLIBC_PRIVATE.
24494 * include/search.h (__tsearch): Use libc_hidden_proto.
24495 (__tfind): Likewise.
24496 (__tdelete): Likewise.
24497 (__twalk): Likewise.
24498 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
24499 Call __tdelete instead of tdelete.
24500 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
24501 tfind. Call __tsearch instead of tsearch.
24502 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
24503 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
24504 Remove variable.
24505 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
24506
24507 [BZ #18534]
24508 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
24509 (dprintf): Define as a weak alias of __dprintf, not a strong
24510 alias.
24511 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
24512 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
24513 dprintf.
24514 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
24515 Remove variable.
24516 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
24517 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
24518
24519 [BZ #18533]
24520 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
24521 not a strong alias.
24522 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
24523 Remove variable.
24524
24525 [BZ #18532]
24526 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
24527 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
24528 (in6addr_loopback): Rename to __in6addr_loopback and define as
24529 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
24530 * include/netinet/in.h (__in6addr_loopback): Declare. Use
24531 libc_hidden_proto.
24532 (__in6addr_any): Likewise.
24533 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
24534 in6addr_any.
24535 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
24536 variable.
24537 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
24538
24539 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
24540
24541 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
24542 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
24543 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24544 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24545 redirections for pow.
24546 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24547 * sysdeps/x86_64/fpu/Versions: New versions added.
24548 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24549 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24550 build of SSE, AVX2 and AVX512 IFUNC versions.
24551 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
24552 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
24553 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
24554 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
24555 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
24556 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
24557 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
24558 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
24559 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
24560 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
24561 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
24562 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
24563 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
24564 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
24565 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24566 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24567 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24568 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24569 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24570 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24571 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24572 * NEWS: Mention addition of x86_64 vector pow.
24573
24574 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24575 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24576 redirections for expf.
24577 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24578 * sysdeps/x86_64/fpu/Versions: New versions added.
24579 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24580 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24581 build of SSE, AVX2 and AVX512 IFUNC versions.
24582 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
24583 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
24584 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
24585 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
24586 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
24587 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
24588 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
24589 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
24590 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
24591 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
24592 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
24593 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
24594 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
24595 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24596 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24597 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24598 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24599 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24600 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24601 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24602 * NEWS: Mention addition of x86_64 vector expf.
24603
24604 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
24605 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
24606 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24607 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24608 redirections for exp.
24609 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24610 * sysdeps/x86_64/fpu/Versions: New versions added.
24611 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24612 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24613 build of SSE, AVX2 and AVX512 IFUNC versions.
24614 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
24615 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
24616 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
24617 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
24618 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
24619 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
24620 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
24621 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
24622 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
24623 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
24624 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
24625 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
24626 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
24627 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24628 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24629 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24630 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24631 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24632 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24633 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24634 * NEWS: Mention addition of x86_64 vector exp.
24635
24636 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24637 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24638 redirections for logf.
24639 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24640 * sysdeps/x86_64/fpu/Versions: New versions added.
24641 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24642 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24643 build of SSE, AVX2 and AVX512 IFUNC versions.
24644 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
24645 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
24646 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
24647 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
24648 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
24649 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
24650 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
24651 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
24652 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
24653 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
24654 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
24655 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
24656 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
24657 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24658 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24659 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24660 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24661 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24662 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24663 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24664 * NEWS: Mention addition of x86_64 vector logf.
24665
24666 * bits/libm-simd-decl-stubs.h: Added stubs for log.
24667 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
24668 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24669 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24670 redirections for log.
24671 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24672 * sysdeps/x86_64/fpu/Versions: New versions added.
24673 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24674 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24675 build of SSE, AVX2 and AVX512 IFUNC versions.
24676 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
24677 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
24678 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
24679 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
24680 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
24681 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
24682 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
24683 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
24684 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
24685 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
24686 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
24687 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
24688 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
24689 test.
24690 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24691 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24692 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24693 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24694 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24695 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24696 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24697 * NEWS: Mention addition of x86_64 vector log.
24698
24699 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
24700
24701 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
24702 cfi_adjust_cfa_offset argument.
24703 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
24704 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
24705
24706 [BZ #18034]
24707 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
24708 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
24709 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
24710 ordering using ldar.
24711 (_dl_tlsdesc_dynamic): Likewise.
24712 (_dl_tlsdesc_return_lazy): Likewise.
24713 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
24714 relaxed atomics instead of volatile and synchronize with release store.
24715 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
24716 volatile.
24717 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24718
24719 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
24720
24721 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24722 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
24723 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24724 * sysdeps/x86_64/fpu/Versions: New versions added.
24725 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24726 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24727 build of SSE, AVX2 and AVX512 IFUNC versions.
24728 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
24729 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
24730 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
24731 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
24732 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
24733 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
24734 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
24735 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
24736 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
24737 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
24738 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
24739 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
24740 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
24741 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24742 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24743 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24744 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24745 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24746 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24747 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24748 * NEWS: Mention addition of x86_64 vector sinf.
24749
24750 2015-06-14 Joseph Myers <joseph@codesourcery.com>
24751
24752 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
24753 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
24754 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
24755 Remove variable.
24756 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
24757 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
24758
24759 2015-06-12 Joseph Myers <joseph@codesourcery.com>
24760
24761 [BZ #18530]
24762 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
24763 strong alias of _IO_fputs. Use libc_hidden_def.
24764 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
24765 and define as weak alias of __fputs_unlocked. Use
24766 libc_hidden_weak.
24767 * include/stdio.h (__fputs_unlocked): Declare. Use
24768 libc_hidden_proto.
24769 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
24770 fputs_unlocked.
24771
24772 [BZ #18529]
24773 * resolv/netdb.h [__USE_POSIX]: Change condition to
24774 [__USE_XOPEN2K].
24775 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
24776 not expect.
24777 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
24778 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
24779 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
24780 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
24781 [XPG4 || UNIX98] (AI_ALL): Likewise.
24782 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
24783 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
24784 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
24785 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
24786 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
24787 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
24788 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
24789 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
24790 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
24791 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
24792 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
24793 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
24794 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
24795 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
24796 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
24797 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
24798 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
24799 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
24800 [XPG4 || UNIX98] (gai_strerror): Likewise.
24801 [XPG4 || UNIX98] (getaddrinfo): Likewise.
24802 [XPG4 || UNIX98] (getnameinfo): Likewise.
24803
24804 [BZ #18528]
24805 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
24806 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
24807 __USE_XOPEN2K8].
24808 (getgrent): Likewise.
24809 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
24810 expect.
24811 [XPG3 || POSIX2008] (endgrent): Likewise.
24812 [XPG3] (setgrent): Likewise.
24813 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
24814 variable.
24815 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
24816
24817 [BZ #18527]
24818 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
24819 define as weak alias of __getlogin_r. Use libc_hidden_weak.
24820 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
24821 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
24822 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
24823 * include/unistd.h (__getlogin_r): Declare. Use
24824 libc_hidden_proto.
24825 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
24826 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
24827 variable.
24828 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
24829 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
24830 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
24831
24832 2015-06-12 Martin Sebor <msebor@redhat.com>
24833
24834 [BZ #18512]
24835 * Makerules (check-install-supported): New target.
24836 (install): Add check-install-supported as a dependency.
24837 * manual/install.texi (Installing the C Library): Document
24838 that overriding prefix and exec_prefix is not supported.
24839 Mention DESTDIR.
24840 * INSTALL: Regenerate from the above.
24841
24842 2015-06-12 Joseph Myers <joseph@codesourcery.com>
24843
24844 [BZ #18519]
24845 * posix/Versions (libc): Export __libc_pread at version
24846 GLIBC_PRIVATE.
24847 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
24848 instead of pread.
24849 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
24850 variable.
24851
24852 [BZ #18522]
24853 * misc/efgcvt_r.c
24854 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
24855 (cvt_symbol): Use weak_alias instead of strong_alias.
24856 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
24857 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
24858 Remove variable.
24859 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
24860 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
24861
24862 [BZ #18520]
24863 * inet/herrno.c (h_errno): Rename to __h_errno.
24864 (__libc_h_errno): Define as alias of __h_errno not h_errno.
24865 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
24866 to __h_errno instead of h_errno.
24867 * nptl/herrno.c (h_errno): Rename to __h_errno.
24868 (__h_errno_location): Refer to __h_errno not h_errno.
24869 * resolv/Versions (h_errno): Rename to __h_errno.
24870 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
24871 Remove variable.
24872 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
24873
24874 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
24875
24876 * configure.ac: More strict check for AVX512 assembler support.
24877 * configure: Regenerated.
24878
24879 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
24880 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
24881 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24882 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
24883 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24884 * sysdeps/x86_64/fpu/Versions: New versions added.
24885 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24886 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24887 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24888 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
24889 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
24890 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
24891 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
24892 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
24893 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
24894 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
24895 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
24896 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
24897 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
24898 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
24899 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
24900 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
24901 test.
24902 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24903 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24904 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24905 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24906 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24907 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24908 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24909 * NEWS: Mention addition of x86_64 vector sin.
24910
24911 2015-06-11 Florian Weimer <fweimer@redhat.com>
24912
24913 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
24914 comment.
24915
24916 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
24917
24918 [BZ #18479]
24919 * nptl/pt-interp.c: New file.
24920 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
24921 Add pt-interp.
24922 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
24923 $(common-objpfx)runtime-linker.h.
24924
24925 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
24926
24927 * Makeconfig (+interp): Remove unused variable.
24928 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
24929 only. Depend on $(common-objpfx)runtime-linker.h instead of
24930 $(elf-objpfx)runtime-linker.h.
24931 ($(elf-objpfx)runtime-linker.h): Rename to
24932 $(common-objpfx)runtime-linker.h and move ...
24933 * Makerules [$(build-shared) = yes]: ... here.
24934 * elf/interp.c: Include <runtime-linker.h> instead of
24935 <elf/runtime-linker.h>.
24936
24937 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24938
24939 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
24940 (__gettimeofday_syscall): Remove vsyscall fallback.
24941 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
24942 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
24943 Add syscall fallback function.
24944 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
24945 if vDSO is not present.
24946 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
24947 fallback function.
24948 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
24949 present.
24950 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
24951 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24952
24953 2015-06-09 Joseph Myers <joseph@codesourcery.com>
24954
24955 [BZ #18497]
24956 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
24957 of wcscmp.
24958 (wcscmp): Define as weak alias of WCSCMP.
24959 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
24960 wcscoll.
24961 (USE_HIDDEN_DEF): Define.
24962 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
24963 __wcscoll. Don't use libc_hidden_weak.
24964 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
24965 wcscmp.
24966 * sysdeps/i386/i686/multiarch/wcscmp-c.c
24967 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
24968 __GI_wcscmp.
24969 (weak_alias): Undefine and redefine.
24970 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
24971 __wcscmp and define as weak alias of __wcscmp.
24972 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
24973 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
24974 (__wcscoll): Likewise.
24975 (wcscmp): Don't use libc_hidden_proto.
24976 (wcscoll): Likewise.
24977 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
24978 wcscoll.
24979 * posix/regexec.c (check_node_accept_bytes): Likewise.
24980 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
24981 variable.
24982 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
24983 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
24984
24985 [BZ #18507]
24986 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
24987 __fstatvfs and define as weak alias of __fstatvfs. Use
24988 libc_hidden_weak.
24989 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
24990 and define as weak alias of __statvfs. Use libc_hidden_weak.
24991 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
24992 Define as alias of __fstatvfs, not fstatvfs.
24993 (fstatvfs64): Likewise.
24994 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
24995 Define as alias of __statvfs, not statvfs.
24996 (statvfs64): Likewise.
24997 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
24998 Remove variable.
24999
25000 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25001
25002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25003 (HAVE_GETCPU_VSYSCALL): Define.
25004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25005 (HAVE_GETCPU_VSYSCALL): Likewise.
25006 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
25007 * sysdeps/unix/sysv/linux/sched_getcpu.c
25008 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
25009 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
25010 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
25011 prototype.
25012 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25013 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
25014 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
25015 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
25016 Define.
25017 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
25018 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25019 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
25020 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25021
25022 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
25023
25024 * sysdeps/x86_64/fpu/Makefile: New file.
25025 * sysdeps/x86_64/fpu/Versions: New file.
25026 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
25027 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
25028 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
25029 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
25030 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
25031 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
25032 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
25033 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
25034 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
25035 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
25036 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
25037 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
25038 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
25039 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25040 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25041 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
25042 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
25043 * sysdeps/x86_64/configure.ac: Options for libmvec build.
25044 * sysdeps/x86_64/configure: Regenerated.
25045 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
25046 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
25047 * manual/install.texi (Configuring and compiling): Document
25048 --disable-mathvec.
25049 * INSTALL: Regenerated.
25050 * NEWS: Mention addition of libmvec and x86_64 vector cos.
25051
25052 * math/Makefile: Added rules for vector tests.
25053 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
25054 declaration under condition.
25055 * math/test-double-vlen2.h: New file.
25056 * math/test-double-vlen4.h: New file.
25057 * math/test-double-vlen8.h: New file.
25058 * math/test-vec-loop.h: Added initialization macro.
25059 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
25060 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
25061 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
25062 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
25063 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
25064 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
25065 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
25066 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
25067 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
25068 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
25069 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
25070
25071 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25072 * sysdeps/x86_64/fpu/Versions: New versions added.
25073 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
25074 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
25075 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
25076 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
25077 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
25078 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
25079 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
25080 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
25081 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
25082 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
25083 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
25084 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
25085 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
25086 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25087 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25088 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25089 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
25090 * NEWS: Mention addition of x86_64 vector cosf.
25091
25092 * math/Makefile: Added CFLAGS for new tests.
25093 * math/test-float-vlen16.h: New file.
25094 * math/test-float-vlen4.h: New file.
25095 * math/test-float-vlen8.h: New file.
25096 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
25097 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
25098 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25099 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
25100 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
25101 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
25102 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
25103 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
25104 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
25105 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
25106 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
25107
25108 2015-06-09 Marko Myllynen <myllynen@redhat.com>
25109
25110 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
25111 * locale/programs/ld-ctype.c: Likewise.
25112
25113 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
25114
25115 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
25116 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
25117 bit_ZMM16_31_state): New macro.
25118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25119 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
25120
25121 2015-06-08 Joseph Myers <joseph@codesourcery.com>
25122
25123 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
25124
25125 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
25126
25127 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
25128
25129 2015-06-05 Joseph Myers <joseph@codesourcery.com>
25130
25131 [BZ #18498]
25132 * libio/memstream.c (open_memstream): Rename to __open_memstream
25133 and define as weak alias of __open_memstream.
25134 * include/stdio.h (__open_memstream): Declare. Use
25135 libc_hidden_proto.
25136 (open_memstream): Don't use libc_hidden_proto.
25137 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
25138 open_memstream.
25139 * posix/getopt.c (_getopt_internal_r): Likewise.
25140 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
25141 variable.
25142 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25143 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25144 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25145
25146 [BZ #18496]
25147 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
25148 instead of wcrtomb.
25149
25150 [BZ #18483]
25151 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
25152 [__USE_XOPEN2K8]. Remove redundant #endif.
25153 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
25154 Remove redundant #if.
25155 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
25156 Remove variable.
25157 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25158 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25159
25160 [BZ #18495]
25161 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
25162 (__iswlower): Likewise.
25163 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
25164 (__iswlower): Likewise.
25165 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
25166 instead of towlower.
25167 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
25168 instead of iswlower. Call __towupper instead of towupper.
25169 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
25170 instead of iswalnum.
25171
25172 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25173
25174 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
25175 errors to stderr.
25176
25177 2015-06-05 Florian Weimer <fweimer@redhat.com>
25178
25179 [BZ #15661]
25180 [BZ #17322]
25181 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25182 Check for overflow properly. Check for O_APPEND. Ignore large
25183 file system block sizes. Add comments about problems.
25184 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
25185 * manual/filesys.texi (Storage Allocation): New node.
25186
25187 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25188
25189 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
25190 cancellable syscalls.
25191 (SYS_ify): Add guard to no redefine it.
25192 (INLINE_SYSCALL): Likewise.
25193 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
25194 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
25195 SYSCALL_CANCEL instead.
25196 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
25197 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25198 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25199 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25200 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25201 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
25202 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
25203 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
25204 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
25205 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
25206 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
25207 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
25208 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
25209 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
25210 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
25211 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25212 Likewise.
25213 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25214 (__libc_pread64): Likewise.
25215 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
25216 (__libc_preadv): Likewise.
25217 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
25218 (__libc_readv64): Likewise.
25219 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25220 (__libc_pwrite): Likewise.
25221 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25222 (__libc_pwrite64): Likewise.
25223 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
25224 (__libc_pwritev): Likewise.
25225 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
25226 (__libc_pwritev64): Likewise.
25227 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
25228 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
25229 (sync_file_range): Likewise.
25230 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
25231 Likewise.
25232 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
25233 Likewise.
25234 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25235 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25236 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25237 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25238 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25239 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25240 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
25241 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
25242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25243 Likewise.
25244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25245 (__libc_read64): Likewise.
25246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
25247 Likewise.
25248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
25249 Likewise.
25250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
25251 Likewise.
25252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
25253 Likewise.
25254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25255 (__libc_pread64): Likewise.
25256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
25257 Likewise.
25258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25259 (__libc_pwrite64): Likewise.
25260 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
25261 (sync_file_range): Likewise.
25262 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
25263 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25264 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25265 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
25266 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
25267 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25268 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25269 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
25270 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
25271 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25272 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25273 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25274 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25275 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25276 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
25277 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25278 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25279 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25280 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25281 Likewise.
25282 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
25283 Likewise.
25284 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
25285 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
25286 Likewise.
25287 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
25288 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
25289 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
25290 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
25291 Likewise.
25292 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
25293 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
25294 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
25295 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
25296 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
25297
25298 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
25299
25300 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
25301 Include dl-vdso.
25302 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
25303 Use VDSO routines for gettimeofday, clock_gettime if
25304 available.
25305 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
25306 Declare VDSO symbols.
25307 * sysdeps/unix/sysv/linux/arm/sysdep.h:
25308 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
25309 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25310 * sysdeps/unix/sysv/linux/arm/Versions: Add
25311 __vdso_clock_gettime.
25312
25313 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25314
25315 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
25316 be an inline implementation regardless of library is built within.
25317 (open_not_cancel_2): Likewise.
25318 (__read_nocancel): Likewise.
25319 (__write_nocancel): Likewise.
25320 (openat_not_cancel): Likewise.
25321 (openat_not_cancel_3): Likewise.
25322 (openat64_not_cancel): Likewise.
25323 (openat64_not_cancel_3): Likewise.
25324 (__close_nocancel): Likewise.
25325 (pause_not_cancel): Likewise.
25326 (nanosleep_not_cancel): Likewise.
25327 (sigsuspend_not_cancel): Likewise.
25328
25329 2015-06-04 Torvald Riegel <triegel@redhat.com>
25330
25331 [BZ #14958]
25332 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
25333 wake-up.
25334 (__pthread_rwlock_rdlock_slow): Likewise.
25335 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25336 Likewise.
25337 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
25338 Likewise.
25339 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
25340 * nptl/tst-rwlock16.c: New file.
25341 * nptl/Makefile (tests): Add new test.
25342
25343 2015-06-04 Torvald Riegel <triegel@redhat.com>
25344
25345 [BZ #18324]
25346 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
25347 missing wake-up of readers.
25348 * nptl/tst-rwlock15.c: New file.
25349 * nptl/Makefile (tests): Add new test.
25350
25351 2015-06-03 Roland McGrath <roland@hack.frob.com>
25352
25353 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
25354 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
25355 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
25356 and __nacl_supply_interface_rtld.
25357 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
25358 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
25359 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
25360 Add __nacl_supply_interface_rtld.
25361 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
25362
25363 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
25364
25365 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
25366 isfinite.
25367 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25368 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
25369
25370 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
25371
25372 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
25373 __signbit* with standard C99 macros.
25374 * math/e_exp10l.c: Likewise.
25375 * math/e_exp2l.c: Likewise.
25376 * math/e_scalb.c: Likewise.
25377 * math/e_scalbf.c: Likewise.
25378 * math/e_scalbl.c: Likewise.
25379 * math/s_ldexp.c: Likewise.
25380 * math/s_ldexpf.c: Likewise.
25381 * math/s_ldexpl.c: Likewise.
25382 * math/w_atan2.c: Likewise.
25383 * math/w_atan2f.c: Likewise.
25384 * math/w_atan2l.c: Likewise.
25385 * math/w_cosh.c: Likewise.
25386 * math/w_coshf.c: Likewise.
25387 * math/w_coshl.c: Likewise.
25388 * math/w_exp10.c: Likewise.
25389 * math/w_exp10f.c: Likewise.
25390 * math/w_exp10l.c: Likewise.
25391 * math/w_exp2.c: Likewise.
25392 * math/w_exp2f.c: Likewise.
25393 * math/w_exp2l.c: Likewise.
25394 * math/w_fmod.c: Likewise.
25395 * math/w_fmodf.c: Likewise.
25396 * math/w_fmodl.c: Likewise.
25397 * math/w_hypot.c: Likewise.
25398 * math/w_hypotf.c: Likewise.
25399 * math/w_hypotl.c: Likewise.
25400 * math/w_jnl.c: Likewise.
25401 * math/w_lgamma.c: Likewise.
25402 * math/w_lgamma_r.c: Likewise.
25403 * math/w_lgammaf.c: Likewise.
25404 * math/w_lgammaf_r.c: Likewise.
25405 * math/w_lgammal.c: Likewise.
25406 * math/w_lgammal_r.c: Likewise.
25407 * math/w_pow.c: Likewise.
25408 * math/w_powf.c: Likewise.
25409 * math/w_powl.c: Likewise.
25410 * math/w_remainder.c: Likewise.
25411 * math/w_remainderf.c: Likewise.
25412 * math/w_remainderl.c: Likewise.
25413 * math/w_scalb.c: Likewise.
25414 * math/w_scalbf.c: Likewise.
25415 * math/w_scalbl.c: Likewise.
25416 * math/w_scalbln.c: Likewise.
25417 * math/w_scalblnf.c: Likewise.
25418 * math/w_scalblnl.c: Likewise.
25419 * math/w_sinh.c: Likewise.
25420 * math/w_sinhf.c: Likewise.
25421 * math/w_sinhl.c: Likewise.
25422 * math/w_tgamma.c: Likewise.
25423 * math/w_tgammaf.c: Likewise.
25424 * math/w_tgammal.c: Likewise.
25425 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25426 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
25427 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25428 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25429 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25430 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25431 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25432 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25433 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25434 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25435 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25436 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25437 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25438 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25439 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25440 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25441 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25442 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25443 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25444 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25445 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25446 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25447 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25448 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25449 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25450 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25451 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
25452 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25453 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25454 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25455 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
25456 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
25457 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
25458 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
25459 * stdio-common/printf_fp.c: Likewise.
25460 * stdio-common/printf_fphex.c: Likewise.
25461 * stdio-common/printf_size.c: Likewise.
25462
25463 2015-06-03 Joseph Myers <joseph@codesourcery.com>
25464
25465 [BZ #18470]
25466 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
25467 strnlen.
25468 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
25469 Remove variable.
25470 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25471 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25472 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25473 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25474 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25475 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25476 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25477 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25478 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25479 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25480
25481 [BZ #18468]
25482 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
25483 weak alias of __wmemchr. Use libc_hidden_weak.
25484 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
25485 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
25486 instead of wmemchr.
25487
25488 2015-06-02 Roland McGrath <roland@hack.frob.com>
25489
25490 [BZ #18383]
25491 * elf/tst-tlsalign-extern.c: New file.
25492 * elf/tst-tlsalign-extern-static.c: New file.
25493 * elf/tst-tlsalign-vars.c: New file.
25494 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
25495 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
25496 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
25497 ($(objpfx)tst-tlsalign-extern-static): Likewise.
25498 (test-xfail-tst-tlsalign-extern-static): New variable.
25499
25500 2015-06-02 Joseph Myers <joseph@codesourcery.com>
25501
25502 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
25503 Use variable name _sc_err instead of err.
25504 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
25505 instead of ret.
25506 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
25507 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
25508 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
25509 (INLINE_SYSCALL): Likewise.
25510
25511 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
25512 * include/string.h (__strnlen): Use libc_hidden_proto.
25513 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
25514 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
25515 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
25516 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
25517 (libc_hidden_def): Undefine and redefine.
25518 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
25519 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
25520 __GI_strnlen.
25521 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
25522 libc_hidden_def.
25523 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
25524
25525 [BZ #18469]
25526 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
25527 weak alias of __towlower. Use libc_hidden_weak.
25528 (towupper): Rename to __towupper and define as weak alias of
25529 __towupper. Use libc_hidden_weak.
25530 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
25531 (__towupper): Likewise.
25532 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
25533 __towlower instead of towlower.
25534
25535 2015-06-02 Roland McGrath <roland@hack.frob.com>
25536
25537 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
25538 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
25539
25540 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25541
25542 * sysdeps/aarch64/libm-test-ulps: Update.
25543
25544 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25545
25546 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
25547 Define.
25548 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25549 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25550 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
25551 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25552 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
25553 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
25554 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
25555
25556 2015-06-01 Martin Sebor <msebor@redhat.com>
25557
25558 [BZ #18116]
25559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25560 (__setcontext): Use extended four-operand version of mtsf whenever
25561 possible.
25562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25563 (__novec_swapcontext): Likewise.
25564
25565 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25566
25567 * benchtests/scripts/compare_bench.py: New file.
25568 * benchtests/scripts/import_bench.py (mean): New function.
25569 (split_list): Likewise.
25570 (do_for_all_timings): Likewise.
25571 (compress_timings): Likewise.
25572
25573 * benchtests/scripts/import_bench.py: New file.
25574 * benchtests/scripts/validate_benchout.py: Import import_bench
25575 instead of jsonschema.
25576 (validate_bench): Remove function.
25577 (main): Use import_bench.
25578
25579 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
25580
25581 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
25582 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
25583
25584 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25585
25586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25587
25588 2015-05-28 Roland McGrath <roland@hack.frob.com>
25589
25590 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
25591 set THREAD_SELF->tid to a magic value and futex-wake it.
25592 Pass its address to the thread_exit system call.
25593 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
25594 bit is clear.
25595 * sysdeps/nacl/lowlevellock.h: New file.
25596 * sysdeps/nacl/lll_timedwait_tid.c: New file.
25597
25598 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
25599 Add TIMEOUT to current time, don't subtract it.
25600
25601 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
25602
25603 [BZ #2981]
25604 [BZ #18422]
25605 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
25606 ($(objpfx)tst-audit2.out): Also depend on
25607 $(objpfx)tst-auditmod9b.so.
25608 * elf/tst-audit2.c: Include <dlfcn.h>.
25609 (calloc_called): New.
25610 (calloc): Allow to be called more than once.
25611 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
25612
25613 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
25614
25615 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
25616 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
25617
25618 2015-05-27 Marko Myllynen <myllynen@redhat.com>
25619
25620 * stdlib/monetary.h: Fix comment.
25621
25622 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
25623
25624 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
25625 Avoid using variables in #defines that might cause shadowing.
25626 (INTERNAL_VSYSCALL_CALL): Likewise.
25627
25628 2015-05-26 Roland McGrath <roland@hack.frob.com>
25629
25630 * sysdeps/nacl/lll_timedlock_wait.c: New file.
25631
25632 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
25633 * nptl/lll_timedlock_wait.c: ... to this new file.
25634 * nptl/Makefile (libpthread-routines): Add it.
25635 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
25636 * nptl/lll_timedwait_tid.c: ... to this new file.
25637 * nptl/Makefile (libpthread-routines): Add it.
25638 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
25639 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
25640 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
25641 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
25642 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
25643 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
25644 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
25645 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
25646 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
25647 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
25648
25649 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25650
25651 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
25652 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
25653 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
25654 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
25655 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
25656 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25657 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25658 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25659 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25660 * sysdeps/unix/sysv/linux/tile/sysdep.h
25661 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25662 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
25663 using vDSO syscall macro.
25664
25665 2015-05-26 Andriy Rysin <arysin@gmail.com>
25666
25667 [BZ #17293]
25668 * uk_UA: Fix sorting order for Ukrainian locale
25669
25670 2015-05-26 Marko Myllynen <myllynen@redhat.com>
25671
25672 * stdlib/monetary.h: Fix comment.
25673
25674 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
25675
25676 [BZ #18234]
25677 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
25678 st_mtim and st_ctim members.
25679 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
25680 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
25681 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
25682 (struct stat64): Likewise.
25683 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
25684 (struct stat64): Likewise.
25685 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
25686 (struct stat64): Likewise.
25687
25688 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25689
25690 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
25691 Define and include sysdep-vdso.h.
25692 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
25693 Likewise.
25694 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
25695 Likewise.
25696 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
25697 Define with VDSO_SYMBOL and use PTR_MANGLE.
25698 (__vdso_clock_gettime): Likewise.
25699 (__vdso_clock_getres): Likewise.
25700 (_libc_vdso_platform_setup): Likewise.
25701 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
25702 Likewise.
25703 (_libc_vdso_platform_setup): Likewise.
25704 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
25705 Likewise.
25706 (__vdso_clock_gettime): Likewise.
25707 (__vdso_clock_getres): Likewise.
25708 (__vdso_get_tbfreq): Likewise.
25709 (__vdso_getcpu): Likewise.
25710 (__vdso_time): Likewise.
25711 (__vdso_sigtramp_rt64): Likewise.
25712 (__vdso_signtramp32): Likewise.
25713 (__vdso_sigtramp_rt32): Likewise.
25714 (_libc_vdso_platform_setup): Likewise.
25715 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
25716 Likewise.
25717 (__vdso_clock_gettime): Likewise.
25718 (__vdso_clock_getres): Likewise.
25719 (_libc_vdso_platform_setup): Likewise.
25720 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
25721 Likewise.
25722 (__vdso_clock_gettime): Likewise.
25723 (_libc_vdso_platform_setup): Likewise.
25724 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
25725 Likewise.
25726 (__vdso_getcpu): Likewise.
25727 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
25728 Use VDSO_SYMBOL macro to define.
25729 (__vdso_clock_gettime): Likewise.
25730 (__vdso_clock_getres): Likewise.
25731 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
25732 Likewise.
25733 (__vdso_clock_gettime): Likewise.
25734 (__vdso_clock_getres): Likewise.
25735 (__vdso_get_tbfreq): Likewise.
25736 (__vdso_getcpu): Likewise.
25737 (__vdso_time): Likewise.
25738 (__vdso_sigtramp_rt64): Likewise.
25739 (__vdso_signtramp32): Likewise.
25740 (__vdso_sigtramp_rt32): Likewise.
25741 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
25742 Likewise.
25743 (__vdso_clock_gettime): Likewise.
25744 (__vdso_clock_getres): Likewise.
25745 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
25746 Likewise.
25747 (__vdso_clock_gettime): Likewise.
25748 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
25749 Likewise.
25750 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
25751 macro.
25752 (INTERNAL_VSYSCALL): Likewise.
25753 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
25754 Remove macro.
25755 (INTERNAL_VSYSCALL): Likewise.
25756 (INTERNAL_VSYSCALL_NCS): Likewise.
25757 (INTERNAL_VSYSCALL_CALL): New macro.
25758 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
25759 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
25760 Likewise.
25761 (INTERNAL_VSYSCALL): Likewise.
25762 (INTERNAL_VSYSCALL_NCS): Likewise.
25763 (INTERNAL_VSYSCALL_CALL): New macro.
25764 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
25765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25766 (INLINE_VSYSCALL): Remove macro.
25767 (INTERNAL_VSYSCALL): Remove macro.
25768 (INTERNAL_VSYSCALL_NCS): Remove macro.
25769 (INTERNAL_VSYSCALL_CALL): New macro.
25770 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
25771 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
25772 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
25773 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
25774 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
25775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25776 (INLINE_VSYSCALL): Remove macro.
25777 (INTERNAL_VSYSCALL): Likewise.
25778 (INTERNAL_VSYSCALL_NCS): Likewise.
25779 (INTERNAL_VSYSCALL_CALL): New macro.
25780 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
25781 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
25782 PTR_DEMANGLE on vDSO pointer.
25783 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
25784 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
25785 macro.
25786 (INTERNAL_SYSCALL): Likewise.
25787 (INTERNAL_VSYSCALL_NCS): Remove macro.
25788 (INTERNAL_VSYSCALL_CALL): New macro.
25789 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
25790 Remove macro.
25791 (INTERNAL_VSYSCALL): Likewise.
25792 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
25793 sysdep-vdso.h instead of libc-vdso.h.
25794 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
25795 definition.
25796 (INLINE_VSYSCALL): Likewise.
25797 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
25798 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
25799 definition.
25800 (INLINE_VSYSCALL): Likewise.
25801 (INTERNAL_VSYSCALL): Likewise.
25802 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25803 * sysdeps/unix/sysv/linux/timespec_get.c
25804 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25805 (timespec_get): Use ANSI prototype.
25806 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
25807 and definition for Linux.
25808
25809 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
25810
25811 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
25812 * include/libc-symbols.h: libmvec_hidden_* macro series added.
25813
25814 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
25815
25816 [BZ #2981]
25817 [BZ #18410]
25818 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
25819 for missing DT_PLTRELSZ.
25820
25821 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
25822
25823 Remove obsolete aliases that broke 'locale -a'
25824 [BZ #18412]
25825 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
25826 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
25827 breaking some applications that use 'locale -a' output.
25828 Change the encoding of this file from Latin-1 to ASCII to avoid
25829 other potential problems with people grepping this file.
25830
25831 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25832
25833 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
25834 -fasynchronous-unwind-tables.
25835 (CFLAGS-sendto.c): Likewise.
25836 (CFLAGS-sendmsg.c): Likewise.
25837 (CFLAGS-connect.c): Likewise.
25838 (CFLAGS-recvmsg.c): Likewise.
25839 (CFLAGS-recvfrom.c): Likewise.
25840 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
25841 (SOCKETCALL): New macro: non-cancellable socketcall.
25842 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
25843 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
25844 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
25845 * sysdeps/unix/sysv/linux/accept.c: New file.
25846 * sysdeps/unix/sysv/linux/bind.c: Likewise.
25847 * sysdeps/unix/sysv/linux/connect.c: Likewise.
25848 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
25849 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
25850 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
25851 * sysdeps/unix/sysv/linux/listen.c: Likewise.
25852 * sysdeps/unix/sysv/linux/recv.c: Likewise.
25853 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
25854 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
25855 * sysdeps/unix/sysv/linux/send.c: Likewise.
25856 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
25857 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
25858 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
25859 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
25860 * sysdeps/unix/sysv/linux/socket.c: Likewise.
25861 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
25862 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
25863 prototype.
25864 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
25865 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25866 instead of __internal_xxx function.
25867 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
25868 prototype.
25869 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
25870 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25871 instead of __internal_xxx function.
25872 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
25873 prototype.
25874 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
25875 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25876 instead of __internal_xxx function.
25877 * sysdeps/unix/sysv/linux/accept.S: Remove file.
25878 * sysdeps/unix/sysv/linux/bind.S: Likewise.
25879 * sysdeps/unix/sysv/linux/connect.S: Likewise.
25880 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
25881 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
25882 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
25883 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
25884 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
25885 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
25886 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
25887 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
25888 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25889 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
25890 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
25891 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
25892 * sysdeps/unix/sysv/linux/listen.S: Likewise.
25893 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
25894 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
25895 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
25896 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
25897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
25898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
25899 * sysdeps/unix/sysv/linux/recv.S: Likewise.
25900 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
25901 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
25902 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
25903 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25904 * sysdeps/unix/sysv/linux/send.S: Likewise.
25905 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
25906 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
25907 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
25908 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
25909 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
25910 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
25911 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
25912 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
25913 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
25914 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
25915 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
25916 socketcall is implemented in GLIBC.
25917
25918 2015-05-22 Joseph Myers <joseph@codesourcery.com>
25919
25920 * soft-fp/fmadf4.c: Include <libc-internal.h>.
25921 (__fma): Ignore uninitialized warnings around packing.
25922 * soft-fp/fmasf4.c: Include <libc-internal.h>.
25923 (__fmaf): Ignore uninitialized warnings around packing.
25924 * soft-fp/fmatf4.c: Include <libc-internal.h>.
25925 (__fmal): Ignore uninitialized warnings around packing.
25926
25927 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
25928 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25929 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
25930 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25931
25932 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
25933 switch statement into default case.
25934 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
25935
25936 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
25937 a conditional in forcing "inexact".
25938 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
25939 Likewise.
25940
25941 2015-05-22 Roland McGrath <roland@hack.frob.com>
25942
25943 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25944 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
25945 for each INTERNAL_SYSCALL use.
25946
25947 2015-05-22 Joseph Myers <joseph@codesourcery.com>
25948
25949 [BZ #438]
25950 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
25951 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
25952 variable.
25953
25954 [BZ #18444]
25955 * string/basename.c (basename): Rename to __basename and define as
25956 weak alias of __basename. Use libc_hidden_weak.
25957 * include/string.h (__basename): Declare. Use libc_hidden_proto.
25958 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
25959 __basename instead of basename.
25960 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
25961 Remove variable.
25962 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
25963
25964 2015-05-18 Florian Weimer <fweimer@redhat.com>
25965
25966 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
25967 (_IO_JUMPS_FILE_plus): New.
25968 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
25969 _IO_CAST_FIELD_ACCESS.
25970 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
25971 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
25972 * libio/freopen.c (freopen): Likewise.
25973 * libio/freopen64.c (freopen64): Likewise.
25974 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
25975 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
25976 * libio/iofwide.c (_IO_fwide): Likewise.
25977 * libio/memstream.c (open_memstream): Likewise.
25978 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25979 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
25980 * libio/oldiopopen.c (_IO_old_popen): Likewise.
25981
25982 2015-05-21 Joseph Myers <joseph@codesourcery.com>
25983
25984 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
25985 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
25986 NADJ.
25987 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
25988 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
25989 NADJ.
25990 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
25991 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
25992 NADJ.
25993
25994 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
25995 (p == 4) case.
25996
25997 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
25998 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
25999 Remove variable.
26000 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26001 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26002 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26003
26004 2015-05-21 Florian Weimer <fweimer@redhat.com>
26005
26006 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
26007 Adjust jump table label generation macros.
26008
26009 2015-05-21 Florian Weimer <fweimer@redhat.com>
26010
26011 * stdio-common/vfprintf.c (vfprintf): Move local variables
26012 args_malloced, specs, specs_malloced, and the code after
26013 do_positional to the printf_positional function.
26014 (printf_positional): New function.
26015
26016 2015-05-21 Florian Weimer <fweimer@redhat.com>
26017
26018 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
26019 function.
26020 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
26021 STEP4_TABLE, process_arg): Move macro definitions
26022 out of the vfprintf function. (Cosmetic change only.)
26023
26024 2015-05-21 Carlos O'Donell <carlos@redhat.com>
26025
26026 * benchtests/Makefile (stdio-common-bench): Define.
26027 (benchset): Add stdio-common-bench.
26028 * sprintf-inputs: New file.
26029 * sprintf-source.c: New file.
26030
26031 2015-05-21 Andreas Schwab <schwab@suse.de>
26032
26033 [BZ #13028]
26034 [BZ #17053]
26035 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
26036 of struct __res_state.
26037 * resolv/res_send.c (__libc_res_nsend): Likewise.
26038 (get_nsaddr): New function.
26039 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
26040 statp directly.
26041
26042 2015-05-20 Joseph Myers <joseph@codesourcery.com>
26043
26044 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
26045 -D_POSIX_C_SOURCE=199506L.
26046
26047 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
26048
26049 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
26050 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
26051 Do not mention otherwise.
26052 [POSIX] (_XOPEN_VERSION): Do not expect.
26053 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
26054 [POSIX] (_POSIX2_C_BIND): Likewise.
26055 [POSIX] (_POSIX2_VERSION): Likewise.
26056 [POSIX] (_XOPEN_XPG2): Likewise.
26057 [POSIX] (_XOPEN_XPG3): Likewise.
26058 [POSIX] (_XOPEN_XPG4): Likewise.
26059 [POSIX] (_XOPEN_UNIX): Likewise.
26060 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
26061 [POSIX] (_POSIX_BARRIERS): Likewise.
26062 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
26063 [POSIX] (_POSIX_CPUTIME): Likewise.
26064 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
26065 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
26066 [POSIX] (_POSIX_SHELL): Likewise.
26067 [POSIX] (_POSIX_SPAWN): Likewise.
26068 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
26069 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
26070 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
26071 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
26072 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
26073 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
26074 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
26075 [POSIX] (_XBS5_LP64_OFF64): Likewise.
26076 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
26077 [POSIX] (_POSIX_TIMEOUTS): Likewise.
26078 [POSIX] (_POSIX2_PBS): Likewise.
26079 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
26080 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
26081 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
26082 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
26083 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
26084 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
26085 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
26086 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
26087 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
26088 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
26089 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
26090 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
26091 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
26092 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
26093 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
26094 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
26095 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
26096 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
26097 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
26098 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
26099 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
26100 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
26101 [POSIX] (_SC_2_C_BIND): Likewise.
26102 [POSIX] (_SC_2_C_VERSION): Likewise.
26103 [POSIX] (_SC_2_PBS): Likewise.
26104 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
26105 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
26106 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
26107 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
26108 [POSIX] (_SC_2_PBS_TRACK): Likewise.
26109 [POSIX] (_SC_ATEXIT_MAX): Likewise.
26110 [POSIX] (_SC_BARRIERS): Likewise.
26111 [POSIX] (_SC_BASE): Likewise.
26112 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
26113 [POSIX] (_SC_DEVICE_IO): Likewise.
26114 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
26115 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
26116 [POSIX] (_SC_FD_MGMT): Likewise.
26117 [POSIX] (_SC_FIFO): Likewise.
26118 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
26119 [POSIX] (_SC_FILE_LOCKING): Likewise.
26120 [POSIX] (_SC_FILE_SYSTEM): Likewise.
26121 [POSIX] (_SC_IOV_MAX): Likewise.
26122 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
26123 [POSIX] (_SC_NETWORKING): Likewise.
26124 [POSIX] (_SC_PAGE_SIZE): Likewise.
26125 [POSIX] (_SC_PASS_MAX): Likewise.
26126 [POSIX] (_SC_PIPE): Likewise.
26127 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
26128 [POSIX] (_SC_REGEXP): Likewise.
26129 [POSIX] (_SC_SHELL): Likewise.
26130 [POSIX] (_SC_SIGNALS): Likewise.
26131 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
26132 [POSIX] (_SC_SPIN_LOCKS): Likewise.
26133 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
26134 [POSIX] (_SC_USER_GROUPS): Likewise.
26135 [POSIX] (_SC_USER_GROUPS_R): Likewise.
26136 [POSIX] (_SC_STREAMS): Likewise.
26137 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
26138 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
26139 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
26140 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
26141 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
26142 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
26143 [POSIX] (_PC_FILESIZEBITS): Likewise.
26144 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
26145 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
26146 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
26147 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
26148 [POSIX] (uid_t): Likewise.
26149 [POSIX] (gid_t): Likewise.
26150 [POSIX] (off_t): Likewise.
26151 [POSIX] (pid_t): Likewise.
26152 [POSIX] (cuserid): Allow.
26153 (_SC_2_CHAR_TERM): Require constant.
26154 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
26155 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
26156 variable.
26157
26158 2015-05-20 Roland McGrath <roland@hack.frob.com>
26159
26160 * sysdeps/nacl/pthread-pids.h: New file.
26161 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
26162 (create_thread): Use __nacl_get_tid to initialize PD->tid.
26163
26164 * nptl/pthread-pids.h: New file.
26165 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
26166 * nptl/nptl-init.c: Include <pthread-pids.h>.
26167 (__pthread_initialize_minimal_internal):
26168 Call __pthread_initialize_pids instead of set_tid_address syscall.
26169
26170 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
26171 * sysdeps/posix/usleep.c: ... here.
26172
26173 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26174
26175 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
26176 call_pselect6 object.
26177 [$(subdir) = io]: Remove call_sync_file_range object.
26178 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
26179 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
26180 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
26181 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
26182
26183 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
26184
26185 * math/s_cproj.c: Add include "math_private.h".
26186 * math/s_cprojf.c: Likewise.
26187 * math/s_cprojl.c: Likewise.
26188
26189 2015-05-19 Joseph Myers <joseph@codesourcery.com>
26190
26191 [BZ #18244]
26192 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
26193 high mantissa bit when testing whether P is a NaN.
26194 * math/libm-test.inc (remainder_test_data): Add more tests.
26195 (remquo_test_data): Likewise.
26196
26197 [BZ #18049]
26198 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
26199 below -32, return the argument, with underflow if subnormal.
26200 * math/auto-libm-test-in: Add more tests of atanh.
26201 * math/auto-libm-test-out: Regenerated.
26202
26203 2015-05-19 Roland McGrath <roland@hack.frob.com>
26204
26205 [BZ #18434]
26206 * nptl/tst-sem15.c: New file.
26207 * nptl/Makefile (tests): Add it.
26208 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
26209 s/<</>>/ to fix typo in EOVERFLOW check.
26210 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
26211
26212 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26213
26214 * manual/strings.texi (envz_remove): Fix typo in safety
26215 annotations.
26216
26217 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
26218 Steve Ellcey <sellcey@imgtec.com>
26219
26220 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
26221 in order to avoid strict alias warnings.
26222 (iruserok_af): Ditto for ra.
26223
26224 2015-05-19 James Lemke <jwlemke@codesourcery.com>
26225
26226 [BZ #17581]
26227 * malloc/hooks.c
26228 (magicbyte): Convert to a function and avoid returning 0x01.
26229 (mem2mem_check): Avoid using a length byte equal to the magic byte.
26230 (mem2chunk_check): Fix unsigned comparisons to zero.
26231 Hoist defs of sz and magic.
26232
26233 2015-05-19 Richard Henderson <rth@redhat.com>
26234
26235 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
26236
26237 * sysdeps/alpha/fpu/libm-test-ulps: Update.
26238
26239 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26240
26241 [BZ #16159]
26242 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
26243 * malloc/arena.c (arena_lock): Check if arena is corrupt.
26244 (reused_arena): Find a non-corrupt arena.
26245 (heap_trim): Pass arena to unlink.
26246 * malloc/hooks.c (malloc_check_get_size): Pass arena to
26247 malloc_printerr.
26248 (top_check): Likewise.
26249 (free_check): Likewise.
26250 (realloc_check): Likewise.
26251 * malloc/malloc.c (malloc_printerr): Add arena argument.
26252 (unlink): Likewise.
26253 (munmap_chunk): Adjust.
26254 (ARENA_CORRUPTION_BIT): New macro.
26255 (arena_is_corrupt): Likewise.
26256 (set_arena_corrupt): Likewise.
26257 (sysmalloc): Use mmap if there are no usable arenas.
26258 (_int_malloc): Likewise.
26259 (__libc_malloc): Don't fail if arena_get returns NULL.
26260 (_mid_memalign): Likewise.
26261 (__libc_calloc): Likewise.
26262 (__libc_realloc): Adjust for additional argument to
26263 malloc_printerr.
26264 (_int_free): Likewise.
26265 (malloc_consolidate): Likewise.
26266 (_int_realloc): Likewise.
26267 (_int_memalign): Don't touch corrupt arenas.
26268 * malloc/tst-malloc-backtrace.c: New test case.
26269
26270 * Makefile (summarize-tests): Fix return value on success.
26271
26272 * manual/string.texi (Envz Functions): Add envz_remove.
26273
26274 2015-05-18 Roland McGrath <roland@hack.frob.com>
26275
26276 * sysdeps/posix/opendir.c: Include <stdbool.h>.
26277 (invalid_name): New function, broken out of ...
26278 (__opendirat): ... here. Call it.
26279 (need_isdir_precheck): New function, broken out of ...
26280 (__opendirat): ... here. Call it.
26281 Use __fxstatat64, not __xstatat64.
26282 (opendir_oflags): New function, broken out of ...
26283 (__opendirat): ... here. Call it.
26284 (opendir_tail): New function, broken out of ...
26285 (__opendirat): ... here. Call it.
26286 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
26287 opendir_tail, rather than punting to __opendirat.
26288 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
26289
26290 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26291
26292 * .gitignore: Ignore generated *.pyc.
26293
26294 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
26295
26296 * include/stdio.h: Define __need_wint_t.
26297 * test-skeleton.c: Avoid `for' loop initial declaration.
26298 * nptl/tst-initializers1.c: Use test-skeleton.c.
26299
26300 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26301
26302 [BZ #18418]
26303 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
26304
26305 2015-05-15 Joseph Myers <joseph@codesourcery.com>
26306
26307 [BZ #16352]
26308 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
26309 (__ieee754_atanh): Force underflow exception for results with
26310 small absolute value.
26311 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
26312 (__ieee754_atanhf): Force underflow exception for results with
26313 small absolute value.
26314 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
26315 (__ieee754_atanh): Force underflow exception for results with
26316 small absolute value.
26317 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
26318 (__ieee754_atanhf): Force underflow exception for results with
26319 small absolute value.
26320 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
26321 (__ieee754_atanhl): Force underflow exception for results with
26322 small absolute value.
26323 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
26324 (__ieee754_atanhl): Force underflow exception for results with
26325 small absolute value.
26326 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
26327 (__ieee754_atanhl): Force underflow exception for results with
26328 small absolute value.
26329 * math/auto-libm-test-in: Do not allow missing underflow
26330 exceptions from atanh.
26331 * math/auto-libm-test-out: Regenerated.
26332
26333 [BZ #18221]
26334 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
26335 2**-28 as threshold for returning x or +/- 1/x.
26336 * math/auto-libm-test-in: Add more tests of tan.
26337 * math/auto-libm-test-out: Regenerated.
26338
26339 [BZ #18220]
26340 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
26341 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
26342 * math/auto-libm-test-in: Add another test of lgamma.
26343 * math/auto-libm-test-out: Regenerated.
26344
26345 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
26346
26347 * stdio-common/printf_fp.c (___printf_fp): Use abs.
26348 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
26349 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
26350 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
26351 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
26352 (ADD2A): Use fabs. (SUB2A): Use fabs.
26353 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
26354 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
26355 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
26356 (log1): Use fabs. (my_log2): Use fabs.
26357 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
26358 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
26359 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
26360 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
26361 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
26362 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
26363 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
26364 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
26365 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
26366 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
26367 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
26368
26369 2015-05-15 Joseph Myers <joseph@codesourcery.com>
26370
26371 [BZ #18217]
26372 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
26373 as threshold for returning 1 - x.
26374 * math/auto-libm-test-in: Add more tests of erfc.
26375 * math/auto-libm-test-out: Regenerated.
26376
26377 2015-05-14 Joseph Myers <joseph@codesourcery.com>
26378
26379 [BZ #18196]
26380 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
26381 threshold for large arguments.
26382 * math/auto-libm-test-in: Add another test of atan.
26383 * math/auto-libm-test-out: Regenerated.
26384
26385 [BZ #16339]
26386 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
26387 (__log1p): Force underflow exception for results with small
26388 absolute value.
26389 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
26390 (__log1pf): Force underflow exception for results with small
26391 absolute value.
26392 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
26393 (__log1p): Force underflow exception for results with small
26394 absolute value.
26395 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
26396 (__log1pf): Force underflow exception for results with small
26397 absolute value.
26398 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
26399 (__log1pl): Force underflow exception for results with small
26400 absolute value.
26401 * math/auto-libm-test-in: Do not allow missing underflow
26402 exceptions from log1p.
26403 * math/auto-libm-test-out: Regenerated.
26404
26405 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
26406 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26407
26408 [BZ #16704]
26409 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
26410
26411 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
26412
26413 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
26414 (libmvec): New variable.
26415 * configure.ac: Added option for mathvec build.
26416 * configure: Regenerated.
26417 * mathvec/Depend: New file.
26418 * mathvec/Makefile: New file.
26419 * shlib-versions: Added libmvec.
26420 * math/Makefile: Added rule for libm.so installation.
26421
26422 * bits/math-vector.h: New file.
26423 * bits/libm-simd-decl-stubs.h: New header.
26424 * math/Makefile (headers): Added new header
26425 libm-simd-decl-stubs.h.
26426 * math/math.h (__MATHCALL_VEC): New macro.
26427
26428 * math/gen-libm-have-vector-test.sh: Script generates series of macros
26429 for conditions in testing functions.
26430 * math/Makefile: Added call of libm-have-vector-test.sh.
26431 * math/libm-test.inc (HAVE_VECTOR): New macros.
26432
26433 * math/libm-test.inc: START refactored.
26434 * math/test-double.c (TEST_MATHVEC): Add define.
26435 * math/test-float.c: Likewise.
26436 * math/test-idouble.c: Likewise.
26437 * math/test-ifloat.c: Likewise.
26438 * math/test-ildoubl.c: Likewise.
26439 * math/test-ldouble.c: Likewise.
26440 * sysdeps/generic/math-tests-arch.h
26441 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
26442 architecture check.
26443
26444 * math/test-double.c (FUNC_TEST): New macro.
26445 * math/test-float.c: Likewise.
26446 * math/test-idouble.c: Likewise.
26447 * math/test-ifloat.c: Likewise.
26448 * math/test-ildoubl.c: Likewise.
26449 * math/test-ldouble.c: Likewise.
26450 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
26451
26452 2015-05-13 Roland McGrath <roland@hack.frob.com>
26453
26454 * sysdeps/nacl/fdopendir.c: New file.
26455
26456 * dirent/scandir-tail.c: New file.
26457 * dirent/scandir64-tail.c: New file.
26458 * dirent/Makefile (routines): Add them.
26459 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
26460 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
26461 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
26462 [!SCANDIR] (SCANDIR_TAIL): New macro.
26463 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
26464 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
26465 (SCANDIRAT): Macro removed.
26466 (SCANDIR_TAIL): New macro.
26467 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
26468 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
26469 (SCANDIRAT): Just call __opendirat and __scandir_tail.
26470 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
26471 (READDIR): Macro removed.
26472 (SCANDIR_TAIL): New macro.
26473 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
26474 (SCANDIR_TAIL): New macro.
26475
26476 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
26477 * dirent/scandir-cancel.c: ... to this new file.
26478 * dirent/Makefile (routines): Add it.
26479 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
26480 * sysdeps/unix/sysv/linux/i386/scandir64.c
26481 (SKIP_SCANDIR_CANCEL): Macro removed.
26482 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
26483
26484 * dirent/tst-scandir.c: New file.
26485 * dirent/tst-scandir64.c: New file.
26486 * dirent/Makefile (tests): Add them.
26487
26488 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
26489
26490 [BZ #18409]
26491 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
26492
26493 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
26494
26495 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
26496 list.
26497
26498 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
26499
26500 * benchtests/bench-strcoll.c: New benchmark.
26501 * benchtests/Makefile: Generate locales and run benchmark.
26502 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
26503 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
26504 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
26505 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
26506 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
26507 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
26508 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
26509 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
26510 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
26511 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
26512 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
26513 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
26514 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
26515 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
26516 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
26517 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
26518 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
26519 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
26520 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
26521 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
26522 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
26523 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
26524 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
26525 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
26526
26527 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
26528
26529 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
26530 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26531
26532 2015-05-12 Roland McGrath <roland@hack.frob.com>
26533
26534 * posix/uname-values.h: New file.
26535 * posix/uname.c: Include that instead of <config-name.h>.
26536 * sysdeps/nacl/uname-values.h: New file.
26537 * sysdeps/arm/nacl/uname-values.h: New file.
26538
26539 2015-05-12 Joseph Myers <joseph@codesourcery.com>
26540
26541 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
26542 splitting into fields.
26543
26544 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
26545
26546 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
26547 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
26548 * locale/localeinfo.h: Add enum collation_encoding_type.
26549 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
26550 * programs/ld-collate.c (collate_output): Add encoding type info.
26551 * string/strcoll_l.c (STRDIFF): New function.
26552 * (STRCOLL): Use STRDIFF to skip over equal prefix.
26553 * wcsmbs/wcscoll_l.c: Define STRDIFF.
26554
26555 2015-05-11 Joseph Myers <joseph@codesourcery.com>
26556
26557 [BZ #18397]
26558 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
26559 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
26560 <fpu_control.h> instead of <math/fpu_control.c>.
26561 * sysdeps/mips/mips32/fpu/Makefile: New file.
26562
26563 2015-05-11 Andreas Schwab <schwab@suse.de>
26564
26565 [BZ #18007]
26566 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
26567 nss_endgrent.
26568 (_nss_compat_endgrent): Call nss_endgrent.
26569 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
26570 nss_endpwent.
26571 (_nss_compat_endpwent): Call nss_endpwent.
26572 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
26573 needent, call nss_setspent only if non-zero.
26574 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
26575 (internal_endspent): Don't call nss_endspent.
26576 (_nss_compat_endspent): Call nss_endspent.
26577 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
26578 Remove. All uses removed.
26579 (internal_setent): Remove parameter stayopen, add parameter
26580 stream. Use it instead of global variable.
26581 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
26582 (internal_endent, internal_getent): Add parameter stream. Use it
26583 instead of global variable.
26584 (CONCAT(_nss_files_end,ENTNAME))
26585 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
26586 (_nss_files_get##name##_r): Pass local stream. Remove locking.
26587 * nss/nss_files/files-alias.c (position, last_use): Remove. All
26588 uses removed.
26589 (internal_setent, internal_endent): Add parameter stream. Use it
26590 instead of global variable.
26591 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
26592 stream.
26593 (get_next_alias): Add parameter stream.
26594 (_nss_files_getaliasent_r): Pass global stream.
26595 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
26596 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
26597 (_nss_files_gethostbyname4_r): Pass local stream to
26598 internal_setent, internal_getent and internal_endent. Remove
26599 locking.
26600
26601 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
26602
26603 * tst-strfmon1.c (tests): Update expected currency symbol.
26604
26605 2015-05-08 Roland McGrath <roland@hack.frob.com>
26606
26607 * sysdeps/nacl/gethostname.c: New file.
26608
26609 2015-05-08 Joseph Myers <joseph@codesourcery.com>
26610
26611 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
26612 and sinh.
26613 * math/auto-libm-test-out: Regenerated.
26614 * sysdeps/i386/fpu/libm-test-ulps: Update.
26615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26616
26617 2015-05-08 Carlos O'Donell <carlos@redhat.com>
26618
26619 [BZ #18125]
26620 * stdlib/tst-setcontext3.c: New file.
26621 * stdlib/tst-setcontext3.sh: New file.
26622 * stdlib/Makefile (tests): Add tst-setcontext3.
26623 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
26624 to verify test program created output file.
26625 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
26626 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
26627 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
26628 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
26629
26630 2015-05-06 Roland McGrath <roland@hack.frob.com>
26631
26632 [BZ #18383]
26633 * elf/tst-tlsalign.c: New file.
26634 * elf/tst-tlsalign-static.c: New file.
26635 * elf/tst-tlsalign-lib.c: New file.
26636 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
26637 (tests-static): Add tst-tlsalign-static.
26638 (modules-names): Add tst-tlsalign-lib.
26639 (test-xfail-tst-tlsalign): New variable.
26640 (test-xfail-tst-tlsalign-static): New variable.
26641
26642 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
26643 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
26644
26645 2015-05-06 Joseph Myers <joseph@codesourcery.com>
26646
26647 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
26648 csqrt, erfc, sin and sincos.
26649 * math/auto-libm-test-out: Regenerated.
26650 * sysdeps/i386/fpu/libm-test-ulps: Update.
26651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26652
26653 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
26654
26655 * sysdeps/aarch64/libm-test-ulps: Update.
26656
26657 2015-05-05 Joseph Myers <joseph@codesourcery.com>
26658
26659 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
26660 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
26661 * math/auto-libm-test-out: Regenerated.
26662 * sysdeps/i386/fpu/libm-test-ulps: Update.
26663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26664
26665 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
26666
26667 [BZ #18265]
26668 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
26669 (wcsncpy): Likewise.
26670
26671 2015-05-05 Florian Weimer <fweimer@redhat.com>
26672
26673 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26674 Assume __ASSUME_FALLOCATE is always true.
26675 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26676 (__posix_fallocate64_l64): Likewise.
26677 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
26678 (posix_fallocate): Likewise.
26679 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
26680 (__posix_fallocate64_l64): Likewise.
26681 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26682 [!__ASSUME_FALLOCATE]: Add comment.
26683
26684 2015-05-05 Florian Weimer <fweimer@redhat.com>
26685
26686 * sysdeps/unix/sysv/linux/i386/Makefile
26687 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
26688 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
26689 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
26690 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26691 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26692 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
26693 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
26694
26695 2015-05-02 Joseph Myers <joseph@codesourcery.com>
26696
26697 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
26698 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
26699 tgamma.
26700 * math/auto-libm-test-out: Regenerated.
26701 * sysdeps/i386/fpu/libm-test-ulps: Update.
26702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26703
26704 2015-05-01 Joseph Myers <joseph@codesourcery.com>
26705
26706 * math/auto-libm-test-in: Add more tests of tgamma.
26707 * math/auto-libm-test-out: Regenerated.
26708 * sysdeps/i386/fpu/libm-test-ulps: Update.
26709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26710
26711 * math/auto-libm-test-in: Add more tests of tanh.
26712 * math/auto-libm-test-out: Regenerated.
26713 * sysdeps/i386/fpu/libm-test-ulps: Update.
26714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26715
26716 * math/auto-libm-test-in: Add more tests of tan.
26717 * math/auto-libm-test-out: Regenerated.
26718 * sysdeps/i386/fpu/libm-test-ulps: Update.
26719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26720
26721 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
26722 * math/auto-libm-test-out: Regenerated.
26723 * sysdeps/i386/fpu/libm-test-ulps: Update.
26724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26725
26726 * math/auto-libm-test-in: Add another test of pow.
26727 * math/auto-libm-test-out: Regenerated.
26728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26729
26730 * math/auto-libm-test-in: Add more tests of lgamma.
26731 * math/auto-libm-test-out: Regenerated.
26732 * sysdeps/i386/fpu/libm-test-ulps: Update.
26733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26734
26735 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
26736 log1p.
26737 * math/auto-libm-test-out: Regenerated.
26738 * sysdeps/i386/fpu/libm-test-ulps: Update.
26739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26740
26741 2015-05-01 Mark Wielaard <mjw@redhat.com>
26742
26743 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
26744 Elf64_Chdr structs and ELFCOMPRESS constants.
26745
26746 2015-05-01 Joseph Myers <joseph@codesourcery.com>
26747
26748 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
26749 expm1.
26750 * math/auto-libm-test-out: Regenerated.
26751 * sysdeps/i386/fpu/libm-test-ulps: Update.
26752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26753
26754 * math/auto-libm-test-in: Add more tests of erf and erfc.
26755 * math/auto-libm-test-out: Regenerated.
26756 * sysdeps/i386/fpu/libm-test-ulps: Update.
26757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26758
26759 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
26760
26761 * config.h.in (HAVE_AARCH64_BE): Add.
26762
26763 2015-04-30 Joseph Myers <joseph@codesourcery.com>
26764
26765 * math/auto-libm-test-in: Add more tests of csqrt.
26766 * math/auto-libm-test-out: Regenerated.
26767 * sysdeps/i386/fpu/libm-test-ulps: Update.
26768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26769
26770 * math/auto-libm-test-in: Add more tests of cosh and sinh.
26771 * math/auto-libm-test-out: Regenerated.
26772 * sysdeps/i386/fpu/libm-test-ulps: Update.
26773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26774
26775 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
26776
26777 2015-04-29 Roland McGrath <roland@hack.frob.com>
26778
26779 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
26780 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
26781
26782 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
26783 (euidaccess, eaccess): Define as weak aliases.
26784
26785 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
26786 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
26787 but __suseconds_t is often 'long int' so some sources assume that
26788 type is being used (e.g. they use %ld to print tv_usec).
26789
26790 2015-04-29 Florian Weimer <fweimer@redhat.com>
26791
26792 [BZ #18007]
26793 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
26794 (CVE-2014-8121)
26795 * nss/tst-nss-getpwent.c: New file.
26796 * nss/Makefile (tests): Add new test.
26797
26798 2015-04-28 Joseph Myers <joseph@codesourcery.com>
26799
26800 [BZ #18346]
26801 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
26802 exponents less than 48 as cases where high part of mantissa needs
26803 examining to determine whether argument is integral.
26804 * math/libm-test.inc (round_test_data): Add more tests.
26805
26806 2015-04-28 Mark Wielaard <mjw@redhat.com>
26807
26808 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
26809
26810 2015-04-27 David S. Miller <davem@davemloft.net>
26811
26812 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
26813 __tls_get_addr.
26814 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26815
26816 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
26817
26818 [BZ#18333]
26819 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
26820
26821 2015-04-27 Florian Weimer <fweimer@redhat.com>
26822
26823 [BZ#18333]
26824 * time/tzset.c (parse_tzname): Return error on memory allocation
26825 failure.
26826 * test-skeleton.c (struct temp_name_list): Change type of name
26827 member to non-const.
26828 (add_temp_file): Create a copy of the file name.
26829 (delete_temp_files): Deallocate memory.
26830 (create_temp_file): Add comment.
26831
26832 2015-04-24 Florian Weimer <fweimer@redhat.com>
26833
26834 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
26835 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
26836
26837 2015-04-24 Roland McGrath <roland@hack.frob.com>
26838
26839 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
26840 * sysdeps/arm/configure: Regenerated.
26841
26842 2015-04-24 Florian Weimer <fweimer@redhat.com>
26843
26844 [BZ #17715]
26845 * time/tzfile.c (__tzfile_read): Check for large values of
26846 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
26847 * time/tzset.c (__tzstring_len): New function, based on the old
26848 __tzstring function.
26849 (__tzstring): Call __tzstring_len.
26850 (parse_tzname): New helper function extracted from
26851 __tzset_parse_tz. Call __tzstring_len, without making a copy of
26852 the input string.
26853 (parse_offset): New helper function extracted from
26854 __tzset_parse_tz. Replace switch with fallthrough with
26855 initialization before sscanf.
26856 (parse_rule): Likewise.
26857 (__tzset_parse_tz): Rewrite using the new helper functions. Use
26858 new-style function definition.
26859 * timezone/Makefile (tests): Add tst-tzset.
26860 (tst-tzset.out): Dependencies on time zone files.
26861 (tst-tzset-ENV): Set TZDIR.
26862 (testdata/XT%): Copy crafted time zone files.
26863 * timezone/README: Mention crafted time zone files.
26864 * timezone/testdata/XT1, timezone/testdata/XT2,
26865 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
26866 files.
26867 * timezone/tst-tzset.c: New test.
26868
26869 2015-04-24 Florian Weimer <fweimer@redhat.com>
26870
26871 * Makeconfig (+gccwarn): Remove -Winline.
26872
26873 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
26874
26875 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
26876
26877 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
26878
26879 * NEWS: Mention sysconf() cache information support for s390.
26880 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
26881
26882 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
26883
26884 * math/k_casinh.c (__kernel_casinh): Use __copysign.
26885 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
26886 (__nearbyint): Likewise.
26887 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
26888 (copysignl): Likewise.
26889
26890 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
26891
26892 [BZ #18287]
26893 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
26894 based on padding. (CVE-2015-1781)
26895
26896 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26897
26898 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
26899 libc-vdso.h.
26900 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
26901 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
26902 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
26903 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
26904 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
26905 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
26906 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
26907 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26908 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26909 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
26910 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26911 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26912 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
26913 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
26914 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
26915 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
26916 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
26917 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
26918 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
26919 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
26920 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
26921 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
26922 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
26923
26924 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
26925
26926 * stdlib/setenv.c (__add_to_environ):
26927 Dump core quickly if setenv (..., NULL, ...) is called.
26928 This time, do it the right way, and pacify GCC with a pragma.
26929
26930 2015-04-17 Roland McGrath <roland@hack.frob.com>
26931
26932 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
26933 IMAP->l_prev cannot be null, and #if out the code for the contrary
26934 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
26935 believe that NS (&_dl_ns[NSID]) could point outside the array.
26936
26937 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
26938 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
26939 before using NSID as an index.
26940
26941 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
26942
26943 [BZ #17825]
26944 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
26945 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
26946 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26947
26948 2015-04-17 Roland McGrath <roland@hack.frob.com>
26949
26950 Add preliminary port to Google Native Client on ARM.
26951 * abi-tags (.*-.*-nacl.*): New entry.
26952 * sysdeps/arm/nacl: New directory.
26953 * sysdeps/nacl: New directory.
26954
26955 2015-04-16 David S. Miller <davem@davemloft.net>
26956
26957 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
26958 lowlevellock-futex.h
26959
26960 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
26961
26962 * sysdeps/tile/configure.ac: New file.
26963 * sysdeps/tile/configure: Regenerated.
26964
26965 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26966
26967 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
26968 conditionals for weak_alias and libc_hidden_weak.
26969 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
26970 libc_hidden_weak and weak_alias.
26971 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
26972 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
26973 and weak_alias for static one.
26974
26975 2015-04-15 David S. Miller <davem@davemloft.net>
26976
26977 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26978
26979 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
26980
26981 [BZ #18206]
26982 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
26983 Use signed comparision instead of substraction to avoid
26984 overflow bug.
26985 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
26986 Take the sign of ret.
26987 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
26988 Do not expect precise return values. Only the sign matters.
26989 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
26990 * wcsmbs/test-wcsncmp.c: New File.
26991 * string/test-strncmp.c: Add wcsncmp support.
26992
26993 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
26994
26995 [BZ #6792]
26996 * math/w_log1p.c: New file.
26997 * math/w_log1pf.c: Likewise.
26998 * math/w_log1pl.c: Likewise.
26999 * math/Makefile (libm-calls): Add w_log1p.
27000 * math/s_log1pl.c (log1pl): Remove weak_alias.
27001 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
27002 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
27003 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
27004 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
27005 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
27006 [NO_LONG_DOUBLE] (log1pl): Likewise.
27007 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
27008 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
27009 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
27010 (log1p): Remove long_double_symbol.
27011 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
27012 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
27013 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
27014 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
27015 remove weak_alias for corresponding log1p function.
27016 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
27017 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
27018 * sysdeps/ia64/fpu/w_log1p.c: New file.
27019 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
27020 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
27021 * math/libm-test.inc (log1p_test_data): Add errno expectations.
27022
27023 2015-04-10 Joseph Myers <joseph@codesourcery.com>
27024
27025 [BZ #18247]
27026 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
27027 decimal exponent by 1.
27028 * stdlib/tst-strtod-round-data: Add more tests.
27029 * stdlib/tst-strtod-round.c (tests): Regenerated.
27030
27031 2015-04-09 Joseph Myers <joseph@codesourcery.com>
27032
27033 * math/auto-libm-test-in: Add more tests of clog and clog10.
27034 * math/auto-libm-test-out: Regenerated.
27035 * sysdeps/i386/fpu/libm-test-ulps: Update.
27036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27037
27038 2015-04-09 Roland McGrath <roland@hack.frob.com>
27039
27040 * Makeconfig (module-cppflags): Exclude all .v.i files.
27041 (skip-module-cppflags): Variable removed.
27042
27043 * configure.ac (libc_config_ok): Initialize before reading
27044 preconfigure scripts, not after.
27045 * configure: Regenerated.
27046
27047 * test-skeleton.c (TIMEOUT): Move #define to top level.
27048 (main): Grok environment variable TEST_DIRECT. If set, print
27049 test expectation details into that file and then behave as if
27050 given --direct.
27051
27052 2015-04-09 Florian Weimer <fweimer@redhat.com>
27053
27054 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
27055 warning on 32-bit.
27056
27057 2015-04-08 David S. Miller <davem@davemloft.net>
27058
27059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27060
27061 2015-04-08 Joseph Myers <joseph@codesourcery.com>
27062
27063 * math/auto-libm-test-in: Add more tests of atanh.
27064 * math/auto-libm-test-out: Regenerated.
27065 * sysdeps/i386/fpu/libm-test-ulps: Update.
27066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27067
27068 * math/auto-libm-test-in: Add more tests of atan.
27069 * math/auto-libm-test-out: Regenerated.
27070 * sysdeps/i386/fpu/libm-test-ulps: Update.
27071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27072
27073 2015-04-08 Florian Weimer <fweimer@redhat.com>
27074
27075 * elf/pldd.c (main): Rewrite to use struct
27076 scratch_buffer instead of extend_alloca.
27077 * elf/pldd-xx.c (find_maps): Likewise.
27078 * grp/initgroups.c: Include <scratch_buffer.h> instead of
27079 <alloca.h>.
27080 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
27081 scratch_buffer instead of extend_alloca.
27082 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
27083 grp/compat-initgroups.c.
27084 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
27085 Rewrite to use struct scratch_buffer instead of extend_alloca.
27086 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
27087 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27088
27089 2015-04-08 Joseph Myers <joseph@codesourcery.com>
27090
27091 * math/auto-libm-test-in: Add more tests of cbrt.
27092 * math/auto-libm-test-out: Regenerated.
27093 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27094
27095 * math/auto-libm-test-in: Add more tests of cabs.
27096 * math/auto-libm-test-out: Regenerated.
27097 * sysdeps/i386/fpu/libm-test-ulps: Update.
27098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27099
27100 [BZ #18210]
27101 [BZ #18211]
27102 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
27103 (__ieee754_atan2): Set FE_TONEAREST mode for internal
27104 computations.
27105 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
27106 clog10.
27107 * math/auto-libm-test-out: Regenerated.
27108 * sysdeps/i386/fpu/libm-test-ulps: Update.
27109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27110
27111 [BZ #18197]
27112 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
27113 (atan): Set FE_TONEAREST mode for internal computations.
27114 * math/auto-libm-test-in: Add more tests of atan.
27115 * math/auto-libm-test-out: Regenerated.
27116
27117 2015-04-07 James Cowgill <james410@cowgill.org.uk>
27118
27119 [BZ #17930]
27120 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
27121
27122 2015-04-07 Florian Weimer <fweimer@redhat.com>
27123
27124 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
27125
27126 2015-04-07 Florian Weimer <fweimer@redhat.com>
27127
27128 * include/scratch_buffer.h: New file.
27129 * malloc/scratch_buffer_grow.c: Likewise.
27130 * malloc/scratch_buffer_grow_preserve.c: Likewise.
27131 * malloc/scratch_buffer_set_array_size.c: Likewise.
27132 * malloc/tst-scratch_buffer.c: Likewise.
27133 * malloc/Makefile (routines): Add scratch_buffer_grow.
27134 (tests): Add test case.
27135 * malloc/Versions (GLIBC_PRIVATE): Export
27136 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
27137 __libc_scratch_buffer_set_array_size.
27138
27139 2015-04-06 Richard Henderson <rth@redhat.com>
27140
27141 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
27142 * sysdeps/alpha/fpu/libm-test-ulps: Update.
27143
27144 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
27145 unsigned int before printing.
27146
27147 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27148
27149 [BZ #17596]
27150 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
27151 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27152
27153 2015-04-02 Florian Weimer <fweimer@redhat.com>
27154
27155 * include/libc-internal.h (libc_max_align_t): Define.
27156
27157 2015-04-02 Andreas Schwab <schwab@suse.de>
27158
27159 [BZ #16850]
27160 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
27161
27162 2015-04-02 Mel Gorman <mgorman@suse.de>
27163
27164 [BZ #17195]
27165 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
27166 as well as the main arena.
27167
27168 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27169
27170 [BZ #18185]
27171 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
27172 sharing L2 cache to 2 for Silvermont/Knights Landing.
27173
27174 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27175
27176 [BZ #17711]
27177 * config.make.in (have-protected-data): New.
27178 * configure.ac: Check linker support for protected data symbol.
27179 * configure: Regenerated.
27180 * elf/Makefile (modules-names): Add tst-protected1moda and
27181 tst-protected1modb if $(have-protected-data) is yes.
27182 (tests): Add tst-protected1a and tst-protected1b if
27183 $(have-protected-data) is yes.
27184 ($(objpfx)tst-protected1a): New.
27185 ($(objpfx)tst-protected1b): Likewise.
27186 (tst-protected1modb.so-no-z-defs): Likewise.
27187 * elf/tst-protected1a.c: New file.
27188 * elf/tst-protected1b.c: Likewise.
27189 * elf/tst-protected1mod.h: Likewise.
27190 * elf/tst-protected1moda.c: Likewise.
27191 * elf/tst-protected1modb.c: Likewise.
27192
27193 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27194
27195 [BZ #17711]
27196 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
27197 indicates it is called from do_lookup_x on relocation against
27198 protected data, skip the data definion in the executable from
27199 copy reloc.
27200 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
27201 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
27202 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
27203 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
27204 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
27205 otherwise to 0.
27206 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27207 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
27208 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
27209 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27210 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
27211 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
27212
27213 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
27214
27215 * sysdeps/nptl/pthread.h: Remove duplicate definition of
27216 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
27217
27218 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
27219
27220 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
27221 THREAD_SETMEM_NC.
27222 * sysdeps/x86_64/nptl/tls.h: Ditto.
27223
27224 2015-03-27 Roland McGrath <roland@hack.frob.com>
27225
27226 * dlfcn/tststatic.c (main): Converted to ...
27227 (do_test): ... this.
27228 (TEST_FUNCTION): New macro.
27229 Include test-skeleton.c.
27230
27231 2015-03-26 Alan Modra <amodra@gmail.com>
27232
27233 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
27234 Don't segfault if ifunc resolver returns a NULL. Do set plt to
27235 zero for undefined weak.
27236 (elf_machine_plt_conflict): Similarly.
27237
27238 2015-03-25 Joseph Myers <joseph@codesourcery.com>
27239
27240 * math/auto-libm-test-in: Add more tests of acosh, asinh and
27241 atanh.
27242 * math/auto-libm-test-out: Regenerated.
27243 * sysdeps/i386/fpu/libm-test-ulps: Update.
27244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27245
27246 * math/auto-libm-test-in: Add another test of asin.
27247 * math/auto-libm-test-out: Regenerated.
27248 * sysdeps/i386/fpu/libm-test-ulps: Update.
27249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27250
27251 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
27252 Remove macro.
27253 (LLL_EBX_REG): Likewise.
27254 (LLL_ENTER_KERNEL): Likewise.
27255
27256 * math/auto-libm-test-in: Add more tests of asin.
27257 * math/auto-libm-test-out: Regenerated.
27258 * sysdeps/i386/fpu/libm-test-ulps: Update.
27259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27260
27261 [BZ #18138]
27262 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
27263 libc_do_syscall_args): New structure.
27264 (INTERNAL_SYSCALL_MAIN_0): New macro.
27265 (INTERNAL_SYSCALL_MAIN_1): Likewise.
27266 (INTERNAL_SYSCALL_MAIN_2): Likewise.
27267 (INTERNAL_SYSCALL_MAIN_3): Likewise.
27268 (INTERNAL_SYSCALL_MAIN_4): Likewise.
27269 (INTERNAL_SYSCALL_MAIN_5): Likewise.
27270 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
27271 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
27272 Replace conditional definitions by conditional definitions of ....
27273 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
27274 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
27275 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
27276 (libpthread-sysdep_routines): Add libc-do-syscall.
27277 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
27278 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
27279 to __NR_futex not 240.
27280
27281 2015-03-25 Alan Modra <amodra@gmail.com>
27282
27283 * NEWS: Advertise TLS optimization.
27284 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
27285 (DT_PPC_NUM): Increment.
27286 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
27287 (CHECK_STATIC_TLS): Use here.
27288 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
27289 TLS descriptors.
27290 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27291 * sysdeps/powerpc/dl-tls.c: New file.
27292 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
27293 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
27294 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
27295 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
27296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
27297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
27298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
27299
27300 2015-03-25 Alan Modra <amodra@gmail.com>
27301
27302 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
27303 for overlapping .opd entries" to "support...".
27304 * sysdeps/powerpc/powerpc64/configure: Regenerate
27305
27306 2015-03-25 Joseph Myers <joseph@codesourcery.com>
27307
27308 * math/auto-libm-test-in: Add more tests of acos.
27309 * math/auto-libm-test-out: Regenerated.
27310 * sysdeps/i386/fpu/libm-test-ulps: Update.
27311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27312
27313 * math/auto-libm-test-in: Add more tests of expm1.
27314 * math/auto-libm-test-out: Regenerated.
27315 * sysdeps/i386/fpu/libm-test-ulps: Update.
27316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27317
27318 2015-03-24 Joseph Myers <joseph@codesourcery.com>
27319
27320 * math/auto-libm-test-in: Add more tests of cosh and sinh.
27321 * math/auto-libm-test-out: Regenerated.
27322 * sysdeps/i386/fpu/libm-test-ulps: Update.
27323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27324
27325 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27327
27328 * math/auto-libm-test-in: Add more tests of log2.
27329 * math/auto-libm-test-out: Regenerated.
27330 * sysdeps/i386/fpu/libm-test-ulps: Update.
27331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27332
27333 2015-03-23 Roland McGrath <roland@hack.frob.com>
27334
27335 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
27336 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
27337 _IO_IS_APPENDING bit in READ_WRITE instead.
27338
27339 2015-03-23 Florian Weimer <fweimer@redhat.com>
27340
27341 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
27342 (__determine_cpumask_size): Replace extend_alloca with a
27343 variable-length array. Do not treat res == 0 as an error.
27344
27345 2015-03-23 Florian Weimer <fweimer@redhat.com>
27346
27347 [BZ #18100]
27348 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
27349 and integer overflow.
27350 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
27351 (main): Add integer overflow tests.
27352 * manual/pattern.texi (Calling Wordexp): Document additional use
27353 for WRDE_SYNTAX.
27354
27355 2015-03-23 Alan Modra <amodra@gmail.com>
27356
27357 * config.h.in: Remove HAVE_ASM_PPC_REL16.
27358 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
27359 and false branch of conditional.
27360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27361 Likewise.
27362
27363 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
27364
27365 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
27366 libc-modules.h
27367 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
27368 unused declaration of _hurd_intr_rpc_msg_in_trap.
27369 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
27370 defined instead of whether it is non-zero.
27371 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
27372 input constraint instead of both input and output constraint. Use ecx
27373 clobber instead of %ecx.
27374 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
27375 mutex_unlock): Use a statement expression instead of an expression list.
27376 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
27377 type to vm_size_t instead of vm_address_t.
27378 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
27379 defined instead of whether it is non-zero.
27380 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
27381 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
27382 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
27383 comparisons with mapaddr.
27384 * nscd/nscd-client.h: Include <time.h>.
27385 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
27386 9th parameter to __vm_region instead of int.
27387 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
27388 * scripts/check-local-headers.sh (exclude): Add device/,
27389 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
27390 cthreads.h.
27391
27392 2015-03-19 Roland McGrath <roland@hack.frob.com>
27393
27394 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
27395 to account for alignment padding.
27396 * sysdeps/arm/memmove.S: Likewise.
27397
27398 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
27399
27400 * sysdeps/unix/sysv/linux/generic/README: New file.
27401
27402 2015-03-18 Joseph Myers <joseph@codesourcery.com>
27403
27404 [BZ #18138]
27405 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
27406 (futex_abstimed_wait)
27407 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
27408 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
27409 of lll_futex_timed_wait.
27410
27411 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
27412
27413 [BZ #17542]
27414 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
27415
27416 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
27417
27418 [BZ #17090]
27419 [BZ #17620]
27420 [BZ #17621]
27421 [BZ #17628]
27422 * NEWS: Update.
27423 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
27424 entries with Static TLS too. Skip entries past the end of the
27425 allocated DTV, from Alan Modra.
27426 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
27427 Static TLS DTV entry set up from...
27428 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
27429 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
27430 * nptl/allocatestack.c (init_one_static_tls): ... and here...
27431 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
27432 for Static TLS.
27433 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
27434 that the slot we find is associated with the given map before
27435 using its generation count.
27436 * nptl_db/db_info.c: Include ldsodefs.h.
27437 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
27438 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
27439 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
27440 (link_map::l_tls_offset): New struct field.
27441 (dtv_t::counter): Likewise.
27442 (rtld_global): New struct.
27443 (_rtld_global): New rtld variable.
27444 (dl_tls_dtv_slotinfo_list): New rtld global field.
27445 (dtv_slotinfo_list): New struct.
27446 (dtv_slotinfo): Likewise.
27447 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
27448 (td_lookup): Rename to...
27449 (td_mod_lookup): ... this. Use new mod parameter instead of
27450 LIBPTHREAD_SO.
27451 * nptl_db/td_thr_tlsbase.c: Include link.h.
27452 (dtv_slotinfo_list, dtv_slotinfo): New functions.
27453 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
27454 addresses even if the DTV is out of date or missing them.
27455 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
27456 index zero-length arrays.
27457 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
27458 (td_lookup): Make it a macro implemented in terms of...
27459 (td_mod_lookup): ... this declaration.
27460 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
27461 (DB_MAIN_VARIABLE): Likewise.
27462
27463 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
27464
27465 [BZ #18134]
27466 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
27467
27468 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
27469
27470 * stdlib/setenv.c (__add_to_environ): Revert previous change.
27471
27472 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
27473
27474 [BZ #18128]
27475 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
27476 (atomic_add, atomic_increment_and_test)
27477 (atomic_decrement_and_test): Fix 64-bit arithmetic.
27478
27479 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
27480
27481 * stdlib/setenv.c (__add_to_environ):
27482 Dump core quickly if setenv (..., NULL, ...) is called.
27483
27484 2015-03-13 Roland McGrath <roland@hack.frob.com>
27485
27486 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
27487 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
27488 all the necessary asm magic in one place.
27489 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
27490 using those.
27491
27492 2015-03-13 Carlos O'Donell <carlos@redhat.com>
27493
27494 [BZ #14906]
27495 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
27496 traced file mtime. Use consistent log message.
27497 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
27498 (register_traced_file): Call install_watches. Always set mtime.
27499 (invalidate_cache): Iterate over all trace files. Call install_watches.
27500 (inotify_check_files): Don't inline. Handle watching parent
27501 directories and configuration file movement in and out.
27502 (handle_inotify_events): New function.
27503 (main_loop_poll): Call handle_inotify_events.
27504 (main_loop_epoll): Likewise.
27505 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
27506 (struct traced_file): Use array of inotify fds. Add parent directory,
27507 and basename.
27508 (struct database_dyn): Remove unused file_mtime.
27509 (init_traced_file): New inline function.
27510 (define_traced_file): New macro.
27511 * nss/nss_db/db-init.c: Use define_traced_file.
27512 (_nss_db_init): Use init_traced_file.
27513 * nss/nss_files/files-init.c: Use define_traced_file.
27514 (_nss_files_init): Use init_traced_file.
27515
27516 2015-03-12 Joseph Myers <joseph@codesourcery.com>
27517
27518 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
27519 [_LIBC]: Do not include <stdlib.h>.
27520 [!_LIBC] (abort): Remove declaration.
27521 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
27522 _FP_STATIC_ASSERT instead of conditionally calling abort.
27523 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
27524 (_FP_EXTEND_CNAN): Likewise.
27525 (FP_TRUNC): Likewise.
27526 (__FP_CLZ): Likewise.
27527 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
27528
27529 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
27530
27531 * manual/string.texi (XPG basename): Fix prototype.
27532
27533 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
27534
27535 [BZ #18080]
27536 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
27537 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
27538 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
27539 (__setcontext): Likewise.
27540 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
27541 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
27542 Call rt_sigprocmask syscall one time to set new signal mask
27543 and retrieve the current signal mask instead of two calls.
27544 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
27545 (__swapcontext): Likewise.
27546 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
27547 * stdlib/tst-setcontext2.c: New file.
27548
27549 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
27550
27551 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27552
27553 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
27554
27555 [BZ #18093]
27556 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
27557 the wrong size.
27558
27559 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
27560
27561 [BZ #18043]
27562 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
27563
27564 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
27565
27566 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
27567 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
27568 Remove define.
27569 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
27570 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
27571 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
27572 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
27573 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
27574 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
27575 define.
27576 * nptl_db/td_symbol_list.c (td_lookup): Remove
27577 HAVE_ASM_GLOBAL_DOT_NAME code.
27578 * sysdeps/powerpc/powerpc64/configure.ac: Remove
27579 HAVE_ASM_GLOBAL_DOT_NAME check.
27580 * sysdeps/powerpc/powerpc64/configure: Regenerate.
27581 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
27582 (DOT_LABEL): Remove define.
27583 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
27584 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
27585 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
27586 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
27587 (__TLS_GET_ADDR): Likewise.
27588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
27589 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
27590
27591 2015-03-11 Carlos O'Donell <carlos@redhat.com>
27592
27593 [BZ #18111]
27594 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
27595 (_FPU_SETCW): Initialize cw from fpsr before storing.
27596 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
27597 (fesetexceptflag): Rewrite using fpu_control.h.
27598 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
27599
27600 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
27601
27602 [BZ #18110]
27603 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
27604 asms.
27605 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
27606
27607 2015-03-11 Joseph Myers <joseph@codesourcery.com>
27608
27609 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
27610 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
27611 abort.
27612 (_FP_FMA): Likewise.
27613 (_FP_DIV): Likewise.
27614
27615 2015-03-10 Roland McGrath <roland@hack.frob.com>
27616
27617 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
27618 with 0 in that case.
27619 * Makefile (summarize-tests): New canned sequence, factored out of
27620 commands for targets tests and xtests. Display summary lines that
27621 don't start with PASS: or XFAIL: rather than ones that do start with
27622 ERROR: or FAIL:. Make the commands fail if any summary lines fail
27623 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
27624 do start with ERROR: or FAIL:.
27625 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
27626 (except for [$(build-shared) = yes]).
27627 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
27628 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
27629 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
27630 * nptl/Makefile: Revert 2015-03-04 changes.
27631 [$(CXX) empty] (tests-unsupported): New variable.
27632 * debug/Makefile: Likewise.
27633
27634 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
27635 gnulib file. Replace __attribute with __attribute__ throughout.
27636
27637 2015-03-10 Carlos O'Donell <carlos@redhat.com>
27638
27639 * sysdeps/hppa/fpu/libm-test-ulps: Update.
27640
27641 2015-03-10 Joseph Myers <joseph@codesourcery.com>
27642
27643 [BZ #18104]
27644 * math/auto-libm-test-in: Add another test of pow.
27645 * math/auto-libm-test-out: Regenerated.
27646
27647 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27648
27649 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
27650 $(config-cflags-nofma).
27651
27652 2015-03-10 Joseph Myers <joseph@codesourcery.com>
27653
27654 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
27655 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
27656 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
27657 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
27658 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
27659 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
27660 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
27661 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
27662 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
27663 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
27664 Add comment on closing #endif.
27665
27666 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
27667
27668 * posix/wordexp.c (CHAR_IN_SET): New macro.
27669 (parse_param): Use it.
27670
27671 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27672
27673 * sysdeps/powerpc/fpu/libm-test-ulps: update.
27674
27675 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
27676
27677 [BZ #18043]
27678 * posix/wordexp.c (parse_param): Fix buffer overflow.
27679 * posix/wordexp-test.c (test_case): Add test case.
27680
27681 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
27682
27683 [BZ #18042]
27684 * posix/wordexp.c (parse_backtick): Fix off-by-one.
27685 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
27686
27687 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
27688
27689 [BZ #18043]
27690 * posix/wordexp-test.c (test_case): Add test for BZ #18043
27691 (do_bz18043): Delete.
27692 (at_page_end): New.
27693 (testit): Refactor to have words at the edge of unreadable page.
27694
27695 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
27696
27697 [BZ #16734]
27698 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
27699 Cleanup read-only streams as well.
27700 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
27701
27702 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
27703
27704 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
27705 <bits/libc-lockP.h>
27706
27707 2015-03-07 Joseph Myers <joseph@codesourcery.com>
27708
27709 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
27710 on [__KERNEL__].
27711 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
27712 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
27713 * soft-fp/op-common.h (_FP_DECL): Likewise.
27714
27715 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
27716
27717 * elf/ifuncdep2.c (global): Replace
27718 __attribute__((visibility("protected"))) with
27719 asm (".protected global").
27720 * elf/ifuncmod1.c (global): Likewise.
27721 * elf/ifuncmod5.c (global): Likewise.
27722
27723 2015-03-06 Joseph Myers <joseph@codesourcery.com>
27724
27725 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
27726 <asm/sfp-machine.h> instead of <sfp-machine.h>.
27727
27728 2015-03-06 Roland McGrath <roland@hack.frob.com>
27729
27730 * manual/install.texi (Configuring and compiling):
27731 Document test-wrapper-env-only.
27732 * INSTALL: Regenerated.
27733
27734 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27735
27736 [BZ #18043]
27737 * posix/wordexp.c (parse_param): Fix buffer overflow.
27738 * posix/wordexp-test.c (do_bz18043): Add test case.
27739
27740 2015-03-06 Vincent Bernat <vincent@bernat.im>
27741
27742 * time/tst-strptime2.c (do_test): Ensure failing tests are
27743 reported correctly.
27744 * time/tst-strptime3.c (do_test): Likewise.
27745
27746 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
27747
27748 Fix aio_error thread-safety.
27749 * sysdeps/pthread/aio_error.c: New file
27750 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
27751 synchronization.
27752
27753 2015-03-06 Florian Weimer <fweimer@redhat.com>
27754
27755 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
27756 (group_number, vfprintf): Use it.
27757 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
27758 (JUMP, REF): Use it.
27759 (WORK_BUFFER_SIZE): New enum constant.
27760 (process_arg, vfprintf): Use it.
27761
27762 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
27763
27764 * manual/errno.texi (Error Messages): Complete example function
27765 by adding missing #define.
27766 (program_invocation_name): Add statement indicating GNU
27767 extension and reference which header file declares the variable.
27768 (program_invocation_short_name): Likewise.
27769
27770 2015-03-06 Mike Frysinger <vapier@gentoo.org>
27771
27772 * manual/errno.texi (Error Messages): Delete strerror ISO C89
27773 compatibility note.
27774
27775 2015-03-05 Roland McGrath <roland@hack.frob.com>
27776
27777 * Makeconfig (test-wrapper-env-only): New variable.
27778 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
27779 then use that with $(test-wrapper-env-only) rather than using
27780 $(test-wrapper-env) $(run-program-env) $($*-ENV).
27781
27782 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
27783
27784 [BZ #18082]
27785 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
27786 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
27787 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
27788 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
27789 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
27790 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
27791 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
27792 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
27793 Likewise.
27794 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
27795 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
27796 Likewise.
27797 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
27798 Likewise.
27799 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
27800 Likewise.
27801 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
27802 Likewise.
27803 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
27804 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
27805 Likewise.
27806 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
27807 Likewise.
27808 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
27809 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
27810
27811 2015-03-04 Roland McGrath <roland@hack.frob.com>
27812
27813 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
27814 (ETH_ALEN): New macro.
27815 (struct ether_addr): Use it for length of ether_addr_octet.
27816
27817 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
27818 (setdb): Don't call __nss_configure_lookup for "rpc".
27819 (do_test): Don't call test_rpc.
27820 (output_rpcent, test_rpc): Functions moved ...
27821 * sunrpc/test-rpcent.c: ... to this new file.
27822 * sunrpc/Makefile (tests): Add it.
27823
27824 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
27825 __xpg_sigpause.
27826 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
27827 * nptl/tst-signal6.c: Likewise.
27828 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
27829 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
27830
27831 * configure.ac (libc_cv_cxx_link_ok): New check.
27832 Reset CXX to empty if it fails to link.
27833 * configure: Regenerated.
27834 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
27835 bug-atexit3-lib only if $(CXX) is nonempty.
27836 * nptl/Makefile (tests): Likewise for tst-cancel24.
27837 (tests, tests-static): Likewise for tst-cancel24-static.
27838 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
27839 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
27840 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
27841 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
27842
27843 2015-03-04 Andreas Schwab <schwab@suse.de>
27844
27845 [BZ #17631]
27846 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
27847 for non-GCC compilers.
27848 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27849 Likewise.
27850
27851 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
27852
27853 [BZ #17776]
27854 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
27855 integer before bitwise and assembly operations.
27856 (feclearexcept): Likewise.
27857 * math/test-fenvinline.c: New file.
27858 * math/Makefile: Add test-fenvinline test.
27859
27860 2015-03-03 Alan Modra <amodra@gmail.com>
27861
27862 [BZ #16512]
27863 * scripts/localplt.awk: Strip off symbol version.
27864 * NEWS: Mention bug fix.
27865
27866 2015-03-02 Roland McGrath <roland@hack.frob.com>
27867
27868 * sysdeps/pthread/timer_routines.c
27869 (timer_free_list, thread_free_list, thread_active_list): Make static.
27870
27871 2015-03-02 Joseph Myers <joseph@codesourcery.com>
27872
27873 [BZ #17779]
27874 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27875 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27876 Undefine.
27877 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27878 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27879 Likewise.
27880 * sysdeps/unix/sysv/linux/sh/kernel-features.h
27881 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27882 Likewise.
27883
27884 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
27885
27886 [BZ #18036]
27887 * posix/fnmatch_loop.c (END): Detect invalid pattern.
27888 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
27889
27890 2015-03-02 Andreas Schwab <schwab@suse.de>
27891
27892 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
27893 variable name.
27894
27895 2015-03-02 Florian Weimer <fweimer@redhat.com>
27896
27897 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
27898 Return error status.
27899
27900 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
27901
27902 [BZ #15969]
27903 * locale/findlocale.c (_nl_find_locale): Introduce const
27904 version of loc_name and drop unsafe type casts.
27905
27906 2015-02-27 Roland McGrath <roland@hack.frob.com>
27907
27908 * dlfcn/tststatic2.c (main): Converted to ...
27909 (do_test): ... this.
27910 (TEST_FUNCTION): New macro.
27911 Include test-skeleton.c.
27912
27913 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
27914
27915 [BZ #17711]
27916 * elf/Makefile (tests): Add vismain only if PIE is enabled.
27917 (tests-pie): Add vismain.
27918 (CFLAGS-vismain.c): New.
27919 * elf/vismain.c: Add comments for PIE requirement.
27920
27921 2015-02-27 Joseph Myers <joseph@codesourcery.com>
27922
27923 [BZ #18046]
27924 [BZ #18047]
27925 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
27926 0x1p-56L as threshold for just returning the argument.
27927 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
27928 0x1p-32L as threshold for just returning the argument.
27929 * math/auto-libm-test-in: Add more tests of atanh.
27930 * math/auto-libm-test-out: Regenerated.
27931 * sysdeps/i386/fpu/libm-test-ulps: Update.
27932 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
27933
27934 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
27935
27936 * string/bcopy.c (bcopy): Call memmove for performance.
27937
27938 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
27939
27940 * string/bzero.c (__bzero): Call memset for performance.
27941
27942 2015-02-27 John David Anglin <dave.anglin@bell.net>
27943
27944 [BZ #18068]
27945 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
27946 to 00100000.
27947
27948 2015-02-27 Joseph Myers <joseph@codesourcery.com>
27949
27950 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
27951
27952 2015-02-26 Joseph Myers <joseph@codesourcery.com>
27953
27954 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
27955 (__kernel_standard): Use CSTR macro when setting exc.name.
27956 * sysdeps/ieee754/Makefile [$(subdir) = math]
27957 (CFLAGS-k_standard.c): Remove variable.
27958
27959 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
27960 setting p and q from "else if" to "else".
27961 (qzero): Likewise.
27962 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
27963 (qone): Likewise.
27964 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
27965 (qzerof): Likewise.
27966 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
27967 (qonef): Likewise.
27968 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
27969 (qzero): Likewise.
27970 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
27971 (qone): Likewise.
27972
27973 [BZ #18038]
27974 [BZ #18039]
27975 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
27976 return pi/2 for arguments below 0x1p-113L.
27977 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
27978 return pi/2 for arguments below 0x1p-106L.
27979 * math/auto-libm-test-in: Add more tests of acos.
27980 * math/auto-libm-test-out: Regenerated.
27981
27982 [BZ #16351]
27983 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
27984 (MO): New macro.
27985 (__ieee754_asin): Force underflow exception for results with small
27986 absolute value.
27987 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
27988 (MO): New macro.
27989 (__ieee754_asinf): Force underflow exception for results with
27990 small absolute value.
27991 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
27992 (__ieee754_asin): Force underflow exception for results with small
27993 absolute value.
27994 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
27995 (__ieee754_asinf): Force underflow exception for results with
27996 small absolute value.
27997 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
27998 (__ieee754_asinl): Force underflow exception for results with
27999 small absolute value.
28000 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
28001 (__ieee754_asinl): Force underflow exception for results with
28002 small absolute value.
28003 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
28004 (__ieee754_asinl): Force underflow exception for results with
28005 small absolute value.
28006 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28007 Include <math.h>.
28008 * math/auto-libm-test-in: Do not mark underflow exceptions as
28009 possibly missing for bug 16351.
28010 * math/auto-libm-test-out: Regenerated.
28011
28012 [BZ #18030]
28013 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
28014 of power of 2 down when low part has opposite sign.
28015 * math/libm-test.inc (logb_test_data): Add more tests.
28016
28017 2015-02-26 Andreas Schwab <schwab@suse.de>
28018
28019 [BZ #18032]
28020 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
28021 over collating symbol inside a bracket expression. Minor cleanup.
28022 * posix/tst-fnmatch3.c (do_test): Add test case.
28023
28024 2015-02-26 Joseph Myers <joseph@codesourcery.com>
28025
28026 [BZ #18029]
28027 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
28028 Adjust exponent of power of 2 down when low part has opposite
28029 sign.
28030 * math/libm-test.inc (ilogb_test_data): Add more tests.
28031
28032 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
28033
28034 [BZ #15969]
28035 * locale/findlocale.c (_nl_find_locale): Fix constness error in
28036 the previous change.
28037
28038 [BZ #15969]
28039 * locale/findlocale.c (_nl_find_locale): Retry archive search
28040 after alias expansion.
28041
28042 2015-02-25 Roland McGrath <roland@hack.frob.com>
28043
28044 * iconv/tst-iconv3.c (main): Converted to ...
28045 (do_test): ... this.
28046 (TEST_FUNCTION): New macro.
28047 Include test-skeleton.c.
28048
28049 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
28050 (convert): Make function static.
28051 (test_unalign): Likewise. Add const to argument pointee types.
28052 (main): Replace with static function do_test.
28053 Print "Succeeded." only if RET is zero.
28054 (TEST_FUNCTION): New macro.
28055 Include test-skeleton.c.
28056
28057 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
28058 returns a null pointer.
28059
28060 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28061
28062 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
28063 to __memcpy_ppc only for static builds.
28064
28065 2015-02-25 Joseph Myers <joseph@codesourcery.com>
28066
28067 [BZ #18020]
28068 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
28069 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
28070 * math/auto-libm-test-in: Add more tests of asinh.
28071 * math/auto-libm-test-out: Regenerated.
28072 * sysdeps/i386/fpu/libm-test-ulps: Update.
28073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28074
28075 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
28076
28077 [BZ #15850]
28078 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
28079 and ip6_mtuinfo definitions here.
28080 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
28081 in this define too. Update comment.
28082
28083 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
28084
28085 * elf/sprof.c (load_shobj): Tweak error message to match others.
28086
28087 2015-02-24 Kevin Easton <kevin@guarana.org>
28088
28089 [BZ #16145] (partial fix)
28090 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
28091 to reduce lock contention.
28092
28093 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
28094
28095 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
28096 (struct timex): Update time comment.
28097 (ADJ_SETOFFSET): Define.
28098
28099 2015-02-24 Joseph Myers <joseph@codesourcery.com>
28100
28101 [BZ #18019]
28102 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28103 2**56 not 2**28 as threshold for log (2x) formula.
28104 * math/auto-libm-test-in: Add more tests of acosh.
28105 * math/auto-libm-test-out: Regenerated.
28106 * sysdeps/i386/fpu/libm-test-ulps: Update.
28107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28108
28109 2015-02-24 Mike Frysinger <vapier@gentoo.org>
28110
28111 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
28112 parenthesis around the buf assignment.
28113 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
28114
28115 2015-02-24 Joseph Myers <joseph@codesourcery.com>
28116
28117 [BZ #16783]
28118 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
28119 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
28120 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
28121 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28122 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28123 * math/libm-test.inc (scalb_test_data): Add more tests.
28124
28125 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
28126
28127 [BZ #17916]
28128 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
28129 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
28130
28131 2015-02-24 Eric Rannaud <e@nanocritical.com>
28132
28133 [BZ #17523]
28134 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
28135 * io/bits/fcntl2.h (open): Use it.
28136 (openat): Likewise.
28137 * io/open.c (__libc_open): Likewise.
28138 * io/open64.c (__libc_open64): Likewise.
28139 * io/open64_2.c (__open64_2): Likewise.
28140 * io/open_2.c (__open_2): Likewise.
28141 * io/openat.c (__openat): Likewise.
28142 * io/openat64.c (__openat64): Likewise.
28143 * io/openat64_2.c (__openat64_2): Likewise.
28144 * io/openat_2.c (__openat_2): Likewise.
28145 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
28146 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28147 * sysdeps/posix/open64.c (__libc_open64): Likewise.
28148 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28149 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
28150 (__open_nocancel): Likewise.
28151 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
28152 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
28153 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
28154
28155 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28156
28157 [BZ #14841]
28158 * resolv/gethnamaddr.c (getanswer): Skip logging if
28159 RES_USE_DNSSEC is set.
28160 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28161
28162 2015-02-24 Mike Frysinger <vapier@gentoo.org>
28163
28164 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
28165
28166 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
28167
28168 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
28169 201304L, for Unicode 7.
28170
28171 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
28172
28173 [BZ #17836]
28174 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
28175 shared library. Add gmon-start.os otherwise.
28176 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
28177 $(objpfx)gmon-start.os if builing shared library.
28178 ($(objpfx)g$(static-start-installed-name)): Likewise.
28179
28180 2015-02-23 Andreas Schwab <schwab@suse.de>
28181
28182 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
28183
28184 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28185
28186 [BZ #17269]
28187 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
28188 (enlarge_userbuf): Likewise.
28189
28190 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
28191
28192 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
28193 * math/atest-exp.c (TIMEOUT): Adjust to 200.
28194 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
28195 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
28196
28197 2015-02-20 Joseph Myers <joseph@codesourcery.com>
28198
28199 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
28200 expression inside statement expression.
28201
28202 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
28203
28204 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
28205 <sysdeps/nptl/lowlevellock.h> and remove macros and
28206 functions that are now defined there.
28207 (SYS_futex): Remove.
28208 (lll_compare_and_swap): Remove.
28209 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
28210
28211 2015-02-19 Joseph Myers <joseph@codesourcery.com>
28212
28213 [BZ #17999]
28214 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
28215 instead of scandirat.
28216 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
28217 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
28218 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
28219 __scandirat.
28220 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
28221 (__scandirat): Declare. Use libc_hidden_proto.
28222 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
28223 Remove variable.
28224 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28225
28226 2015-02-18 Joseph Myers <joseph@codesourcery.com>
28227
28228 [BZ #15319]
28229 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
28230 (MO): New macro.
28231 (__ieee754_atan2): For results with small absolute value, force
28232 underflow exception and remove excess range and precision from
28233 return value.
28234 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
28235 (MO): New macro.
28236 (__ieee754_atan2f): For results with small absolute value, force
28237 underflow exception and remove excess range and precision from
28238 return value.
28239 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
28240 (MO): New macro.
28241 (__atan): For results with small absolute value, force underflow
28242 exception and remove excess range and precision from return value.
28243 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
28244 (MO): New macro.
28245 (__atanf): For results with small absolute value, force underflow
28246 exception and remove excess range and precision from return value.
28247 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
28248 <math.h>.
28249 (__ieee754_atan2): Force underflow exception for results with
28250 small absolute value.
28251 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
28252 <math_private.h>.
28253 (atan): Force underflow exception for results with small absolute
28254 value.
28255 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
28256 (__atanf): Force underflow exception for results with small
28257 absolute value.
28258 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
28259 <math.h>.
28260 (__atanl): Force underflow exception for results with small
28261 absolute value.
28262 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
28263 (__atanl): Force underflow exception for results with small
28264 absolute value.
28265 * sysdeps/x86/fpu/bits/mathinline.h
28266 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
28267 (__ieee754_atan2): Only define inline for long double.
28268 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
28269 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
28270 * math/auto-libm-test-in: Do not mark underflow exceptions as
28271 possibly missing for bug 15319. Add more tests of atan2.
28272 * math/auto-libm-test-out: Regenerated.
28273 * math/libm-test.inc (casin_test_data): Do not mark underflow
28274 exceptions as possibly missing for bug 15319.
28275 (casinh_test_data): Likewise.
28276 * sysdeps/i386/fpu/libm-test-ulps: Update.
28277
28278 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
28279
28280 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
28281 * sysdeps/mips/bits/endian.h: Fix comments.
28282
28283 2015-02-18 Joseph Myers <joseph@codesourcery.com>
28284
28285 [BZ #17996]
28286 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
28287 (hdestroy_r): Likewise.
28288 (hsearch_r): Likewise.
28289 (__hcreate_r): Declare and use libc_hidden_proto.
28290 (__hdestroy_r): Likewise.
28291 (__hsearch_r): Likewise.
28292 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
28293 (hcreate): Call __hcreate_r instead of hcreate_r.
28294 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
28295 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
28296 as weak alias of __hcreate_r.
28297 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
28298 __hdestroy_r.
28299 (hsearch_r): Rename to __hsearch_r and define as weak alias of
28300 __hsearch_r.
28301 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
28302 Remove variable.
28303 (test-xfail-XPG4/search.h/linknamespace): Likewise.
28304 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28305 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28306 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28307
28308 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28309
28310 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
28311 arena_lock into a single arena_get.
28312
28313 2015-02-17 Carlos O'Donell <carlos@redhat.com>
28314
28315 * dl-reloc.c: Inlucde libc-internal.h.
28316 (_dl_try_allocate_static_tls): Call ALIGN_UP.
28317 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
28318 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
28319 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
28320 (grow_heap): Likewise.
28321 * malloc/malloc.c: Include libc-internal.h.
28322 (do_check_malloc): Call powerof2.
28323 (sysmalloc): Use pagesize. Call ALIGN_UP.
28324 (systrim): Use pagesize.
28325 (mremap_chunk): Use pagesize. Call ALIGN_UP.
28326 (__libc_valloc): Use pagesize.
28327 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
28328
28329 2015-02-17 Joseph Myers <joseph@codesourcery.com>
28330
28331 [BZ #17991]
28332 * include/sys/resource.h (__getrlimit64): Declare. Use
28333 libc_hidden_proto.
28334 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
28335 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
28336 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
28337 getrlimit64.
28338 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
28339 __getrlimit64.
28340 [!getrlimit64] (getrlimit64): Define as weak alias of
28341 __getrlimit64. Use libc_hidden_weak.
28342 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
28343 using __getrlimit64 not __new_getrlimit64.
28344 (__GI_getrlimit64): Likewise.
28345 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
28346 Likewise.
28347 (__GI_getrlimit64): Likewise.
28348 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
28349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
28350 (getrlimit): Add __getrlimit64 alias.
28351 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
28352 Likewise.
28353 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
28354 Remove variable.
28355 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28356 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28357
28358 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
28359
28360 * libio/fileops.c: Add missing sys/mman.h
28361 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
28362
28363 2015-02-17 Joseph Myers <joseph@codesourcery.com>
28364
28365 * manual/math.texi (Errors in Math Functions): Clarify goals
28366 regarding inexact and underflow exceptions.
28367
28368 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
28369
28370 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
28371 * sysdeps/mips/memset.S: Ditto.
28372
28373 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
28374
28375 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
28376
28377 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
28378
28379 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
28380 (__v1longjmp): Remove versioned symbol.
28381 (__v1siglongjmp): Remove alias and versioned symbol.
28382 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
28383 (__v2siglongjmp): Likewise.
28384
28385 2015-02-16 Torvald Riegel <triegel@redhat.com>
28386
28387 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
28388
28389 2015-02-16 Mike Frysinger <vapier@gentoo.org>
28390
28391 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
28392
28393 2015-02-16 Joseph Myers <joseph@codesourcery.com>
28394
28395 [BZ #17987]
28396 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
28397 zero result does not depend on the sign resulting from
28398 subtraction.
28399 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28400 Likewise.
28401 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28402 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28403 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28404 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28405 * math/libm-test.inc (remquo_test_data): Add more tests.
28406
28407 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
28408
28409 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
28410 Problem reported by J William Piggott.
28411
28412 2015-02-16 Joseph Myers <joseph@codesourcery.com>
28413
28414 [BZ #17978]
28415 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
28416 products 4 * y and 2 * y where those would overflow.
28417 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28418 Likewise.
28419 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28420 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28421 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28422 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28423 * math/libm-test.inc (remquo_test_data): Add more tests.
28424
28425 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
28426
28427 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
28428 [defined _COMPILING_NEWLIB].
28429 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
28430 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
28431
28432 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
28433 [!defined __mips_isa_rev || __mips_isa_rev < 6].
28434
28435 2015-02-16 Torvald Riegel <triegel@redhat.com>
28436
28437 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
28438 acquired.
28439
28440 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
28441
28442 [BZ #17792]
28443 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
28444 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
28445 HOST_STACK_END_ADDR): Likewise.
28446
28447 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
28448
28449 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
28450 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
28451 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
28452
28453 2015-02-13 Roland McGrath <roland@hack.frob.com>
28454
28455 * sysdeps/generic/c++-types.data: New file.
28456 * sysdeps/generic/ld.abilist: New file.
28457 * sysdeps/generic/libBrokenLocale.abilist: New file.
28458 * sysdeps/generic/libanl.abilist: New file.
28459 * sysdeps/generic/libc.abilist: New file.
28460 * sysdeps/generic/libcrypt.abilist: New file.
28461 * sysdeps/generic/libdl.abilist: New file.
28462 * sysdeps/generic/libm.abilist: New file.
28463 * sysdeps/generic/libpthread.abilist: New file.
28464 * sysdeps/generic/libresolv.abilist: New file.
28465 * sysdeps/generic/librt.abilist: New file.
28466
28467 2015-02-13 Joseph Myers <joseph@codesourcery.com>
28468
28469 [BZ #17569]
28470 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28471 Compute absolute value of x as modified by fmod, not original
28472 value of x.
28473 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
28474 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
28475 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
28476 RUN_TEST_ffI_f1_mod8.
28477 (remquo_test_data): Add more tests.
28478
28479 2015-02-13 Roland McGrath <roland@hack.frob.com>
28480
28481 * sysdeps/init_array/pt-crti.S: New file.
28482
28483 2015-02-13 Joseph Myers <joseph@codesourcery.com>
28484
28485 [BZ #17967]
28486 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
28487 __builtin_fmaf instead of relying on contraction of a * b + c.
28488
28489 2015-02-12 J William Piggott <elseifthen@gmx.com>
28490
28491 [BZ #17969]
28492 * manual/time.texi: correct the zoneinfo path in the TZ Variable
28493 node.
28494
28495 2015-02-12 Joseph Myers <joseph@codesourcery.com>
28496
28497 [BZ #17964]
28498 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
28499 __builtin_fma instead of relying on contraction of a * b + c.
28500
28501 2015-02-12 Roland McGrath <roland@hack.frob.com>
28502
28503 * Makeconfig (ASFLAGS): Add -Werror=undef.
28504 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
28505 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
28506 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
28507
28508 * Makeconfig (after-link): New variable.
28509 (+link-pie, +link-pie-tests): Use it.
28510 (+link-static, +link-static-tests): Likewise.
28511 (+link, +link-tests): Likewise.
28512 * Makerules (build-module, build-module-asneeded): Likewise.
28513 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
28514 Likewise.
28515 * elf/Makefile ($(objpfx)ld.so): Likewise.
28516
28517 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
28518
28519 [BZ #17965]
28520 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
28521 both struct timeval and struct timespec.
28522
28523 2015-02-12 Joseph Myers <joseph@codesourcery.com>
28524
28525 [BZ #16560]
28526 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28527 and redefine.
28528 (__ieee754_exp2l): Do not multiply small fractional parts by
28529 M_LN2l.
28530 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
28531 small argument.
28532 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
28533 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
28534 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
28535 * math/auto-libm-test-in: Add more tests of exp2.
28536 * math/auto-libm-test-out: Regenerated.
28537
28538 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28539
28540 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
28541 unaligned path.
28542
28543 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28544
28545 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
28546 little endian.
28547
28548 2015-02-12 Andreas Schwab <schwab@suse.de>
28549
28550 [BZ #15790]
28551 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28552 Filter out elision flags from value returned in kind.
28553 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
28554 * nptl/tst-pthread-mutexattr.c: New file.
28555
28556 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
28557
28558 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
28559 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
28560 into gnu-gnu, and update comment to refer to abi-tags.
28561
28562 2015-02-11 Joseph Myers <joseph@codesourcery.com>
28563
28564 [BZ #15467]
28565 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
28566 (__sincos): Set errno to EDOM for infinite argument.
28567 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
28568 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
28569 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
28570 (__sincosl): Set errno to EDOM for infinite argument.
28571 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
28572 (__sincosl): Set errno to EDOM for infinite argument.
28573 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
28574 (__sincosl): Set errno to EDOM for infinite argument.
28575 * math/libm-test.inc (sincos_test_data): Test errno setting.
28576
28577 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
28578
28579 * string/strxfrm_l.c: Remove #define STRCMP.
28580 * string/strcoll_l.c: Remove #define STRLEN.
28581 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
28582 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
28583
28584 2015-02-10 Joseph Myers <joseph@codesourcery.com>
28585
28586 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
28587 * sysdeps/mips/mips32/sfp-machine.h: ... here.
28588 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
28589 * sysdeps/mips/mips64/Makefile: ... here.
28590 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
28591 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
28592 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
28593 * sysdeps/mips/mips64/sfp-machine.h: ... here.
28594 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
28595 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
28596 * sysdeps/mips/mips64/n64/Implies: Likewise.
28597
28598 2015-02-10 Roland McGrath <roland@hack.frob.com>
28599
28600 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
28601 <sys/time.h>, <string.h>, and <errno.h>.
28602 (dest_offset, dest_address, value, zero): Remove unused variables.
28603 (ldouble): Remove typedef.
28604 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
28605 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
28606 1). Fix code style.
28607 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
28608 (check): Function removed.
28609 (CHECK): New macro.
28610 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
28611 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
28612 Don't call set_sigaction_FP and remove_sigaction_FP here.
28613 (ldouble_test): Just use 'long double' as macro argument, no need for
28614 the 'ldouble' typedef.
28615 (do_test): Set up SIGFPE handler at start, using plain signal rather
28616 than sigaction. Fix code style.
28617
28618 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
28619
28620 [BZ #17949]
28621 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
28622 jump label.
28623
28624 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
28625
28626 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
28627 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28628
28629 * sysdeps/powerpc/configure.ac: Remove file.
28630 * sysdeps/powerpc/configure: Likewise.
28631
28632 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
28633 [sysdep_routines]: Remove wordcopy-power6 object.
28634 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28635 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
28636 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
28637 (__memmove_ppc32): Likewise.
28638 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
28639 file.
28640 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
28641 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
28642 Remove preprocessor.
28643
28644 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
28645 [sysdep_routines]: Remove wide chars objects.
28646 [wcsmbs]: New rule for wide char objects.
28647
28648 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28649 Remove wordcopy-power6 obejct.
28650 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
28651 Use local call for wordcopy and memcpy symbols.
28652 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
28653 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
28654 implementation for loader.
28655 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
28656
28657 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28658 Remove wordcopy-power7 object.
28659 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
28660 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
28661 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
28662 (_wordcopy_fwd_dest_aligned): Likewise.
28663 (_wordcopy_bwd_aligned): Likewise.
28664 (_wordcopy_bwd_dest_aligned): Likewise.
28665
28666 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
28667 Rewrite to call __memmove_ppc instead of include default
28668 implementation.
28669
28670 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28671 Remove wide chars objects.
28672 [wcsmbs]: New rule for wide char objects.
28673
28674 2015-02-09 Andreas Schwab <schwab@suse.de>
28675
28676 [BZ #17912]
28677 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28678 in terms of __O_DIRECTORY.
28679
28680 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
28681
28682 * time/getdate.c: Include <stdbool.h>.
28683 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
28684 call PTR_MANGLE.
28685 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
28686 PTR_DEMANGLE.
28687
28688 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
28689
28690 Add ersatz _Static_assert on older C hosts
28691 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
28692 pre-C11 C platform that is not known to support _Static_assert.
28693
28694 2015-02-07 Richard Braun <rbraun@sceen.net>
28695
28696 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
28697 sigstate.
28698 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
28699
28700 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
28701
28702 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
28703 priority against unexistent AIO_PRIO_DELTA_MAX.
28704 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
28705 instead of int.
28706 * misc/fchflags.c (fchflags): Likewise.
28707 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
28708 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
28709 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
28710 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
28711 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
28712 Declare macros.
28713 [__USE_MISC] (chflags, fchflags): Declare functions.
28714 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
28715 EINVAL when nfds is greater than FD_SETSIZE.
28716 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
28717 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
28718 45.
28719 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
28720 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
28721 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
28722 MACH_RCV_TIMED_OUT.
28723 * hurd/hurd/signal.h (_hurd_self_sigstate,
28724 _hurd_critical_section_lock, _hurd_critical_section_unlock):
28725 Explicit casts from void *.
28726 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
28727 * abi-tags: Rename gnu-gnu os into gnu.
28728
28729 [BZ #4719]
28730 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
28731 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
28732 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
28733 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
28734 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
28735 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
28736
28737 [BZ #17944]
28738 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
28739 duplicates ADDR->sun_path with sockaddr LEN limitation.
28740 * sysdeps/mach/hurd/connect.c: Include <string.h>
28741 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
28742 * sysdeps/mach/hurd/sendmsg.c: Likewise.
28743 * sysdeps/mach/hurd/sendto.c: Likewise.
28744 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
28745 implementing it by hand.
28746
28747 2015-02-06 Roland McGrath <roland@hack.frob.com>
28748
28749 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
28750 Use sfi_breg on ldr.
28751 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
28752 Likewise.
28753
28754 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
28755 it's defined.
28756 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
28757 Test SIGSETXID only if it's defined.
28758
28759 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
28760
28761 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
28762 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
28763
28764 * nptl/tst-align2.c: Moved ...
28765 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
28766 * nptl/Makefile (tests): Remove tst-align2.
28767 * sysdeps/unix/sysv/linux/Makefile
28768 [$(subdir) = nptl] (tests): Add tst-align-clone.
28769 * nptl/tst-getpid1.c: Moved ...
28770 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
28771 * nptl/tst-getpid2.c: Moved ...
28772 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
28773 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
28774 * sysdeps/unix/sysv/linux/Makefile
28775 [$(subdir) = nptl] (tests): ... here.
28776 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
28777 * sysdeps/unix/sysv/linux/Makefile
28778 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
28779
28780 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
28781 Drop trailing \n from perror argument. Use return rather than exit.
28782
28783 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
28784 on [SA_SIGINFO].
28785 * nptl/tst-cancel21.c (do_test): Likewise.
28786 * debug/tst-backtrace6.c: Include <signal.h> first thing.
28787 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
28788 [!SA_SIGINFO]: Make it a stub test.
28789
28790 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
28791 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
28792
28793 * posix/tst-getlogin.c: Move to ...
28794 * login/tst-getlogin.c: ... here.
28795 * posix/Makefile (tests): Move tst-getlogin to ...
28796 * login/Makefile (tests): ... here.
28797
28798 * libio/tst-atime.c (do_test): Move local variables SV and E
28799 inside [ST_NOATIME] conditional.
28800
28801 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
28802
28803 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
28804
28805 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
28806 (wait_code): New function replaces macro.
28807 Call nanosleep rather than syscall.
28808
28809 * nptl/pt-system.c: Rewritten. Put everything under
28810 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28811 Use IFUNC to redirect when possible.
28812
28813 * nptl/pt-longjmp.c: Rewritten. Put everything under
28814 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28815 Use IFUNC to redirect when possible.
28816
28817 * nptl/pt-fork.c: Rewritten. Put everything under
28818 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28819 Use IFUNC to redirect when possible.
28820 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
28821
28822 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
28823 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
28824 unconditionally nowadays. This included the only reference to
28825 __vdso_clock_gettime that appears outside libc proper.
28826 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
28827 Remove version set (containing only __vdso_clock_gettime).
28828 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
28829 Add attribute_hidden.
28830 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
28831 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
28832 libc_hidden_data_def.
28833 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28834 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28835
28836 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
28837 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
28838 setrpcent, and getrpcport to ...
28839 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
28840 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
28841 getrpcbynumber_r, and getrpcent_r to ...
28842 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
28843 * inet/getrpcbyname.c: Moved ...
28844 * sunrpc/getrpcbyname.c: ... here.
28845 * inet/getrpcbyname_r.c: Moved ...
28846 * sunrpc/getrpcbyname_r.c: ... here.
28847 * inet/getrpcbynumber.c: Moved ...
28848 * sunrpc/getrpcbynumber.c: ... here.
28849 * inet/getrpcbynumber_r.c: Moved ...
28850 * sunrpc/getrpcbynumber_r.c: ... here.
28851 * inet/getrpcent.c: Moved ...
28852 * sunrpc/getrpcent.c: ... here.
28853 * inet/getrpcent_r.c: Moved ...
28854 * sunrpc/getrpcent_r.c: ... here.
28855 * inet/Makefile (routines): Move those to ...
28856 * sunrpc/Makefile (routines): ... here.
28857 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
28858 the $(subdirs) list.
28859 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
28860 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
28861 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
28862 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
28863
28864 * elf/Makefile (routines): Include $(all-dl-routines), not just
28865 $(dl-routines).
28866 (rtld-routines): Likewise. Use = rather than :=.
28867 * sysdeps/aarch64/Makefile [$(subdir) = elf]
28868 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
28869 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
28870 * sysdeps/arm/Makefile: Likewise.
28871 * sysdeps/i386/Makefile: Likewise.
28872 * sysdeps/x86_64/Makefile: Likewise.
28873 * sysdeps/hppa/Makefile [$(subdir) = elf]
28874 (sysdep_routines, sysdep-rtld-routines): Don't add
28875 $(sysdep-dl-routines) to these.
28876 * sysdeps/ia64/Makefile: Likewise.
28877 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
28878 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
28879 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
28880 Don't add dl-static to these; sysdep-dl-routines alone is enough.
28881 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
28882 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
28883 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
28884 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
28885 * sysdeps/powerpc/Makefile [$(subdir) = elf]
28886 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
28887 these; sysdep-dl-routines alone is enough.
28888
28889 2015-02-06 Joseph Myers <joseph@codesourcery.com>
28890
28891 [BZ #17932]
28892 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
28893 where multiplication results in zero and third argument is finite
28894 and nonzero.
28895 * math/auto-libm-test-in: Add more tests of fma.
28896 * math/auto-libm-test-out: Regenerated.
28897
28898 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
28899 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
28900 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
28901 (_FP_CMP_EQ): Likewise.
28902 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
28903
28904 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
28905 extra argument CHECK_NAN. Redefine as wrapper around
28906 _FP_EXTEND_CNAN.
28907
28908 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
28909
28910 * version.h (RELEASE): Set to "stable".
28911 (VERSION): Set to "2.21"
28912 * include/features.h (__GLIBC_MINOR__): Set to 21.
28913
28914 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
28915
28916 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28917 Paul Eggert <eggert@cs.ucla.edu>
28918
28919 [BZ #16618]
28920 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
28921 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
28922 size in bytes. Store needed elements in wpmax. Use needed size
28923 in bytes for extend_alloca.
28924
28925 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
28926
28927 * manual/install.texi: Latest tested versions are GCC 4.9.2,
28928 binutls 2.25, and texinfo 5.2.
28929 * INSTALL: Regenerate.
28930 * sysdeps/nios2/configure: Regenerate.
28931 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
28932 * manual/contrib.texi: Update.
28933 * po/be.po: Update.
28934 * po/bg.po: Update.
28935 * po/ca.po: Update.
28936 * po/cs.po: Update.
28937 * po/da.po: Update.
28938 * po/de.po: Update.
28939 * po/el.po: Update.
28940 * po/eo.po: Update.
28941 * po/es.po: Update.
28942 * po/fi.po: Update.
28943 * po/fr.po: Update.
28944 * po/gl.po: Update.
28945 * po/hr.po: Update.
28946 * po/hu.po: Update.
28947 * po/ia.po: Update.
28948 * po/id.po: Update.
28949 * po/it.po: Update.
28950 * po/ja.po: Update.
28951 * po/ko.po: Update.
28952 * po/lt.po: Update.
28953 * po/nb.po: Update.
28954 * po/nl.po: Update.
28955 * po/pl.po: Update.
28956 * po/pt_BR.po: Update.
28957 * po/ru.po: Update.
28958 * po/rw.po: Update.
28959 * po/sk.po: Update.
28960 * po/sl.po: Update.
28961 * po/sv.po: Update.
28962 * po/tr.po: Update.
28963 * po/uk.po: Update.
28964 * po/vi.po: Update.
28965 * po/zh_CN.po: Update.
28966 * po/zh_TW.po: Update.
28967
28968 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
28969 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
28970 * sysdeps/hppa/dl-irel.h: Remove #warning.
28971 * sysdeps/hppa/entry.h: Provide prototype for
28972 __canonicalize_funcptr_for_compare and cast argument.
28973 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
28974 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
28975 * sysdeps/hppa/sotruss-lib.c: New file.
28976 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
28977 (atomic_compare_and_exchange_val_acq): Use __typeof__.
28978 (atomic_compare_and_exchange_bool_acq): Likewise.
28979 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
28980 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
28981
28982 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
28983 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
28984 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
28985
28986 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
28987
28988 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
28989 called function in non-PIC case.
28990
28991 2015-01-31 David S. Miller <davem@davemloft.net>
28992
28993 * sysdeps/sparc/sparc32/bits/atomic.h
28994 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
28995 unlock not after it.
28996 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
28997 volatile register usage warnings from the compiler.
28998
28999 * sysdeps/sparc/nptl/sem_init.c: Delete.
29000 * sysdeps/sparc/nptl/sem_post.c: Delete.
29001 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
29002 * sysdeps/sparc/nptl/sem_wait.c: Delete.
29003 * sysdeps/sparc/sparc32/sem_init.c: New file.
29004 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
29005 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
29006 padding explicitly initialized.
29007 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
29008 padding for in-semaphore spinlock.
29009 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
29010 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
29011 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
29012 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
29013 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
29014 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
29015 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
29016 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
29017 version.
29018 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
29019 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
29020
29021 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
29022
29023 [BZ #17801]
29024 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29025 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
29026 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
29027 New.
29028 (index_AVX_Fast_Unaligned_Load): Likewise.
29029 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
29030 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
29031 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
29032 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
29033 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
29034 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
29035 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
29036 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
29037 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
29038
29039 2015-01-29 Andreas Schwab <schwab@suse.de>
29040
29041 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
29042
29043 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29044
29045 [BZ #17892]
29046 * nscd/nscd_stat.c (send_stats): Initialize DATA.
29047
29048 2015-01-28 Martin Sebor <msebor@redhat.com>
29049
29050 * math/README.libm-test: Clarify. Add "How to read the test output."
29051
29052 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
29053
29054 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
29055 Define to 0.
29056
29057 2015-01-28 Joseph Myers <joseph@codesourcery.com>
29058
29059 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
29060 (__HAVE_64B_ATOMICS): Define to 0.
29061
29062 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29063
29064 [BZ #17885]
29065 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
29066 value to set as new flag.
29067
29068 [BZ #16576]
29069 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
29070 and use _ARCH_PPCSQ instead.
29071 (__ieee754_sqrt): Likewise.
29072 (__ieee754_sqrtf): Likewise.
29073 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
29074 _ARCH_PPCSQ is defined.
29075 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
29076 fsqrt instruction.
29077 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
29078 _ARCH_PPCSQ is defined.
29079 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
29080 fsqrts instruction.
29081 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
29082
29083 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29084
29085 * iconv/loop.c: Suppress array out of bound warning caused by GCC
29086 bug (GCC BZ #64739).
29087
29088 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
29089
29090 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
29091 Mark _retval as used.
29092 (lll_futex_wake_unlock): Likewise.
29093 (lll_futex_timed_wait_requeue_pi): Likewise.
29094
29095 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29096 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
29097 register variables.
29098
29099 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
29100 libm_hidden_def.
29101
29102 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
29103 (__bswap_64): Mark as __always_inline.
29104
29105 2015-01-25 Bram <bug_rh@spam.wizbit.be>
29106
29107 [BZ #15378]
29108 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
29109 when none of the search directories exist.
29110
29111 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29112
29113 [BZ #17869]
29114 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
29115 power8 in .machine directive.
29116
29117 [BZ #17868]
29118 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
29119 set dependency from opd value.
29120
29121 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
29122
29123 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29124 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
29125 architecture.
29126
29127 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
29128
29129 [BZ #17870]
29130 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
29131 with uint64_t.
29132 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
29133 (uint64_t) 1.
29134 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
29135 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
29136 Replace 1UL with (uint64_t) 1.
29137 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
29138 int with uint64_t.
29139
29140 2015-01-23 Roland McGrath <roland@hack.frob.com>
29141
29142 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
29143 (if_freenameindex): Likewise.
29144
29145 * resource/getrlimit64.c: Add missing libc_hidden_def.
29146
29147 2015-01-22 Joseph Myers <joseph@codesourcery.com>
29148
29149 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
29150 __label__.
29151 (_FP_FMA): Likewise.
29152 (_FP_TO_INT_ROUND): Likewise.
29153 (_FP_FROM_INT): Likewise.
29154
29155 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29156
29157 [BZ #16418]
29158 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
29159 Make code racy and cancel safe.
29160
29161 2015-01-21 Carlos O'Donell <carlos@redhat.com>
29162
29163 * sysdeps/arm/unwind-resume.h: Fix copyright year.
29164 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
29165 attribution.
29166
29167 * pwd/tst-getpw.c: Rewrite.
29168
29169 [BZ #17702]
29170 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
29171 (modules-names): Add moddummy1 and moddummy2.
29172 ($(objpfx)tst-rec-dlopen): Define.
29173 * dlfcn/moddummy1.c: New file.
29174 * dlfcn/moddummy2.c: New file.
29175 * dlfcn/tst-rec-dlopen.c: New file.
29176 * elf/dl-cache.c (_dl_load_cache_lookup):
29177 Return char*. Copy result with alloca/strcpy/strdup.
29178 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
29179 returns char*. Free cached. If not saving realname
29180 free cached.
29181 * elf/dl-open.c (dl_open_worker): Do not assert that
29182 _r_debug->r_state is RT_CONSISTENT.
29183 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
29184 returns char*.
29185
29186 2015-01-21 Torvald Riegel <triegel@redhat.com>
29187 Carlos O'Donell <carlos@redhat.com>
29188
29189 [BZ #12674]
29190 * nptl/sem_waitcommon.c: New file.
29191 * nptl/sem_wait.c: Include sem_waitcommon.c.
29192 (__sem_wait_cleanup, do_futex_wait): Remove.
29193 (__new_sem_wait): Adapt.
29194 (__new_sem_trywait): New function.
29195 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
29196 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
29197 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
29198 (sem_timedwait): Adapt.
29199 * nptl/sem_post.c (__new_sem_post): Adapt.
29200 (futex_wake): New function.
29201 (__old_sem_post): Add release MO fence.
29202 * nptl/sem_open.c (sem_open): Adapt.
29203 * nptl/sem_init.c (__new_sem_init): Adapt.
29204 (futex_private_if_supported): New function.
29205 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
29206 (__old_sem_getvalue): Add using previous code.
29207 * sysdeps/nptl/internaltypes.h: Adapt.
29208 * nptl/tst-sem13.c (do_test): Adapt.
29209 * nptl/tst-sem11.c (main): Adapt.
29210 * nptl/sem_trywait.c: Remove.
29211 * nptl/DESIGN-sem.txt: Remove.
29212 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
29213 (gen-as-const-headers): Remove structsem.sym.
29214 * nptl/structsem.sym: Remove.
29215 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
29216 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
29217 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
29218 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
29219 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
29220 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
29221 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
29222 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
29223 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
29224 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
29225 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
29226 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
29227 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
29228 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
29229 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
29230 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
29231 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
29232 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
29233 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
29234 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
29235 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
29236 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
29237
29238 2015-01-20 Carlos O'Donell <carlos@redhat.com>
29239
29240 * INSTALL: Regenerated.
29241
29242 * po/libc.pot: Regenerated.
29243
29244 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
29245 Sandra Loosemore <sandra@codesourcery.com>
29246 Andrew Jenner <andrew@codesourcery.com>
29247 Joseph Myers <joseph@codesourcery.com>
29248 Nathan Sidwell <nathan@codesourcery.com>
29249
29250 * NEWS: Mention new Nios II port.
29251 * sysdeps/nios2/Implies: New file.
29252 * sysdeps/nios2/Makefile: New file.
29253 * sysdeps/nios2/Subdirs: New file.
29254 * sysdeps/nios2/Versions: New file.
29255 * sysdeps/nios2/__longjmp.S: New file.
29256 * sysdeps/nios2/abort-instr.h: New file.
29257 * sysdeps/nios2/backtrace.c: New file.
29258 * sysdeps/nios2/bits/endian.h: New file.
29259 * sysdeps/nios2/bits/fenv.h: New file.
29260 * sysdeps/nios2/bits/link.h: New file.
29261 * sysdeps/nios2/bits/setjmp.h: New file.
29262 * sysdeps/nios2/bsd-_setjmp.S: New file.
29263 * sysdeps/nios2/bsd-setjmp.S: New file.
29264 * sysdeps/nios2/configure: New generated file.
29265 * sysdeps/nios2/configure.ac: New file.
29266 * sysdeps/nios2/crti.S: New file.
29267 * sysdeps/nios2/crtn.S: New file.
29268 * sysdeps/nios2/dl-init.c: New file.
29269 * sysdeps/nios2/dl-machine.h: New file.
29270 * sysdeps/nios2/dl-sysdep.h: New file.
29271 * sysdeps/nios2/dl-tls.h: New file.
29272 * sysdeps/nios2/dl-trampoline.S: New file.
29273 * sysdeps/nios2/gccframe.h: New file.
29274 * sysdeps/nios2/gmp-mparam.h: New file.
29275 * sysdeps/nios2/jmpbuf-offsets.h: New file.
29276 * sysdeps/nios2/jmpbuf-unwind.h: New file.
29277 * sysdeps/nios2/ldsodefs.h: New file.
29278 * sysdeps/nios2/libc-tls.c: New file.
29279 * sysdeps/nios2/libm-test-ulps: New file.
29280 * sysdeps/nios2/machine-gmon.h: New file.
29281 * sysdeps/nios2/math-tests.h: New file.
29282 * sysdeps/nios2/math_private.h: New file.
29283 * sysdeps/nios2/memusage.h: New file.
29284 * sysdeps/nios2/nptl/Makefile: New file.
29285 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
29286 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
29287 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
29288 * sysdeps/nios2/nptl/pthreaddef.h: New file.
29289 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
29290 * sysdeps/nios2/nptl/tls.h: New file.
29291 * sysdeps/nios2/preconfigure: New file.
29292 * sysdeps/nios2/s_fma.c: New file.
29293 * sysdeps/nios2/s_fmaf.c: New file.
29294 * sysdeps/nios2/setjmp.S: New file.
29295 * sysdeps/nios2/sfp-machine.h: New file.
29296 * sysdeps/nios2/sotruss-lib.c: New file.
29297 * sysdeps/nios2/stackguard-macros.h: New file.
29298 * sysdeps/nios2/stackinfo.h: New file.
29299 * sysdeps/nios2/start.S: New file.
29300 * sysdeps/nios2/sysdep.h: New file.
29301 * sysdeps/nios2/tls-macros.h: New file.
29302 * sysdeps/nios2/tst-audit.h: New file.
29303 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
29304 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
29305 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
29306 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
29307 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
29308 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
29309 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
29310 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
29311 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
29312 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
29313 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
29314 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
29315 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
29316 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
29317 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
29318 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
29319 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
29320 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
29321 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
29322 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
29323 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
29324 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
29325 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
29326 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
29327 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
29328 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
29329 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
29330 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
29331 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
29332 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
29333 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
29334 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
29335 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
29336 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
29337 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
29338 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
29339 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
29340 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
29341 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
29342 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
29343 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
29344 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
29345 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
29346 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
29347
29348 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
29349
29350 [BZ #17844]
29351 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
29352 (getutent): Use weak_alias in non SHARED case
29353 and default_symbol_version in SHARED case.
29354 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
29355 (getutent_r, pututline): Likewise.
29356 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
29357 (getutid): Likewise.
29358 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
29359 (getutid_r): Likewise.
29360 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
29361 (getutline): Likewise.
29362 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
29363 (getutline_r): Likewise.
29364 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
29365 (updwtmp): Likewise.
29366
29367 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
29368
29369 [BZ #17848]
29370 * sysdeps/s390/s390-32/memcmp.S
29371 (memcmp_g5): Rename to __memcmp_g5.
29372 * sysdeps/s390/s390-32/memcpy.S
29373 (memcpy_g5): Rename to __memcpy_g5.
29374 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29375 (memcpy_mvcle) Rename to __memcpy_mvcle.
29376 * sysdeps/s390/s390-32/memset.S
29377 (memset_g5): Rename to __memset_g5.
29378 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29379 (IFUNC_RESOLVE): Prefix ifunc-resolve function
29380 and use prefixed functions.
29381 * sysdeps/s390/s390-32/multiarch/memcmp.S
29382 (memcmp_z196): Rename to __memcmp_z196.
29383 (memcmp_z10): Rename to __memcmp_z10.
29384 (memcmp): Set alias to __memcmp_g5.
29385 (bcmp): Set alias to __memcmp_g5.
29386 * sysdeps/s390/s390-32/multiarch/memcpy.S
29387 (memcpy_z196): Rename to __memcpy_z196.
29388 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29389 (memcpy_z10): Rename to __memcpy_z10.
29390 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29391 (memcpy): Set alias to __memcpy_g5.
29392 * sysdeps/s390/s390-32/multiarch/memset.S
29393 (memset_z196): Rename to __memset_z196.
29394 Jump to __memset_mvcle instead of memset_mvcle.
29395 (memset_z10): Rename to __memset_z10.
29396 Jump to __memset_mvcle instead of memset_mvcle.
29397 (memset_mvcle) Rename to __memset_mvcle.
29398 (memset): Set alias to __memset_g5.
29399 * sysdeps/s390/s390-64/memcmp.S
29400 (memcmp_z900): Rename to __memcmp_z900.
29401 * sysdeps/s390/s390-64/memcpy.S
29402 (memcpy_z900): Rename to __memcpy_z900.
29403 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29404 (memcpy_mvcle) Rename to __memcpy_mvcle.
29405 * sysdeps/s390/s390-64/memset.S
29406 (memset_z900): Rename to __memset_z900.
29407 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
29408 (IFUNC_RESOLVE): Prefix ifunc-resolve function
29409 and use prefixed functions.
29410 * sysdeps/s390/s390-64/multiarch/memcmp.S
29411 (memcmp_z196): Rename to __memcmp_z196.
29412 (memcmp_z10): Rename to __memcmp_z10.
29413 (memcmp): Set alias to __memcmp_z900.
29414 (bcmp): Set alias to __memcmp_z900.
29415 * sysdeps/s390/s390-64/multiarch/memcpy.S
29416 (memcpy_z196): Rename to __memcpy_z196.
29417 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29418 (memcpy_z10): Rename to __memcpy_z10.
29419 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29420 (memcpy): Set alias to __memcpy_z900.
29421 * sysdeps/s390/s390-64/multiarch/memset.S
29422 (memset_z196): Rename to __memset_z196.
29423 Jump to __memset_mvcle instead of memset_mvcle.
29424 (memset_z10): Rename to __memset_z10.
29425 Jump to __memset_mvcle instead of memset_mvcle.
29426 (memset_mvcle) Rename to __memset_mvcle.
29427 (memset): Set alias to __memset_z900.
29428
29429 2015-01-14 Joseph Myers <joseph@codesourcery.com>
29430
29431 [BZ #17748]
29432 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
29433 __fesetenv instead of fesetenv.
29434
29435 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29436
29437 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
29438 macro.
29439
29440 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29441
29442 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
29443 regression on LE.
29444
29445 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
29446 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
29447 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29448 strncmp-power8 object.
29449 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29450 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
29451 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
29452 * NEWS: Update.
29453
29454 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29455 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29456
29457 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
29458 trailing byte check.
29459
29460 2015-01-13 David S. Miller <davem@davemloft.net>
29461
29462 * include/signal.h (__sigreturn): Guard with __USE_MISC.
29463
29464 2015-01-13 Roland McGrath <roland@hack.frob.com>
29465
29466 * login/logout.c (logout): Use memset rather than bzero.
29467 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
29468 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
29469 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
29470 (_gethtbyaddr): Likewise.
29471 * locale/programs/simple-hash.c (bcopy): Macro removed.
29472
29473 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29474
29475 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29476 Add strcmp-power8 object.
29477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29478 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
29479 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
29480 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
29481 __strcmp_power8 implementation.
29482 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
29483 * NEWS: Update.
29484
29485 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29486 Add strncpy-power8 and stpncpy-power8 objects.
29487 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29488 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
29489 implementations.
29490 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
29491 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
29492 __stpncpy_power8 implementation.
29493 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
29494 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
29495 __strncpy_power8 implementation.
29496 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
29497 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
29498 * NEWS: Update.
29499
29500 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
29501 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
29502 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
29503
29504 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29505 strncat-power8 object.
29506 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
29507 __strcat_power8 implementation.
29508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29509 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
29510 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
29511 optimized strcat for power8.
29512
29513 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29514 strcpy-power8 and stpcpy-power8 objects.
29515 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29516 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
29517 implementations.
29518 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
29519 multiarch stpcpy implementation for POWER8.
29520 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
29521 multiarch strcpy implementation for POWER8.
29522 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
29523 __strcpy_power8 function.
29524 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
29525 stpcpy for POWER8.
29526 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
29527 strcpy for POWER8.
29528 * NEWS: Update.
29529
29530 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
29531
29532 [BZ #16009]
29533 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
29534 weights and rules. Use do_xfrm_cached if data fits in cache,
29535 do_xfrm otherwise. Moved former main loop to...
29536 * (do_xfrm_cached): New function.
29537 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
29538 find_idx, find_position and stack_push.
29539 * (find_idx): New function.
29540 * (find_position): Likewise.
29541 * localedata/sort-test.sh: Added test run for do_xfrm.
29542 * localedata/xfrm-test.c (main): Added command line option
29543 -nocache to run the test with strings that are too large for
29544 the STRXFRM cache.
29545
29546 2015-01-13 Torvald Riegel <triegel@redhat.com>
29547
29548 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
29549 variable to lll_futex_wake call, not the value itself.
29550
29551 2015-01-12 Joseph Myers <joseph@codesourcery.com>
29552
29553 [BZ #17803]
29554 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
29555 twom64. Adjust value to 0x1p-64L.
29556 (__scalblnl): Only return standard underflowing result for K <=
29557 -64 not K <= -63; adjust exponent for underflowing result by 64
29558 not 63.
29559 * math/libm-test.inc (scalbn_test_data): Add more tests.
29560 (scalbln_test_data): Likewise.
29561
29562 [BZ #17834]
29563 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
29564 0x1p63L.
29565 (__scalblnl): Get new exponent of adjusted subnormal value from ES
29566 not HX.
29567 * math/libm-test.inc (scalbn_test_data): Add more tests.
29568 (scalbln_test_data): Likewise.
29569
29570 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29571 Stefani Seibold <stefani@seibold.net>
29572
29573 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
29574 (sysdep_routines): Add dl-vdso here, ...
29575 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
29576 (sysdep_routines): ... not here.
29577 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
29578 fallback when vDSO is not presented.
29579 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
29580 Define with libc_hidden_proto/libc_hidden_data_def definitions.
29581 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
29582 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
29583 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
29584 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
29585 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
29586 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
29587 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
29588 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
29589 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
29590 fallback configurable symbol when vDSO is not available.
29591 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
29592 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
29593 be able to redefine fallback symbol when vDSO is not available.
29594 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
29595 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
29596
29597 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29598
29599 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
29600 (TLS_INIT_TP): Add tm_capable initialization.
29601 (TLS_DEFINE_INIT_TP): Likewise.
29602 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
29603 TCB.
29604 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
29605 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
29606 calculation.
29607 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
29608 transactoion is lock elision is built and TCB tm_capable is set.
29609 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
29610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29611 (INTERNAL_SYSCALL_NCS): Likewise.
29612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29613 (INTERNAL_SYSCALL_NCS): Likewise.
29614 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
29615
29616 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
29617 for powerpc.
29618 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29619 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
29620 and remove it for 32 bits case.
29621 [pthread_rwlock_t] (__rwelision): New field for lock elision.
29622 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
29623 initialization.
29624 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
29625 Disable lock elision with rdlocks if elision is not available.
29626
29627 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
29628 (sysdep_routines): Add lock elision objects.
29629 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29630 [pthread_mutex_t] (__spins): Rework to add lock elision field.
29631 [pthread_mutex_t] (__elision): Add field.
29632 [__PTHREAD_SPINS]: Adjust to init lock elision field.
29633 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
29634 elision definitions for powerpc.
29635 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
29636 implementation of lock elision for powerpc.
29637 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
29638 implementation of timed lock elision for powerpc.
29639 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
29640 implementation of trylock with lock elision for powerpc.
29641 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
29642 implementaion of unlock for lock elision for powerpc.
29643 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
29644 automatic enable lock elision for mutexes.
29645 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
29646 transaction execution definitions for powerpc.
29647 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
29648 definitions.
29649 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
29650 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
29651 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
29652 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
29653 * NEWS: Update.
29654
29655 2015-01-09 Roland McGrath <roland@hack.frob.com>
29656
29657 * sysdeps/posix/shm-directory.c: Use <> rather than ""
29658 for #include of <shm-directory.h>.
29659
29660 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
29661
29662 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
29663 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
29664
29665 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
29666
29667 [BZ #17791]
29668 * NEWS: Mention bug fix.
29669 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
29670 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
29671 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
29672
29673 2015-01-09 Torvald Riegel <triegel@redhat.com>
29674
29675 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
29676
29677 2015-01-09 Torvald Riegel <triegel@redhat.com>
29678
29679 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
29680
29681 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
29682
29683 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
29684 pointer and cast to uintptr_t.
29685
29686 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
29687
29688 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
29689 removed.
29690 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
29691
29692 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
29693
29694 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
29695 of 0.
29696
29697 2015-01-08 Roland McGrath <roland@hack.frob.com>
29698
29699 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
29700 <nptl/pthreadP.h> instead.
29701 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
29702
29703 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
29704 already defined.
29705 [__SIGRTMIN] (init): Function removed.
29706 [__SIGRTMIN] (initialized): Variable removed.
29707 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
29708 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
29709 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
29710 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
29711 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
29712 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
29713 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
29714 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
29715 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
29716 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
29717 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
29718 * sysdeps/nptl/allocrtsig.c: New file.
29719 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
29720 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
29721 * sysdeps/generic/testrtsig.h: File removed.
29722
29723 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
29724 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
29725
29726 * nptl/nptl-init.c (pthread_functions): Conditionalize
29727 .ptr__nptl_setxid initialization on [SIGSETXID].
29728
29729 * sysdeps/nptl/sys/procfs.h: New file.
29730 * nptl_db/Makefile (headers): Add it.
29731 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
29732
29733 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
29734 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
29735 * nptl/pthread_attr_setaffinity.c: Include it.
29736 * nptl/pthread_setattr_default_np.c: Likewise.
29737 * nptl/check-cpuset.h: New file.
29738
29739 2015-01-08 Richard Henderson <rth@redhat.com>
29740
29741 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
29742 (CFLAGS-tst-execstack-prog.c): Likewise.
29743 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
29744
29745 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
29746 Sandra Loosemore <sandra@codesourcery.com>
29747 Andrew Jenner <andrew@codesourcery.com>
29748 Joseph Myers <joseph@codesourcery.com>
29749 Nathan Sidwell <nathan@codesourcery.com>
29750
29751 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
29752 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
29753 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
29754 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
29755 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
29756 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
29757 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
29758 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
29759 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
29760 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
29761 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
29762 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
29763 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
29764 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
29765 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
29766 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
29767 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
29768
29769 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29770
29771 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
29772 timespec struct member in syscall macro.
29773 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29774 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
29775 first timeval struct member in syscall macro.
29776 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
29777
29778 2015-01-07 Joseph Myers <joseph@codesourcery.com>
29779
29780 [BZ #17748]
29781 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
29782 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
29783 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
29784 __feupdateenv and define as weak alias of __feupdateenv. Use
29785 libm_hidden_weak.
29786 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
29787 libm_hidden_def.
29788 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
29789 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
29790 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
29791 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
29792 libm_hidden_def.
29793 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
29794 __feupdateenv and define as weak alias of __feupdateenv. Use
29795 libm_hidden_weak.
29796 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
29797 libm_hidden_def.
29798 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
29799 __feupdateenv and define as weak alias of __feupdateenv. Use
29800 libm_hidden_weak.
29801 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
29802 libm_hidden_def.
29803 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29804 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
29805 (__feupdateenv): Likewise.
29806 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
29807 __feupdateenv and define as weak alias of __feupdateenv. Use
29808 libm_hidden_weak.
29809 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29810 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
29811 libm_hidden_def.
29812 * sysdeps/tile/math_private.h (__feupdateenv): New inline
29813 function.
29814 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
29815 libm_hidden_def.
29816 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
29817 __feupdateenv instead of feupdateenv.
29818 (default_libc_feupdateenv_test): Likewise.
29819 (libc_feresetround_ctx): Likewise.
29820
29821 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29822
29823 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
29824 prototype.
29825
29826 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
29827
29828 * posix/regcomp.c (parse_bracket_exp): Initialize type to
29829 COLL_SYM in a couple of places to avoid uninitialized variable
29830 wanings on tilegx gcc 4.8.2.
29831
29832 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
29833
29834 * sysdeps/aarch64/strcpy.S: New file.
29835 * sysdeps/aarch64/stpcpy.S: New file.
29836 * NEWS: Updated.
29837
29838 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
29839
29840 * sysdeps/aarch64/strrchr.S: New file.
29841 * NEWS: Updated.
29842
29843 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
29844
29845 [BZ #17658]
29846 * stdlib/setenv.c: Fix memory leak when setting large,
29847 duplicate string.
29848
29849 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
29850
29851 [BZ #17273]
29852 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
29853 and tabs from buffer before parsing fstab entry.
29854 * misc/tst-mntent.c (main): Add test for mount entry with
29855 trailing spaces and tabs.
29856
29857 2015-01-06 Joseph Myers <joseph@codesourcery.com>
29858
29859 [BZ #17748]
29860 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
29861 * math/fesetround.c (fesetround): Rename to __fesetround and
29862 define as weak alias of __fesetround. Use libm_hidden_weak.
29863 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
29864 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
29865 * sysdeps/arm/fesetround.c (fesetround): Likewise.
29866 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
29867 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
29868 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
29869 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
29870 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
29871 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
29872 __fesetround_inline.
29873 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
29874 __fesetround_inline instead of __fesetround.
29875 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
29876 __fesetround and define as weak alias of __fesetround. Use
29877 libm_hidden_weak. Call __fesetround_inline instead of
29878 __fesetround.
29879 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
29880 __fesetround and define as weak alias of __fesetround. Use
29881 libm_hidden_weak.
29882 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
29883 Likewise.
29884 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
29885 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29886 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
29887 * sysdeps/tile/math_private.h (__fesetround): New inline function.
29888 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
29889 __fesetround and define as weak alias of __fesetround. Use
29890 libm_hidden_weak.
29891 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
29892 __fesetround instead of fesetround.
29893 (default_libc_feholdexcept_setround): Likewise.
29894 (libc_feholdsetround_ctx): Likewise.
29895 (libc_feholdsetround_noex_ctx): Likewise.
29896
29897 [BZ #17748]
29898 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
29899 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
29900 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
29901 and define as weak alias of __fesetenv. Use libm_hidden_weak.
29902 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29903 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
29904 define as weak alias of __fesetenv. Use libm_hidden_weak.
29905 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
29906 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29907 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29908 define as weak alias of __fesetenv. Use libm_hidden_weak.
29909 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29910 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29911 define as weak alias of __fesetenv. Use libm_hidden_weak.
29912 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
29913 libm_hidden_def.
29914 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
29915 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
29916 Likewise.
29917 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29918 define as weak alias of __fesetenv. Use libm_hidden_weak.
29919 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29920 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29921 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
29922 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
29923 and define as weak alias of __fesetenv. Use libm_hidden_weak.
29924 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
29925 __fesetenv instead of fesetenv.
29926 (libc_feresetround_noex_ctx): Likewise.
29927 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
29928 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
29929 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
29930 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
29931 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
29932 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
29933 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29934 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
29935 (__feupdateenv): Likewise.
29936 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29937 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29938 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29939 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
29940
29941 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
29942
29943 [BZ #17806]
29944 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
29945 addresses have been freed.
29946
29947 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
29948
29949 * resolv/res_init.c (__res_vinit): Improve comments about nserv
29950 and nservall.
29951
29952 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
29953
29954 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
29955 Clean up check_pf allocation pattern. addresses
29956
29957 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29958
29959 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
29960 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
29961 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
29962 * nptl/pthread_exit.c (__pthread_exit): Likewise.
29963 * nptl/pthread_join.c (pthread_join): Likewise.
29964 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
29965 * sysdeps/posix/waitid.c (__waitid): Likewise.
29966 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
29967 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
29968 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
29969 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
29970 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
29971 Likewise.
29972 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
29973 (__libc_pread64): Likewise.
29974 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
29975 (__libc_pwrite): Likewise.
29976 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
29977 (__libc_pwrite64): Likewsie.
29978 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
29979 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
29980 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
29981 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
29982 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
29983 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
29984 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
29985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
29986 Likewise.
29987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29988 (__libc_pread64): Likewise.
29989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
29990 Likewise.
29991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29992 (__libc_pwrite64): Likewise.
29993 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
29994 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
29995 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
29996 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
29997 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
29998 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
29999 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
30000 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30001 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30002 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30003 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
30004 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30005 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30006 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
30007 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30008 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30009 Likewise.
30010
30011 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
30012
30013 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
30014 (CFLAGS-test-double.c): Likewise.
30015 (CFLAGS-test-ldouble.c): Likewise.
30016 (CPPFLAGS-test-ifloat.c): Likewise.
30017 (CPPFLAGS-test-idouble.c): Likewise.
30018 (CPPFLAGS-test-ildoubl.c): Likewise.
30019 (CFLAGS-test-test-fenv.c): Remove variable.
30020 (CFLAGS-test-misc.c): Likewise.
30021
30022 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
30023
30024 [BZ #17797]
30025 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
30026 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
30027 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
30028 CLOCKS_PER_SEC == 1000000.
30029 * time/clocktest.c (main): Replace %ld with %jd and cast to
30030 intmax_t.
30031
30032 2015-01-05 Roland McGrath <roland@hack.frob.com>
30033
30034 * sysdeps/generic/unwind-resume.h: New file.
30035 * sysdeps/gnu/unwind-resume.c: Include it.
30036 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
30037 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
30038 argument list.
30039 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
30040 global rather than static.
30041 (_Unwind_Resume): Update user.
30042 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
30043 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
30044 rather than static. Add __attribute__ ((cold)).
30045 (_Unwind_Resume, __gcc_personality_v0): Update callers.
30046 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
30047 * sysdeps/arm/arm-unwind-resume.S: New file.
30048 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
30049 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
30050 * sysdeps/arm/Makefile [$(subdir) = csu]
30051 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
30052 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
30053 Add rt-arm-unwind-resume.
30054 [$(subdir) = nptl]
30055 (libpthread-sysdep_routines, libpthread-shared-only-routines):
30056 Add pt-arm-unwind-resume.
30057 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
30058 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
30059
30060 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30061
30062 [BZ #17748]
30063 * include/fenv.h (__feholdexcept): Declare. Use
30064 libm_hidden_proto.
30065 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
30066 define as weak alias of __feholdexcept. Use libm_hidden_weak.
30067 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30068 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
30069 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
30070 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
30071 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
30072 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30073 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
30074 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
30075 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30076 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
30077 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
30078 (feholdexcept): Likewise.
30079 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30080 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30081 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30082 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30083 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
30084 __feholdexcept instead of feholdexcept.
30085 (default_libc_feholdexcept_setround): Likewise.
30086
30087 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30088
30089 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
30090 to avoid using stl/str to align destination.
30091
30092 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30093
30094 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
30095
30096 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30097
30098 [BZ #17796]
30099 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
30100 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
30101 Define as weak alias not strong alias.
30102
30103 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30104
30105 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
30106 bltzal with addiupc.
30107 (RTLD_START): Ditto.
30108
30109 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
30110
30111 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
30112 for __vdso_* functions in declarations.
30113 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
30114 definitions.
30115 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
30116 INTERNAL_VSYSCALL): Use struct return types to check for error.
30117
30118 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
30119 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
30120 function with cast from llround().
30121 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
30122 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30123 Define.
30124
30125 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30126
30127 [BZ #17793]
30128 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
30129 Define as weak alias not strong alias.
30130
30131 [BZ #17635]
30132 * ctype/ctype-c99.c: New file. isblank implementation moved from
30133 ...
30134 * ctype/ctype-extn.c: ... here.
30135 (__isblank_l): Move to ...
30136 * ctype/ctype-c99_l.c: ... here. New file.
30137 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
30138 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
30139 Remove variable.
30140 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30141 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30142 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30143 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
30144 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30145
30146 [BZ #17777]
30147 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
30148 (posix_fadvise64): Define as weak alias not strong alias.
30149 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30150 (posix_fallocate64): Likewise.
30151 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
30152 Remove variable.
30153 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
30154 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
30155 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
30156 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
30157 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
30158
30159 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
30160
30161 [BZ #16191]
30162 * NEWS: Mention bug fix.
30163 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
30164 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
30165 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
30166 (HOST_STACK_END_ADDR): Likewise.
30167
30168 2015-01-02 Joseph Myers <joseph@codesourcery.com>
30169
30170 [BZ #17748]
30171 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
30172 * math/fegetround.c (fegetround): Rename to __fegetround and
30173 define as weak alias of __fegetround. Use libm_hidden_weak.
30174 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
30175 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
30176 * sysdeps/arm/fegetround.c (fegetround): Likewise.
30177 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
30178 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30179 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
30180 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
30181 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
30182 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30183 Undefine after rather than before function definition; use
30184 parentheses around function name in definition.
30185 (__fegetround): Also undefine macro after function definition.
30186 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
30187 __fegetround and define as weak alias of __fegetround. Use
30188 libm_hidden_weak. Do not undefine as macro.
30189 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30190 Likewise.
30191 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
30192 __fegetround and define as weak alias of __fegetround. Use
30193 libm_hidden_weak.
30194 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30195 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30196 * sysdeps/tile/math_private.h (__fegetround): New inline function.
30197 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
30198 __fegetround and define as weak alias of __fegetround. Use
30199 libm_hidden_weak.
30200 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
30201 __fegetround instead of fegetround.
30202
30203 [BZ #17782]
30204 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
30205 Condition macro definition on [__USE_MISC].
30206
30207 [BZ #17781]
30208 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30209 (struct sigaction): Change type of sa_flags field to int.
30210
30211 [BZ #17780]
30212 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
30213 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
30214 __glibc_reserved0.
30215
30216 * nptl/version.c (banner): Use single year in copyright notice.
30217
30218 * NEWS: Update copyright dates.
30219 * catgets/gencat.c (print_version): Likewise.
30220 * csu/version.c (banner): Likewise.
30221 * debug/catchsegv.sh: Likewise.
30222 * debug/pcprofiledump.c (print_version): Likewise.
30223 * debug/xtrace.sh (do_version): Likewise.
30224 * elf/ldconfig.c (print_version): Likewise.
30225 * elf/ldd.bash.in: Likewise.
30226 * elf/pldd.c (print_version): Likewise.
30227 * elf/sotruss.sh: Likewise.
30228 * elf/sprof.c (print_version): Likewise.
30229 * iconv/iconv_prog.c (print_version): Likewise.
30230 * iconv/iconvconfig.c (print_version): Likewise.
30231 * locale/programs/locale.c (print_version): Likewise.
30232 * locale/programs/localedef.c (print_version): Likewise.
30233 * login/programs/pt_chown.c (print_version): Likewise.
30234 * malloc/memusage.sh (do_version): Likewise.
30235 * malloc/memusagestat.c (print_version): Likewise.
30236 * malloc/mtrace.pl: Likewise.
30237 * manual/libc.texinfo: Likewise.
30238 * nptl/version.c (banner): Likewise.
30239 * nscd/nscd.c (print_version): Likewise.
30240 * nss/getent.c (print_version): Likewise.
30241 * nss/makedb.c (print_version): Likewise.
30242 * posix/getconf.c (main): Likewise.
30243 * scripts/test-installation.pl: Likewise.
30244 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
30245
30246 2015-01-02 Will Newton <will.newton@linaro.org>
30247
30248 * sysdeps/arm/armv7/configure: Removed.
30249 * sysdeps/arm/armv7/configure.ac: Likewise.
30250
30251 2015-01-02 Joseph Myers <joseph@codesourcery.com>
30252
30253 * All files with FSF copyright notices: Update copyright dates
30254 using scripts/update-copyrights.
30255 * intl/plural.c: Regenerated.
30256 * locale/programs/charmap-kw.h: Likewise.
30257 * locale/programs/locfile-kw.h: Likewise.
30258
30259 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30260
30261 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
30262
30263 2014-12-31 Joseph Myers <joseph@codesourcery.com>
30264
30265 [BZ #17748]
30266 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
30267 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
30268 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30269 and define as weak alias of __fegetenv. Use libm_hidden_weak.
30270 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30271 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
30272 define as weak alias of __fegetenv. Use libm_hidden_weak.
30273 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
30274 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30275 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30276 define as weak alias of __fegetenv. Use libm_hidden_weak.
30277 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30278 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30279 define as weak alias of __fegetenv. Use libm_hidden_weak.
30280 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
30281 libm_hidden_def.
30282 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
30283 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
30284 Likewise.
30285 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30286 define as weak alias of __fegetenv. Use libm_hidden_weak.
30287 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30288 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30289 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
30290 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30291 and define as weak alias of __fegetenv. Use libm_hidden_weak.
30292 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
30293 __fegetenv instead of fegetenv.
30294 (libc_feholdsetround_noex_ctx): Likewise.
30295
30296 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
30297
30298 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
30299 (Elf_MIPS_ABIFlags_v0): New structure.
30300 (EF_MIPS_FP64): Define.
30301 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
30302 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
30303 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
30304 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
30305 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
30306 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
30307 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
30308 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
30309 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
30310 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
30311 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
30312 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
30313 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
30314 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
30315 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
30316 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
30317 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
30318 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
30319 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
30320 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
30321 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
30322 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
30323 field.
30324 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
30325 EF_MIPS_FP64.
30326 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
30327 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
30328 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
30329 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
30330 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
30331 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
30332 * sysdeps/mips/tst-abi-interlink.c: Likewise.
30333 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
30334 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
30335 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
30336 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
30337 record the current FP ABI extension.
30338 (mips-mode-switch): Define to show if kernel headers support mode
30339 switching.
30340 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
30341 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
30342 supported SYSV ABI version to 3.
30343 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
30344 feature.
30345
30346 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30347 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30348
30349 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
30350 path.
30351 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
30352
30353 2014-12-31 Joseph Myers <joseph@codesourcery.com>
30354
30355 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
30356 __fegetround and redefine to call __fegetround. Remove condition
30357 on [!__NO_MATH_INLINES].
30358 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
30359 function.
30360 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
30361 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30362 Remove macro.
30363 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
30364 instead of <fenv_libc.h>.
30365 (__llrintl): Call fegetround instead of __fegetround.
30366 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
30367 instead of <fenv_libc.h>.
30368 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30369 (__lrintl): Call fegetround instead of __fegetround.
30370 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
30371 instead of <fenv_libc.h>.
30372 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30373 (__rintl): Call fegetround instead of __fegetround.
30374
30375 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30376
30377 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
30378 arrays.
30379
30380 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
30381
30382 [BZ #17775]
30383 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
30384 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
30385 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
30386
30387 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
30388
30389 * sysdeps/i386/tls-macros.h: Include <features.h>.
30390 (TLS_LE): Use non-PIC version for GCC >= 5.0.
30391 (TLS_IE): Likewise.
30392 (TLS_LD): Likewise.
30393 (TLS_GD): Likewise.
30394 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
30395 define for GCC >= 5.0.
30396
30397 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
30398
30399 * math/test-fenv.c (test_single_exception, set_single_exc,
30400 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
30401 feexcp_mask_test, feenable_test, fe_single_test): Add
30402 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
30403 case where they are not used.
30404 * math/libm-test.inc: Likewise.
30405 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
30406 unused in the absence of FP rounding/exception support.
30407 * stdio-common/tst-printf-round.c: Likewise.
30408 * stdlib/tst-strtod-round.c: Likewise.
30409 * stdlib/tst-strtod-underflow.c: Likewise.
30410
30411 2014-12-30 Joseph Myers <joseph@codesourcery.com>
30412
30413 [BZ #17723]
30414 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
30415 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
30416 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30417 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30418 libm_hidden_weak.
30419 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
30420 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
30421 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
30422 libm_hidden_def.
30423 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30424 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30425 libm_hidden_weak.
30426 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
30427 Likewise.
30428 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
30429 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30430 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30431 libm_hidden_weak.
30432 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
30433 libm_hidden_def.
30434 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30435 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
30436 (__feraiseexcept): Likewise.
30437 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30438 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30439 libm_hidden_weak.
30440 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
30441 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
30442 libm_hidden_def.
30443 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
30444 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
30445 Use libm_hidden_def.
30446 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
30447 libm_hidden_def.
30448 (feraiseexcept): Define as weak not strong alias. Use
30449 libm_hidden_weak.
30450 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
30451 New inline function. Factored out of ...
30452 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
30453 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
30454 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
30455 feraiseexcept.
30456 * math/w_acos.c (__acos): Likewise.
30457 * math/w_asin.c (__asin): Likewise.
30458 * math/w_ilogb.c (__ilogb): Likewise.
30459 * math/w_j0.c (y0): Likewise.
30460 * math/w_j1.c (y1): Likewise.
30461 * math/w_jn.c (yn): Likewise.
30462 * math/w_log.c (__log): Likewise.
30463 * math/w_log10.c (__log10): Likewise.
30464 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
30465 * sysdeps/aarch64/fpu/math_private.h
30466 (libc_feupdateenv_test_aarch64): Likewise.
30467 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
30468 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
30469 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
30470 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
30471 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
30472 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
30473 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
30474 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30475 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30476 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30477
30478 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
30479
30480 [BZ #17732]
30481 * io/test-utime.c (main): Replace %ld with %jd and cast to
30482 intmax_t.
30483 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
30484 * nptl/tst-mutex5.c: Include <stdint.h>.
30485 (do_test): Replace %ld with %jd and cast to intmax_t.
30486 * posix/tst-regex.c (run_test): Likewise.
30487 (run_test_backwards): Likewise.
30488 * rt/tst-clock.c: Include <stdint.h>.
30489 (clock_test): Replace %ld with %jd and cast to intmax_t.
30490 * rt/tst-cpuclock1.c: Include <stdint.h>.
30491 (do_test): Replace %lu with %ju and cast to uintmax_t.
30492 * rt/tst-cpuclock2.c: Include <stdint.h>.
30493 (do_test): Replace %lu with %ju and cast to uintmax_t.
30494 * rt/tst-mqueue1.c: Include <stdint.h>.
30495 (check_attrs): Replace %ld with %jd and cast to intmax_t.
30496 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
30497 intmax_t.
30498 * rt/tst-mqueue4.c (do_test): Likewise.
30499 * rt/tst-timer4.c: Include <stdint.h>.
30500 (check_ts): Replace %ld with %jd and cast to intmax_t.
30501 (do_test): Likewise.
30502 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
30503 and cast to intmax_t.
30504 * sysdeps/pthread/tst-timer.c (main): Likewise.
30505 * time/clocktest.c (main): Likewise.
30506 * time/tst-posixtz.c (do_test): Likewise.
30507 * timezone/tst-timezone.c (main): Likewise.
30508
30509 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
30510 H.J. Lu <hongjiu.lu@intel.com>
30511
30512 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
30513 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
30514 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
30515 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
30516 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
30517 version if bit_Fast_Unaligned_Load is set.
30518 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30519 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30520 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30521 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30522 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30523 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30524 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30525 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
30526 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
30527 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
30528 to 4.
30529 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
30530 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
30531 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
30532 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
30533
30534 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
30535
30536 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
30537 instead of #if to avoid a Wundef warning.
30538 * stdlib/tst-limits.c (do_test): Likewise.
30539
30540 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
30541 parallel other exception macros.
30542 (fegetenv): Convert from macro to extern inline so that it applies
30543 retroactively to inline functions already seen by the compiler.
30544 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
30545
30546 * posix/Makefile (before-compile): Use $(objpfx) for
30547 posix-conf-vars-def.h.
30548
30549 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30550
30551 * posix/getconf.c (main): Use size_t for type of I.
30552 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
30553 NSPEC.
30554
30555 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
30556 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
30557 * posix/posix-envs.def: Likewise.
30558 * sysdeps/posix/sysconf.c: Likewise.
30559 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
30560 (specs): Remove array.
30561 * scripts/gen-posix-conf-vars.awk: Support generation of specs
30562 array.
30563
30564 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
30565 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
30566 (__sysconf): Use CONF_IS_* macros.
30567
30568 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
30569 ($(objpfx)posix-conf-vars-def.h): New target.
30570 * posix/posix-conf-vars.list: New file.
30571 * posix/posix-conf-vars.h: New file.
30572 * posix/confstr.c: Include posix-conf-vars.h.
30573 (confstr): Use CONF_IS_* macros.
30574 * posix/posix-envs.def: Include posix-conf-vars.h. Use
30575 CONF_IS_* macros.
30576 * scripts/gen-posix-conf-vars.awk: New file.
30577
30578 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
30579
30580 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
30581 fegetround): Add no-op macros to avoid linknamespace issues.
30582
30583 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
30584 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
30585
30586 * sysdeps/unix/sysv/linux/tile/sysdep.h
30587 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
30588 assembly-specific section to avoid a redefinition warning.
30589
30590 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
30591 long before casting to pointer to avoid a cast warning.
30592
30593 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
30594
30595 * sysdeps/tile/tilegx/Implies: New file.
30596
30597 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
30598
30599 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
30600
30601 2014-12-23 Florian Weimer <fweimer@redhat.com>
30602
30603 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
30604
30605 2014-12-22 Joseph Myers <joseph@codesourcery.com>
30606
30607 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
30608 not define.
30609 * sysdeps/unix/sysv/linux/utimes.c: Do not include
30610 <kernel-features.h>.
30611 (__utimes) [__NR_utimes]: Make code unconditional.
30612 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
30613 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30614 (__ASSUME_UTIMES): Do not undefine.
30615 * sysdeps/unix/sysv/linux/tile/kernel-features.h
30616 (__ASSUME_UTIMES): Likewise.
30617 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30618 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
30619 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
30620 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
30621
30622 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
30623
30624 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
30625
30626 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
30627
30628 [BZ #17747]
30629 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
30630 alias to weak alias for j0l, y0l.
30631 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
30632 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
30633
30634 [BZ #17746]
30635 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
30636 conversion.
30637
30638 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
30639
30640 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
30641 to zero if not already defined.
30642
30643 2014-12-22 Joseph Myers <joseph@codesourcery.com>
30644
30645 [BZ #17724]
30646 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
30647 (__kernel_standard_f): Remove. Moved to k_standardf.c.
30648 (__kernel_standard_l): Remove. Moved to k_standardl.c with
30649 (char *) casts added.
30650 * sysdeps/ieee754/k_standardf.c: New file.
30651 * sysdeps/ieee754/k_standardl.c: Likewise.
30652 * math/Makefile (libm-support): Remove k_standard.
30653 (libm-calls): Add k_standard.
30654
30655 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
30656
30657 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30658 Optimize to avoid an unnecessary FPCR read.
30659
30660 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
30661
30662 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
30663 Optimize to reduce FPCR/FPSR accesses.
30664
30665 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
30666
30667 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
30668 Call libc_fetestexcept_aarch64.
30669
30670 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
30671
30672 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
30673 Call libc_fesetround_aarch64.
30674
30675 2014-12-22 Joseph Myers <joseph@codesourcery.com>
30676
30677 [BZ #17733]
30678 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
30679 (__bind): Do not define as weak alias.
30680 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
30681 define.
30682 (__getsockname): Do not define as weak alias.
30683
30684 2014-12-22 Will Newton <will.newton@linaro.org>
30685
30686 * manual/install.texi: Document that we require bison 2.7
30687 or above.
30688 * INSTALL: Regenerate.
30689 * configure.ac: Use AC_CHECK_PROG_VER instead of
30690 AC_PATH_PROG when checking for bison and check for
30691 version 2.7 or above.
30692 * configure: Regenerate.
30693
30694 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
30695
30696 [BZ #17745]
30697 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
30698 * sysdeps/tile/ffsll.c (ffsll): To here.
30699
30700 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
30701
30702 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
30703
30704 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
30705 if not defined.
30706 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
30707 definition.
30708 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
30709 hidden ___tls_get_addr.
30710 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
30711 hidden __tls_get_addr.
30712 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
30713 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
30714 Likewise.
30715
30716 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
30717
30718 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
30719 _dl_init call.
30720
30721 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
30722
30723 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
30724 from "call _dl_init@PLT".
30725 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
30726
30727 2014-12-21 Anders Kaseorg <andersk@mit.edu>
30728
30729 * manual/search.texi: (Array Sort Function): Clarify stable sorting
30730 guarantees.
30731
30732 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
30733
30734 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
30735
30736 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
30737
30738 [BZ #17744]
30739 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
30740 strnlen.
30741
30742 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
30743
30744 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
30745 of multu on MIPSr6.
30746 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
30747 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
30748 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
30749 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
30750 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
30751
30752 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
30753
30754 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
30755 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
30756 (PTR_SUBU): Use subu for mips32r6/mips64r6.
30757 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
30758 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
30759 mips32r6/mips64r6.
30760 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
30761
30762 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
30763
30764 * string/strncat.c (STRNCAT): Simplify implementation.
30765
30766 2014-12-19 David S. Miller <davem@davemloft.net>
30767
30768 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
30769 access the quad as both a long double and as a series of 4 words.
30770
30771 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
30772 link_map->l_info array access.
30773
30774 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
30775
30776 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
30777
30778 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
30779 * math/atest-exp2.c (TIMEOUT): Likewise.
30780 * math/atest-sincos.c (TIMEOUT): Likewise.
30781
30782 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
30783
30784 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
30785 -Wno-error with -fno-builtin-lround.
30786
30787 2014-12-19 Torvald Riegel <triegel@redhat.com>
30788
30789 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
30790 Contains futex constants and functions moved over from ...
30791 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
30792 <lowlevellock-futex.h>.
30793 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
30794 (lll_timedwait_tid): Add comments and parentheses around macro
30795 arguments.
30796
30797 2014-12-19 Torvald Riegel <triegel@redhat.com>
30798
30799 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
30800 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
30801 (__lll_private_flag): Remove.
30802 (lll_futex_wait): Likewise.
30803 (lll_futex_timed_wait): Likewise.
30804 (lll_futex_wake): Likewise.
30805 (lll_futex_requeue): Likewise.
30806 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
30807 (__lll_timedwait_tid): Spell out argument names.
30808 (lll_timedwait_tid): Add comments and parentheses around macro
30809 arguments.
30810 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
30811 LLL_SHARED and LLL_PRIVATE usable from assembly code.
30812
30813 2014-12-19 Torvald Riegel <triegel@redhat.com>
30814
30815 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
30816 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
30817 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30818 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
30819 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
30820 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
30821 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
30822 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
30823 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
30824 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
30825 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
30826 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
30827 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
30828 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
30829 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
30830 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
30831 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
30832 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
30833 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
30834
30835 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
30836
30837 * sysdeps/x86_64/x32/Makefile: New file.
30838
30839 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
30840
30841 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
30842 1L with (mp_limb_t) 1.
30843
30844 2014-12-17 Roland McGrath <roland@hack.frob.com>
30845
30846 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
30847 * nptl/libc_pthread_init.c: ... here.
30848 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
30849 * nptl/register-atfork.c: ... here.
30850
30851 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
30852 Use pthread_sigmask rather than INTERNAL_SYSCALL.
30853 Use assert_perror to check its return value.
30854 (__gai_create_helper_thread): Likewise.
30855
30856 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
30857
30858 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
30859
30860 2014-12-17 Joseph Myers <joseph@codesourcery.com>
30861
30862 [BZ #17725]
30863 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
30864 __profil_counter.
30865 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
30866 Likewise.
30867 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
30868 Likewise.
30869 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
30870 Likewise.
30871 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
30872 (profil_counter): Likewise.
30873 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
30874 (profil_counter): Likewise.
30875 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
30876 Likewise.
30877 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
30878 Likewise.
30879 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
30880 (profil_counter): Likewise.
30881 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
30882 Likewise.
30883 [!__profil_counter] (profil_counter): Define as weak alias of
30884 __profil_counter.
30885 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
30886 (profil_counter): Rename to __profil_counter.
30887 [!__profil_counter] (profil_counter): Define as weak alias of
30888 __profil_counter.
30889 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
30890 (profil_counter): Rename to __profil_counter.
30891 [!__profil_counter] (profil_counter): Define as weak alias of
30892 __profil_counter.
30893 * sysdeps/posix/profil.c: Update comment referring to
30894 profil_counter.
30895 (__profil): Use __profil_counter instead of profil_counter.
30896 * sysdeps/posix/sprofil.c (profil_counter): Rename to
30897 __profil_counter. Use __profil_counter_ushort and
30898 __profil_counter_uint in definitions.
30899 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
30900 instead of profil_counter_uint and profil_counter_ushort.
30901
30902 [BZ #17722]
30903 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
30904 define as weak alias of __inet_makeaddr.
30905 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
30906 as weak alias of __inet_addr.
30907 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
30908 as weak alias of __inet_pton. Use libc_hidden_weak.
30909 * include/arpa/inet.h (__inet_pton): Declare. Use
30910 libc_hidden_proto.
30911 (inet_makeaddr): Don't use libc_hidden_proto.
30912 (__inet_makeaddr): Declare. Use libc_hidden_proto.
30913 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
30914 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
30915 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
30916 Remove variable.
30917 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
30918 (test-xfail-POSIX/time.h/linknamespace): Likewise.
30919
30920 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
30921
30922 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
30923
30924 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
30925
30926 * stdio-common/bug-vfprintf-nargs.c (do_test):
30927 Cast value to intptr_t to avoid format warning
30928 for usage with PRIdPTR printing macro.
30929
30930 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
30931
30932 * libio/tst-widetext.c (do_test):
30933 Use format type %td instead of %Zd for ptrdiff_t
30934 in order to avoid format warning.
30935
30936 2014-12-17 Andreas Schwab <schwab@suse.de>
30937
30938 * nscd/mem.c (gc): Add size_t cast to match printf format.
30939
30940 2014-12-16 Roland McGrath <roland@hack.frob.com>
30941
30942 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
30943 (init): Apply PTR_MANGLE to pointers before storing them.
30944 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
30945 before using them.
30946
30947 2014-12-16 Joseph Myers <joseph@codesourcery.com>
30948
30949 [BZ #17719]
30950 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
30951 define as weak alias of __memrchr.
30952 (__memrchr): Do not define as strong alias of memrchr.
30953 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
30954 Remove variable.
30955 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
30956 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
30957 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
30958
30959 [BZ #17717]
30960 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
30961 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
30962 (if_indextoname): Rename to __if_indextoname and define as weak
30963 alias of __if_indextoname. Use libc_hidden_weak.
30964 (if_freenameindex): Rename to __if_freenameindex and define as
30965 weak alias of __if_freenameindex.
30966 (if_nameindex): Rename to __if_nameindex and define as weak alias
30967 of __if_nameindex.
30968 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
30969 __if_nametoindex and define as weak alias of __if_nametoindex.
30970 Use libc_hidden_weak.
30971 (if_freenameindex): Rename to __if_freenameindex and define as
30972 weak alias of __if_freenameindex.
30973 (if_nameindex): Rename to __if_nameindex and define as weak alias
30974 of __if_nameindex.
30975 (if_indextoname): Rename to __if_indextoname and define as weak
30976 alias of __if_indextoname. Use libc_hidden_weak.
30977 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
30978 __if_nametoindex and define as weak alias of __if_nametoindex.
30979 Use libc_hidden_weak.
30980 (if_freenameindex): Rename to __if_freenameindex and define as
30981 weak alias of __if_freenameindex. Use libc_hidden_weak.
30982 (if_nameindex_netlink): Use __if_freenameindex instead of
30983 if_freenameindex.
30984 (if_nameindex): Rename to __if_nameindex and define as weak alias
30985 of __if_nameindex. Use libc_hidden_weak.
30986 (if_indextoname): Rename to __if_indextoname and define as weak
30987 alias of __if_indextoname. Use libc_hidden_weak.
30988 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
30989 libc_hidden_proto.
30990 [!_ISOMAC] (__if_freenameindex): Likewise.
30991 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
30992 if_nametoindex.
30993 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
30994 variable.
30995 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
30996 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
30997 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
30998 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
30999 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31000 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31001 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31002
31003 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
31004 Remove variable.
31005 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31006 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31007
31008 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31009
31010 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
31011 subscript above bounds'
31012
31013 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
31014 bounds.
31015
31016 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
31017
31018 * libio/tst-fopenloc.c: Use test-skeleton.c.
31019
31020 * stdlib/tst-bsearch.c: Use test-skeleton.c.
31021 (entry): Rename to ITEM.
31022 (do_test, comp): Adjust.
31023
31024 * stdio-common/tst-fseek.c: Use test-skeleton.c.
31025
31026 2014-12-16 Torvald Riegel <triegel@redhat.com>
31027
31028 * string/tester.c: Include <libc-internal.h>.
31029 (test_memset): Ignore -Wmemset-transposed-args.
31030
31031 2014-12-16 Torvald Riegel <triegel@redhat.com>
31032
31033 * misc/tst-mntent2.c (do_test): Fix warning.
31034
31035 2014-12-16 Torvald Riegel <triegel@redhat.com>
31036
31037 * elf/tst-unique4lib.cc(a): Mark as used.
31038
31039 2014-12-16 Florian Weimer <fweimer@redhat.com>
31040
31041 [BZ #17630]
31042 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
31043 names.
31044
31045 2014-12-16 Allan McRae <allan@archlinux.org>
31046
31047 * stdio-common/Makefile (tests): Re-add bug26.
31048
31049 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
31050
31051 [BZ #17657]
31052 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
31053 static array.
31054
31055 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
31056
31057 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
31058 (__lll_lock_wait): Likewise.
31059 (__lll_timedlock_wait): Likewise.
31060 (__lll_timedwait_tid): Likewise.
31061 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
31062 (__lll_robust_timedlock_wait): Likewise.
31063 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
31064 (lll_cond_trylock): Likewise.
31065 (__lll_lock): Likewise.
31066 (__lll_robust_lock): Likewise.
31067 (__lll_cond_lock): Likewise.
31068 (lll_robust_cond_lock): Likewise.
31069 (__lll_timedlock): Likewise.
31070 (__lll_robust_timedlock): Likewise.
31071 (__lll_unlock): Likewise.
31072 (__lll_robust_unlock): Likewise.
31073 (lll_wait_tid): Likewise.
31074 (lll_timedwait_tid): Likewise.
31075
31076 2014-12-15 Torvald Riegel <triegel@redhat.com>
31077
31078 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
31079
31080 2014-12-15 Torvald Riegel <triegel@redhat.com>
31081
31082 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
31083
31084 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
31085
31086 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
31087 * stdio-common/tst-sprintf.c: Likewise.
31088
31089 2014-12-15 Torvald Riegel <triegel@redhat.com>
31090
31091 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
31092
31093 2014-12-15 Jeff Law <law@redhat.com>
31094
31095 [BZ #16617]
31096 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
31097 on the heap. (CVE-2012-3406)
31098 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
31099 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
31100 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
31101
31102 2014-12-15 Will Newton <will.newton@linaro.org>
31103
31104 * manual/install.texi: Bump required version of texinfo
31105 to 4.7 from 4.5.
31106 * INSTALL: Regenerated.
31107 * configure.ac: Check for makeinfo version 4.7 and above.
31108 * configure: Regenerated.
31109
31110 2014-12-12 Roland McGrath <roland@hack.frob.com>
31111
31112 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
31113 PREFIX, string constant to insert between directory and name.
31114 * sysdeps/posix/shm_open.c: Update caller.
31115 * sysdeps/posix/shm_unlink.c: Likewise.
31116 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
31117 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
31118 (SEM_SHM_PREFIX): New macro.
31119 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
31120 [$(have-thread-library) = no].
31121 * nptl/Makefile (libpthread-routines): Add shm-directory.
31122 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
31123 * sysdeps/nptl/shm-directory.h: New file.
31124 * sysdeps/posix/shm-directory.c
31125 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
31126 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31127 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
31128 INTERNAL_SYSCALL.
31129 (__where_is_shmfs): Function removed.
31130 (mountpoint, defaultmount, defaultdir, __namedsem_once):
31131 Variables removed.
31132 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
31133 Use SHM_GET_NAME.
31134 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
31135
31136 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
31137 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
31138 unconditional for use inside libpthread.
31139 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
31140
31141 2014-12-12 Roland McGrath <roland@hack.frob.com>
31142
31143 * nptl/pthread_getaffinity.c: New file.
31144 * nptl/pthread_setaffinity.c: New file.
31145 * nptl/pthread_getname.c: New file.
31146 * nptl/pthread_setname.c: New file.
31147
31148 * nptl/pthread_create.c (START_THREAD_DEFN)
31149 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
31150
31151 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
31152 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31153
31154 * resolv/res_send.c (send_vc): Disable warning resplen may
31155 be used uninitialized.
31156
31157 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
31158
31159 * nptl/tst-mutex6.c
31160 (ATTR_NULL): New define checks ATTR against NULL.
31161 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
31162 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
31163
31164 2014-12-11 James Lemke <jwlemke@codesourcery.com>
31165
31166 [BZ #17581]
31167 * malloc/hooks.c
31168 (mem2mem_check): Revert my previous change.
31169 (malloc_check_get_size): Revert my previous change.
31170 (mem2chunk_check): Revert my previous change.
31171
31172 2014-12-11 Roland McGrath <roland@hack.frob.com>
31173
31174 * sysdeps/posix/shm-directory.c: New file.
31175 * sysdeps/posix/shm-directory.h: New file.
31176 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
31177 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
31178 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
31179 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
31180 Transmute EPERM to EACCES.
31181 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
31182 from ...
31183 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
31184 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
31185
31186 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31187
31188 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
31189 pointer and cast to uintptr_t.
31190 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
31191 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
31192 Add cast to avoid warning.
31193 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
31194
31195 2014-12-11 Joseph Myers <joseph@codesourcery.com>
31196
31197 * nptl/semaphore.h: Move to ...
31198 * sysdeps/pthread/semaphore.h: ... here.
31199 * Makefile (installed-headers): Change nptl/semaphore.h to
31200 sysdeps/pthread/semaphore.h.
31201
31202 2014-12-11 Roland McGrath <roland@hack.frob.com>
31203
31204 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
31205 generated error format strings.
31206
31207 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
31208 -Wformat-extra-args warnings for scanf formats.
31209 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
31210 test of zero-length format (duh).
31211 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
31212 corner-case scanf format test.
31213 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
31214 generated fprintf format string.
31215 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
31216 corner-case sprintf format tests.
31217 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
31218 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
31219 -Wformat-extra-args warnings throughout.
31220 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
31221 (CFLAGS-scanf4.c): Likewise.
31222 (CFLAGS-scanf7.c): Likewise.
31223 (CFLAGS-tst-sprintf.c): Likewise.
31224 (CFLAGS-tst-printf.c): Likewise.
31225 (CFLAGS-tst-printfsz.c): Likewise.
31226
31227 2014-12-11 Joseph Myers <joseph@codesourcery.com>
31228
31229 * include/cpio.h: New file.
31230 * include/fmtmsg.h: Likewise.
31231
31232 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
31233 corresponding format argument to size_t.
31234 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
31235 arguments.
31236 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
31237 corresponding format argument to size_t.
31238 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
31239 arguments.
31240 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
31241 corresponding format argument to size_t.
31242 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
31243 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
31244 (CFLAGS-tst-mbswcs2.c): Likewise.
31245 (CFLAGS-tst-mbswcs3.c): Likewise.
31246 (CFLAGS-tst-mbswcs4.c): Likewise.
31247 (CFLAGS-tst-mbswcs5.c): Likewise.
31248 (CFLAGS-tst-trans.c): Likewise.
31249
31250 2014-12-11 Roland McGrath <roland@hack.frob.com>
31251
31252 * posix/regexbug1.c (main): Use "%s" format with regerror results,
31253 rather than assuming they won't contain any '%'s.
31254
31255 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
31256
31257 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
31258 inhibit_loop_to_libcall to avoid recursive calls.
31259 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
31260 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
31261
31262 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
31263
31264 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
31265 prototype.
31266
31267 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
31268
31269 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
31270 integer value instead of boolean.
31271
31272 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
31273
31274 * malloc/malloc.c: Fix powerof2 check.
31275
31276 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
31277
31278 * locale/programs/locfile.h (maybe_swap_uint32):
31279 Remove inline and add unused attribute.
31280
31281 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
31282
31283 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31284 Truncating assembler expression to a .long expression.
31285
31286 2014-12-11 Andreas Schwab <schwab@suse.de>
31287
31288 * elf/rtld.c (struct map_args): Constify str member.
31289 (do_preload): Constify fname argument.
31290
31291 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31292
31293 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
31294 constants definition.
31295
31296 2014-12-11 Andreas Schwab <schwab@suse.de>
31297
31298 [BZ #16657]
31299 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
31300 FORCE_ELISION instead of DO_ELISION.
31301 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
31302 Remove.
31303 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
31304 Likewise.
31305
31306 * iconvdata/gconv-modules: Remove duplicate entry.
31307
31308 2014-12-11 Will Newton <will.newton@linaro.org>
31309
31310 Merge gettext 0.19.3 into intl/.
31311
31312 This involves a number of cosmetic changes to comments
31313 and ANSI function definitions and prototypes throughout
31314 all the files. The gettext copyright header is used but
31315 with the date ranges taken from the glibc copy.
31316
31317 * NEWS: Add gettext merge to 2.21.
31318 * intl/bindtextdom.c: Switch to gettext copyright.
31319 Use ANSI definitions and prototypes.
31320 Use gl_* locking primitives rather than __libc_* ones.
31321 Use __builtin_expect rather than __glibc_likely/unlikely.
31322 * intl/dcgettext.c: Switch to gettext copyright.
31323 Use ANSI definitions and prototypes.
31324 * intl/dcigettext.c: Switch to gettext copyright.
31325 Use ANSI definitions and prototypes.
31326 (INTDIV0_RAISES_SIGFPE): New define.
31327 Use gl_* locking primitives rather than __libc_* ones.
31328 Include eval-plural.h instead of plural-eval.c.
31329 Use __builtin_expect rather than __glibc_likely/unlikely.
31330 * intl/dcngettext.c: Switch to gettext copyright.
31331 Use ANSI definitions and prototypes.
31332 * intl/dgettext.c: Likewise.
31333 * intl/dngettext.c: Likewise.
31334 * intl/plural-eval.c: Renamed to...
31335 * intl/eval-plural.h: ...this.
31336 * intl/explodename.c: Switch to gettext copyright.
31337 Use ANSI definitions and prototypes.
31338 (_nl_explode_name): Use strchr instead of __rawmemchr.
31339 * intl/finddomain.c: Switch to gettext copyright.
31340 Use ANSI definitions and prototypes.
31341 Use gl_* locking primitives rather than __libc_* ones.
31342 (_nl_find_domain): Use malloc rather than alloca for
31343 allocation of temporary locale name.
31344 * intl/gettext.c: Switch to gettext copyright.
31345 Use ANSI definitions and prototypes.
31346 * intl/gettextP.h: Switch to gettext copyright.
31347 Use ANSI definitions and prototypes.
31348 Use gl_* locking primitives rather than __libc_* ones.
31349 * intl/gmo.h: Switch to gettext copyright.
31350 (struct sysdep_string): Move struct segment_pair outside of
31351 struct definition.
31352 * intl/hash-string.c: Use ANSI definitions and prototypes.
31353 * intl/hash-string.h: Switch to gettext copyright.
31354 Use ANSI definitions and prototypes.
31355 * intl/l10nflist.c: Switch to gettext copyright.
31356 Use ANSI definitions and prototypes.
31357 (_nl_normalize_codeset): Avoid integer overflow.
31358 * intl/loadinfo.h: Switch to gettext copyright.
31359 Use ANSI definitions and prototypes.
31360 (LIBINTL_DLL_EXPORTED): New define.
31361 (PATH_SEPARATOR): New define.
31362 * intl/loadmsgcat.c: Switch to gettext copyright.
31363 * intl/localealias.c: Switch to gettext copyright.
31364 Use ANSI definitions and prototypes.
31365 (_nl_expand_alias): Use PATH_SEPARATOR.
31366 * intl/ngettext.c: Switch to gettext copyright.
31367 Use ANSI definitions and prototypes.
31368 * intl/plural-exp.c: Likewise.
31369 * intl/plural-exp.h: Switch to gettext copyright.
31370 Use ANSI definitions and prototypes.
31371 (struct expression): Move definition of enum operator outside
31372 of struct definition.
31373 * intl/plural.c: Regenerate.
31374 * intl/plural.y: Switch to gettext copyright.
31375 Use ANSI definitions and prototypes.
31376 Port to bison 3.0.
31377 * intl/textdomain.c: Switch to gettext copyright.
31378 Use ANSI definitions and prototypes.
31379 Use gl_* locking primitives rather than __libc_* ones.
31380
31381 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
31382
31383 * debug/warning-nop.c: Add used atrribute.
31384
31385 2014-12-10 Joseph Myers <joseph@codesourcery.com>
31386
31387 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
31388
31389 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
31390 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
31391 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
31392
31393 2014-12-10 Joseph Myers <joseph@codesourcery.com>
31394 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31395
31396 [BZ #17634]
31397 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
31398 Undefine after defining function. Define as weak alias of
31399 __wcschr. Use libc_hidden_weak.
31400 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
31401 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
31402 (libc_hidden_def): Also define __GI___wcschr alias.
31403 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
31404 __wcschr and define as weak alias of __wcschr.
31405 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
31406 __wcschr.
31407 [!WCSCHR] (DEFAULT_WCSCHR): Define.
31408 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
31409 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
31410 libc_hidden_weak. Do not use libc_hidden_def.
31411 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
31412 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
31413 __GI___wcschr alias.
31414 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
31415 [IS_IN (libc)] (wcschr): Define as macro expanding to
31416 __redirect_wcschr.
31417 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
31418 [IS_IN (libc)] (__wcschr_power6): Likewise.
31419 [IS_IN (libc)] (__wcschr_power7): Likewise.
31420 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
31421 instead of wcschr.
31422 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
31423 __libc_wcschr.
31424 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
31425 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
31426 __wcschr and define as weak alias of __wcschr. Use
31427 libc_hidden_builtin_def.
31428 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
31429 as weak alias of __wcschr. Use libc_hidden_weak.
31430 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
31431 wcschr.
31432 * time/era.c (_nl_init_era_entries): Likewise.
31433 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
31434 variable.
31435 (test-xfail-XPG3/time.h/linknamespace): Likewise.
31436 (test-xfail-XPG4/time.h/linknamespace): Likewise.
31437
31438 2014-12-10 Joseph Myers <joseph@codesourcery.com>
31439
31440 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
31441 format for long int variable.
31442
31443 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
31444
31445 [BZ #10672]
31446 * manual/search.texi: (Array Sort Function): Remove claim how to make
31447 qsort stable.
31448
31449 2014-12-10 Andreas Schwab <schwab@suse.de>
31450
31451 [BZ #12847]
31452 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
31453 user-controlled locks.
31454
31455 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
31456
31457 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
31458 register.
31459
31460 2014-12-10 Joseph Myers <joseph@codesourcery.com>
31461
31462 * configure.ac (--disable-werror): New configure option.
31463 (enable_werror): New AC_SUBST.
31464 * configure: Regenerated.
31465 * config.make.in (enable-werror): New variable.
31466 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
31467 -Wno-error=undef.
31468 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
31469 * manual/install.texi (Configuring and compiling): Document
31470 --disable-werror.
31471 * INSTALL: Regenerated.
31472 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
31473 (CFLAGS-tst-chk2.c): Likewise.
31474 (CFLAGS-tst-chk3.c): Likewise.
31475 (CFLAGS-tst-chk4.cc): Likewise.
31476 (CFLAGS-tst-chk5.cc): Likewise.
31477 (CFLAGS-tst-chk6.cc): Likewise.
31478 (CFLAGS-tst-lfschk1.c): Likewise.
31479 (CFLAGS-tst-lfschk2.c): Likewise.
31480 (CFLAGS-tst-lfschk3.c): Likewise.
31481 (CFLAGS-tst-lfschk4.cc): Likewise.
31482 (CFLAGS-tst-lfschk5.cc): Likewise.
31483 (CFLAGS-tst-lfschk6.cc): Likewise.
31484
31485 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
31486 (main): Disable -Wdeprecated-declarations around calls to
31487 register_printf_function.
31488
31489 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
31490 (do_test): Disable -Wdiv-by-zero around some calls to
31491 fwrite_unlocked and fread_unlocked.
31492
31493 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
31494 (DIAG_POP_NEEDS_COMMENT): Likewise.
31495 (_DIAG_STR1): Likewise.
31496 (_DIAG_STR): Likewise.
31497 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
31498 * stdio-common/bug21.c: Include <libc-internal.h>.
31499 (do_test): Disable -Wformat around call to sscanf.
31500 * stdio-common/scanf14.c: Include <libc-internal.h>.
31501 (main): Disable -Wformat around some calls to scanf functions.
31502
31503 2014-12-09 Torvald Riegel <triegel@redhat.com>
31504
31505 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
31506
31507 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31508
31509 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
31510 stack variable alignment.
31511
31512 2014-12-06 Joseph Myers <joseph@codesourcery.com>
31513
31514 [BZ #17682]
31515 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
31516 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
31517 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
31518 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
31519 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
31520 __getrlimit instead of getrlimit.
31521 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
31522 __gettimeofday instead of gettimeofday.
31523 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
31524 Likewise.
31525 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
31526 Likewise.
31527 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
31528 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
31529 Remove variable.
31530 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
31531 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
31532
31533 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31534
31535 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
31536 for wide-character tests.
31537
31538 2014-12-04 Roland McGrath <roland@hack.frob.com>
31539
31540 * io/openat64.c: #include <libc-internal.h>
31541 (__openat64): Prototypify. Use ignore_value on MODE.
31542 * io/openat.c: Likewise.
31543 * misc/reboot.c: #include <libc-internal.h>
31544 (reboot): Prototypify. Use ignore_value on HOWTO.
31545 * misc/ptrace.c: #include <libc-internal.h>
31546 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
31547
31548 2014-12-04 Joseph Myers <joseph@codesourcery.com>
31549
31550 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
31551 XPG4, UNIX98 and XOPEN2K.
31552 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
31553 Remove variable.
31554 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
31555
31556 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31557
31558 * libio/fileops.c: Use ISO C style for function definitions.
31559 * libio/iofopen.c: Likewise.
31560 * libio/wfileops.c: Likewise.
31561
31562 [BZ #17653]
31563 * libio/fileops.c (_IO_new_file_underflow): Unset cached
31564 offset on EOF.
31565 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
31566 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
31567 (fgets_func): Function pointer to fgets and fgetws.
31568 (do_ftell_test): Add test to verify ftell value after read
31569 EOF.
31570 (do_test): Set fgets_func.
31571
31572 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
31573 O_TRUNC flag for w and w+ modes.
31574 (do_rewind_test): Likewise.
31575 (do_ftell_test): Likewise.
31576 (do_write_test): Likewise.
31577
31578 [BZ #17647]
31579 * libio/fileops.c (do_ftell): Seek only when there are
31580 unflushed writes.
31581 * libio/wfileops.c (do_ftell_wide): Likewise.
31582 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
31583 test case.
31584 (do_one_test): Call it.
31585
31586 2014-12-03 Joseph Myers <joseph@codesourcery.com>
31587
31588 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
31589 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
31590 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
31591 Remove variable.
31592 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
31593 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
31594 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
31595
31596 2014-12-02 Joseph Myers <joseph@codesourcery.com>
31597
31598 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
31599 Remove variable.
31600 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
31601
31602 [BZ #17668]
31603 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
31604 as weak alias of __getifaddrs. Use libc_hidden_weak.
31605 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31606 __freeifaddrs. Use libc_hidden_weak.
31607 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
31608 define as weak alias of __getifaddrs. Use libc_hidden_weak.
31609 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31610 __freeifaddrs. Use libc_hidden_weak.
31611 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
31612 __getifaddrs and define as weak alias of __getifaddrs. Use
31613 libc_hidden_weak.
31614 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31615 __freeifaddrs. Use libc_hidden_weak.
31616 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
31617 Remove variable.
31618 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
31619 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
31620
31621 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
31622
31623 [BZ #17601]
31624 * sysdeps/mips/start.S (__start): Use indirect jump to call
31625 __libc_start_main.
31626
31627 2014-12-02 Joseph Myers <joseph@codesourcery.com>
31628
31629 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
31630
31631 * nptl/tst-mutex1.c: Include <stdbool.h>.
31632 [!ATTR] (ATTR_NULL): New macro.
31633 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
31634 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
31635 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
31636
31637 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
31638 to char *.
31639
31640 [BZ #17665]
31641 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
31642 Change conditional to [__USE_MISC].
31643
31644 [BZ #17664]
31645 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
31646 fgets_unlocked.
31647 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
31648 __fgets_unlocked.
31649 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
31650 fgets_unlocked.
31651 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
31652 Remove variable.
31653 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
31654 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
31655 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
31656 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
31657 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
31658 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
31659 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
31660 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
31661 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
31662
31663 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
31664
31665 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31666
31667 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31668 Remove strpbrk objects.
31669 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31670 (__libc_ifunc_impl_list): Remove strpbrk implementation.
31671 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
31672 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
31673 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
31674 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
31675
31676 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31677 Remove strcspn objects.
31678 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31679 (__libc_ifunc_impl_list): Remove strcspn implementation.
31680 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
31681 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
31682 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
31683 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
31684
31685 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31686 Remove strspn objetcs.
31687 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31688 (__libc_ifunc_impl_list): Remove strspn implementation.
31689 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
31690 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
31691 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
31692 * sysdeps/powerpc/powerpc64/strspn.S: New file.
31693
31694 2014-12-01 James Lemke <jwlemke@codesourcery.com>
31695
31696 [BZ #17581]
31697 * malloc/hooks.c
31698 (mem2mem_check): Add a terminator to the chain of checking blocks.
31699 (malloc_check_get_size): Use it here.
31700 (mem2chunk_check): Ditto.
31701
31702 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31703
31704 * sysdeps/powerpc/powerpc64/strtok.S: New file.
31705 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
31706
31707 2014-11-29 Carlos O'Donell <carlos@redhat.com>
31708
31709 * bits/ioctl-types.h: Indent preprocessor directives correctly.
31710
31711 * nptl/nptl-init.c: Include libc-internal.h.
31712 (__pthread_initialize_minimal_internal): Use ROUND_UP.
31713
31714 * elf/ldconfig.c (search_dir): Expand comment.
31715
31716 2014-11-29 Joseph Myers <joseph@codesourcery.com>
31717
31718 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
31719 variable.
31720 (linknamespace-symlist-stdlibs-tests): Likewise.
31721 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
31722 instead of $(objpfx)symlist-stdlibs.
31723 (linknamespace-libs-isoc): New variable.
31724 (linknamespace-libs): Use $(linknamespace-libs-isoc).
31725 (linknamespace-libs-ISO): New variable.
31726 (linknamespace-libs-ISO99): Likewise.
31727 (linknamespace-libs-ISO11): Likewise.
31728 (linknamespace-libs-XPG3): Likewise.
31729 (linknamespace-libs-XPG4): Likewise.
31730 (linknamespace-libs-POSIX): Likewise.
31731 (linknamespace-libs-UNIX98): Likewise.
31732 (linknamespace-libs-XOPEN2K): Likewise.
31733 (linknamespace-libs-POSIX2008): Likewise.
31734 (linknamespace-libs-XOPEN2K8): Likewise.
31735 ($(objpfx)symlist-stdlibs): Replace by
31736 $(linknamespace-symlist-stdlibs-tests). Use
31737 $(linknamespace-libs-$*) as set of libraries.
31738 ($(linknamespace-header-tests)): Update dependencies. Use
31739 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
31740 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
31741 * conform/linknamespace.pl: Remove comment about considering
31742 definitions of symbols from irrelevant libraries.
31743
31744 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
31745
31746 [BZ #13862]
31747 * elf/dl-tls.c: Include <atomic.h>.
31748 (oom): Remove #ifdef SHARED/#endif.
31749 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
31750 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
31751 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
31752 big enough.
31753 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
31754 * nptl/Makefile (tests): Add tst-stack4.
31755 (modules-names): Add tst-stack4mod.
31756 ($(objpfx)tst-stack4): New.
31757 (tst-stack4mod.sos): Likewise.
31758 ($(objpfx)tst-stack4.out): Likewise.
31759 ($(tst-stack4mod.sos)): Likewise.
31760 (clean): Likewise.
31761 * nptl/tst-stack4.c: New file.
31762 * nptl/tst-stack4mod.c: Likewise.
31763
31764 2014-11-27 J. Brown <jb999@gmx.de>
31765
31766 * sysdeps/x86/bits/string.h: Add recent CPUs.
31767
31768 2014-11-27 Joseph Myers <joseph@codesourcery.com>
31769
31770 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
31771 sigblock.
31772
31773 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
31774 feof.
31775
31776 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
31777 variable.
31778
31779 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
31780
31781 * nscd/connections.c: Include libc-internal.h because of macro
31782 usage ignore_value.
31783
31784 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31785
31786 * string/bits/string3.h (__warn_memset_zero_len): Don't
31787 declare for gcc newer than 5.0.
31788 (memset): Don't test for zero-length __LEN for gcc newer than
31789 5.0.
31790
31791 2014-11-27 Joseph Myers <joseph@codesourcery.com>
31792
31793 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
31794 size_t for %zu format.
31795
31796 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
31797 difference, not %ju.
31798
31799 2014-11-26 Joseph Myers <joseph@codesourcery.com>
31800
31801 * include/libc-internal.h (ignore_value): New macro.
31802 * nscd/connections.c (restart): Wrap calls to setuid and setgid
31803 with ignore_value.
31804
31805 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
31806 definition.
31807
31808 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
31809 pthread_cleanup_push to void *.
31810
31811 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
31812 Undefine.
31813
31814 [BZ #16619]
31815 [BZ #16740]
31816 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
31817 instead of 1L << 52.
31818
31819 * libio/bug-rewind.c (do_test): Check fwscanf return values.
31820 * libio/bug-rewind2.c (do_test): Likewise.
31821
31822 * debug/test-stpcpy_chk-ifunc.c: Remove file.
31823 * debug/test-strcpy_chk-ifunc.c: Likewise.
31824 * wcsmbs/test-wcschr-ifunc.c: Likewise.
31825 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31826 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31827 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31828 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31829 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31830 * Rules [$(multi-arch) = no] (tests): Do not filter out
31831 $(tests-ifunc).
31832 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
31833 * debug/Makefile (tests-ifunc): Remove variable.
31834 (tests): Do not add $(tests-ifunc).
31835 * wcsmbs/Makefile (tests-ifunc): Remove variable.
31836 (tests): Do not add $(tests-ifunc).
31837 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
31838 [TEST_IFUNC]: Remove conditionals.
31839 * string/test-string.h (TEST_IFUNC): Remove macro.
31840 [TEST_IFUNC]: Remove conditionals.
31841
31842 * string/test-strchr.c [!WIDE] (L): New macro.
31843 [WIDE] (L): Likewise.
31844 (check1): Use CHAR instead of char. Use L on string and character
31845 constants.
31846
31847 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
31848
31849 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
31850 tests.
31851 * sysdeps/powerpc/bits/atomic.h
31852 (__arch_atomic_exchange_and_add_32_acq): Add definition.
31853 (__arch_atomic_exchange_and_add_32_rel): Likewise.
31854 (atomic_exchange_and_add_acq): Likewise.
31855 (atomic_exchange_and_add_rel): Likewise.
31856 * sysdeps/powerpc/powerpc32/bits/atomic.h
31857 (__arch_atomic_exchange_and_add_64_acq): Add definition.
31858 (__arch_atomic_exchange_and_add_64_rel): Likewise.
31859 * sysdeps/powerpc/powerpc64/bits/atomic.h
31860 (__arch_atomic_exchange_and_add_64_acq): Add definition.
31861 (__arch_atomic_exchange_and_add_64_rel): Likewise.
31862
31863 2014-11-26 Torvald Riegel <triegel@redhat.com>
31864
31865 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
31866 Change synchronization of __sched_fifo_min_prio and
31867 __sched_fifo_max_prio.
31868 * nptl/pthread_mutexattr_getprioceiling.c
31869 (pthread_mutexattr_getprioceiling): Likewise.
31870 * nptl/pthread_mutexattr_setprioceiling.c
31871 (pthread_mutexattr_setprioceiling): Likewise.
31872 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
31873 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
31874 Likewise.
31875
31876 2014-11-26 Joseph Myers <joseph@codesourcery.com>
31877
31878 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
31879 void.
31880
31881 2014-11-25 Joseph Myers <joseph@codesourcery.com>
31882
31883 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
31884 third argument const.
31885
31886 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
31887
31888 fnmatch: work around GCC compiler warning bug with uninit var
31889 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
31890 This works around a bug with x86-64 GCC 4.9.2 and earlier
31891 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
31892 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
31893 used uninitialized in this function [-Wmaybe-uninitialized]".
31894
31895 2014-11-25 Joseph Myers <joseph@codesourcery.com>
31896
31897 * posix/bug-regex31.c (main): Return RES not 0.
31898
31899 2014-11-25 Anton Blanchard <anton@samba.org>
31900
31901 * sysdeps/powerpc/bits/atomic.h
31902 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
31903
31904 2014-11-24 Sterling Augustine <saugustine@google.com>
31905
31906 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
31907
31908 2014-11-24 Ryan Cumming <etaoins@gmail.com>
31909
31910 [BZ #17608]
31911 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
31912
31913 2014-11-24 Joseph Myers <joseph@codesourcery.com>
31914
31915 [BZ #17633]
31916 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
31917 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
31918 variable.
31919 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
31920 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
31921
31922 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
31923
31924 * string/strncpy.c (strncpy): Improve performance by using memset.
31925
31926 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
31927
31928 * string/strcpy.c (strcpy):
31929 Improve performance by using strlen and memcpy.
31930
31931 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
31932
31933 * string/strcoll_l.c (get_next_seq): __always_inline.
31934 * string/strcoll_l.c (do_compare): __always_inline.
31935
31936 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
31937
31938 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
31939 defined.
31940 * include/mqueue.h: Likewise.
31941 * include/stdlib.h: Likewise.
31942
31943 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
31944 (get_null_defines): Adjust.
31945 * sunrpc/Makefile: Adjust comment.
31946 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
31947 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
31948 (CFLAGS-interp.c): Likewise.
31949 (CFLAGS-ldconfig.c): Likewise.
31950 (CPPFLAGS-.os): Likewise.
31951 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31952 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
31953 * extra-modules.mk (extra-modules.mk): Likewise.
31954 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
31955 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
31956 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
31957 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
31958 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
31959 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
31960 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
31961 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
31962 * iconvdata/Makefile (CPPFLAGS): Likewise.
31963 (cpp-srcs-left): Add libof for all iconvdata routines.
31964 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
31965 * include/assert.h: Likewise.
31966 * include/ctype.h: Likewise.
31967 * include/errno.h: Likewise.
31968 * include/libc-symbols.h: Likewise.
31969 * include/math.h: Likewise.
31970 * include/netdb.h: Likewise.
31971 * include/resolv.h: Likewise.
31972 * include/stdio.h: Likewise.
31973 * include/stdlib.h: Likewise.
31974 * include/string.h: Likewise.
31975 * include/sys/stat.h: Likewise.
31976 * include/wctype.h: Likewise.
31977 * intl/l10nflist.c: Likewise.
31978 * libidn/idn-stub.c: Likewise.
31979 * libio/libioP.h: Likewise.
31980 * nptl/libc_multiple_threads.c: Likewise.
31981 * nptl/pthreadP.h: Likewise.
31982 * posix/regex_internal.h: Likewise.
31983 * resolv/res_hconf.c: Likewise.
31984 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
31985 * sysdeps/arm/memmove.S: Likewise.
31986 * sysdeps/arm/sysdep.h: Likewise.
31987 * sysdeps/generic/_itoa.h: Likewise.
31988 * sysdeps/generic/symbol-hacks.h: Likewise.
31989 * sysdeps/gnu/errlist.awk: Likewise.
31990 * sysdeps/gnu/errlist.c: Likewise.
31991 * sysdeps/i386/i586/memcpy.S: Likewise.
31992 * sysdeps/i386/i586/memset.S: Likewise.
31993 * sysdeps/i386/i686/memcpy.S: Likewise.
31994 * sysdeps/i386/i686/memmove.S: Likewise.
31995 * sysdeps/i386/i686/mempcpy.S: Likewise.
31996 * sysdeps/i386/i686/memset.S: Likewise.
31997 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31998 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31999 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
32000 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
32001 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32002 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32003 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
32004 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32005 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32006 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32007 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32008 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32009 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32010 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32011 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32012 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32013 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
32014 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
32015 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
32016 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32017 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32018 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32019 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32020 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32021 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32022 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32023 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
32024 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32025 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
32026 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32027 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32028 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32029 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32030 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32031 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32032 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32033 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32034 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32035 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32036 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32037 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32038 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32039 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32040 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32041 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32042 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32043 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
32044 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
32045 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32046 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32047 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32048 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
32049 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
32050 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32051 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32052 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
32053 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32054 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
32055 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
32056 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32057 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32058 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32059 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
32060 * sysdeps/nptl/bits/libc-lock.h: Likewise.
32061 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32062 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
32063 * sysdeps/posix/closedir.c: Likewise.
32064 * sysdeps/posix/opendir.c: Likewise.
32065 * sysdeps/posix/readdir.c: Likewise.
32066 * sysdeps/posix/rewinddir.c: Likewise.
32067 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
32068 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
32069 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32070 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32071 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32072 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
32073 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
32074 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
32075 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
32076 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
32077 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
32078 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
32079 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
32080 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
32081 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
32082 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
32083 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
32084 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
32085 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
32086 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
32087 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
32088 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
32089 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
32090 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
32091 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
32092 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
32093 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
32094 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
32095 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
32096 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
32097 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
32098 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
32099 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
32100 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
32101 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
32102 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
32103 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32104 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32105 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
32106 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
32107 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
32108 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
32109 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
32110 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
32111 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
32112 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
32113 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
32114 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
32115 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
32116 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
32117 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
32118 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
32119 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
32120 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
32121 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
32122 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
32123 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
32124 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
32125 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
32126 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
32127 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
32128 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
32129 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
32130 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
32131 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
32132 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
32133 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
32134 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
32135 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
32136 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
32137 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
32138 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
32139 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
32140 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
32141 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
32142 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
32143 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
32144 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
32145 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32146 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
32147 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
32148 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32149 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
32150 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
32151 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32152 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
32153 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
32154 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32155 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32156 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32157 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
32158 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
32159 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
32160 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32161 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32162 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
32163 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32164 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32165 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
32166 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
32167 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32168 * sysdeps/unix/alpha/sysdep.S: Likewise.
32169 * sysdeps/unix/alpha/sysdep.h: Likewise.
32170 * sysdeps/unix/make-syscalls.sh: Likewise.
32171 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32172 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32173 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32174 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
32175 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32176 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
32177 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
32178 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32179 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32180 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
32181 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32182 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32183 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32184 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32185 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32186 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32187 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32188 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32189 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32190 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32191 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
32192 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32193 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32194 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32195 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32196 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32197 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32200 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
32201 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32202 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32203 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32204 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32205 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32206 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32207 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32208 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32209 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32210 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
32211 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32212 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32213 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32214 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32215 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32216 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32217 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32218 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32219 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32220 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32221 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32222 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32223 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32224 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32225 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
32226 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32227 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32228 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32229 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
32230 * sysdeps/x86_64/memcpy.S: Likewise.
32231 * sysdeps/x86_64/memmove.c: Likewise.
32232 * sysdeps/x86_64/memset.S: Likewise.
32233 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
32234 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32235 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32236 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
32237 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
32238 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32239 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32240 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32241 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32242 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32243 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32244 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32245 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
32246 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32247 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32248 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
32249 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
32250 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32251 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32252 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32253 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
32254 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32255 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32256 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32257 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32258 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32259 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32260 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
32261 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32262 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32263 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
32264 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32265 * sysdeps/x86_64/strcmp.S: Likewise.
32266
32267 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
32268
32269 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
32270 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
32271 * elf/rtld-Rules: Likewise.
32272 * elf/setup-vdso.h: Likewise.
32273 * include/assert.h: Likewise.
32274 * include/bits/stdlib-float.h: Likewise.
32275 * include/errno.h: Likewise.
32276 * include/sys/stat.h: Likewise.
32277 * include/unistd.h: Likewise.
32278 * sysdeps/aarch64/setjmp.S: Likewise.
32279 * sysdeps/alpha/setjmp.S: Likewise.
32280 * sysdeps/arm/__longjmp.S: Likewise.
32281 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
32282 * sysdeps/arm/setjmp.S: Likewise.
32283 * sysdeps/arm/sysdep.h: Likewise.
32284 * sysdeps/generic/_itoa.h: Likewise.
32285 * sysdeps/generic/dl-sysdep.h: Likewise.
32286 * sysdeps/generic/ldsodefs.h: Likewise.
32287 * sysdeps/i386/dl-tls.h: Likewise.
32288 * sysdeps/i386/setjmp.S: Likewise.
32289 * sysdeps/m68k/setjmp.c: Likewise.
32290 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
32291 * sysdeps/mach/hurd/opendir.c: Likewise.
32292 * sysdeps/posix/getcwd.c: Likewise.
32293 * sysdeps/posix/opendir.c: Likewise.
32294 * sysdeps/posix/profil.c: Likewise.
32295 * sysdeps/powerpc/dl-procinfo.h: Likewise.
32296 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32297 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32298 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
32299 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32300 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
32301 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
32302 * sysdeps/s390/dl-tls.h: Likewise.
32303 * sysdeps/s390/s390-32/setjmp.S: Likewise.
32304 * sysdeps/s390/s390-64/setjmp.S: Likewise.
32305 * sysdeps/sh/sh3/setjmp.S: Likewise.
32306 * sysdeps/sh/sh4/setjmp.S: Likewise.
32307 * sysdeps/unix/alpha/sysdep.h: Likewise.
32308 * sysdeps/unix/arm/sysdep.S: Likewise.
32309 * sysdeps/unix/i386/sysdep.S: Likewise.
32310 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32311 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32312 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32313 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32314 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32315 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32316 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
32317 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32318 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32319 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32320 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
32321 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32322 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32325 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32326 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32327 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32328 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32329 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32330 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32331 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32332 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32333 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32334 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32335 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32336 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32337 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32338 * sysdeps/x86_64/setjmp.S: Likewise.
32339
32340 * include/math.h: Use IS_IN instead of IS_IN_libm.
32341 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
32342 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32343 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32344 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
32345 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32346 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32347 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32348 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32349 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32350 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32351 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
32352 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
32353 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
32354 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
32355 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
32356 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
32357 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
32358 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
32359 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
32360 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
32361 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
32362 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
32363 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
32364 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
32365 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
32366 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
32367 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
32368 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
32369 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
32370 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
32371 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
32372 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
32373 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
32375 Likewise.
32376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
32377 Likewise.
32378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
32379 Likewise.
32380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
32381 Likewise.
32382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
32383 Likewise.
32384 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
32385 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
32386 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
32387 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32388 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32389 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
32391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
32392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
32393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
32394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
32395 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
32396 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
32397 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32398 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32399 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32400 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32401 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32402 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32403 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
32404 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
32405 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
32406 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
32407 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
32408 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
32409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32410 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
32411
32412 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
32413 * nptl/pthreadP.h: Likewise.
32414 * nptl_db/structs.def: Likewise.
32415 * sysdeps/arm/sysdep.h: Likewise.
32416 * sysdeps/nptl/bits/libc-lock.h: Likewise.
32417 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32418 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
32419 * sysdeps/unix/alpha/sysdep.h: Likewise.
32420 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32421 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32422 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32423 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32424 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32425 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32426 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32427 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32428 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32429 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32430 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32431 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32432 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32433 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32436 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32437 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32438 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32439 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32440 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32441 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32442 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32443 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32444 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
32445 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32446
32447 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
32448 * nptl/pthreadP.h: Likewise.
32449 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32450 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32451 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32452 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32453 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32454 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32455 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32456 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32457 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32458 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32459 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32460 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32462 Likewise.
32463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32464 Likewise.
32465 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32466 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32467 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32468 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32469 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32470 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32471 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32472 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32473
32474 * dlfcn/dladdr.c: Use IS_IN.
32475 * dlfcn/dladdr1.c: Likewise.
32476 * dlfcn/dlclose.c: Likewise.
32477 * dlfcn/dlerror.c: Likewise.
32478 * dlfcn/dlinfo.c: Likewise.
32479 * dlfcn/dlmopen.c: Likewise.
32480 * dlfcn/dlopen.c: Likewise.
32481 * dlfcn/dlsym.c: Likewise.
32482 * dlfcn/dlvsym.c: Likewise.
32483
32484 * include/ifaddrs.h: Use IS_IN.
32485 * inet/check_pf.c: Likewise.
32486 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32487 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
32488
32489 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
32490 IS_IN_ldconfig.
32491 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
32492 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
32493
32494 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
32495 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
32496 IS_IN (libc).
32497
32498 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
32499
32500 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
32501 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32502 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
32503 * include/libc-symbols.h (IS_IN_LIB): New macro.
32504 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
32505 * include/netdb.h: Likewise.
32506 * include/stap-probe.h: Remove all uses of IN_LIB.
32507
32508 * Makeconfig (module-cppflags-real): Define MODULE_NAME
32509 instead of IN_MODULE.
32510 * include/libc-symbols.h (IN_MODULE): Define using
32511 MODULE_NAME.
32512 (PASTE_NAME, PASTE_NAME1): New macros.
32513 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
32514 of IN_LIB.
32515 (STAP_PROBE_ASM): Likewise.
32516
32517 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
32518
32519 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
32520 __mach_init in dlopened libc.
32521
32522 2014-11-22 Mike Frysinger <vapier@gentoo.org>
32523
32524 * sysdeps/arm/preconfigure.ac: Delete EABI check.
32525 * sysdeps/arm/preconfigure: Regenerate.
32526
32527 2014-11-21 Roland McGrath <roland@hack.frob.com>
32528
32529 * nptl/pthread_create.c (__pthread_create_2_1): Set
32530 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
32531 when copying values from IATTR into PD.
32532
32533 2014-11-21 Will Newton <will.newton@linaro.org>
32534 Andrew Pinski <andrew.pinski@caviumnetworks.com>
32535
32536 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
32537 Refactor inline-asm. Also add comment.
32538
32539 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
32540 ElfW macro instead of hardcoded Elf64 types.
32541 (la_aarch64_gnu_pltenter): Likewise.
32542 * sysdeps/aarch64/dl-machine.h
32543 (elf_machine_runtime_setup): Use ElfW(Addr).
32544
32545 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
32546 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
32547 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
32548 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
32549 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
32550 (R_AARCH64_TLS_DTPMOD64): Rename to ..
32551 (R_AARCH64_TLS_DTPMOD): This.
32552 (R_AARCH64_TLS_DTPREL64): Rename to ...
32553 (R_AARCH64_TLS_DTPREL): This.
32554 (R_AARCH64_TLS_TPREL64): Rename to ...
32555 (R_AARCH64_TLS_TPREL): This.
32556 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
32557 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
32558 R_AARCH64_TLS_TPREL64.
32559 (elf_machine_rela): Likewise.
32560
32561 2014-11-21 Torvald Riegel <triegel@redhat.com>
32562
32563 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
32564 by setting it to 0. 64b atomics are not supported currently.
32565
32566 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32567
32568 [BZ #16469]
32569 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
32570 search domain names.
32571
32572 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32573
32574 [BZ #16469]
32575 * NEWS: Update.
32576 * resolv/res_query.c (__libc_res_nquerydomain): Retain
32577 trailing dot.
32578 * posix/tst-getaddrinfo5.c: New.
32579 * posix/Makefile (tests): Add it.
32580
32581 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32582
32583 [BZ #14498]
32584 * NEWS: Fixed.
32585 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
32586 after parsing line but before break_if_match.
32587 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
32588 if there is a protocol mismatch.
32589
32590 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
32591
32592 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
32593 because the potential race is on the user-supplied stream.
32594
32595 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32596
32597 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
32598 string literal if not passed a buffer.
32599 * manual/job.texi (ctermid): Update reasoning, note deviation
32600 from posix, suggest mtasurace when not passed a buffer, for
32601 future non-preliminary safety notes.
32602
32603 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32604
32605 * manual/users.texi (cuserid): Fix MT-Safety note for the case
32606 of not passing it a buffer.
32607 Reported by Peng Haitao.
32608
32609 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32610
32611 * manual/Makefile ($(objpfx)stamp-summary): Require
32612 check-safety.sh to pass.
32613 * manual/check-safety.sh: Wish for verification that every
32614 @deftypefn and @deftypefun is followed by a @safety remark.
32615
32616 2014-11-20 Roland McGrath <roland@hack.frob.com>
32617
32618 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
32619
32620 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
32621 PTHREAD_CANCEL_ASYNCHRONOUS.
32622 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
32623 send SIGCANCEL.
32624
32625 * nptl/default-sched.h: New file.
32626 * sysdeps/unix/sysv/linux/default-sched.h: New file.
32627 * nptl/pthread_create.c: Include it.
32628 (__pthread_create_2_1): Use collect_default_sched instead of making
32629 Linux syscalls here directly.
32630
32631 2014-11-20 Torvald Riegel <triegel@redhat.com>
32632
32633 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
32634 __pthread_once): Use C11 atomics.
32635
32636 2014-11-20 Torvald Riegel <triegel@redhat.com>
32637
32638 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
32639
32640 2014-11-20 Torvald Riegel <triegel@redhat.com>
32641
32642 * include/atomic.h (__atomic_link_error, __atomic_check_size,
32643 atomic_thread_fence_acquire, atomic_thread_fence_release,
32644 atomic_thread_fence_seq_cst, atomic_load_relaxed,
32645 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
32646 atomic_compare_exchange_weak_relaxed,
32647 atomic_compare_exchange_weak_acquire,
32648 atomic_compare_exchange_weak_release,
32649 atomic_exchange_acquire, atomic_exchange_release,
32650 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
32651 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
32652 atomic_fetch_and_acquire,
32653 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
32654
32655 2014-11-20 Torvald Riegel <triegel@redhat.com>
32656
32657 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
32658 USE_ATOMIC_COMPILER_BUILTINS): Define.
32659 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
32660 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32661 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
32662 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32663 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
32664 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32665 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
32666 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32667 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
32668 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32669 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
32670 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32671 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
32672 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32673 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
32674 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32675 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
32676 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32677 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
32678 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32679 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
32680 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32681 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
32682 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32683 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
32684 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32685 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
32686 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32687 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
32688 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32689 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
32690 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32691 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
32692 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32693 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
32694 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32695 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
32696 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32697 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
32698 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32699
32700 2014-11-19 Roland McGrath <roland@hack.frob.com>
32701
32702 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
32703 the sched_priority value here. It was already checked when the user
32704 called pthread_attr_setschedparam.
32705
32706 * nptl/tst-bad-schedattr.c: New file.
32707 * nptl/Makefile (tests): Add it.
32708
32709 2014-11-19 Carlos O'Donell <carlos@redhat.com>
32710 Florian Weimer <fweimer@redhat.com>
32711 Joseph Myers <joseph@codesourcery.com>
32712 Adam Conrad <adconrad@0c3.net>
32713 Andreas Schwab <schwab@suse.de>
32714 Brooks <bmoses@google.com>
32715
32716 [BZ #17625]
32717 * wordexp-test.c (__dso_handle): Add prototype.
32718 (__register_atfork): Likewise.
32719 (__app_register_atfork): New function.
32720 (registered_forks): New global.
32721 (register_fork): New function.
32722 (test_case): Add 3 new tests for WRDE_CMDSUB.
32723 (main): Call __app_register_atfork.
32724 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
32725 fork count is non-zero fail the test.
32726 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
32727 is set.
32728 (parse_dollars): Remove check for WRDE_NOCMD.
32729 (parse_dquote): Likewise.
32730
32731 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32732
32733 * Makeconfig (built-modules): List non-library modules to be
32734 built.
32735 (module-cppflags): Include libc-modules.h for
32736 everything except shlib-versions.v.i.
32737 (CPPFLAGS): Use it.
32738 (before-compile): Add libc-modules.h.
32739 ($(common-objpfx)libc-modules.h,
32740 $(common-objpfx)libc-modules.stmp): New targets.
32741 (common-generated): Add libc-modules.h and libc-modules.stmp.
32742 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
32743 * include/libc-symbols.h: Don't include libc-modules.h.
32744 * include/libc-modules.h: Remove file.
32745 * scripts/gen-libc-modules.awk: New script to generate
32746 libc-modules.h.
32747 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
32748 Depend on libc-modules.stmp.
32749
32750 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
32751
32752 * Makeconfig (in-module): Get value of libof set for the
32753 translation unit.
32754 (CPPFLAGS): Use $(in-module).
32755 * Makerules: Don't suffix routine names for nonlib.
32756 * include/libc-modules.h: New file.
32757 * include/libc-symbols.h: Include libc-modules.h
32758 (IS_IN): New macro to replace IS_IN_* macros.
32759 * elf/Makefile: Set libof-* for each routine.
32760 * elf/rtld-Rules: Likewise.
32761 * extra-modules.mk: Likewise.
32762 * iconv/Makefile: Likewise.
32763 * iconvdata/Makefile: Likewise.
32764 * locale/Makefile: Likewise.
32765 * malloc/Makefile: Likewise.
32766 * nss/Makefile: Likewise.
32767 * sysdeps/gnu/Makefile: Likewise.
32768 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
32769 * sysdeps/unix/sysv/linux/Makefile: Likewise.
32770 * sysdeps/s390/s390-64/Makefile: Likewise.
32771 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
32772 CPPFLAGS for nscd instead of nonlib.
32773
32774 2014-11-18 Roland McGrath <roland@hack.frob.com>
32775
32776 * nptl/createthread.c: New file.
32777
32778 * nptl/createthread.c: Moved ...
32779 * sysdeps/unix/sysv/linux/createthread.c: ... here.
32780
32781 * nptl/createthread.c: Add proper top-line comment.
32782 (do_clone): Folded into ...
32783 (create_thread): ... here. Take new arguments STOPPED_START and
32784 THREAD_RAN. Always set PD->stopped_start to something here. Don't
32785 increment __nptl_threads, do event-reporting logic, do
32786 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
32787 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
32788 resource cleanup if sched_setaffinity or sched_setscheduler fails,
32789 just send SIGCANCEL.
32790 * nptl/pthread_create.c: Forward-declare create_thread before
32791 including createthread.c.
32792 (start_thread): Use new macro START_THREAD_DEFN to replace defining
32793 declaration, and new macro START_THREAD_SELF to replace argument.
32794 Remove return statement.
32795 (report_thread_creation): New function.
32796 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
32797 synchronization logic, and __nptl_nthreads increment here, around
32798 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
32799 PD->parent_cancelhandling here, before create_thread. When
32800 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
32801 __deallocate_stack, and ENOMEM translation here.
32802
32803 2014-11-18 Joseph Myers <joseph@codesourcery.com>
32804
32805 [BZ #17616]
32806 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
32807 (mptwo): Rename to __mptwo.
32808 (__inv): Use __mptwo instead of mptwo.
32809 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
32810 (mptwo): Rename to __mptwo.
32811 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
32812 of mpone and __mptwo instead of mptwo.
32813 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
32814 instead of mpone.
32815 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32816 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
32817 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
32818 of mpone and __mptwo instead of mptwo.
32819 (__mpranred): Use __mpone instead of mpone.
32820 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
32821 variable.
32822 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
32823 (test-xfail-ISO99/math.h/linknamespace): Likewise.
32824 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
32825 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
32826 (test-xfail-ISO11/math.h/linknamespace): Likewise.
32827 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
32828 (test-xfail-XPG3/math.h/linknamespace): Likewise.
32829 (test-xfail-XPG4/math.h/linknamespace): Likewise.
32830 (test-xfail-POSIX/math.h/linknamespace): Likewise.
32831 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
32832 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
32833 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
32834 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
32835 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
32836 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
32837 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
32838 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
32839 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
32840 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
32841
32842 2014-11-18 Tom de Vries <tom@codesoucery.com>
32843
32844 * manual/signal.texi (Primitives Interrupted by Signals): In section,
32845 replace BSD Handler xref with BSD Signal Handling.
32846
32847 2014-11-17 Richard Henderson <rth@redhat.com>
32848
32849 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
32850 (_FP_PACK_RAW_2): Remove.
32851 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
32852 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
32853 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
32854 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
32855 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
32856 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
32857 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
32858 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
32859 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
32860 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
32861 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
32862 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
32863 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
32864 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
32865 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
32866 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
32867
32868 2014-11-14 Roland McGrath <roland@hack.frob.com>
32869
32870 * signal/signal.h [__USE_MISC]
32871 (struct sigvec): Remove type.
32872 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
32873 (sigvec): Remove declaration.
32874 * sysdeps/posix/sigvec.c: Moved ...
32875 * signal/sigvec.c: ... here, replacing old file.
32876 (struct sigvec): New type, copied from old signal.h definition.
32877 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
32878 (__sigvec): Convert definition to prototype.
32879 (sigvec): Replace weak_alias with compat_symbol.
32880 * signal/Versions (libc: GLIBC_2.21): New version set.
32881 * include/signal.h: Remove __sigvec declaration.
32882 * sysdeps/unix/bsd/sigvec.c: Remove file.
32883 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
32884 * manual/signal.texi (BSD Handler): Remove subsection.
32885 Move siginterrupt up to ...
32886 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
32887 (Blocking in BSD): Fold subsection into its parent.
32888 * NEWS: Mention sigvec removal.
32889
32890 2014-11-14 Joseph Myers <joseph@codesourcery.com>
32891
32892 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
32893 (DLA_FMS): Make definition conditional only on [__FMA4__].
32894 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
32895 definition.
32896
32897 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
32898 Make definition conditional only on [PROF].
32899 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
32900 definition.
32901 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
32902 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
32903
32904 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
32905 !__GNUC__].
32906 * include/signal.h (__sigpause): Move declaration above call to
32907 libc_hidden_proto.
32908 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
32909 variable.
32910 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
32911 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
32912
32913 2014-11-14 David S. Miller <davem@davemloft.net>
32914
32915 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
32916 Define before including <string/memcpy.c> and <string/mempcpy.c>.
32917
32918 2014-11-14 Joseph Myers <joseph@codesourcery.com>
32919
32920 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
32921 * configure: Regenerated.
32922 * manual/install.texi (Tools for Compilation): Document a
32923 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
32924 compiler verified to work.
32925 * INSTALL: Regenerated.
32926
32927 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
32928 redeclare with asm name.
32929 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
32930 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
32931 including <string.h>.
32932 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32933 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
32934 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32935 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
32936 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32937 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
32938 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32939
32940 2014-11-13 Joseph Myers <joseph@codesourcery.com>
32941
32942 * stdlib/strtol.c (__strtol): Use prototype definition.
32943
32944 [BZ #17594]
32945 * stdlib/strtol.c (SYM__): New macro.
32946 (SYM__1): Likewise.
32947 (__strtol): Likewise.
32948 (strtol): Rename to __strtol and define as weak alias of
32949 __strtol. Use libc_hidden_weak.
32950
32951 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
32952
32953 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
32954 Use numbered labels in inline assembly.
32955
32956 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
32957
32958 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
32959 Add setjmp LIBC_PROBE.
32960 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
32961 Likewise.
32962 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
32963 Add longjmp, longjmp_target LIBC_PROBE.
32964 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
32965 Likewise.
32966
32967 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
32968
32969 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32970 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
32971 to get rid of unused variable warning.
32972
32973 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
32974
32975 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
32976 Check for unwind_backtrace == NULL only in SHARED case.
32977 (__backchain_backtrace): Compile only in SHARED case.
32978 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
32979 Likewise.
32980 (__backchain_backtrace): Declare as static.
32981
32982 2014-11-12 Roland McGrath <roland@hack.frob.com>
32983
32984 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
32985 (__libc_multiple_threads_ptr): Variable moved ...
32986 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
32987
32988 2014-11-12 Joseph Myers <joseph@codesourcery.com>
32989
32990 * conform/GlibcConform.pm: New file.
32991 * conform/conformtest.pl: Use GlibcConform module.
32992 * conform/linknamespace.pl: New file.
32993 * conform/list-header-symbols.pl: Likewise.
32994 * conform/Makefile (linknamespace-symlists-base): New variable.
32995 (linknamespace-symlists-tests): Likewise.
32996 (linknamespace-header-base): Likewise.
32997 (linknamespace-header-tests): Likewise.
32998 (tests-special): Add new tests.
32999 ($(linknamespace-symlists-tests)): New rule.
33000 (linknamespace-libs): New variable.
33001 ($(objpfx)symlist-stdlibs): New rule.
33002 ($(linknamespace-header-tests)): Likewise.
33003 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
33004 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
33005 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
33006 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
33007 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
33008 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
33009 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
33010 (test-xfail-ISO/math.h/linknamespace): Likewise.
33011 (test-xfail-ISO/signal.h/linknamespace): Likewise.
33012 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
33013 (test-xfail-ISO/time.h/linknamespace): Likewise.
33014 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33015 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
33016 (test-xfail-ISO99/math.h/linknamespace): Likewise.
33017 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33018 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
33019 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33020 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33021 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
33022 (test-xfail-ISO11/math.h/linknamespace): Likewise.
33023 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33024 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
33025 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33026 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
33027 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
33028 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
33029 (test-xfail-XPG3/math.h/linknamespace): Likewise.
33030 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
33031 (test-xfail-XPG3/search.h/linknamespace): Likewise.
33032 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
33033 (test-xfail-XPG3/time.h/linknamespace): Likewise.
33034 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
33035 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33036 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
33037 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
33038 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33039 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33040 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
33041 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
33042 (test-xfail-XPG4/math.h/linknamespace): Likewise.
33043 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
33044 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33045 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
33046 (test-xfail-XPG4/search.h/linknamespace): Likewise.
33047 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33048 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
33049 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
33050 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
33051 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
33052 (test-xfail-XPG4/time.h/linknamespace): Likewise.
33053 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
33054 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33055 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
33056 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33057 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33058 (test-xfail-POSIX/math.h/linknamespace): Likewise.
33059 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
33060 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
33061 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
33062 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33063 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
33064 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
33065 (test-xfail-POSIX/time.h/linknamespace): Likewise.
33066 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
33067 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33068 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33069 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
33070 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
33071 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33072 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33073 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33074 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33075 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33076 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
33077 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
33078 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33079 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33080 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
33081 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33082 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33083 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
33084 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33085 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33086 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
33087 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
33088 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
33089 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33090 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
33091 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
33092 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33093 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
33094 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33095 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
33096 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
33097 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33098 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33099 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
33100 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33101 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33102 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
33103 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
33104 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
33105 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
33106 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
33107 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33108 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33109 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33110 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
33111 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
33112 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33113 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
33114 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
33115 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33116 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
33117 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33118 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
33119 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
33120 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
33121 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33122 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
33123 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33124 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
33125 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
33126 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
33127 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
33128 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33129 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
33130 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
33131 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
33132 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
33133 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33134 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
33135 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33136 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
33137 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
33138 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33139 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
33140 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
33141 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
33142 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33143 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33144 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
33145 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
33146 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
33147 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
33148 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33149 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
33150 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
33151 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
33152 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
33153 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
33154 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33155 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33156 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33157 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33158 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
33159 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
33160 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
33161 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33162 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
33163 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
33164
33165 [BZ #17589]
33166 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
33167 of fgets_unlocked.
33168
33169 [BZ #17585]
33170 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
33171 (memmem): Rename to __memmem and define as weak alias of
33172 __memmem. Use libc_hidden_weak.
33173 (__memmem): Use libc_hidden_def.
33174 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
33175 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
33176 memmem.
33177
33178 [BZ #17582]
33179 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
33180 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
33181 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
33182 and define as weak alias of __fgets_unlocked. Use
33183 libc_hidden_weak.
33184 (__fgets_unlocked): Use libc_hidden_def.
33185 * include/stdio.h (__fgets_unlocked): Declare. Use
33186 libc_hidden_proto.
33187 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
33188 __fgets_unlocked instead of fgets_unlocked.
33189 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
33190 (GET_NPROCS_CONF_PARSER): Likewise.
33191 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
33192 (GET_NPROCS_CONF_PARSER): Likewise.
33193
33194 [BZ #17574]
33195 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
33196 weak alias of __wmemset. Use libc_hidden_weak.
33197 (__wmemset): Use libc_hidden_def.
33198 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
33199 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
33200 of wmemset.
33201
33202 [BZ #17573]
33203 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
33204 with asm name __mempcpy.
33205 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
33206
33207 [BZ #17572]
33208 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
33209 and define as weak alias of __rawmemchr.
33210 (__rawmemchr): Do not define as strong alias of rawmemchr.
33211
33212 [BZ #17571]
33213 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
33214 alias of __qsort_r.
33215 (qsort): Call __qsort_r instead of qsort_r.
33216 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
33217 (__qsort_r): Declare. Call libc_hidden_proto.
33218 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
33219 instead of qsort_r.
33220 * nscd/gai.c (__qsort_r): Define to qsort_r.
33221 * posix/tst-rfc3484.c (__qsort_r): Likewise.
33222 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
33223 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
33224
33225 [BZ #17570]
33226 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
33227 define as weak alias of __malloc_info.
33228
33229 [BZ #17584]
33230 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
33231 as weak alias of __rewinddir. Don't use libc_hidden_def.
33232 (__rewinddir): Use libc_hidden_def.
33233 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
33234 as weak alias of __rewinddir. Don't use libc_hidden_def.
33235 (__rewinddir): Use libc_hidden_def.
33236 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
33237 weak alias of __rewinddir. Don't use libc_hidden_def.
33238 (__rewinddir): Use libc_hidden_def.
33239 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
33240 (__rewinddir): Use libc_hidden_proto.
33241 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
33242 rewinddir.
33243 (__getcwd): Use __rewinddir instead of rewinddir.
33244
33245 [BZ #17583]
33246 * libio/fileno.c (fileno): Rename to __fileno and define as weak
33247 alias of __fileno. Use libc_hidden_weak.
33248 (__fileno): Use libc_hidden_def.
33249 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
33250 * libio/ftello.c (ftello): Rename to __ftello and define as weak
33251 alias of __ftello.
33252 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
33253 __ftello.
33254 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
33255 (__fread_unlocked): Define as strong alias of _IO_fread. Use
33256 libc_hidden_def.
33257 (fread_unlocked): Don't use libc_hidden_ver.
33258 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
33259 and define as weak alias of __fread_unlocked. Don't use
33260 libc_hidden_def.
33261 (__fread_unlocked): Use libc_hidden_def.
33262 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
33263 (ftello): Don't use libc_hidden_proto.
33264 (__ftello): Declare. Use libc_hidden_proto.
33265 (fread_unlocked): Don't use libc_hidden_proto.
33266 (__fread_unlocked): Declare. Use libc_hidden_proto.
33267 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
33268 and __ftello instead of fileno, fread_unlocked and ftello.
33269
33270 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33271
33272 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
33273 GOT12.
33274 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
33275 Likewise.
33276 (_dl_start_user): Likewise.
33277 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
33278
33279 2014-11-12 Carlos O'Donell <carlos@redhat.com>
33280 Siddhesh Poyarekar <siddhesh@redhat.com>
33281
33282 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
33283 Move argv and envp down instead of moving argc up.
33284 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
33285
33286 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
33287
33288 [BZ #17506]
33289 * test-skeleton.c (main): Return successful if one of
33290 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
33291 * string/tst-strcoll-overflow.c: Define expected status.
33292
33293 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
33294
33295 [BZ #17475]
33296 * locale/iso-639.def: Define Bhili and Tulu language codes.
33297
33298 2014-11-11 Alan Hayward <alan.hayward@arm.com>
33299
33300 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
33301
33302 2014-11-10 Renlin Li <Renlin.Li@arm.com>
33303
33304 [BZ #17555]
33305 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
33306
33307 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
33308
33309 * configure.ac: Updated check of minimal required version to
33310 2.22.
33311 * manual/install.texi (Tools for Compilation): Updated version
33312 number.
33313 * configure: Regenerated.
33314 * INSTALL: Likewise.
33315
33316 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
33317
33318 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
33319 __tls_get_addr.
33320
33321 2014-11-07 Joseph Myers <joseph@codesourcery.com>
33322
33323 * include/sys/wait.h (__libc_waitpid): Remove declaration.
33324 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
33325 (__waitpid): Don't define as alias. Use libc_hidden_def not
33326 libc_hidden_weak.
33327 (waitpid): Define as alias of __waitpid.
33328 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
33329 __waitpid.
33330 (__waitpid): Don't define as alias. Use libc_hidden_def not
33331 libc_hidden_weak.
33332 (waitpid): Define as alias of __waitpid.
33333 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
33334 __libc_waitpid alias.
33335 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
33336 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
33337 Likewise.
33338 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
33339 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
33340 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
33341 alias.
33342 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
33343 __waitpid.
33344 (__waitpid): Don't define as alias. Use libc_hidden_def not
33345 libc_hidden_weak.
33346 (waitpid): Define as alias of __waitpid.
33347
33348 2014-11-06 Carlos O'Donell <carlos@redhat.com>
33349
33350 * manual/llio.texi: Add comment that write safety has been
33351 fixed in Linux.
33352
33353 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
33354 (localplt-build-dso): Add elf/ld.so.
33355 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
33356 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
33357 and free for ld.so.
33358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
33359 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
33360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
33361 Likewise.
33362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33363 Likewise.
33364 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
33365 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
33366 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
33367 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
33368 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
33369 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
33370 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
33371 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
33372 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
33373 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
33374 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
33375
33376 2014-11-05 Joseph Myers <joseph@codesourcery.com>
33377
33378 [BZ #14132]
33379 * include/libc-symbols.h (INTUSE): Remove macro.
33380 (INTDEF): Likewise.
33381 (INTVARDEF): Likewise.
33382 (_INTVARDEF): Likewise.
33383 (INTDEF2): Likewise.
33384 (INTVARDEF2): Likewise.
33385 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
33386 rtld_hidden_def instead of INTVARDEF.
33387 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
33388 (_dl_starting_up_internal): Remove declaration.
33389 (_dl_starting_up): Use rtld_hidden_proto.
33390 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
33391 declaration.
33392 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
33393 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
33394 _dl_starting_up.
33395 * elf/dl-writev.h (_dl_writev): Likewise.
33396 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
33397 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
33398 _dl_starting_up_internal.
33399
33400 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33401
33402 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
33403 test-skeleton.c.
33404
33405 2014-11-05 Will Newton <will.newton@linaro.org>
33406
33407 * benchtests/Makefile: (bench-malloc): Add malloc thread
33408 scalability benchmark.
33409 * benchtests/bench-malloc-threads.c: New file.
33410
33411 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
33412
33413 * sysdeps/aarch64/strchrnul.S: New file.
33414
33415 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33416
33417 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
33418 definition.
33419 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
33420 Likewise.
33421 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
33422 Likewise.
33423 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
33424 Likewise.
33425 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
33426 Likewise.
33427 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
33428 Likewise.
33429
33430 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
33431
33432 * catgets/test-gencat.c: Use test-skeleton.c.
33433 * catgets/tst-catgets.c: Likewise.
33434 * csu/tst-empty.c: Likewise.
33435 * elf/tst-audit2.c: Likewise.
33436 * elf/tst-global1.c: Likewise.
33437 * elf/tst-pathopt.c: Likewise.
33438 * elf/tst-piemod1.c: Likewise.
33439 * elf/tst-tls10.c: Likewise.
33440 * elf/tst-tls11.c: Likewise.
33441 * elf/tst-tls12.c: Likewise.
33442 * gnulib/tst-gcc.c: Likewise.
33443 * iconvdata/tst-e2big.c: Likewise.
33444 * iconvdata/tst-loading.c: Likewise.
33445 * iconv/tst-iconv1.c: Likewise.
33446 * iconv/tst-iconv2.c: Likewise.
33447 * inet/test-inet6_opt.c: Likewise.
33448 * inet/tst-gethnm.c: Likewise.
33449 * inet/tst-network.c: Likewise.
33450 * inet/tst-ntoa.c: Likewise.
33451 * intl/tst-codeset.c: Likewise.
33452 * intl/tst-gettext2.c: Likewise.
33453 * intl/tst-gettext3.c: Likewise.
33454 * intl/tst-ngettext.c: Likewise.
33455 * intl/tst-translit.c: Likewise.
33456 * io/test-stat.c: Likewise.
33457 * libio/test-fmemopen.c: Likewise.
33458 * libio/tst-freopen.c: Likewise.
33459 * libio/tst-sscanf.c: Likewise.
33460 * libio/tst-ungetwc1.c: Likewise.
33461 * libio/tst-ungetwc2.c: Likewise.
33462 * libio/tst-widetext.c: Likewise.
33463 * localedata/tst-ctype.c: Likewise.
33464 * localedata/tst-digits.c: Likewise.
33465 * localedata/tst-leaks.c: Likewise.
33466 * localedata/tst-mbswcs1.c: Likewise.
33467 * localedata/tst-mbswcs2.c: Likewise.
33468 * localedata/tst-mbswcs3.c: Likewise.
33469 * localedata/tst-mbswcs4.c: Likewise.
33470 * localedata/tst-mbswcs5.c: Likewise.
33471 * localedata/tst-setlocale.c: Likewise.
33472 * localedata/tst-trans.c: Likewise.
33473 * localedata/tst-wctype.c: Likewise.
33474 * localedata/tst-xlocale1.c: Likewise.
33475 * login/tst-grantpt.c: Likewise.
33476 * malloc/tst-calloc.c: Likewise.
33477 * malloc/tst-malloc.c: Likewise.
33478 * malloc/tst-mallocstate.c: Likewise.
33479 * malloc/tst-mcheck.c: Likewise.
33480 * malloc/tst-mtrace.c: Likewise.
33481 * malloc/tst-obstack.c: Likewise.
33482 * math/atest-exp2.c: Likewise.
33483 * math/atest-exp.c: Likewise.
33484 * math/atest-sincos.c: Likewise.
33485 * math/test-matherr.c: Likewise.
33486 * math/test-misc.c: Likewise.
33487 * math/test-powl.c: Likewise.
33488 * math/tst-definitions.c: Likewise.
33489 * misc/tst-dirname.c: Likewise.
33490 * misc/tst-efgcvt.c: Likewise.
33491 * misc/tst-fdset.c: Likewise.
33492 * misc/tst-hsearch.c: Likewise.
33493 * misc/tst-mntent2.c: Likewise.
33494 * nptl/tst-sem7.c: Likewise.
33495 * nptl/tst-sem8.c: Likewise.
33496 * nptl/tst-sem9.c: Likewise.
33497 * nss/test-netdb.c: Likewise.
33498 * posix/tst-fnmatch.c: Likewise.
33499 * posix/tst-getlogin.c: Likewise.
33500 * posix/tst-gnuglob.c: Likewise.
33501 * posix/tst-mmap.c: Likewise.
33502 * pwd/tst-getpw.c: Likewise.
33503 * resolv/tst-inet_ntop.c: Likewise.
33504 * rt/tst-timer.c: Likewise.
33505 * stdio-common/test-fseek.c: Likewise.
33506 * stdio-common/test-popen.c: Likewise.
33507 * stdio-common/test-vfprintf.c: Likewise.
33508 * stdio-common/tst-cookie.c: Likewise.
33509 * stdio-common/tst-fileno.c: Likewise.
33510 * stdio-common/tst-gets.c: Likewise.
33511 * stdio-common/tst-obprintf.c: Likewise.
33512 * stdio-common/tst-perror.c: Likewise.
33513 * stdio-common/tst-sprintf2.c: Likewise.
33514 * stdio-common/tst-sprintf3.c: Likewise.
33515 * stdio-common/tst-sprintf.c: Likewise.
33516 * stdio-common/tst-swprintf.c: Likewise.
33517 * stdio-common/tst-tmpnam.c: Likewise.
33518 * stdio-common/tst-unbputc.c: Likewise.
33519 * stdio-common/tst-wc-printf.c: Likewise.
33520 * stdlib/tst-environ.c: Likewise.
33521 * stdlib/tst-fmtmsg.c: Likewise.
33522 * stdlib/tst-limits.c: Likewise.
33523 * stdlib/tst-rand48-2.c: Likewise.
33524 * stdlib/tst-rand48.c: Likewise.
33525 * stdlib/tst-random2.c: Likewise.
33526 * stdlib/tst-random.c: Likewise.
33527 * stdlib/tst-strtol.c: Likewise.
33528 * stdlib/tst-strtoll.c: Likewise.
33529 * stdlib/tst-tls-atexit.c: Likewise.
33530 * stdlib/tst-xpg-basename.c: Likewise.
33531 * string/test-ffs.c: Likewise.
33532 * string/tst-bswap.c: Likewise.
33533 * string/tst-inlcall.c: Likewise.
33534 * string/tst-strtok.c: Likewise.
33535 * string/tst-strxfrm.c: Likewise.
33536 * sysdeps/x86_64/tst-audit10.c: Likewise.
33537 * sysdeps/x86_64/tst-audit3.c: Likewise.
33538 * sysdeps/x86_64/tst-audit4.c: Likewise.
33539 * sysdeps/x86_64/tst-audit5.c: Likewise.
33540 * time/tst-ftime_l.c: Likewise.
33541 * time/tst-getdate.c: Likewise.
33542 * time/tst-mktime3.c: Likewise.
33543 * time/tst-mktime.c: Likewise.
33544 * time/tst-posixtz.c: Likewise.
33545 * time/tst-strptime2.c: Likewise.
33546 * time/tst-strptime3.c: Likewise.
33547 * wcsmbs/tst-btowc.c: Likewise.
33548 * wcsmbs/tst-mbrtowc.c: Likewise.
33549 * wcsmbs/tst-mbsrtowcs.c: Likewise.
33550 * wcsmbs/tst-wchar-h.c: Likewise.
33551 * wcsmbs/tst-wcpncpy.c: Likewise.
33552 * wcsmbs/tst-wcrtomb.c: Likewise.
33553 * wcsmbs/tst-wcsnlen.c: Likewise.
33554 * wcsmbs/tst-wcstof.c: Likewise.
33555
33556 2014-11-04 Joseph Myers <joseph@codesourcery.com>
33557
33558 [BZ #14132]
33559 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
33560 INTDEF.
33561 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
33562 declaration.
33563 (_dl_mcount): Use rtld_hidden_proto.
33564 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
33565 _dl_mcount.
33566 * elf/rtld.c (_rtld_global_ro): Likewise.
33567
33568 [BZ #14132]
33569 * elf/dl-init.c (_dl_init): Don't use INTDEF.
33570 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
33571 of _dl_init_internal.
33572 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
33573 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
33574 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
33575 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
33576 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
33577 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
33578 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
33579 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
33580 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
33581 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
33582 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
33583 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
33584 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33585 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33586 * sysdeps/tile/dl-start.S (_start): Likewise.
33587 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
33588 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
33589
33590 [BZ #14132]
33591 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
33592 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
33593 (rtld_progname): Make macro definition unconditional.
33594 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
33595 INTDEF.
33596 (dlmopen_doit): Do not use INTUSE with _dl_argv.
33597 (dl_main): Likewise.
33598 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33599 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
33600 instead of _dl_argv_internal.
33601 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33602 __GI__dl_argv instead of INTUSE(_dl_argv).
33603 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
33604 __GI__dl_argv instead of _dl_argv_internal.
33605
33606 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
33607 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
33608 macro.
33609 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
33610 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
33611 New macro.
33612 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
33613 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
33614 macro.
33615 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
33616 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
33617
33618 2014-11-04 Andreas Schwab <schwab@suse.de>
33619
33620 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
33621
33622 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33623
33624 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
33625 mtvsrd instruction in binary form.
33626
33627 2014-11-03 Andreas Schwab <schwab@suse.de>
33628
33629 [BZ #17522]
33630 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
33631 for less than MB_LEN_MAX use a local buffer of that size.
33632 * libio/tst-fputws.c: New file.
33633 * libio/Makefile (tests): Add tst-fputws.
33634
33635 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
33636
33637 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
33638 the size of the fpu_fr.fpu_dregs[] array.
33639
33640 2014-11-01 Joseph Myers <joseph@codesourcery.com>
33641
33642 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
33643 (__nanosleep): Do not define as alias.
33644 (nanosleep): Define as alias of __nanosleep.
33645 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
33646 __libc_nanosleep name.
33647
33648 2014-10-31 Joseph Myers <joseph@codesourcery.com>
33649
33650 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
33651 install.texi in comment.
33652
33653 2014-10-31 Torvald Riegel <triegel@redhat.com>
33654
33655 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
33656 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
33657 ... add here and use lwsync or sync ...
33658 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
33659 ... and add here using lwsync.
33660
33661 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
33662
33663 * elf/dl-machine-reject-phdr.h: New file.
33664 * elf/dl-load.c: #include that.
33665 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
33666 if that returned true.
33667
33668 2014-10-31 Roland McGrath <roland@hack.frob.com>
33669
33670 [BZ #17496]
33671 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
33672 gen-as-const-headers chunk. Add a big scare comment after the last
33673 safe place to touch before-compile.
33674
33675 2014-10-31 Joseph Myers <joseph@codesourcery.com>
33676
33677 * manual/install.texi (Tools for Compilation): Update autoconf
33678 version requirements.
33679 * INSTALL: Regenerated.
33680
33681 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
33682 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
33683 (__libc_pselect): Likewise.
33684
33685 [BZ #14138]
33686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
33687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33690
33691 2014-10-31 Torvald Riegel <triegel@redhat.com>
33692
33693 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
33694 correct barrier instruction.
33695 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
33696 Likewise.
33697 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
33698 Likewise.
33699
33700 2014-10-30 Roland McGrath <roland@hack.frob.com>
33701
33702 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
33703 after defining inlines. Instead, just use parens to defeat macro
33704 expansion of __isctype in its declaration.
33705
33706 2014-10-30 Joseph Myers <joseph@codesourcery.com>
33707
33708 * include/sys/uio.h (__libc_readv): Remove declaration.
33709 (__libc_writev): Likewise.
33710 * misc/readv.c (__libc_readv): Rename to __readv.
33711 (__readv): Do not define as alias.
33712 (readv): Define as alias of __readv.
33713 * misc/writev.c (__libc_writev): Rename to __writev.
33714 (__writev): Do not define as alias.
33715 (writev): Define as alias of __writev.
33716 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
33717 (__readv): Do not define as alias.
33718 (readv): Define unconditionally as alias of __readv.
33719 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
33720 (__writev): Do not define as alias.
33721 (writev): Define unconditionally as alias of __writev.
33722 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
33723 name.
33724 (writev): Do not define __libc_writev name.
33725
33726 2014-10-30 Roland McGrath <roland@hack.frob.com>
33727
33728 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
33729 (convert_charseq): New function, broken out of ...
33730 (use_from_charmap): ... here. Call it.
33731 (use_to_charmap): Use convert_charseq and free instead of duplicating
33732 its code with a variable-length stack struct.
33733
33734 2014-10-30 Joseph Myers <joseph@codesourcery.com>
33735
33736 * include/fcntl.h (__libc_creat): Remove declaration.
33737 * io/creat.c (__libc_creat): Rename to creat.
33738 (creat): Do not define as alias.
33739 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
33740 of creat instead of __libc_creat.
33741 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
33742 to creat.
33743 (creat): Do not define as alias.
33744 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
33745 __libc_creat.
33746 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
33747 __libc_creat name.
33748 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
33749 Likewise.
33750
33751 2014-10-29 Carlos O'Donell <carlos@redhat.com>
33752
33753 * manual/llio.texi: Add comments discussing why write() may be
33754 considered MT-unsafe on Linux.
33755
33756 2014-10-28 Carlos O'Donell <carlos@redhat.com>
33757
33758 * dl-load.c (local_strdup): Remove.
33759 (expand_dynamic_string_token): Use __strdup.
33760 (decompose_rpath): Likewise.
33761 (_dl_map_object): Likewise.
33762
33763 2014-10-28 Joseph Myers <joseph@codesourcery.com>
33764
33765 [BZ #14132]
33766 * sysdeps/generic/unwind-dw2-fde.c
33767 (__register_frame_info_bases_internal): Do not declare.
33768 (__register_frame_info_table_bases_internal): Likewise.
33769 (__deregister_frame_info_bases_internal): Likewise.
33770 (__register_frame_info_bases): Declare and use hidden_proto before
33771 definition. Use hidden_def instead of INTDEF.
33772 (__register_frame_info_table_bases): Likewise.
33773 (__deregister_frame_info_bases): Likewise.
33774 (__register_frame_info): Do not use INTUSE.
33775 (__register_frame): Likewise.
33776 (__register_frame_info_table): Likewise.
33777 (__register_frame_table): Likewise.
33778 (__deregister_frame_info): Likewise.
33779 (__deregister_frame): Likewise.
33780
33781 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
33782
33783 * sysdeps/unix/sysv/linux/arm/kernel-features.h
33784 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
33785 not undefine.
33786 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
33787 Likewise.
33788 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
33789 Likewise.
33790
33791 2014-10-27 Joseph Myers <joseph@codesourcery.com>
33792
33793 [BZ #14138]
33794 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
33795 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
33796 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
33797 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
33798 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
33799 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
33800 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
33801 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
33802 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
33803 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
33804 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
33805 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
33806 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
33807 syscall.
33808 (setfsuid): Likewise.
33809 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
33810 (setfsuid): Likewise.
33811 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
33812 (setfsuid): Likewise.
33813 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
33814 Likewise.
33815 (setfsuid): Likewise.
33816 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
33817 (setfsuid): Likewise.
33818 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
33819 Likewise.
33820 (setfsuid): Likewise.
33821
33822 2014-10-27 Andreas Schwab <schwab@suse.de>
33823
33824 [BZ #17501]
33825 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
33826 check for Slow_SSE4_2 feature bit.
33827 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
33828 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33829 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
33830 Likewise. Fix check for Fast_Unaligned_Load feature bit.
33831
33832 2014-10-24 Roland McGrath <roland@hack.frob.com>
33833
33834 * configure.ac: Validate compiler version with a empirical test of
33835 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
33836 $CC -v output.
33837 * configure: Regenerated.
33838
33839 * inet/htons.c (htons): Prototypify.
33840 * inet/htonl.c (htonl): Likewise.
33841
33842 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33843
33844 * string/strncat.c (strncat): Improve performance by using strlen.
33845
33846 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33847
33848 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
33849
33850 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33851
33852 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
33853 Call libc_fetestexcept_aarch64.
33854
33855 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33856
33857 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
33858 Call libc_feholdexcept_aarch64.
33859
33860 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33861
33862 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
33863 Call get_rounding_mode.
33864
33865 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33866
33867 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33868 Simplify logic.
33869
33870 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33871
33872 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
33873 Simplify logic.
33874
33875 2014-10-24 Joseph Myers <joseph@codesourcery.com>
33876
33877 [BZ #14138]
33878 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
33879 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
33880 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
33881 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
33882 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
33883 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
33884 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
33885 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
33886 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
33887 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
33888 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33889 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
33890 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
33891 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
33892 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
33893 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
33894 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
33895 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
33896 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
33897 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
33898 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
33899 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
33900 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
33901 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
33902 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
33903 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
33904 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
33905 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
33906 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
33907 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
33908 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
33909 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
33910 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
33911 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
33912 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
33913 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
33914 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
33915 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
33916 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
33917 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
33918 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
33919 syscall.
33920 (geteuid): Likewise.
33921 (getgid): Likewise.
33922 (getuid): Likewise.
33923 (getresgid): Likewise.
33924 (getresuid): Likewise.
33925 (getgroups): Likewise.
33926 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
33927 (geteuid): Likewise.
33928 (getgid): Likewise.
33929 (getuid): Likewise.
33930 (getresgid): Likewise.
33931 (getresuid): Likewise.
33932 (getgroups): Likewise.
33933 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
33934 (geteuid): Likewise.
33935 (getgid): Likewise.
33936 (getuid): Likewise.
33937 (getresgid): Likewise.
33938 (getresuid): Likewise.
33939 (getgroups): Likewise.
33940 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
33941 Likewise.
33942 (geteuid): Likewise.
33943 (getgid): Likewise.
33944 (getuid): Likewise.
33945 (getresgid): Likewise.
33946 (getresuid): Likewise.
33947 (getgroups): Likewise.
33948 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
33949 (geteuid): Likewise.
33950 (getgid): Likewise.
33951 (getuid): Likewise.
33952 (getresgid): Likewise.
33953 (getresuid): Likewise.
33954 (getgroups): Likewise.
33955 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
33956 Likewise.
33957 (geteuid): Likewise.
33958 (getgid): Likewise.
33959 (getuid): Likewise.
33960 (getgroups): Likewise.
33961
33962 [BZ #14138]
33963 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
33964 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
33965 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
33966 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
33967 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
33968 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
33969 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
33970 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
33971 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
33972 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
33973 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
33974 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
33975 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
33976 __chown.
33977 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
33978 (lchown): Likewise.
33979 (fchown): Likewise.
33980 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
33981 Likewise.
33982 (lchown): Likewise.
33983 (fchown): Likewise.
33984 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
33985 (lchown): Likewise.
33986 (fchown): Likewise.
33987 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
33988 Likewise.
33989 (lchown): Likewise.
33990 (fchown): Likewise.
33991
33992 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
33993
33994 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
33995 Simplify logic.
33996
33997 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
33998
33999 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34000 Cleanup logic.
34001
34002 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34003
34004 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34005 Remove unused include.
34006
34007 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34008
34009 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
34010 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
34011 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
34012 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
34013
34014 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
34015 Helge Deller <deller@gmx.de>
34016
34017 [BZ #17508]
34018 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
34019 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
34020 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
34021
34022 2014-10-23 Joseph Myers <joseph@codesourcery.com>
34023
34024 [BZ #14132]
34025 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
34026 Remove macro definition.
34027 (__ashrdi3_v_glibc20): Likewise.
34028 (__lshrdi3_v_glibc20): Likewise.
34029 (__cmpdi2_v_glibc20): Likewise.
34030 (__ucmpdi2_v_glibc20): Likewise.
34031 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
34032 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34033 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34034 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34035 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34036 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
34037
34038 2014-10-22 Roland McGrath <roland@hack.frob.com>
34039
34040 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
34041 old GNU extension [0] syntax.
34042 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
34043 alloca rather than an array member with variable length.
34044 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
34045 * nscd/nscd.c (invalidate_db): New function, broken out of ...
34046 (parse_opt): ... here. Likewise use alloca there.
34047 Validate the -i argument before checking for rootness.
34048 (send_shutdown): New function, broken out of ...
34049 (parse_opt): ... here.
34050
34051 2014-10-22 Roland McGrath <roland@hack.frob.com>
34052
34053 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
34054 macro to get at the _rt_local_ro field.
34055 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
34056 ([PIC] case) or _dl_hwcap ([!PIC] case).
34057 * sysdeps/arm/setjmp.S: Likewise.
34058
34059 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
34060 * sysdeps/arm/configure.ac: New check to define it.
34061 * sysdeps/arm/configure: Regenerated.
34062 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
34063 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
34064 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
34065 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
34066 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
34067 Use move/movt pair instead of a load.
34068 (LDST_GLOBAL): Macro removed.
34069 (LDR_GLOBAL): New macro replaces it.
34070 (LDR_HIDDEN): New macro.
34071 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
34072 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
34073
34074 * setjmp/tst-setjmp-static.c: New file.
34075 * setjmp/Makefile (tests): Add it.
34076 (tests-static): New variable.
34077
34078 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
34079
34080 [BZ #17485]
34081 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
34082
34083 2014-10-21 Joseph Myers <joseph@codesourcery.com>
34084
34085 [BZ #14132]
34086 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
34087
34088 2014-10-21 Roland McGrath <roland@hack.frob.com>
34089
34090 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
34091
34092 2014-10-20 Roland McGrath <roland@hack.frob.com>
34093
34094 * io/fts.c (dirent_not_directory): New function.
34095 (fts_build): Call it.
34096
34097 2014-10-20 Roland McGrath <roland@hack.frob.com>
34098
34099 * nptl/version.c (__nptl_main): Use normal __write rather than
34100 INTERNAL_SYSCALL.
34101 (banner): Update copyright years.
34102
34103 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
34104 gettimeofday.
34105 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34106 * nptl/pthread_cond_timedwait.c: Likewise.
34107 * nptl/pthread_mutex_timedlock.c: Likewise.
34108 * nptl/sem_timedwait.c: Likewise.
34109
34110 * sysdeps/nptl/bits/libc-lock.h
34111 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34112 (__libc_lock_init_recursive): Return void, not 0.
34113 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
34114 (__libc_rwlock_init): Likewise.
34115 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
34116
34117 2014-10-20 Torvald Riegel <triegel@redhat.com>
34118
34119 [BZ #15215]
34120 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
34121 (__pthread_once_slow): ... here.
34122 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
34123 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
34124
34125 2014-10-20 Torvald Riegel <triegel@redhat.com>
34126
34127 [BZ #15215]
34128 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
34129 __PTHREAD_ONCE_FORK_GEN_INCR): New.
34130 * sysdeps/nptl/fork.c (__libc_fork): Use them.
34131 * nptl/pthread_once.c (__pthread_once): Likewise.
34132 Update comments.
34133
34134 2014-10-20 Joseph Myers <joseph@codesourcery.com>
34135
34136 [BZ #14138]
34137 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
34138 name.
34139 (writev): Use __libc_writev as strong name.
34140 * sysdeps/unix/sysv/linux/readv.c: Remove file.
34141 * sysdeps/unix/sysv/linux/writev.c: Likewise.
34142
34143 2014-10-17 Roland McGrath <roland@hack.frob.com>
34144
34145 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
34146
34147 * sysdeps/i386/nptl/tls.h
34148 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
34149 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
34150 New macros.
34151 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
34152 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
34153 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
34154 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
34155 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
34156 Call CHECK_THREAD_SYSINFO instead of doing an assert.
34157
34158 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
34159 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
34160 on [__NR_futex].
34161 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
34162 broken out of ...
34163 (__pthread_mutex_init): ... here. Call it.
34164 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
34165 Conditionalize PI cases on [__NR_futex].
34166 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
34167 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
34168 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
34169
34170 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
34171 conditional on [SIGSETXID].
34172 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
34173 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
34174 is defined. Likewise for SIGSETXID.
34175 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
34176 Conditionalize definitions on [SIGSETXID].
34177 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
34178 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
34179 unblocking on [SIGCANCEL].
34180
34181 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
34182 [__NR_set_robust_list].
34183
34184 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34185
34186 * string/strcoll_l.c (get_next_seq): Fix up formatting.
34187 (do_compare): Likewise.
34188
34189 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
34190
34191 [BZ #15884]
34192 * string/strcoll_l.c: Don't include stdio.h.
34193 (coll_seq): Remove members idxarr and rulearr.
34194 (get_next_seq_cached): Remove function.
34195 (get_next_seq): Likewise.
34196 (get_next_seq_nocache): Rename to get_next_seq.
34197 (do_compare): Remove function.
34198 (do_compare_nocache): Rename to do_compare.
34199 (STRCOLL): Remove weight and rules cache.
34200
34201 2014-10-16 Roland McGrath <roland@hack.frob.com>
34202
34203 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
34204 * sysdeps/arm/sfp-machine.h: ... to here.
34205 * sysdeps/arm/Implies: Remove arm/soft-fp.
34206
34207 2014-10-14 Joseph Myers <joseph@codesourcery.com>
34208
34209 * conform/data/sys/utsname.h-data (*_t): Allow.
34210 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
34211 [POSIX] (WEXITED): Do not expect constant.
34212 [POSIX] (WSTOPPED): Likewise.
34213 [POSIX] (WNOHANG): Likewise.
34214 [POSIX] (WNOWAIT): Likewise.
34215 [POSIX] (siginfo_t): Do not expect type or elements.
34216 [POSIX] (pid_t): Do not expect type.
34217 [POSIX] (signal.h): Do not allow header.
34218 [POSIX] (sys/resource.h): Likewise.
34219 [POSIX] (si_*): Do not allow pattern.
34220 [POSIX] (W*): Likewise.
34221 [POSIX] (P_*): Likewise.
34222 [POSIX] (BUS_*): Likewise.
34223 [POSIX] (CLD_*): Likewise.
34224 [POSIX] (FPE_*): Likewise.
34225 [POSIX] (ILL_*): Likewise.
34226 [POSIX] (POLL_*): Likewise.
34227 [POSIX] (SEGV_*): Likewise.
34228 [POSIX] (SI_*): Likewise.
34229 [POSIX] (TRAP_*): Likewise.
34230 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
34231 variable.
34232
34233 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
34234
34235 [BZ #12926]
34236 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
34237 infinite loop when __recvmsg returns 0.
34238
34239 2014-10-10 Joseph Myers <joseph@codesourcery.com>
34240
34241 * CANCEL-FCT-WAIVE: Remove file.
34242 * CANCEL-FILE-WAIVE: Likewise.
34243
34244 [BZ #14132]
34245 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
34246 instead of INTVARDEF.
34247 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34248 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
34249 rtld_hidden_data_def instead of INTVARDEF.
34250 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34251 * elf/dl-deps.c (expand_dst): Likewise.
34252 * elf/dl-load.c (_dl_dst_count): Likewise.
34253 (_dl_dst_substitute): Likewise.
34254 (decompose_rpath): Likewise.
34255 (_dl_init_paths): Likewise.
34256 (open_path): Likewise.
34257 (_dl_map_object): Likewise.
34258 * elf/rtld.c (dl_main): Likewise.
34259 (process_dl_audit): Likewise.
34260 (process_envvars): Likewise.
34261 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
34262 Remove declaration.
34263 (__libc_enable_secure): Use rtld_hidden_proto.
34264
34265 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34266
34267 * elf/dl-load.c
34268 (add_path): New function broken out of _dl_rtld_di_serinfo.
34269 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
34270
34271 2014-10-09 Joseph Myers <joseph@codesourcery.com>
34272
34273 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
34274 parentheses around macro arguments.
34275 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
34276 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
34277 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
34278 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
34279 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
34280 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34281 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34282 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
34283 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
34284 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
34285 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
34286 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
34287 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
34288 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
34289 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
34290 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
34291 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
34292 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
34293 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
34294 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
34295 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
34296 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
34297 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
34298 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34299 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34300 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
34301 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
34302 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
34303 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
34304 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
34305 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
34306 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
34307 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
34308 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
34309 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
34310 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
34311 Likewise.
34312 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
34313 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34314 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34315 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
34316 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
34317 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
34318 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
34319 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
34320 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
34321 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
34322 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
34323 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
34324 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
34325 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
34326 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
34327 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34328 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34329 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
34330 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
34331 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
34332 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
34333 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
34334 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
34335 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
34336 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
34337 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
34338 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
34339 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
34340 (_FP_FRAC_SRS_1): Likewise.
34341 (_FP_FRAC_CLZ_1): Likewise.
34342 (_FP_MUL_MEAT_1_imm): Likewise.
34343 (_FP_MUL_MEAT_1_wide): Likewise.
34344 (_FP_MUL_MEAT_1_hard): Likewise.
34345 (_FP_SQRT_MEAT_1): Likewise.
34346 (_FP_FRAC_ASSEMBLE_1): Likewise.
34347 (_FP_FRAC_DISASSEMBLE_1): Likewise.
34348 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
34349 (__FP_CLZ_2): Likewise.
34350 (_FP_MUL_MEAT_2_wide): Likewise.
34351 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
34352 (_FP_MUL_MEAT_2_gmp): Likewise.
34353 (_FP_MUL_MEAT_2_120_240_double): Likewise.
34354 (_FP_SQRT_MEAT_2): Likewise.
34355 (_FP_FRAC_ASSEMBLE_2): Likewise.
34356 (_FP_FRAC_DISASSEMBLE_2): Likewise.
34357 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
34358 (_FP_FRAC_CLZ_4): Likewise.
34359 (_FP_MUL_MEAT_4_wide): Likewise.
34360 (_FP_MUL_MEAT_4_gmp): Likewise.
34361 (_FP_SQRT_MEAT_4): Likewise.
34362 (_FP_FRAC_ASSEMBLE_4): Likewise.
34363 (_FP_FRAC_DISASSEMBLE_4): Likewise.
34364 * soft-fp/op-common.h (_FP_CMP): Likewise.
34365 (_FP_CMP_EQ): Likewise.
34366 (_FP_CMP_UNORD): Likewise.
34367 (_FP_TO_INT): Likewise.
34368 (_FP_FROM_INT): Likewise.
34369 [!__FP_CLZ] (__FP_CLZ): Likewise.
34370 (_FP_DIV_HELP_imm): Likewise.
34371 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
34372 Likewise.
34373 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
34374 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
34375 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
34376 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
34377 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
34378 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
34379 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
34380 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
34381 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
34382 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
34383 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
34384 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
34385 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
34386 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
34387 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
34388 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
34389 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
34390 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
34391 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
34392 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
34393 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
34394 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
34395 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
34396 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
34397 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
34398 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
34399 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
34400 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
34401 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
34402 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
34403 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
34404 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
34405 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
34406 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
34407 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
34408 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
34409 (FP_UNPACK_RAW_SP): Likewise.
34410 (FP_PACK_RAW_S): Likewise.
34411 (FP_PACK_RAW_SP): Likewise.
34412 (FP_UNPACK_S): Likewise.
34413 (FP_UNPACK_SP): Likewise.
34414 (FP_UNPACK_SEMIRAW_S): Likewise.
34415 (FP_UNPACK_SEMIRAW_SP): Likewise.
34416 (FP_PACK_S): Likewise.
34417 (FP_PACK_SP): Likewise.
34418 (FP_PACK_SEMIRAW_S): Likewise.
34419 (FP_PACK_SEMIRAW_SP): Likewise.
34420 (_FP_SQRT_MEAT_S): Likewise.
34421 (FP_CMP_S): Likewise.
34422 (FP_CMP_EQ_S): Likewise.
34423 (FP_CMP_UNORD_S): Likewise.
34424 (FP_TO_INT_S): Likewise.
34425 (FP_FROM_INT_S): Likewise.
34426
34427 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
34428
34429 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
34430 (FP_EX_INVALID_IMZ): Likewise.
34431 (FP_EX_INVALID_IMZ_FMA): Likewise.
34432 (FP_EX_INVALID_ISI): Likewise.
34433 (FP_EX_INVALID_ZDZ): Likewise.
34434 (FP_EX_INVALID_IDI): Likewise.
34435 (FP_EX_INVALID_SQRT): Likewise.
34436 (FP_EX_INVALID_CVI): Likewise.
34437 (FP_EX_INVALID_VC): Likewise.
34438 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
34439 "invalid" exceptions.
34440 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
34441 (_FP_ADD_INTERNAL): Likewise.
34442 (_FP_MUL): Likewise.
34443 (_FP_FMA): Likewise.
34444 (_FP_DIV): Likewise.
34445 (_FP_CMP_CHECK_NAN): Likewise.
34446 (_FP_SQRT): Likewise.
34447 (_FP_TO_INT): Likewise.
34448 (FP_EXTEND): Likewise.
34449
34450 2014-10-09 Allan McRae <allan@archlinux.org>
34451
34452 * po/fr.po: Update French translation from translation project.
34453
34454 2014-10-09 Joseph Myers <joseph@codesourcery.com>
34455
34456 [BZ #14132]
34457 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
34458 of INTDEF.
34459 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
34460 (__cxa_atexit): Use libc_hidden_proto.
34461 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
34462
34463 [BZ #14132]
34464 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
34465 declaration.
34466 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
34467 [!_ISOMAC] (__iswspace_l_internal): Likewise.
34468 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
34469 [!_ISOMAC] (__iswctype_internal): Likewise.
34470 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
34471 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
34472 alias.
34473 (fcntl): Remove __fcntl_internal alias.
34474 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
34475 __connect_internal alias.
34476 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
34477 Likewise.
34478
34479 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
34480 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
34481 FP_DENORM_ZERO.
34482 (_FP_CHECK_FLUSH_ZERO): New macro.
34483 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
34484 (_FP_CMP): Likewise.
34485 (_FP_CMP_EQ): Likewise.
34486 (_FP_TO_INT): Do not set inexact for subnormal arguments if
34487 FP_DENORM_ZERO.
34488 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
34489 (FP_TRUNC): Likewise.
34490
34491 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
34492 treated as invalid conversion, not as normal exponent.
34493
34494 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
34495 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
34496 (_FP_CMP_EQ): Likewise.
34497 (_FP_CMP_UNORD): Likewise.
34498 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
34499 (FP_CMP_EQ_D): Likewise.
34500 (FP_CMP_UNORD_D): Likewise.
34501 * soft-fp/extended.h (FP_CMP_E): Likewise.
34502 (FP_CMP_EQ_E): Likewise.
34503 (FP_CMP_UNORD_E): Likewise.
34504 * soft-fp/quad.h (FP_CMP_Q): Likewise.
34505 (FP_CMP_EQ_Q): Likewise.
34506 (FP_CMP_UNORD_Q): Likewise.
34507 * soft-fp/single.h (FP_CMP_S): Likewise.
34508 (FP_CMP_EQ_S): Likewise.
34509 (FP_CMP_UNORD_S): Likewise.
34510 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
34511 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
34512 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
34513 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
34514 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
34515 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
34516 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
34517 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
34518 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
34519 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
34520 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
34521 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
34522 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
34523 to FP_CMP_Q.
34524 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
34525 FP_CMP_Q.
34526 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
34527 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
34528 FP_CMP_EQ_Q.
34529 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
34530 FP_CMP_Q.
34531 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
34532 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
34533 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
34534 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
34535 FP_CMP_EQ_Q.
34536 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
34537 FP_CMP_Q.
34538 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
34539 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
34540 FP_CMP_EQ_Q.
34541 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
34542 FP_CMP_Q.
34543 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
34544 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
34545 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
34546 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
34547 FP_CMP_EQ_Q.
34548
34549 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
34550 a subnormal result, set the underflow exception if trapping on
34551 underflow is enabled.
34552 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
34553 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
34554 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
34555 redefine to 0.
34556 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
34557 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
34558 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
34559 * soft-fp/extendxftf2.c (__extendxftf2): Use
34560 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
34561
34562 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
34563 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
34564 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34565 FP_HANDLE_EXCEPTIONS.
34566 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
34567 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34568 FP_HANDLE_EXCEPTIONS.
34569 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
34570 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34571 FP_HANDLE_EXCEPTIONS.
34572 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
34573 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34574 FP_HANDLE_EXCEPTIONS.
34575
34576 2014-10-08 Joseph Myers <joseph@codesourcery.com>
34577
34578 [BZ #14132]
34579 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
34580 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
34581 use INTUSE.
34582 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
34583 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
34584 Remove alias.
34585 (__adjtimex): Define using libc_hidden_ver.
34586 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
34587 Remove declaration.
34588 (ntp_gettime): Call __adjtimex directly.
34589 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
34590 Remove declaration.
34591 (ntp_gettimex): Call __adjtimex directly.
34592 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
34593 __adjtimex_internal alias.
34594
34595 2014-10-08 Roland McGrath <roland@hack.frob.com>
34596
34597 [BZ #17460]
34598 * nscd/nscd.c (more_help): Rewrite list of tables collection
34599 using xstrdup and asprintf.
34600
34601 * nscd/nscd_conf.c: Remove local xstrdup declaration.
34602
34603 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34604 Roland McGrath <roland@hack.frob.com>
34605
34606 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
34607 (do_lookup_unique): ... local function 'enter' here; update callers.
34608
34609 2014-10-06 Joseph Myers <joseph@codesourcery.com>
34610
34611 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
34612 compat_symbol calls on [SHARED].
34613 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
34614 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
34615 Remove.
34616 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34617 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
34618 (oldsetrlimit): Remove.
34619 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
34621 (lchown): New syscall entry.
34622 (oldsetrlimit): Remove.
34623 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34624 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
34625 (oldsetrlimit): Remove.
34626 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34627
34628 [BZ #14138]
34629 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
34630 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
34631 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
34632 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
34633 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
34634 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
34635 (fchown): Likewise.
34636 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
34637 (fchown): Likewise.
34638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
34639 Likewise.
34640
34641 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34642
34643 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
34644 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
34645 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
34646 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
34647 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
34648 Likewise.
34649 (__old_sem_post): Likewise.
34650
34651 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
34652
34653 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
34654 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
34655 HAVE_CLOCK_GETTIME_VSYSCALL macros.
34656 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
34657 Use INLINE_VSYSCALL macro.
34658 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
34659 __vdso_clock_gettime.
34660 * sysdeps/unix/sysv/linux/tile/init-first.c
34661 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
34662 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
34663 __vdso_clock_gettime.
34664
34665 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
34666 to set up frame more cleanly.
34667
34668 * sysdeps/tile/memcmp.c: New file.
34669
34670 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
34671
34672 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
34673 * sysdeps/tile/tilegx/strcasestr.c: New file.
34674 * sysdeps/tile/tilegx/strnlen.c: New file.
34675 * sysdeps/tile/tilegx/strstr.c: New file.
34676
34677 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
34678
34679 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
34680
34681 * nptl/tst-setuid3.c: Write errors to stdout.
34682
34683 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34684
34685 * elf/dl-deps.c
34686 (preload): New functions broken out of _dl_map_object_deps.
34687 (_dl_map_object_deps): Remove a nested function. Update call sites.
34688
34689 2014-10-01 Joseph Myers <joseph@codesourcery.com>
34690
34691 [BZ #14138]
34692 * sysdeps/unix/sysv/linux/execve.c: Remove file.
34693 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
34694
34695 2014-10-01 Steve Ellcey <sellcey@mips.com>
34696
34697 * sysdeps/mips/strcmp.S: New.
34698
34699 2014-09-30 Joseph Myers <joseph@codesourcery.com>
34700
34701 [BZ #14138]
34702 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
34703 (linkat): Likewise.
34704 (mkdirat): Likewise.
34705 (readlinkat): Likewise.
34706 (renameat): Likewise.
34707 (symlinkat): Likewise.
34708 (unlinkat): Likewise.
34709 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
34710 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
34711 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
34712 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
34713 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
34714 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
34715 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
34716
34717 2014-09-30 Will Newton <will.newton@linaro.org>
34718
34719 * math/math.h: Define long double math functions if
34720 _LIBC_TEST is defined.
34721 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
34722
34723 * localedata/Makefile: Move assignment to tests-special
34724 into an ifdef testing run-built-tests.
34725 * timezone/Makefile: Likewise.
34726
34727 2014-09-29 Joseph Myers <joseph@codesourcery.com>
34728
34729 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
34730 with $(BASH) not $(SHELL).
34731
34732 2014-09-29 Carlos O'Donell <carlos@redhat.com>
34733 Matthew LeGendre <legendre1@llnl.gov>
34734
34735 [BZ #17411]
34736 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
34737 l_reloc_result.
34738
34739 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34740
34741 * stdio-common/printf_fp.c
34742 (hack_digit): New function, broken out of ...
34743 (__printf_fp): ... local function here. Update call sites.
34744 hack_digit now takes an additional parameter that is a pointer
34745 to a struct of the referenced locals. Those locals moved inside
34746 the struct and references updated.
34747
34748 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
34749
34750 * aclocal.m4: Require autoconf 2.69.
34751 * configure: Regenerated.
34752 * sysdeps/aarch64/configure: Likewise.
34753 * sysdeps/alpha/configure: Likewise.
34754 * sysdeps/arm/armv7/configure: Likewise.
34755 * sysdeps/arm/configure: Likewise.
34756 * sysdeps/ia64/configure: Likewise.
34757 * sysdeps/mach/configure: Likewise.
34758 * sysdeps/mips/configure: Likewise.
34759 * sysdeps/s390/configure: Likewise.
34760 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
34761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
34762
34763 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
34764 file.
34765 * sysdeps/ia64/configure.ac: Likewise.
34766
34767 2014-09-26 Joseph Myers <joseph@codesourcery.com>
34768
34769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
34770 specify symbol version for ld.so. Do not include entry for
34771 libpthread.
34772 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
34773 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
34774 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34775
34776 [BZ #14171]
34777 * Makeconfig [$(build-shared) = yes]
34778 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
34779 makefiles.
34780 [$(build-shared) = yes && $(soversions.mk-done) = t]
34781 ($(common-objpfx)gnu/lib-names.h): Remove rule.
34782 [$(build-shared) = yes && $(soversions.mk-done) = t]
34783 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
34784 to Makerules.
34785 [$(build-shared) = yes && $(soversions.mk-done) = t]
34786 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
34787 here.
34788 [$(build-shared) = yes && $(soversions.mk-done) = t]
34789 (common-generated): Don't append gnu/lib-names.h and
34790 gnu/lib-names.stmp here.
34791 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
34792 (lib-names-h-abi): New variable.
34793 [$(build-shared) = yes && $(soversions.mk-done) = t]
34794 (lib-names-stmp-abi): Likewise.
34795 [$(build-shared) = yes && $(soversions.mk-done) = t &&
34796 abi-variants] (before-compile): Append
34797 $(common-objpfx)$(lib-names-h-abi).
34798 [$(build-shared) = yes && $(soversions.mk-done) = t &&
34799 abi-variants] (common-generated): Append gnu/lib-names.h.
34800 [$(build-shared) = yes && $(soversions.mk-done) = t &&
34801 abi-variants] (install-others-nosubdir): Depend on
34802 $(inst_includedir)/$(lib-names-h-abi).
34803 [$(build-shared) = yes && $(soversions.mk-done) = t &&
34804 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
34805 [$(build-shared) = yes && $(soversions.mk-done) = t]
34806 ($(common-objpfx)$(lib-names-h-abi)): New rule.
34807 [$(build-shared) = yes && $(soversions.mk-done) = t]
34808 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
34809 [$(build-shared) = yes && $(soversions.mk-done) = t]
34810 (common-generated): Append $(lib-names-h-abi) and
34811 $(lib-names-stmp-abi).
34812 * scripts/lib-names.awk: Do not handle multi being set.
34813 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
34814 Remove variable.
34815 (abi-lp64_be-ld-soname): Likewise.
34816 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
34817 Likewise.
34818 (abi-hard-ld-soname): Likewise.
34819 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
34820 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
34821 Remove variable.
34822 (abi-o32_hard-ld-soname): Likewise.
34823 (abi-o32_soft_2008-ld-soname): Likewise.
34824 (abi-o32_hard_2008-ld-soname): Likewise.
34825 (abi-n32_soft-ld-soname): Likewise.
34826 (abi-n32_hard-ld-soname): Likewise.
34827 (abi-n32_soft_2008-ld-soname): Likewise.
34828 (abi-n32_hard_2008-ld-soname): Likewise.
34829 (abi-n64_soft-ld-soname): Likewise.
34830 (abi-n64_hard-ld-soname): Likewise.
34831 (abi-n64_soft_2008-ld-soname): Likewise.
34832 (abi-n64_hard_2008-ld-soname): Likewise.
34833 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
34834 Likewise.
34835 (abi-64-v2-ld-soname): Likewise.
34836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
34837 ld.so entries.
34838 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
34839 variable.
34840 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
34841 entry.
34842 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
34843 variable.
34844 (abi-64-ld-soname): Likewise.
34845 (abi-x32-ld-soname): Likewise.
34846 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
34847 entry.
34848 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34849
34850 2014-09-23 Joseph Myers <joseph@codesourcery.com>
34851
34852 [BZ #14138]
34853 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
34854 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
34855 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
34856 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
34857 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
34858 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
34859 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
34860 syscall entry for GLIBC_2.2 symbol version.
34861 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
34862 Likewise.
34863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
34864 (setrlimit): Likewise.
34865 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
34866 Likewise.
34867
34868 2014-09-23 Will Newton <will.newton@linaro.org>
34869
34870 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
34871 _LINUX_ARM_SYSDEP_H include guard too.
34872 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
34873 define.
34874
34875 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
34876
34877 * sysdeps/unix/sysv/linux/eventfd.c:
34878 Make first argument unsigned.
34879 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
34880 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
34881
34882 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
34883
34884 [BZ #16852]
34885 * socket/recvmmsg.c (recvmmsg): Drop const argument.
34886 * socket/sys/socket.h: Likewise.
34887 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
34888
34889 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34890
34891 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
34892
34893 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
34894
34895 * time/tst-ftime.c: New test.
34896 * time/Makefile (tests): Add tst-ftime.
34897
34898 2014-09-17 Joseph Myers <joseph@codesourcery.com>
34899
34900 * soft-fp/extended.h: Fix comment formatting.
34901 * soft-fp/op-1.h: Likewise.
34902 * soft-fp/op-2.h: Likewise.
34903 * soft-fp/op-4.h: Likewise.
34904 * soft-fp/op-8.h: Likewise.
34905 * soft-fp/op-common.h: Likewise.
34906 * soft-fp/soft-fp.h: Likewise.
34907
34908 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
34909
34910 2014-09-16 Joseph Myers <joseph@codesourcery.com>
34911
34912 [BZ #6652]
34913 * Makeconfig (soversions-default-setname): Remove variable.
34914 ($(common-objpfx)soversions.i): Don't pass default_setname to
34915 soversions.awk.
34916 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
34917 oldest_abi to abi-versions.awk.
34918 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
34919 * config.make.in (oldest-abi): Remove variable.
34920 * configure.ac (--enable-oldest-abi): Remove configure option.
34921 * configure: Regenerated.
34922 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
34923 text.
34924 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
34925 * scripts/soversions.awk: Do not handle default_setname variable.
34926 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
34927 variable.
34928 * sysdeps/mach/hurd/configure: Regenerated.
34929 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
34930 variable.
34931 * sysdeps/unix/sysv/linux/configure: Regenerated.
34932
34933 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34934
34935 * elf/Makefile (CFLAGS-interp.c): Remove.
34936 ($(elf-objpfx)runtime-linker.h): Generate header with linker
34937 path string.
34938 * elf/interp.c: Include generated runtime-linker.h
34939
34940 * Makerules (lib%.so): Don't include $(+interp) in
34941 prerequisites.
34942 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
34943 * dlfcn/eval.c: Remove file.
34944
34945 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
34946 macros.
34947
34948 [BZ #17266]
34949 * misc/sys/cdefs.h: Define __extern_always_inline for clang
34950 4.2 and newer.
34951
34952 [BZ #17370]
34953 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
34954
34955 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34956 Jakub Jelinek <jakub@redhat.com>
34957
34958 [BZ #17266]
34959 * libio/stdio.h: Check definition of __fortify_function
34960 instead of __extern_always_inline to include bits/stdio2.h.
34961 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
34962 check if __extern_always_inline is defined.
34963 [__USE_MISC || __USE_XOPEN]: Likewise.
34964 [__USE_ISOC99] Likewise.
34965 * misc/sys/cdefs.h (__fortify_function): Define only if
34966 __extern_always_inline is defined.
34967 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
34968 __extern_always_inline and __extern_inline only for g++-4.3
34969 and newer or a compatible gcc.
34970
34971 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
34972
34973 [BZ #17371]
34974 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
34975 last change to handle zero prefix length.
34976
34977 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34978
34979 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
34980 _SC_REGEX_VERSION.
34981
34982 * posix/getconf.c (vars): Add _POSIX_IPV6 and
34983 _POSIX_RAW_SOCKETS.
34984
34985 2014-09-13 Allan McRae <allan@archlinux.org>
34986
34987 * po/ru.po: Update Russian translation from translation project.
34988
34989 2014-09-12 Roland McGrath <roland@hack.frob.com>
34990
34991 * locale/programs/locale.c (show_locale_vars): Inline local function
34992 into its sole call site. Clean up some style nits.
34993 (print_item): New function, broken out of ...
34994 (show_info): ... local function here. Clean up style nits.
34995
34996 * locale/programs/ld-ctype.c (set_one_default): New function, broken
34997 out of ...
34998 (set_class_defaults): ... local function set_default here.
34999 Define set_default as a macro locally to pass constant parameters.
35000 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
35001 rather than a shared local.
35002
35003 * stdlib/rpmatch.c (try): New function, broken out of ...
35004 (rpmatch): ... local function here. Also, prototypify definition.
35005
35006 2014-09-12 Joseph Myers <joseph@codesourcery.com>
35007
35008 * scripts/soversions.awk: Do not handle configuration names.
35009 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
35010 vendor and os variables to soversions.awk.
35011 * configure.ac: Do not modify gnu-* host_os.
35012 * configure: Regenerated
35013 * shlib-versions: Remove first column with configuration names.
35014 * nptl/shlib-versions: Likewise.
35015 * nptl_db/shlib-versions: Likewise.
35016 * sysdeps/hppa/shlib-versions: Likewise.
35017 * sysdeps/m68k/shlib-versions: Likewise.
35018 * sysdeps/mach/hurd/shlib-versions: Likewise.
35019 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
35020 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
35021 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
35022 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
35023 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
35024 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
35025 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
35026 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
35027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35028 Likewise.
35029 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35030 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35031 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35032 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35033 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35034 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
35035 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35036 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35037
35038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35039 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
35040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35041 Regenerated.
35042 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
35043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35044 Condition symbol version definitions on [HAVE_ELFV2_ABI].
35045
35046 * shlib-versions: Remove OS-specific entries. Moved to files in
35047 sysdeps.
35048 * sysdeps/mach/hurd/shlib-versions: New file.
35049 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35050
35051 * nptl/shlib-versions: Remove architecture-specific entries.
35052 Moved to files in sysdeps.
35053 * shlib-versions: Likewise.
35054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
35055 file.
35056 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35057 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35058 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35059 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35060
35061 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
35062 (UDP_NO_CHECK6_RX): Likewise.
35063
35064 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35065
35066 * sysdeps/posix/sysconf.c (__sysconf): Spell
35067 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
35068
35069 2014-08-12 Florian Weimer <fweimer@redhat.com>
35070
35071 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
35072 loading.
35073 * iconv/Versions (__gconv_transliterate): Export for use from
35074 gconv modules.
35075 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
35076 (struct __gconv_trans_data, __gconv_trans_fct,
35077 __gconv_trans_context_fct, __gconv_trans_query_fct,
35078 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
35079 definitions.
35080 (struct __gconv_step_data): Remove __trans member.
35081 (__gconv_transliterate): Declaration moved from gconv_int.h. No
35082 longer hidden. Remove unused trans_data argument.
35083 * iconv/gconv_int.h (struct trans_struct): Remove definition.
35084 (__gconv_translit_find): Remove declaration.
35085 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
35086 prototype.
35087 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
35088 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
35089 trans_data argument. Add hidden definition.
35090 (__gconv_translit_find): Remove.
35091 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
35092 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
35093 * iconv/skeleton.c: Remove transliteration initialization.
35094 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
35095 __gconv_step_data initialization.
35096 * libio/iofwide.c (__libio_translit_): Remove.
35097 (_IO_fwide): Adjust struct __gconv_step_data initialization.
35098 * wcsmbs/btowc.c (__btowc): Likewise.
35099 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35100 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
35101 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
35102 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
35103 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
35104 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
35105 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
35106 * wcsmbs/wctob.c (wctob): Likewise.
35107
35108 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35109
35110 [BZ #16194]
35111 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
35112 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
35113 register usage.
35114 * sysdeps/x86/Makefile: Adjust.
35115
35116 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35117 Roland McGrath <roland@hack.frob.com>
35118
35119 * locale/weight.h: Add include guard.
35120 (findidx): Make static rather than auto; take new parameters
35121 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
35122 * locale/weightwc.h: Likewise.
35123 * posix/fnmatch_loop.c
35124 (FCT): Change type of EXTRA from int32_t to wint_t.
35125 Don't include either header inside the function.
35126 Call FINDIDX rather than findidx, and pass new arguments.
35127 #undef FINDIDX at the end of the file.
35128 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
35129 FINDIDX before including fnmatch_loop.c for the non-wide version.
35130 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
35131 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
35132 for the wide version.
35133 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
35134 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
35135 Pass new arguments to findidx.
35136 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
35137 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
35138 Don't #include it inside the function. Pass new arguments to findidx.
35139 * posix/regex_internal.h
35140 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
35141 (re_string_elem_size_at): Don't #include it inside the function.
35142 Pass new arguments to findidx.
35143 * string/strcoll_l.c: #include WEIGHT_H at top level.
35144 (get_next_seq): Don't #include it inside the function.
35145 Pass new arguments to findidx.
35146 (get_next_seq_nocache): Likewise.
35147 * string/strxfrm_l.c: #include WEIGHT_H at top level.
35148 (STRXFRM): Don't #include it inside the function.
35149 Pass new arguments to findidx.
35150
35151 2014-09-11 Florian Weimer <fweimer@redhat.com>
35152
35153 [BZ #17344]
35154 * malloc/malloc.c (unlink): Turn asserts into a call to
35155 malloc_printerr.
35156
35157 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
35158
35159 [BZ #17370]
35160 * libio/wfileops (do_ftell_wide): Free OUT.
35161
35162 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
35163
35164 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
35165
35166 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35167
35168 [BZ #17363]
35169 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
35170 group if the current group is empty.
35171
35172 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35173
35174 * benchtests/bench-memset.c (test_main): Add more test from size
35175 from 32 to 512 bytes.
35176 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35177 Add POWER8 memset object.
35178 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35179 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
35180 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
35181 implementation.
35182 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
35183 Likewise.
35184 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
35185 multiarch POWER8 memset optimization.
35186 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
35187 POWER8 memset optimization.
35188
35189 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35190 Remove bzero multiarch objects.
35191 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
35192 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
35193 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
35194 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
35195 Remove define.
35196 [__bzero]: Redefine to specific name.
35197 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
35198 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
35199 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
35200 define.
35201 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
35202 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
35203
35204 2014-09-10 Florian Weimer <fweimer@redhat.com>
35205
35206 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
35207 warnings into errors.
35208
35209 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
35210 __cxa_thread_atexit_impl prototype.
35211
35212 2014-09-09 Steve Ellcey <sellcey@mips.com>
35213
35214 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
35215 Fix capitalization of error message.
35216
35217 2014-09-09 Steve Ellcey <sellcey@mips.com>
35218
35219 * sysdeps/mips/preconfigure: Modify ABI tests.
35220
35221 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
35222
35223 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
35224
35225 2014-09-07 Roland McGrath <roland@hack.frob.com>
35226 Carlos O'Donell <carlos@systemhalted.org>
35227
35228 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
35229 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
35230 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
35231 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
35232 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
35233 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
35234 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
35235 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
35236 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
35237 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
35238 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
35239 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
35240 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
35241 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
35242 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
35243 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
35244 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
35245 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
35246 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
35247 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
35248 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
35249 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
35250 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
35251 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
35252 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
35253 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
35254 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
35255 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
35256 Deconditionalize the code that was previously under [RESET_PID].
35257 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
35258 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
35259 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
35260 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
35261 include sysdep.h.
35262
35263 2014-09-08 Allan McRae <allan@archlinux.org>
35264
35265 * version.h (RELEASE): Set to "development".
35266 (VERSION): Set to "2.20.90"
35267
35268 2014-09-07 Allan McRae <allan@archlinux.org
35269
35270 * version.h (RELEASE): Set to "stable".
35271 (VERSION): Set to "2.20"
35272 * include/features.h (__GLIBC_MINOR__): Set to 20.
35273
35274 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
35275 Liebler.
35276
35277 * po/ko.po: Update Korean translation from translation project.
35278
35279 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
35280
35281 [BZ #17354]
35282 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
35283 macro for handling signed relocations.
35284
35285 2014-09-03 Florian Weimer <fweimer@redhat.com>
35286
35287 [BZ #17325]
35288 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
35289 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
35290 assert.
35291 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
35292 * iconvdata/ibm935.c (BODY): Likewise.
35293 * iconvdata/ibm937.c (BODY): Likewise.
35294 * iconvdata/ibm939.c (BODY): Likewise.
35295 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
35296 assert.
35297 * iconvdata/Makefile (iconv-test.out): Pass module list to test
35298 script.
35299 * iconvdata/run-iconv-test.sh: New test loop for checking for
35300 decoder crashers.
35301
35302 2014-09-02 Khem Raj <raj.khem@gmail.com>
35303
35304 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
35305 libm_hidden_ver.
35306
35307 2014-09-01 Allan McRae <allan@archlinux.org>
35308
35309 * po/eo.po: Update Esperanto translation from translation project.
35310
35311 * po/ca.po: Update Catalan translation from translation project.
35312
35313 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
35314
35315 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
35316 __proc_dostop call.
35317
35318 2014-08-27 Mark Wielaard <mjw@redhat.com>
35319
35320 [BZ #17319]
35321 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
35322 to call set_thread_area instead of hand written asm.
35323 (__NR_set_thread_area): Removed define.
35324 (TLS_FLAG_WRITABLE): Likewise.
35325 (__ASSUME_SET_THREAD_AREA): Remove check.
35326 (TLS_EBX_ARG): Remove define.
35327 (TLS_LOAD_EBX): Likewise.
35328
35329 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35330
35331 Simplify atomicity of socket creation in bind.
35332
35333 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
35334 looking up the name after linking the file.
35335
35336 2014-08-27 Allan McRae <allan@archlinux.org>
35337
35338 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35339
35340 2014-08-26 Florian Weimer <fweimer@redhat.com>
35341
35342 [BZ #17187]
35343 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
35344 trans_compare, open_translit, __gconv_translit_find):
35345 Remove module loading code.
35346
35347 2014-08-26 Allan McRae <allan@archlinux.org>
35348
35349 * po/vi.po: Update Vietnamese translation from translation project.
35350
35351 * po/uk.po: Update Ukrainian translation from translation project.
35352
35353 * po/fr.po: Update French translation from translation project.
35354
35355 * po/ru.po: Update Russian translation from translation project.
35356
35357 * po/pl.po: Update Polish translation from translation project.
35358
35359 * po/cs.po: Update Czech translation from translation project.
35360
35361 * po/de.po: Update German translation from translation project.
35362
35363 * po/bg.po: Update Bulgarian translation from translation project.
35364
35365 * po/sv.po: Update Sweedish translation from translation project.
35366
35367 * po/nl.po: Update Dutch translation from translation project.
35368
35369 * po/es.po: Update Spanish translation from translation project.
35370
35371 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35372
35373 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
35374
35375 * catgets/Makefile (CPPFLAGS-gencat): Remove.
35376 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
35377 (CPPFLAGS-iconvconfig): Likewise.
35378 * timezone/Makefile (CPPFLAGS-zic): Likewise.
35379
35380 * include/libc-symbols.h: Remove unnecessary check for
35381 NOT_IN_libc.
35382 * nptl/pthreadP.h: Likewise.
35383 * sysdeps/aarch64/setjmp.S: Likewise.
35384 * sysdeps/alpha/setjmp.S: Likewise.
35385 * sysdeps/arm/sysdep.h: Likewise.
35386 * sysdeps/i386/setjmp.S: Likewise.
35387 * sysdeps/m68k/setjmp.c: Likewise.
35388 * sysdeps/posix/getcwd.c: Likewise.
35389 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35390 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
35391 * sysdeps/s390/s390-32/setjmp.S: Likewise.
35392 * sysdeps/s390/s390-64/setjmp.S: Likewise.
35393 * sysdeps/sh/sh3/setjmp.S: Likewise.
35394 * sysdeps/sh/sh4/setjmp.S: Likewise.
35395 * sysdeps/unix/alpha/sysdep.h: Likewise.
35396 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35397 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35398 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
35399 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35402 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35403 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35404 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35405 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35406 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35407 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35408 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35409 * sysdeps/x86_64/setjmp.S: Likewise.
35410
35411 2014-08-13 Joseph Myers <joseph@codesourcery.com>
35412
35413 [BZ #17263]
35414 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
35415 <stdint.h>.
35416 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
35417 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
35418
35419 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
35420
35421 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
35422
35423 [BZ #17262]
35424 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
35425 and __x86_64__ when disabling x87 inline functions.
35426
35427 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
35428
35429 [BZ #17259]
35430 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
35431 asm statement with __cpuid_count.
35432
35433 2014-08-12 Mike Frysinger <vapier@gentoo.org>
35434
35435 * configure.ac: Change __ehdr_start code to dereference the struct.
35436 Run readelf on the output to look for relocations.
35437 * configure: Regenerated.
35438
35439 2014-08-12 Joseph Myers <joseph@codesourcery.com>
35440
35441 [BZ #17261]
35442 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
35443 value to 0.
35444 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
35445
35446 2014-08-12 Roland McGrath <roland@hack.frob.com>
35447
35448 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
35449
35450 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
35451
35452 [BZ #16892]
35453 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
35454 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
35455
35456 2014-08-12 Sean Anderson <seanga2@gmail.com>
35457
35458 * malloc/malloc.c: Fix typo in comment.
35459
35460 2014-08-09 Allan McRae <allan@archlinux.org>
35461
35462 * Regenerate libc.po.
35463
35464 2014-08-08 Mike Frysinger <vapier@gentoo.org>
35465
35466 * intl/tst-gettext2.sh: Check every lang file for creation.
35467
35468 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
35469
35470 * sysdeps/aarch64/fpu/math_private.h
35471 (libc_feholdsetround_noex_aarch64_ctx): New function.
35472
35473 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
35474
35475 * sysdeps/arm/armv6/strcpy.S (strcpy):
35476 Fix performance issue in misaligned cases.
35477
35478 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35479
35480 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
35481 Move definition from termios.h.
35482 (struct termio): Likewise.
35483 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35484 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
35485 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
35486 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
35487 Likewise.
35488 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
35489 Move definition to ioctl-types.h
35490 (struct termio): Likewise.
35491 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35492 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
35493 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
35494 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
35495 Likewise.
35496
35497 2014-08-05 Richard Henderson <rth@redhat.com>
35498
35499 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
35500 exceptions.
35501 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
35502 Add fraiseexcpt.
35503 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
35504 Use __feraiseexcept.
35505 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
35506 Protect libm symbols with IS_IN_libm.
35507
35508 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
35509
35510 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
35511
35512 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
35513
35514 2014-08-04 Will Newton <will.newton@linaro.org>
35515
35516 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
35517 file.
35518
35519 2014-08-04 Mike Frysinger <vapier@gentoo.org>
35520
35521 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
35522 variants for each function.
35523
35524 2014-08-04 Roland McGrath <roland@hack.frob.com>
35525
35526 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
35527 appended ...
35528 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
35529 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
35530 appended ...
35531 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
35532 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
35533 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
35534 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
35535 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
35536 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
35537 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
35538 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
35539 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
35540 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
35541 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
35542 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
35543 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
35544 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
35545 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
35546 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
35547 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
35548 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
35549 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
35550 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
35551 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
35552 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
35553 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
35554 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
35555 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
35556 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
35557 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
35558 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
35559 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
35560 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
35561 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
35562 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
35563 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
35564 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
35565 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
35566 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
35567 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
35568 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
35569 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
35570 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
35571 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
35572 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
35573 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
35574 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
35575 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
35576 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
35577 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
35578 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
35579 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
35580 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
35581 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
35582 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
35583 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
35584 Update #include.
35585 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
35586 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
35587
35588 2014-08-04 Roland McGrath <roland@hack.frob.com>
35589
35590 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
35591 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
35592 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
35593 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
35594 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
35595 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
35596
35597 2014-08-04 Roland McGrath <roland@hack.frob.com>
35598
35599 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
35600 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
35601 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35602 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
35603
35604 2014-08-04 Roland McGrath <roland@hack.frob.com>
35605
35606 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
35607 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
35608 (__libc_vfork): Define function under this name.
35609 (__vfork): Define as an alias.
35610 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
35611 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
35612
35613 2014-08-04 Roland McGrath <roland@hack.frob.com>
35614
35615 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
35616 that was previously under [RESET_PID].
35617 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
35618
35619 2014-08-04 Andreas Schwab <schwab@suse.de>
35620
35621 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
35622
35623 2014-08-03 Mike Frysinger <vapier@gentoo.org>
35624
35625 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
35626 (main): Likewise.
35627
35628 2014-08-01 Roland McGrath <roland@hack.frob.com>
35629
35630 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
35631
35632 2014-08-01 Richard Henderon <rth@redhat.com>
35633
35634 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
35635 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
35636 typo in exact zero test.
35637 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35638 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35639 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35640
35641 2014-08-01 Roland McGrath <roland@hack.frob.com>
35642
35643 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
35644 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
35645 * sysdeps/arm/sysdep.h: ... here.
35646 [!__ASSEMBLER__]: Include <stdint.h>.
35647
35648 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
35649
35650 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
35651 (HAVE_WCTYPE_H): Likewise.
35652 (HAVE_ISWCTYPE): Likewise.
35653 (ENABLE_NLS): Likewise.
35654 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
35655 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
35656
35657 * posix/regex_internal.c: Check if DEBUG is defined and is
35658 set.
35659
35660 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
35661 (HAVE_MBSRTOWCS): Likewise.
35662 * posix/fnmatch.c: Include string.h unconditionally.
35663
35664 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
35665
35666 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
35667 reversal.
35668
35669 2014-07-31 Roland McGrath <roland@hack.frob.com>
35670
35671 * sysdeps/generic/safe-fatal.h: New file.
35672 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
35673 * nptl/forward.c: Include it.
35674 (__pthread_unwind): Use __safe_fatal as default action, rather
35675 than a bogus use of INTERNAL_SYSCALL that could never work.
35676
35677 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
35678 * configure.ac (libc_cv_builtin_trap): New test.
35679 * configure: Regenerated.
35680 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
35681 (ABORT_INSTRUCTION): Define using __builtin_trap.
35682
35683 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
35684 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
35685 * sysdeps/nptl/nptl-signals.h: New file.
35686 * nptl/pthreadP.h: Include <nptl-signals.h>.
35687
35688 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
35689
35690 * sysdeps/s390/s390-64/utf16-utf32-z9.c
35691 (ONE_DIRECTION): Define.
35692 * sysdeps/s390/s390-64/utf8-utf16-z9.c
35693 (ONE_DIRECTION): Define.
35694 * sysdeps/s390/s390-64/utf8-utf32-z9.c
35695 (ONE_DIRECTION): Define.
35696
35697 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
35698
35699 * sysdeps/s390/Makefile: Delete file.
35700 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
35701 * sysdeps/s390/__longjmp.c: Delete file.
35702 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
35703 Remove fields __flags and __reserved.
35704 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
35705 and add versioning.
35706 * sysdeps/s390/rtld-__longjmp.c: Delete file.
35707 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
35708 * sysdeps/s390/rtld-setjmp.S: Likewise.
35709 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
35710 * sysdeps/s390/s390-32/__longjmp.c: ... here.
35711 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
35712 * sysdeps/s390/s390-32/setjmp.S: ... here.
35713 Add versioning.
35714 (__sigsetjmp): Remove setting __flags field.
35715 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
35716 * sysdeps/s390/s390-64/__longjmp.c: ... here.
35717 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
35718 * sysdeps/s390/s390-64/setjmp.S: ... here.
35719 Add versioning.
35720 (__sigsetjmp): Remove setting __flags field.
35721 * sysdeps/s390/setjmp.S: Delete file.
35722 * sysdeps/s390/sigjmp.c: Likewise.
35723 * sysdeps/s390/v1-longjmp.c: Likewise.
35724 * sysdeps/s390/v1-setjmp.h: Likewise.
35725 * sysdeps/s390/v1-sigjmp.c: Likewise.
35726 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
35727 Remove v1-longjmp_chk.
35728 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
35729 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
35730 Include debug/longjmp_chk.c and add versioning.
35731 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
35732 Include nptl/pt-longjmp.c and add versioning.
35733 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
35734 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
35735 Include __longjmp.c.
35736 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
35737 Move to ...
35738 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
35739 (__getcontext): Remove setting __flags field.
35740 Add versioning.
35741 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35742 Don't restore upper high grps.
35743 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
35744 Likewise.
35745 (__swapcontext): Remove setting uc_flags field.
35746 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
35747 Delete file.
35748 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
35749 Include __longjmp.c.
35750 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
35751 Move to ...
35752 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
35753 (__getcontext): Remove setting __flags field.
35754 Add versioning.
35755 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
35756 (__swapcontext): Remove setting uc_flags field.
35757 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
35758 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
35759 Remove fields uc_high_gprs and __reserved.
35760 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
35761 New file with reverted content.
35762 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
35763 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
35764 Regenerated.
35765 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
35766 Regenerated.
35767
35768 2014-07-31 Andreas Schwab <schwab@suse.de>
35769
35770 * config.h.in (HAVE_IFUNC): Define to 0.
35771 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
35772 definedness.
35773
35774 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
35775
35776 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35777 memmove-avx-unaligned, memcpy-avx-unaligned and
35778 mempcpy-avx-unaligned.
35779 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35780 Add tests for AVX memcpy functions.
35781 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
35782 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
35783 memcpy_chk.
35784 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
35785 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
35786 memmove_chk.
35787 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
35788 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
35789 mempcpy_chk.
35790 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
35791 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
35792 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
35793
35794 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35795
35796 [BZ #17213]
35797 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
35798 powerpc64le.
35799
35800 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
35801
35802 [BZ #16839]
35803 * manual/llio.texi: Add section about open file description locks.
35804 * manual/examples/ofdlocks.c: Example of open file description
35805 lock usage.
35806 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
35807 F_OFD_SETLK, and F_OFD_SETLKW.
35808
35809 2014-07-23 Allan McRae <allan@archlinux.org>
35810
35811 * po/es.po: Update Spanish translation from translation project.
35812
35813 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
35814
35815 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
35816
35817 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
35818
35819 [BZ #17078]
35820 * sysdeps/arm/dl-machine.h (elf_machine_rela)
35821 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
35822 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
35823
35824 2014-07-17 Joseph Myers <joseph@codesourcery.com>
35825
35826 [BZ #17088]
35827 * math/fesetenv.c (__fesetenv)
35828 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
35829 * math/feupdateenv.c (__feupdateenv)
35830 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
35831
35832 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
35833 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
35834 (__ASSUME_SOCKETCALL): Do not define.
35835
35836 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
35837 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
35838 (__ASSUME_SOCKETCALL): Do not define.
35839 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
35840 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
35841 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35842 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
35843 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35844 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
35845 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35846 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35847
35848 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
35849 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
35850 (__ASSUME_SOCKETCALL): Do not define.
35851 (__ASSUME_IPC64): Define unconditionally.
35852 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
35853 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35854 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
35855 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35856 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
35857 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35858 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
35859 Likewise.
35860
35861 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
35862 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
35863 (__ASSUME_SOCKETCALL): Do not define.
35864 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
35865 (__ASSUME_FUTEX_LOCK_PI): Likewise.
35866 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35867 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
35868 (__ASSUME_REQUEUE_PI): Define unconditionally.
35869 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
35870 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
35871 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35872 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
35873 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35874 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35875
35876 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
35877 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
35878 (__ASSUME_SOCKETCALL): Do not define.
35879 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
35880 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35881 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35882 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
35883 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35884 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35885
35886 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
35887 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
35888 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35889 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
35890 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35891 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
35892 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35893 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
35894 (__ASSUME_GETCPU_SYSCALL): Likewise.
35895
35896 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
35897 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
35898 cases for individual architectures.
35899 * sysdeps/gnu/configure: Regenerated.
35900 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
35901 LIBC_SLIBDIR_RTLDDIR.
35902 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
35903 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
35904 LIBC_SLIBDIR_RTLDDIR.
35905 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
35906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
35907 LIBC_SLIBDIR_RTLDDIR.
35908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35909 Regenerated.
35910 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
35911 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
35912 file.
35913 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
35914 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
35915 file.
35916 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
35917 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
35918 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
35919 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
35920
35921 * sysdeps/aarch64/shlib-versions: Move to ...
35922 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
35923 * sysdeps/alpha/shlib-versions: Move to ...
35924 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
35925 * sysdeps/arm/shlib-versions: Move to ...
35926 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
35927 * sysdeps/hppa/shlib-versions: Move all contents except for
35928 libgcc_s entry to ...
35929 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
35930 entry from ...
35931 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
35932 * sysdeps/ia64/shlib-versions: Move to ...
35933 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
35934 entry from ...
35935 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
35936 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
35937 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
35938 * sysdeps/microblaze/shlib-versions: Move to ...
35939 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
35940 * sysdeps/mips/shlib-versions: Move to ...
35941 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
35942 entry from ...
35943 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
35944 * sysdeps/tile/shlib-versions: Move to ...
35945 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
35946 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
35947 from ...
35948 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
35949 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
35950 entry from ...
35951 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
35952
35953 2014-07-17 Will Newton <will.newton@linaro.org>
35954
35955 * sysdeps/arm/bits/atomic.h
35956 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
35957 (__arch_compare_and_exchange_bool_16_int): Likewise.
35958 (__arch_compare_and_exchange_bool_64_int): Likewise.
35959
35960 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
35961 into an #else block.
35962
35963 2014-07-16 Roland McGrath <roland@hack.frob.com>
35964
35965 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
35966 just Linux configurations. Test empirically that the compiler sets
35967 __ARM_EABI__, rather than using the tuple to decide.
35968 * sysdeps/arm/preconfigure: Regenerated.
35969 * sysdeps/unix/sysv/linux/arm/configure: File removed.
35970 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
35971 contents appended ...
35972 * sysdeps/arm/configure.ac: ... here.
35973 * sysdeps/arm/configure: Regenerated.
35974
35975 2014-07-15 Roland McGrath <roland@hack.frob.com>
35976
35977 * nptl/pthread_kill.c: New file.
35978 * nptl/pthread_sigmask.c: New file.
35979 * nptl/pthread_sigqueue.c: New file.
35980
35981 * sysdeps/nptl/lowlevellock.h: New file.
35982 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
35983 * sysdeps/nptl/lowlevellock-futex.h: New file.
35984
35985 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
35986 Remove dead declarations.
35987
35988 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
35989
35990 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
35991 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
35992 config-cflags-avx2.
35993 * sysdeps/x86_64/configure.ac: Likewise.
35994 * sysdeps/i386/configure: Regenerated.
35995 * sysdeps/x86_64/configure: Likewise.
35996 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35997 memset-avx2 only if config-cflags-avx2 is yes.
35998 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35999 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
36000 defined.
36001 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
36002 only if HAVE_AVX2_SUPPORT is defined.
36003 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36004
36005 2014-07-14 Alan Modra <amodra@gmail.com>
36006
36007 [BZ #17153]
36008 * elf/elf.h (DT_PPC64_NUM): Correct value.
36009 * NEWS: Add to fixed bug list.
36010
36011 2014-07-13 Jim Meyering <meyering@fb.com>
36012
36013 [BZ 17150]
36014 regex: don't deref NULL upon heap allocation failure
36015 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
36016 failure in one more place.
36017 To trigger the segfault, configure grep -with-included-regex,
36018 build it, and run these commands:
36019 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
36020
36021 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
36022
36023 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36024
36025 2014-07-11 Richard Henderson <rth@redhat.com>
36026
36027 * sysdeps/aarch64/libm-test-ulps: Update.
36028
36029 2014-07-10 Florian Weimer <fweimer@redhat.com>
36030
36031 [BZ #17135]
36032 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
36033 * nptl/allocatestack.c (__nptl_setxid_error): New function.
36034 (__nptl_setxid): Initialize error member. Call
36035 __nptl_setxid_error.
36036 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
36037 * nptl/descr.h (struct xid_command): Add error member.
36038 * nptl/tst-setuid3.c: New file.
36039 * nptl/Makefile (tests): Add it.
36040
36041 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36042
36043 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
36044 New define.
36045 (__lll_trylock): Use __lll_base_trylock.
36046 (__lll_cond_trylock): Likewise.
36047
36048 2014-07-10 Roland McGrath <roland@hack.frob.com>
36049
36050 * nptl/pthread_create.c (start_thread): Use atomic_or and
36051 lll_futex_wake directly rather than lll_robust_dead.
36052 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36053 (lll_robust_dead): Macro removed.
36054 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
36055 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36056 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36057 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36058 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36059 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36060 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36061 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36062 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36063 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36064 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36065 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36066 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36067 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36068 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36069
36070 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
36071 Use atomic_compare_and_exchange_val_acq directly rather than
36072 lll_robust_trylock.
36073 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36074 (__lll_robust_trylock, lll_robust_trylock): Removed.
36075 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36076 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36077 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36078 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36079 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36080 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36081 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36082 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36083 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36084 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36085 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36086 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36087 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36088 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36089
36090 2014-07-02 Florian Weimer <fweimer@redhat.com>
36091
36092 * manual/locale.texi (Locale Names): New section documenting
36093 locale name syntax. Adjust menu and node chaining accordingly.
36094 (Choosing Locale): Reference Locale Names, Locale Categories.
36095 Mention setting LC_ALL=C. Reflect that name syntax is now
36096 documented.
36097 (Locale Categories): New section title. Reference Locale Names.
36098 LC_ALL is an environment variable, but not a category.
36099 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
36100 description, now in Locale Name. Reference that section. Locale
36101 name syntax is now documented.
36102
36103 2014-07-02 Florian Weimer <fweimer@redhat.com>
36104
36105 [BZ #17137]
36106 * locale/findlocale.c (name_present, valid_locale_name): New
36107 functions.
36108 (_nl_find_locale): Use the loc_name variable to store name
36109 candidates. Call name_present and valid_locale_name to check and
36110 validate locale names. Return an error if the locale is invalid.
36111
36112 2014-07-02 Florian Weimer <fweimer@redhat.com>
36113
36114 * locale/setlocale.c (setlocale): Use strdup for allocating
36115 composite name copy.
36116
36117 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36118
36119 Sync up with gnulib.
36120 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
36121 [!_LIBC && ENABLE_NLS]: Include gettext.h.
36122 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
36123 and _GL_ARG_NONNULL.
36124 [USE_UNLOCKED_IO]: Include unlocked-io.h.
36125 [!_LIBC]: Include code for Windows and Cygwin.
36126 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
36127 Include prototype for int strerror_r.
36128 [!_LIBC] (is_open): New function.
36129 (flush_stdout): New function.
36130 (print_errno_message): Use it.
36131 (error): Likewise.
36132 (error_at_line): Likewise.
36133 (error_tail) Add function attribute macros. Use
36134 __builtin_expect.
36135
36136 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
36137
36138 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
36139
36140 * io/ftw.c: Include sys/param.h unconditionally.
36141
36142 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
36143
36144 [BZ #17125]
36145 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
36146 libc_freeres_ptr.
36147 (freecache): New function to free CACHE on exit.
36148
36149 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
36150 initialization.
36151
36152 2014-07-09 David S. Miller <davem@davemloft.net>
36153
36154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36155
36156 * sysdeps/sparc/nptl/internaltypes.h: Delete.
36157 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
36158 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
36159 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
36160 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
36161 * sysdeps/sparc/nptl/sem_init.c: Likewise.
36162 * sysdeps/sparc/nptl/sem_post.c: Likewise.
36163 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
36164 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
36165 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
36166 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
36167 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
36168 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
36169
36170 2014-07-09 Andreas Schwab <schwab@suse.de>
36171
36172 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
36173 output.
36174 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
36175 (do_test): Likewise.
36176
36177 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36178
36179 2014-07-09 Will Newton <will.newton@linaro.org>
36180
36181 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
36182 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
36183 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
36184 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
36185 * sysdeps/hppa/start.S (_start): Likewise.
36186
36187 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
36188
36189 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
36190
36191 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
36192 defined.
36193
36194 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36195
36196 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
36197 after checking that it is non-NULL.
36198
36199 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
36200
36201 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36202
36203 * sysdeps/powerpc/memmove.c: Remove file.
36204 * sysdeps/powerpc/powerpc32/power4/memcopy.h
36205 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
36206 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
36207 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
36208 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
36209 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
36210 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
36211 string memmove instead of removed powerpc one.
36212
36213 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36214 [weak_alias]: Fix compiler warning due trailing data.
36215 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
36216 [weak_alias]: Likewise.
36217 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
36218 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
36219
36220 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36221 (__libc_ifunc_impl_list): Add memmove functions.
36222
36223 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36224
36225 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
36226 Remove code.
36227 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
36228 Likewise.
36229 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
36230 Likewise.
36231 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
36232 Likewise.
36233 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
36234 Likewise.
36235 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
36236 Likewise.
36237 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
36238 Likewise.
36239 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
36240 Likewise.
36241 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
36242 Likewise.
36243 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
36244 Likewise.
36245 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
36246 Likewise.
36247 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
36248 Likewise.
36249 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
36250 Likewise.
36251 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
36252 Likewise.
36253 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
36254 Likewise.
36255 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
36256 Likewise.
36257 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
36258 Likewise.
36259
36260 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36261
36262 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
36263 to avoid alignment traps in non-cacheable memory.
36264 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
36265
36266 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
36267 multiarch objects.
36268 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
36269 file: multiarch power7 memmove.
36270 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
36271 multiarch default memmove.
36272 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
36273 multiarch memove for powerpc32/power4.
36274
36275 * string/bcopy.c: Use full path to include memmove.c.
36276 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
36277 multiarch objects.
36278 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
36279 bcopy for powerpc64.
36280 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
36281 bcopy for powerpc64.
36282 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
36283 and memmove implementations.
36284 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
36285 optimized multiarch memmove for POWER7/powerpc64.
36286 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
36287 default multiarch memmove for powerpc64.
36288 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
36289 multiarch for powerpc64.
36290 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
36291 for POWER7/powerpc64.
36292 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
36293 memmove for POWER7/powerpc64.
36294
36295 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
36296 glibc default one.
36297
36298 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
36299 __ELF_NATIVE_CLASS equal to 64.
36300
36301 2014-07-07 Roland McGrath <roland@hack.frob.com>
36302
36303 * sysdeps/nptl/lowlevellock.h: File removed.
36304
36305 * NEWS: NPTL is no longer an add-on!
36306 * nptl/internaltypes.h: Moved ...
36307 * sysdeps/nptl/internaltypes.h: ... here.
36308 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
36309 * sysdeps/nptl/fork.c: Likewise.
36310 * sysdeps/nptl/gai_misc.h: Likewise.
36311 * sysdeps/nptl/librt-cancellation.c: Likewise.
36312 * sysdeps/nptl/jmp-unwind.c: Likewise.
36313 * sysdeps/nptl/setxid.h: Likewise.
36314 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
36315 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
36316 * sysdeps/unix/sysv/linux/arm/Implies: New file.
36317 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
36318 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
36319 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
36320 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
36321 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
36322 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
36323 * sysdeps/unix/sysv/linux/mips/Implies: New file.
36324 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
36325 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
36326 * sysdeps/unix/sysv/linux/sh/Implies: New file.
36327 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
36328 * sysdeps/unix/sysv/linux/tile/Implies: New file.
36329 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
36330 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
36331 * nptl/Makeconfig: Moved ...
36332 * sysdeps/nptl/Makeconfig: ... here.
36333 * nptl/configure: File removed.
36334 * nptl/ANNOUNCE: File removed.
36335 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
36336 * sysdeps/unix/sysv/linux/configure: Regenerated.
36337
36338 * nptl/Makefile (routines): Add libc_pthread_init,
36339 libc_multiple_threads, register-atfork and unregister-atfork.
36340 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
36341 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
36342 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
36343 pthread-pi-defines.sym, structsem.sym.
36344 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
36345 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
36346 [$(subdir) = nptl] (tests): Add tst-setgetname.
36347 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
36348 * sysdeps/unix/sysv/linux/sigaction.c: Just include
36349 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
36350 [!LIBC_SIGACTION]: Remove aliases.
36351 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
36352 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
36353 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
36354 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
36355 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
36356 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
36357 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36358 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36359 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
36360 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
36361 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
36362 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
36363 __libc_allocate_rtsig_private.
36364 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
36365 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
36366 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
36367 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
36368 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
36369 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
36370 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
36371 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
36372 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
36373 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
36374 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
36375 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
36376 * nptl/internaltypes.h: ... here.
36377 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
36378 * sysdeps/nptl/jmp-unwind.c: ... here.
36379 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
36380 * nptl/libc-lowlevellock.c: ... here.
36381 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
36382 * nptl/libc_multiple_threads.c: ... here.
36383 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
36384 * nptl/libc_pthread_init.c: ... here.
36385 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
36386 * nptl/lowlevelbarrier.sym: ... here.
36387 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
36388 * nptl/lowlevelcond.sym: ... here.
36389 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
36390 * nptl/lowlevellock.c: ... here.
36391 * nptl/lowlevellock.h: Moved ...
36392 * sysdeps/nptl/lowlevellock.h: ... here.
36393 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
36394 * nptl/lowlevelrobustlock.c: ... here.
36395 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
36396 * nptl/lowlevelrobustlock.sym: ... here.
36397 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
36398 * nptl/lowlevelrwlock.sym: ... here.
36399 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
36400 * nptl/pt-fork.c: ... here.
36401 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
36402 * nptl/pthread-pi-defines.sym: ... here.
36403 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
36404 * nptl/pthread_attr_getaffinity.c: ... here.
36405 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
36406 * nptl/pthread_attr_setaffinity.c: ... here.
36407 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
36408 * nptl/pthread_mutex_cond_lock.c: ... here.
36409 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36410 Update #include.
36411 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
36412 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
36413 * nptl/pthread_once.c: ... here, replacing old file.
36414 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
36415 * nptl/pthread_yield.c: ... here.
36416 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
36417 * nptl/register-atfork.c: ... here.
36418 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
36419 * nptl/sem_post.c: ... here.
36420 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
36421 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
36422 * nptl/sem_timedwait.c: ... here.
36423 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
36424 * nptl/sem_trywait.c: ... here.
36425 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
36426 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
36427 * nptl/sem_wait.c: ... here.
36428 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
36429 * nptl/structsem.sym: ... here.
36430 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
36431 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
36432 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
36433 * nptl/unregister-atfork.c: ... here.
36434 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
36435 * nptl/unwindbuf.sym: ... here.
36436 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
36437 * sysdeps/nptl/fork.c: ... here.
36438 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
36439 * sysdeps/nptl/fork.h: ... here.
36440 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
36441 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
36442 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
36443 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
36444 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
36445 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
36446 * sysdeps/unix/sysv/linux/getpid.c: ... here.
36447 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
36448 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
36449 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
36450 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
36451 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
36452 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
36453 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
36454 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
36455 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
36456 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
36457 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
36458 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
36459 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
36460 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
36461 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
36462 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
36463 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
36464 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
36465 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
36466 * sysdeps/unix/sysv/linux/raise.c: ... here.
36467 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
36468 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
36469 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
36470 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
36471 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
36472 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
36473 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
36474 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
36475 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
36476 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
36477 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
36478 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
36479 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
36480 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
36481 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
36482
36483 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36484
36485 * sysdeps/generic/memcopy.h: Add comment for
36486 MEMCPY_OK_FOR_FWD_MEMMOVE.
36487
36488 2014-07-04 Will Newton <will.newton@linaro.org>
36489
36490 * string/memchr.c: Merge from gnulib.
36491 [_LIBC]: Remove conditionals.
36492 (__ptr_t): Remove define.
36493 (LONG_MAX_32_BITS): Likewise.
36494 (LONG_MAX): Likewise.
36495 (MEMCHR): Use ANSI prototype and optimize algorithm.
36496
36497 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
36498
36499 2014-07-03 Roland McGrath <roland@hack.frob.com>
36500
36501 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
36502 (lll_futex_timed_wait_bitset): Fix syscall argument count.
36503
36504 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
36505 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
36506 in a bare environment with no <stdlib.h> installed.
36507 * sysdeps/nptl/configure: Regenerated.
36508
36509 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
36510
36511 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
36512 AC_EGREP_CPP for kernel header checks, so they only succeed if
36513 including <linux/version.h> actually works right.
36514 * sysdeps/unix/sysv/linux/configure: Regenerated.
36515
36516 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
36517 value so it's not diagnosed as unused.
36518
36519 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
36520 thing) with "ifeq ($(subdir),rt)".
36521
36522 2014-07-03 Richard Henderson <rth@redhat.com>
36523
36524 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
36525 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
36526 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
36527
36528 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
36529 (math_force_eval): New.
36530
36531 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
36532 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
36533
36534 * sysdeps/alpha/fpu/s_round.c: Remove file.
36535 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
36536
36537 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
36538 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
36539 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
36540 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
36541 (_dl_start, print_statistics): Likewise.
36542 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
36543 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
36544
36545 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36546 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36547 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36548 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36549 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36550 (HP_SMALL_TIMING_AVAIL): Define.
36551 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36552 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
36553 (HP_SMALL_TIMING_AVAIL): Define.
36554 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36555 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36556
36557 * sysdeps/aarch64/hp-timing.h: New file.
36558
36559 * sysdeps/generic/hp-timing.h: Remove dead comment.
36560 * sysdeps/generic/hp-timing-common.h: New file.
36561 * sysdeps/alpha/hp-timing.h: Include it.
36562 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
36563 * sysdeps/i386/i686/hp-timing.h: Likewise.
36564 * sysdeps/ia64/hp-timing.h: Likewise.
36565 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36566 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36567 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36568 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36569 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
36570 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
36571 (hp_timing_t): New.
36572
36573 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
36574 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
36575 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
36576 * elf/rtld.c (_dl_start_final): Likewise.
36577 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
36578 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36579 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36580 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36581 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36582 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36583 (HP_TIMING_DIFF_INIT): Remove.
36584 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36585 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
36586 (HP_TIMING_DIFF_INIT): Remove.
36587 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36588 * sysdeps/i386/i686/hp-timing.c: Remove file.
36589 * sysdeps/x86_64/hp-timing.c: Remove file.
36590 * sysdeps/ia64/hp-timing.c: Remove file.
36591 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
36592 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
36593 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
36594 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
36595
36596 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
36597 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
36598 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
36599 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36600 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36601 (HP_TIMING_ACCUM): Remove.
36602 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36603 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
36604 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36605
36606 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
36607 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
36608 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
36609 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
36610 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
36611 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
36612 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
36613 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
36614
36615 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
36616
36617 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
36618
36619 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
36620
36621 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36622
36623 Sync up with gettext.
36624 * intl/loadmsgcat.c: Define O_BINARY if not defined.
36625 [_MSC_VER]: Include malloc.h
36626 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
36627 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
36628 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
36629 TEMP_FAILURE_RETRY. Cast return of alloca.
36630 [!_LIBC] Call gl_rwlock_init.
36631 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
36632
36633 2014-07-02 Roland McGrath <roland@hack.frob.com>
36634
36635 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
36636 before checking its value.
36637
36638 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36639
36640 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
36641
36642 * debug/memcpy_chk.c: Don't include pagecopy.h.
36643 * debug/mempcpy_chk.c: Likewise.
36644 * string/memcpy.c: Likewise.
36645 * string/memmove.c: Likewise.
36646 * sysdeps/powerpc/memmove.c: Likewise.
36647 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
36648 definition of PAGE_COPY_FWD_MAYBE here...
36649 * sysdeps/generic/pagecopy.h: ... from here.
36650 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
36651
36652 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
36653 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36654
36655 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
36656 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
36657 optimizations.
36658 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36659 (__libc_ifunc_impl_list): Likewise.
36660 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
36661 multiarch strcat for PPC64.
36662 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
36663 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
36664
36665 2014-07-02 Roland McGrath <roland@hack.frob.com>
36666
36667 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
36668
36669 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36670
36671 * intl/loadmsgcat.c: Remove declaration of
36672 get_sysdep_segment_value.
36673 (get_sysdep_segment_value): Use ISO C style.
36674 (_nl_load_domain): Use ISO C style. Get rid of redundant
36675 semicolon. Fix typo and formatting in comment.
36676 (_nl_unload_domain): Use ISO C style.
36677
36678 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
36679
36680 2014-07-02 Will Newton <will.newton@linaro.org>
36681
36682 * malloc/obstack.c: Merge from gnulib master.
36683 [HAVE_CONFIG_H]: Remove conditional code.
36684 [!_LIBC]: Include config.h.
36685 [!ELIDE_CODE]: Don't include inttypes.h, include
36686 stdint.h unconditionally.
36687 (print_and_abort): Mark as _Noreturn.
36688 (_obstack_allocated_p): Mark as __attribute_pure__.
36689 (obstack_free): Rename to __obstack_free.
36690 [!__attribute__]: Remove conditional code.
36691 * malloc/obstack.h: Merge from gnulib master.
36692 [__cplusplus]: Move conditional down.
36693 [!__attribute_pure__]: Define __attribute_pure__ here
36694 if it is not already defined.
36695 (_obstack_memory_used): Mark as __attribute_pure__.
36696 [!__obstack_free]: Define as obstack_free.
36697 [__GNUC__]: Remove check for ancient NeXT gcc.
36698
36699 2014-07-02 Will Newton <will.newton@linaro.org>
36700 Paul Eggert <eggert@cs.ucla.edu>
36701
36702 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
36703
36704 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36705
36706 * resolv/gethnamaddr.c: Add comment warning that the file is
36707 not maintained.
36708
36709 2014-07-01 Carlos O'Donell <carlos@redhat.com>
36710
36711 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
36712 entries.
36713
36714 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
36715 entry for aio_cancel and aio_cancel64.
36716 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
36717 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
36718 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
36719 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
36720 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
36721 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
36722 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
36723 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
36724 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
36725 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
36726 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
36727 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
36728 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
36729
36730 2014-07-01 Roland McGrath <roland@hack.frob.com>
36731
36732 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
36733 * nptl/pthread_mutex_lock.c: Likewise.
36734 * nptl/pthread_mutex_timedlock.c: Likewise.
36735 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
36736
36737 2014-07-01 Richard henderson <rth@redhat.com>
36738
36739 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
36740 (__isnan, __isnanl): Remove.
36741 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
36742
36743 * sysdeps/alpha/fpu/libm-test-ulps: Update.
36744
36745 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
36746
36747 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36748
36749 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36750
36751 * resolv/nss_dns/dns-host.c (getanswer_r)
36752 [MULTI_PTRS_ARE_ALIASES]: Remove code.
36753
36754 2014-07-01 Joseph Myers <joseph@codesourcery.com>
36755
36756 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36757 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
36758 undefine.
36759 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
36760 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
36761
36762 2014-07-01 Roland McGrath <roland@hack.frob.com>
36763
36764 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
36765 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
36766
36767 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
36768 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
36769
36770 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
36771 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
36772 ... here.
36773 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
36774 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
36775
36776 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
36777 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
36778 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
36779 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
36780
36781 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
36782 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
36783 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
36784 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
36785 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
36786 Moved ...
36787 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
36788 ... here.
36789 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
36790 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
36791 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
36792 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
36793 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
36794 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
36795 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
36796 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
36797 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
36798 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
36799 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
36800 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
36801 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
36802 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
36803 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
36804 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
36805 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
36806 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
36807 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
36808 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
36809 ... here.
36810 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
36811 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
36812 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
36813 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
36814 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
36815 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
36816 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
36817 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
36818
36819 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
36820
36821 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
36822 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
36823 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
36824 Add sysdep.
36825
36826 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36827
36828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36829
36830 2014-06-30 Joseph Myers <joseph@codesourcery.com>
36831
36832 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
36833 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36834
36835 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36836
36837 * sysdeps/arm/libm-test-ulps: Regenerated.
36838
36839 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
36840 Roland McGrath <roland@hack.frob.com>
36841
36842 * test-skeleton.c (signal_handler): Kill the whole process group
36843 before killing the child individually.
36844 (main): Report any failure on `setpgid'.
36845
36846 2014-06-30 Roland McGrath <roland@hack.frob.com>
36847
36848 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
36849 from _TLS_H to _ARM_NPTL_TLS_H.
36850 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
36851 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
36852
36853 2014-06-30 Joseph Myers <joseph@codesourcery.com>
36854
36855 [BZ #16539]
36856 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
36857 (__expm1l): Return argument unchanged when small but not
36858 subnormal.
36859
36860 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
36861 include macro name.
36862 (_FP_UNPACK_RAW_1_P): Likewise.
36863 (_FP_PACK_RAW_1): Likewise.
36864 (_FP_PACK_RAW_1_P): Likewise.
36865 (_FP_MUL_MEAT_1_wide): Likewise.
36866 (_FP_MUL_MEAT_DW_1_hard): Likewise.
36867 (_FP_MUL_MEAT_1_hard): Likewise.
36868 (_FP_DIV_MEAT_1_imm): Likewise.
36869 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
36870 (_FP_DIV_MEAT_1_udiv): Likewise.
36871 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
36872 (_FP_UNPACK_RAW_2): Likewise.
36873 (_FP_UNPACK_RAW_2_P): Likewise.
36874 (_FP_PACK_RAW_2): Likewise.
36875 (_FP_PACK_RAW_2_P): Likewise.
36876 (_FP_MUL_MEAT_DW_2_wide): Likewise.
36877 (_FP_MUL_MEAT_2_wide): Likewise.
36878 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
36879 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
36880 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
36881 (_FP_MUL_MEAT_2_gmp): Likewise.
36882 (_FP_DIV_MEAT_2_udiv): Likewise.
36883 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
36884 (_FP_FRAC_SRL_4): Likewise.
36885 (_FP_FRAC_SRST_4): Likewise.
36886 (_FP_FRAC_SRS_4): Likewise.
36887 (_FP_UNPACK_RAW_4): Likewise.
36888 (_FP_UNPACK_RAW_4_P): Likewise.
36889 (_FP_PACK_RAW_4): Likewise.
36890 (_FP_PACK_RAW_4_P): Likewise.
36891 (_FP_MUL_MEAT_DW_4_wide): Likewise.
36892 (_FP_MUL_MEAT_4_wide): Likewise.
36893 (_FP_MUL_MEAT_4_gmp): Likewise.
36894 (umul_ppppmnnn): Likewise.
36895 (_FP_DIV_MEAT_4_udiv): Likewise.
36896 (__FP_FRAC_ADD_4): Likewise.
36897 (__FP_FRAC_SUB_3): Likewise.
36898 (__FP_FRAC_SUB_4): Likewise.
36899 (__FP_FRAC_DEC_3): Likewise.
36900 (__FP_FRAC_DEC_4): Likewise.
36901 (__FP_FRAC_ADDI_4): Likewise.
36902 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
36903 (_FP_FRAC_SRL_8): Likewise.
36904 (_FP_FRAC_SRS_8): Likewise.
36905
36906 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
36907 include macro name.
36908 (FP_UNPACK_RAW_EP): Likewise.
36909 (FP_PACK_RAW_E): Likewise.
36910 (FP_PACK_RAW_EP): Likewise.
36911 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
36912 (_FP_ISSIGNAN): Likewise.
36913 (_FP_ADD_INTERNAL): Likewise.
36914 (_FP_FMA): Likewise.
36915 (_FP_CMP): Likewise.
36916 (_FP_SQRT): Likewise.
36917 (_FP_TO_INT): Likewise.
36918 (_FP_FROM_INT): Likewise.
36919 (FP_EXTEND): Likewise.
36920 (_FP_DIV_MEAT_N_loop): Likewise.
36921
36922 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
36923
36924 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
36925 throughout.
36926
36927 2014-06-29 Joseph Myers <joseph@codesourcery.com>
36928
36929 [BZ #17097]
36930 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
36931 result with correct sign in case of exponents that produce
36932 overflow except for X very close to 1.
36933
36934 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
36935
36936 mktime: merge #if/#ifdef usage from glibc
36937 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
36938 as that works with both Glibc's and Gnulib's style.
36939 See thread starting at Siddhesh Poyarekar's bug report at:
36940 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
36941
36942 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36943
36944 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
36945 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
36946 * sysdeps/tile/tilegx/memmove.c: Remove file.
36947
36948 2014-06-27 Joseph Myers <joseph@codesourcery.com>
36949
36950 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
36951 abi-name definition.
36952 * scripts/soversions.awk: Do not handle or generate ABI lines.
36953 * shlib-versions: Remove ABI entries.
36954 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
36955 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
36956
36957 2014-06-27 Roland McGrath <roland@hack.frob.com>
36958
36959 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
36960 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
36961 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
36962 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
36963 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
36964 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
36965 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
36966 Moved ...
36967 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
36968 ... here.
36969 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
36970 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
36971 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
36972 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
36973 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
36974 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
36975 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
36976 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
36977 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
36978 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
36979 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
36980 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
36981 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
36982 Moved ...
36983 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
36984 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
36985 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
36986 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
36987 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
36988 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
36989 Moved ...
36990 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
36991 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
36992 Moved ...
36993 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
36994 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
36995 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
36996 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
36997 Moved ...
36998 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
36999 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
37000 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
37001 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
37002 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
37003 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
37004 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
37005 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
37006 Moved ...
37007 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
37008 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
37009 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
37010 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
37011 Moved ...
37012 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
37013 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
37014 Moved ...
37015 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
37016 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
37017 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
37018 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
37019 Moved ...
37020 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
37021 ... here.
37022 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
37023 Identical file removed.
37024 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
37025 Moved ...
37026 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
37027 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
37028 Identical file removed.
37029 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
37030 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
37031 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
37032 Moved ...
37033 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
37034 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
37035 Identical file removed.
37036 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
37037 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
37038 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
37039 Identical file removed.
37040 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
37041 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
37042 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
37043 Identical file removed.
37044 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
37045 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
37046 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
37047 Identical file removed.
37048 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
37049 Moved ...
37050 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
37051 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
37052 Identical file removed.
37053 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
37054 Moved ...
37055 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
37056 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
37057 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
37058 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
37059 Identical file removed.
37060 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
37061 Moved ...
37062 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
37063 ... here.
37064 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
37065 Identical file removed.
37066 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
37067 Moved ...
37068 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
37069 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
37070 Identical file removed.
37071 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
37072 Moved ...
37073 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
37074 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
37075 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
37076 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
37077 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
37078 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
37079 Moved ...
37080 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
37081 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
37082 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
37083
37084 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
37085 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
37086 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
37087 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
37088 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
37089
37090 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
37091
37092 [BZ #17092]
37093 * nscd/nscd.c (monitor_child): Return exit status of child
37094 instead of return value from wait syscall.
37095
37096 2014-06-27 Joseph Myers <joseph@codesourcery.com>
37097
37098 * configure.ac (libc_commonpagesize): Remove variable.
37099 (libc_relro_required): Likewise.
37100 (libc_cv_z_relro): Remove configure test.
37101 * configure: Regenerated.
37102 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
37103 variable.
37104 (libc_relro_required): Likewise.
37105 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
37106 (libc_relro_required): Likewise.
37107 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
37108 (libc_relro_required): Likewise.
37109 * sysdeps/arm/preconfigure: Regenerated.
37110 * sysdeps/ia64/preconfigure: Remove file.
37111 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
37112 variable.
37113 (libc_relro_required): Likewise.
37114
37115 [BZ #16561]
37116 [BZ #16562]
37117 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
37118 (__ieee754_yn): Set FE_TONEAREST mode internally and then
37119 recompute overflowing results in original rounding mode.
37120 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
37121 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
37122 recompute overflowing results in original rounding mode.
37123 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
37124 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37125 recompute overflowing results in original rounding mode.
37126 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
37127 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37128 recompute overflowing results in original rounding mode.
37129 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
37130 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37131 recompute overflowing results in original rounding mode.
37132 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
37133 (libc_feholdsetround_ctx): New macro.
37134 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
37135 * sysdeps/i386/fpu/libm-test-ulps: Update.
37136 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
37137
37138 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37139
37140 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
37141 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
37142 corresponding .cpsetup call.
37143
37144 2014-06-26 Roland McGrath <roland@hack.frob.com>
37145
37146 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
37147 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
37148 * sysdeps/arm/Makefile [$(subdir) = csu]
37149 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
37150 (static-only-routines): Add aeabi_read_tp here.
37151 (shared-only-routines): Add libc-aeabi_read_tp here.
37152 (CFLAGS-libc-start.c): Add -fexceptions here.
37153 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
37154 (sysdep_routines, static-only-routines, shared-only-routines):
37155 Don't add to these here.
37156 (CFLAGS-libc-start.c): Likewise.
37157
37158 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
37159 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37160 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
37161 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37162 * sysdeps/arm/Makefile [$(subdir) = rt]
37163 (librt-sysdep_routines, librt-shared-only-routines):
37164 Append rt-aeabi_unwind_cpp_pr1 here.
37165 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
37166 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
37167 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
37168 (libpthread-sysdep_routines, libpthread-shared-only-routines):
37169 Append nptl-aeabi_unwind_cpp_pr1 here.
37170 (tests): Filter out tst-cleanupx4 here.
37171 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
37172 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
37173 Don't do those here.
37174
37175 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37176
37177 * scripts/list-sources.sh: Do not handle ports specially.
37178
37179 2014-06-26 Roland McGrath <roland@hack.frob.com>
37180
37181 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
37182 * sysdeps/arm/feupdateenv.c: Likewise.
37183
37184 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
37185
37186 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37187
37188 * manual/texinfo.tex: Update to version 2014-05-05.10 with
37189 trailing whitespace removed.
37190 * scripts/config.guess: Update to version 2014-03-23.
37191 * scripts/config.sub: Update to version 2014-05-01
37192 * scripts/install-sh: Update to version 2013-12-25.23.
37193 * scripts/move-if-change: Update from gnulib.
37194
37195 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37196
37197 * debug/memmove_chk.c: Remove pagecopy.h include.
37198
37199 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
37200
37201 * time/mktime.c (leapyear): Remove inline keyword. The code is now
37202 identical to gnulib mktime.
37203
37204 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37205
37206 * configure.ac: Do not test for machine being rs6000. Do not test
37207 for powerpc*-*soft.
37208 * configure: Regenerated.
37209
37210 [BZ #11505]
37211 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
37212 test.
37213 * configure: Regenerated.
37214 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
37215 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
37216 Remove configure test.
37217 * sysdeps/arm/configure: Regenerated.
37218 * sysdeps/nptl/configure.ac: Do not check
37219 libc_cv_asm_cfi_directives.
37220 * sysdeps/nptl/configure: Regenerated.
37221 * sysdeps/x86_64/nptl/configure.ac: Remove file.
37222 * sysdeps/x86_64/nptl/configure: Remove generated file.
37223 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
37224 unconditional.
37225 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
37226
37227 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37228
37229 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
37230 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
37231 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
37232 it is defined.
37233
37234 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
37235 instead of whether it is defined.
37236 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
37237 * sysdeps/hppa/dl-machine.h: Likewise.
37238 * sysdeps/ia64/dl-machine.h: Likewise.
37239 * sysdeps/m68k/dl-machine.h: Likewise.
37240 * sysdeps/microblaze/dl-machine.h: Likewise.
37241 * sysdeps/mips/dl-machine.: Likewise.
37242 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37243 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37244 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37245 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37246 * sysdeps/sh/dl-machine.h: Likewise.
37247 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37248 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37249 * sysdeps/tile/dl-machine.h: Likewise.
37250 * sysdeps/x86_64/dl-machine.h: Likewise.
37251
37252 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
37253 code.
37254 (verify_persistent_db): Likewise.
37255
37256 2014-06-26 Roland McGrath <roland@hack.frob.com>
37257
37258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
37259 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
37260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
37261 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
37262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37263 Moved ...
37264 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
37265 ... here.
37266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
37267 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
37268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
37269 Identical file removed.
37270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
37271 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
37272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
37273 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
37274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
37275 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
37276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
37277 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
37278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
37279 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
37280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37281 Moved ...
37282 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
37283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
37284 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
37285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
37286 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
37287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37288 Moved ...
37289 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
37290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
37291 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
37292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
37293 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
37294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37295 Identical file removed.
37296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
37297 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
37298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
37299 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
37300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37301 Moved ...
37302 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
37303 ... here.
37304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
37305 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
37306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
37307 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
37308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
37309 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
37310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
37311 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
37312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
37313 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
37314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37315 Moved ...
37316 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
37317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
37318 Moved ...
37319 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
37320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
37321 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
37322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37323 Moved ...
37324 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
37325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
37326 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
37327
37328 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
37329 folded into ...
37330 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
37331 * sysdeps/unix/sysv/linux/s390/Versions
37332 (libpthread: GLIBC_2.19): New version set.
37333 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
37334 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
37335 (librt: GLIBC_2.3.3): New version set.
37336 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
37337 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
37338 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
37339 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
37340 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
37341 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
37342 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
37343 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
37344 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
37345 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
37346 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
37347 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
37348 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
37349 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
37350 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
37351 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
37352 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
37353 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
37354 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
37355 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
37356 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
37357 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
37358 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
37359 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
37360 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
37361 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
37362 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
37363 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
37364 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
37365 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
37366 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
37367 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
37368 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
37369 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
37370 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
37371 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
37372 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
37373 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
37374 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
37375 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
37376 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
37377 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
37378 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
37379 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
37380 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
37381
37382 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
37383 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
37384 (__libc_vfork): Define the function under this name.
37385 [!NOT_IN_libc] (__vfork): Make this an alias.
37386 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
37387 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
37388 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
37389 (__libc_vfork): Define the function under this name.
37390 [!NOT_IN_libc] (__vfork): Make this an alias.
37391 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
37392 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
37393 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
37394 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
37395 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
37396 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37397
37398 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
37399 code that was previously under [RESET_PID].
37400 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
37401 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
37402 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
37403
37404 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
37405 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
37406 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
37407 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
37408 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
37409 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
37410 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
37411 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
37412 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
37413 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
37414 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
37415 Moved ...
37416 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
37417 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
37418 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
37419 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
37420 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
37421 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
37422 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
37423 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
37424 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
37425 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
37426 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
37427 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
37428 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
37429 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
37430 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
37431 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
37432 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
37433 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
37434 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
37435 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
37436 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
37437 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
37438 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
37439 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
37440 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
37441 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
37442 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
37443 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
37444 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
37445
37446 2014-06-25 Roland McGrath <roland@hack.frob.com>
37447
37448 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
37449 that was previously under [RESET_PID].
37450 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
37451
37452 2014-06-25 Joseph Myers <joseph@codesourcery.com>
37453
37454 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
37455 not undefine and redefine.
37456 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
37457 [O_CLOEXEC]: Make code unconditional.
37458 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
37459 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
37460 <kernel-features.h>.
37461 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
37462 conditional variable definition.
37463 (shm_open) [O_CLOEXEC]: Make code unconditional.
37464 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
37465 code.
37466
37467 * configure.ac (USE_REGPARMS): Don't define here.
37468 * configure: Regenerated.
37469 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
37470 * sysdeps/i386/configure: Regenerated.
37471
37472 * nptl/createthread.c: Don't include kernel-features.h.
37473 * nptl/pthread_cancel.c: Likewise.
37474 * nptl/pthread_condattr_setclock.c: Likewise.
37475 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
37476 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
37477 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
37478 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
37479 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
37480 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
37481 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
37482 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
37483 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
37484 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
37485 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
37486 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
37487 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
37488 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
37489 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
37490 * nscd/gai.c: Likewise.
37491 * nss/nss_db/db-open.c: Likewise.
37492 * sysdeps/generic/ldsodefs.h: Likewise.
37493 * sysdeps/sh/nptl/tls.h: Likewise.
37494 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
37495 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
37496 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
37497 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
37498 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
37499 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
37500 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
37501 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37502 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37503 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
37504 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
37505 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37506 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
37507 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
37508 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
37509 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
37510 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
37511 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
37512 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
37513 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
37514 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
37515 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
37516 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
37517 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
37518 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
37519 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
37520 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
37521 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
37522 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
37523 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
37524 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
37525 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
37526 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
37527 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37528 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37529 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
37530 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37531 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
37532 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
37533 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
37534 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
37535 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
37536 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
37537 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37538 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
37539 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
37540 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
37541 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
37542 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
37543 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
37544 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
37545 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
37546 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
37547 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
37548 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
37549 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
37550 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
37551 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
37552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
37553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
37554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
37555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
37556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
37557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
37558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
37559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
37560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
37561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
37562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
37563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
37564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
37565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
37566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
37567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
37572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
37573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
37574 * sysdeps/unix/sysv/linux/pread.c: Likewise.
37575 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
37576 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
37577 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
37578 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
37579 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
37580 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
37581 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
37582 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
37583 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
37584 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
37585 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
37586 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
37587 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
37588 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
37589 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
37590 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
37591 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
37592 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
37593 * sysdeps/unix/sysv/linux/system.c: Likewise.
37594 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
37595 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
37596 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37597 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37598 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37599 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
37600 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37601
37602 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
37603 * configure: Regenerated.
37604 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
37605
37606 * configure.ac (base_machine): Do not set specially for particular
37607 machines here.
37608 * configure: Regenerated.
37609 * sysdeps/powerpc/preconfigure: Move machine and base_machine
37610 settings from configure.ac.
37611 * sysdeps/i386/preconfigure: New file.
37612 * sysdeps/s390/preconfigure: Likewise.
37613 * sysdeps/sh/preconfigure: Likewise.
37614 * sysdeps/sparc/preconfigure: Likewise.
37615
37616 2014-06-25 Roland McGrath <roland@hack.frob.com>
37617
37618 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
37619 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
37620 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
37621 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
37622 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
37623 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
37624 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
37625 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
37626 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
37627 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
37628 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
37629 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
37630 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
37631 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
37632 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
37633 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
37634 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
37635 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
37636 * sysdeps/sparc/sparc64/Makefile: ... appended here.
37637
37638 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
37639 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
37640 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
37641 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
37642 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
37643 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
37644 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
37645 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
37646 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
37647 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
37648 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
37649 * sysdeps/sparc/sparc32/sem_post.c: ... here.
37650 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
37651 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
37652 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
37653 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
37654 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
37655 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
37656 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
37657 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
37658 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
37659 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
37660 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
37661 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
37662 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
37663 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
37664 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
37665 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
37666 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
37667 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
37668 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
37669 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
37670 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
37671 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
37672 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
37673 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
37674 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
37675 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
37676
37677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
37678 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
37679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
37680 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
37681 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37682 Moved ...
37683 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
37684 ... here.
37685 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
37686 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
37687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
37688 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
37689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
37690 Moved ...
37691 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
37692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
37693 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
37694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
37695 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
37696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
37697 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
37698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37699 Moved ...
37700 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
37701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37702 Moved ...
37703 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
37704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
37705 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
37706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37707 Moved ...
37708 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
37709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
37710 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
37711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
37712 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
37713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
37714 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
37715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
37716 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
37717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37718 Moved ...
37719 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
37720 ... here.
37721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
37722 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
37723 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
37724 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
37725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
37726 Moved ...
37727 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
37728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
37729 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
37730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
37731 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
37732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
37733 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
37734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37735 Moved ...
37736 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
37737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37738 Moved ...
37739 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
37740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
37741 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
37742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37743 Moved ...
37744 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
37745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
37746 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
37747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
37748 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
37749
37750 2014-06-25 Joseph Myers <joseph@codesourcery.com>
37751
37752 * timezone/checktab.awk: Update from tzcode 2014e.
37753 * timezone/private.h: Likewise.
37754 * timezone/tzfile.h: Likewise.
37755 * timezone/zdump.c: Likewise.
37756 * timezone/zic.c: Likewise.
37757
37758 * sysdeps/unix/sysv/linux/kernel-features.h
37759 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
37760 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
37761 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
37762 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37763 Remove conditional code.
37764
37765 2014-06-25 Will Newton <will.newton@linaro.org>
37766
37767 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
37768 (_dl_arm_cap_flags): Add HWCAP2 values.
37769 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
37770 (_DL_HWCAP_COUNT): Increase to 37.
37771 (_DL_HWCAP_LAST): New define.
37772 (_DL_HWCAP2_LAST): New define.
37773 (_dl_procinfo): Add support for printing
37774 AT_HWCAP2 entries.
37775 (_dl_string_hwcap): Use _dl_hwcap_string.
37776
37777 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37778
37779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37780
37781 2014-06-25 Joseph Myers <joseph@codesourcery.com>
37782
37783 * README: Do not mention ports directory.
37784
37785 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
37786 Remove macro.
37787 * sysdeps/unix/sysv/linux/futimes.c: Do not include
37788 <kernel-features.h>.
37789 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
37790 conditional variable definition.
37791 (__futimes): Update comment.
37792 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
37793 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
37794
37795 [BZ #16560]
37796 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
37797 arguments close to 0.
37798 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
37799 Likewise.
37800 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
37801 Likewise.
37802 * math/auto-libm-test-in: Add more tests of exp10.
37803 * math/auto-libm-test-out: Regenerated.
37804 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37805
37806 * sysdeps/unix/sysv/linux/kernel-features.h
37807 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
37808 * sysdeps/unix/sysv/linux/readv.c: Do not include
37809 <kernel-features.h>.
37810 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
37811 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
37812 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
37813 unconditional.
37814 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
37815 conditional code.
37816 * sysdeps/unix/sysv/linux/writev.c: Do not include
37817 <kernel-features.h>.
37818 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
37819 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
37820 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
37821 unconditional.
37822 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
37823 conditional code.
37824
37825 2014-06-25 Will Newton <will.newton@linaro.org>
37826
37827 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
37828 comment changes throughout the file. Remove checks
37829 for HAVE_*_H definitions that are not required.
37830 (__gen_tempname): Call abort if an unknown kind value is
37831 passed.
37832
37833 2014-06-25 Andreas Schwab <schwab@suse.de>
37834
37835 [BZ #17086]
37836 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
37837 scalbln, scalblnf, scalblnl in libc.
37838
37839 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37840
37841 [BZ #17086]
37842 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
37843 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
37844 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
37845
37846 2014-06-24 Roland McGrath <roland@hack.frob.com>
37847
37848 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
37849 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
37850 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
37851 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
37852 Update #include.
37853 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
37854 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
37855 Update #include.
37856 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
37857 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
37858 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
37859 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
37860 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
37861 * sysdeps/x86/bits/pthreadtypes.h: ... here.
37862 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
37863 * sysdeps/x86/bits/semaphore.h: ... here.
37864 * sysdeps/x86/nptl/elide.h: Moved ...
37865 * sysdeps/x86/elide.h: ... here.
37866 * sysdeps/x86_64/nptl/Implies: File removed.
37867 * sysdeps/i386/nptl/Implies: File removed.
37868
37869 2014-06-24 Joseph Myers <joseph@codesourcery.com>
37870
37871 [BZ #16539]
37872 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
37873 return the argument for normal arguments with exponent below -64.
37874 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
37875 Likewise.
37876 * math/auto-libm-test-in: Add another test of expm1.
37877 * math/auto-libm-test-out: Regenerated.
37878
37879 [BZ #16287]
37880 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
37881 calling __erfcl for arguments at least 16.
37882 * math/auto-libm-test-in: Add more tests of erf.
37883 * math/auto-libm-test-out: Regenerated.
37884
37885 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
37886 individual architectures.
37887 * sysdeps/unix/sysv/linux/configure: Regenerated.
37888 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
37889 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
37890 * sysdeps/unix/sysv/linux/powerpc/configure.ac
37891 (ldd_rewrite_script): Define variable.
37892 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
37894 file.
37895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
37896 generated file.
37897 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
37898 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
37899 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
37900 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
37901 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
37902 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
37903 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
37904 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
37905
37906 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
37907
37908 [BZ #17084]
37909 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
37910 Rename member __data.d to __data.__elision_data.
37911
37912 2014-06-24 Wilco <wdijkstr@arm.com>
37913
37914 * NEWS: Add 16918 to fixed bug list.
37915
37916 2014-06-24 Wilco <wdijkstr@arm.com>
37917
37918 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
37919
37920 2014-06-24 Wilco <wdijkstr@arm.com>
37921
37922 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
37923 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
37924 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
37925 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
37926 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
37927 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
37928 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
37929 Use _FPU_MASK_RM.
37930
37931 2014-06-24 Wilco <wdijkstr@arm.com>
37932
37933 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
37934
37935 2014-06-24 Wilco <wdijkstr@arm.com>
37936
37937 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
37938 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
37939 * sysdeps/arm/fesetround.c (fesetround): Remove space.
37940 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
37941
37942 2014-06-24 Wilco <wdijkstr@arm.com>
37943
37944 [BZ #16918]
37945 * sysdeps/arm/feupdateenv.c (feupdateenv):
37946 Rewrite to reduce FPSCR accesses and fix return value.
37947
37948 2014-06-24 Wilco <wdijkstr@arm.com>
37949
37950 * sysdeps/arm/fclrexcpt.c (feclearexcept):
37951 Optimize to avoid unnecessary FPSCR writes.
37952 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
37953 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
37954 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
37955 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
37956
37957 2014-06-24 Wilco <wdijkstr@arm.com>
37958
37959 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
37960 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
37961 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
37962 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
37963 Call libc_fetestexcept_vfp.
37964 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
37965 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
37966 __SOFTFP__ ifdef so that they can be built for softfp.
37967
37968 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
37969
37970 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
37971 argument type signed char.
37972
37973 * Makerules (check-abi): Dump diff of symlist if the test
37974 fails.
37975
37976 2014-06-23 Roland McGrath <roland@hack.frob.com>
37977
37978 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
37979 using abort.
37980
37981 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
37982 Remove unused variable ST.
37983
37984 2014-06-23 Joseph Myers <joseph@codesourcery.com>
37985
37986 [BZ #16354]
37987 [BZ #17061]
37988 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
37989 small arguments before calling __expm1.
37990 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
37991 small arguments before calling __expm1f.
37992 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
37993 small arguments before calling __expm1l.
37994 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
37995 Likewise.
37996 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
37997 * math/auto-libm-test-in: Add more cosh tests. Do not allow
37998 spurious underflow for some cosh tests.
37999 * math/auto-libm-test-out: Regenerated.
38000 * sysdeps/i386/fpu/libm-test-ulps: Update.
38001
38002 [BZ #17050]
38003 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
38004 (__ieee754_y1): Set errno if return value overflows.
38005 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
38006 (__ieee754_y1f): Set errno if return value overflows.
38007 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
38008 (__ieee754_y1l): Set errno if return value overflows.
38009 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
38010 (__ieee754_y1l): Set errno if return value overflows.
38011 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
38012 * math/auto-libm-test-out: Regenerated.
38013
38014 * math/gen-auto-libm-tests.c: Document use of
38015 ignore-zero-inf-sign.
38016 (input_flag_type): Add value flag_ignore_zero_inf_sign.
38017 (input_flags): Add ignore-zero-inf-sign.
38018 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
38019 * math/gen-libm-test.pl (generate_testfile): Handle
38020 ignore-zero-inf-sign.
38021 * math/auto-libm-test-in: Mark some cpow tests with
38022 ignore-zero-inf-sign and some with xfail-rounding.
38023 * math/auto-libm-test-out: Regenerated.
38024 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
38025 * sysdeps/i386/fpu/libm-test-ulps: Update.
38026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38027
38028 [BZ #16315]
38029 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
38030 overflowing or underflowing operations take place with sign of
38031 result.
38032 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38033 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38034 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
38035 (__ieee754_pow): Recompute overflowing and underflowing results in
38036 original rounding mode.
38037 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
38038 (__powl_helper): Allow negative argument X and scale negated value
38039 as needed. Avoid passing value outside [-1, 1] to f2xm1.
38040 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
38041 overflowing or underflowing operations take place with sign of
38042 result.
38043 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
38044 Include <math.h>.
38045 * math/auto-libm-test-in: Add more tests of pow.
38046 * math/auto-libm-test-out: Regenerated.
38047 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
38048 (pow_tonearest_test_data): Remove.
38049 (pow_test_tonearest): Likewise.
38050 (pow_towardzero_test_data): Likewise.
38051 (pow_test_towardzero): Likewise.
38052 (pow_downward_test_data): Likewise.
38053 (pow_test_downward): Likewise.
38054 (pow_upward_test_data): Likewise.
38055 (pow_test_upward): Likewise.
38056 (main): Don't call removed functions.
38057 * sysdeps/i386/fpu/libm-test-ulps: Update.
38058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38059
38060 2014-06-23 Roland McGrath <roland@hack.frob.com>
38061
38062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
38063 Moved ...
38064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
38065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38066 Moved ...
38067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
38068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38069 Moved ...
38070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
38071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38072 Moved ...
38073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
38074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38075 File removed.
38076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38077 File removed.
38078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
38079 File removed.
38080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
38081 File removed.
38082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
38083 File removed.
38084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
38085 File removed.
38086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
38087 File removed.
38088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38089 File removed.
38090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
38091 File removed.
38092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38093 File removed.
38094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
38095 File removed.
38096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
38097 File removed.
38098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
38099 Moved ...
38100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
38101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
38102 Moved ...
38103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
38104 ... here.
38105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
38106 Moved ...
38107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
38108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
38109 Moved ...
38110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
38111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
38112 Moved ...
38113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
38114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
38115 Moved ...
38116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
38117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
38118 Moved ...
38119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
38120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
38121 Moved ...
38122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
38123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
38124 Moved ...
38125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
38126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
38127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
38128 ... here.
38129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
38130 Moved ...
38131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
38132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
38133 Moved ...
38134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
38135 ... here.
38136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
38137 Moved ...
38138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
38139 ... here.
38140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38141 Moved ...
38142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38143 ... here.
38144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38145 Moved ...
38146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
38147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38148 Moved ...
38149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
38150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
38151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
38152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38153 Moved ...
38154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
38155 ... here.
38156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38157 Moved ...
38158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
38159 ... here.
38160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38161 Moved ...
38162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
38163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38164 Moved ...
38165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
38166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38167 Moved ...
38168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
38169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38170 Moved ...
38171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
38172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38173 Moved ...
38174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
38175 ... here.
38176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38177 Moved ...
38178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
38179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38180 Moved ...
38181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
38182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38183 Moved ...
38184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
38185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38186 Moved ...
38187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
38188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
38189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
38190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38191 Moved ...
38192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
38193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38194 Moved ...
38195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
38196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38197 Moved ...
38198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
38199 ... here.
38200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38201 Moved ...
38202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
38203 ... here.
38204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38205 Moved ...
38206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
38207 ... here.
38208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38209 Moved ...
38210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
38211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38212 Moved ...
38213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
38214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38215 Moved ...
38216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
38217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38218 Moved ...
38219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
38220 ... here.
38221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38222 Moved ...
38223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
38224 ... here.
38225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38226 Moved ...
38227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
38228 ... here.
38229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38230 Moved ...
38231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
38232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38233 Moved ...
38234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
38235
38236 2014-06-23 Will Newton <will.newton@linaro.org>
38237 Wilco <wdijkstr@arm.com>
38238
38239 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
38240 implementation. Include get-rounding-mode.h.
38241 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
38242 [!libc_feholdsetround_noex_ctx]: Define
38243 libc_feholdsetround_noex_ctx.
38244 [!libc_feholdsetround_noexf_ctx]: Define
38245 libc_feholdsetround_noexf_ctx.
38246 [!libc_feholdsetround_noexl_ctx]: Define
38247 libc_feholdsetround_noexl_ctx.
38248 (libc_feholdsetround_ctx): New function.
38249 (libc_feresetround_ctx): New function.
38250 (libc_feholdsetround_noex_ctx): New function.
38251 (libc_feresetround_noex_ctx): New function.
38252
38253 2014-06-23 Roland McGrath <roland@hack.frob.com>
38254
38255 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
38256 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
38257 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
38258 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
38259 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
38260 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
38261
38262 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
38263 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
38264 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
38265 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
38266 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
38267 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
38268 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
38269 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
38270 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
38271 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
38272 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
38273 Moved ...
38274 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
38275 ... here.
38276 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
38277 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
38278 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
38279 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
38280 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
38281 Moved ...
38282 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
38283 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
38284 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
38285 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
38286 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
38287 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
38288 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
38289 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
38290 Moved ...
38291 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
38292 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
38293 Moved ...
38294 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
38295 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
38296 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
38297 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
38298 Moved ...
38299 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
38300 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
38301 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
38302 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
38303 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
38304 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
38305 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
38306 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
38307 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
38308 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
38309 Moved ...
38310 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
38311 ... here.
38312 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
38313 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
38314 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
38315 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
38316 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
38317 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
38318 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
38319 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
38320 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
38321 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
38322 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
38323 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
38324 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
38325 Moved ...
38326 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
38327 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
38328 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
38329 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
38330 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
38331 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
38332 Moved ...
38333 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
38334 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
38335 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
38336 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
38337 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
38338
38339 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
38340 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
38341 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
38342 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
38343 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
38344 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
38345 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
38346 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
38347 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
38348 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
38349 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
38350 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
38351 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
38352 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
38353 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
38354 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
38355 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
38356 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
38357 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
38358 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
38359 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
38360 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
38361 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
38362 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
38363 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
38364 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
38365 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
38366 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
38367
38368 2014-06-23 Joseph Myers <joseph@codesourcery.com>
38369
38370 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
38371 (FALLOC_FL_COLLAPSE_RANGE): New macro.
38372 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
38373 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
38374 (IPV6_PMTUDISC_INTERFACE): Likewise.
38375 (IPV6_PMTUDISC_OMIT): Likewise.
38376
38377 2014-06-23 Andreas Schwab <schwab@suse.de>
38378
38379 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
38380 Remove unused errout label.
38381
38382 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38383
38384 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
38385 macro: hardware supports Vector Crypto instructions.
38386
38387 2014-06-23 Will Newton <will.newton@linaro.org>
38388
38389 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
38390 rather than __builtin_expect.
38391
38392 * elf/dl-lookup.c (undefined_msg): Remove variable.
38393 (_dl_lookup_symbol_x): Replace undefined_msg with string
38394 literal.
38395
38396 * elf/dl-lookup.c (do_lookup_unique): New function.
38397 (do_lookup_x): Move STB_GNU_UNIQUE handling code
38398 to a separate function.
38399
38400 2014-06-23 Andreas Schwab <schwab@suse.de>
38401
38402 [BZ #17079]
38403 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
38404 before reading the next line.
38405
38406 2014-06-23 Will Newton <will.newton@linaro.org>
38407
38408 * test-skeleton.c (signal_handler): Use printf and %m
38409 rather than perror. Use printf rather than fprintf to
38410 stderr. Use puts rather than fputs to stderr.
38411 (main): Likewise.
38412
38413 2014-06-22 Ludovic Courtès <ludo@gnu.org>
38414
38415 * nscd/nscd.c (thread_info_t): Remove typedef.
38416 (thread_info): Remove variable.
38417
38418 2014-06-21 Allan McRae <allan@archlinux.org>
38419
38420 * NEWS: Mention CVE-2014-4043.
38421
38422 2014-06-20 Roland McGrath <roland@hack.frob.com>
38423
38424 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
38425 * nptl/smp.h: ... here.
38426
38427 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
38428
38429 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
38430 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
38431 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
38432 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
38433
38434 * nptl/allocatestack.c: Include <stack-aliasing.h>.
38435 * nptl/stack-aliasing.h: New file.
38436 * sysdeps/i386/i686/stack-aliasing.h: New file.
38437 * sysdeps/i386/i686/nptl/Makefile: File removed.
38438 * sysdeps/x86_64/stack-aliasing.h: New file.
38439 * sysdeps/x86_64/nptl/Makefile
38440 (CFLAGS-pthread_create.c): Variable removed.
38441
38442 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
38443 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
38444 old file.
38445 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
38446 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
38447 old file.
38448
38449 2014-06-21 Joseph Myers <joseph@codesourcery.com>
38450
38451 * sysdeps/unix/sysv/linux/arm/kernel-features.h
38452 (__ASSUME_SIGFRAME_V2): Remove macro.
38453 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
38454 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
38455 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
38456 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
38457 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
38458 Declare as function. Remove conditional macro definitions.
38459 (__default_rt_sa_restorer): Likewise.
38460 (__default_sa_restorer_v1): Remove declaration.
38461 (__default_sa_restorer_v2): Likewise.
38462 (__default_rt_sa_restorer_v1): Likewise.
38463 (__default_rt_sa_restorer_v2): Likewise.
38464 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
38465 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
38466 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
38467
38468 2014-06-20 Roland McGrath <roland@hack.frob.com>
38469
38470 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
38471 (libpthread-routines): Add sysdep.
38472 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
38473 * sysdeps/unix/sysv/linux/sparc/Versions
38474 (libpthread: GLIBC_2.3.3): New version set.
38475 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
38476 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
38477 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
38478 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
38479 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
38480 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
38481 Moved ...
38482 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
38483 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
38484 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
38485 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
38486 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
38487 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
38488 * sysdeps/sparc/nptl/sem_init.c: ... here.
38489 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
38490 * sysdeps/sparc/nptl/sem_post.c: ... here.
38491 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
38492 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
38493 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
38494 * sysdeps/sparc/nptl/sem_wait.c: ... here.
38495 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
38496 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
38497 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
38498 (libpthread-routines): Add cpu_relax.
38499 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
38500 File removed.
38501 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
38502 (librt: GLIBC_2.3.3): New version set.
38503 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
38504 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
38505 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
38506 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
38507 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
38508 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
38509 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
38510 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
38511 Moved ...
38512 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
38513 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
38514 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
38515 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
38516 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
38517 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
38518 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
38519 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
38520 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
38521 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
38522 Moved ...
38523 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
38524 Update #include.
38525 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
38526 Moved ...
38527 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
38528 Update #include.
38529 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
38530 Moved ...
38531 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
38532 Update #include.
38533 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
38534 Moved ...
38535 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
38536 Update #include.
38537 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
38538 Moved ...
38539 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
38540 Update #include.
38541 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
38542 Moved ...
38543 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
38544 Update #include.
38545 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
38546 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
38547 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
38548 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
38549 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
38550 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
38551 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
38552 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
38553 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
38554 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
38555 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
38556 Moved ...
38557 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
38558 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
38559 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
38560 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
38561 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
38562
38563 2014-06-20 Joseph Myers <joseph@codesourcery.com>
38564
38565 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
38566 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
38567 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
38568 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
38569 * nscd/nscd.c: Likewise.
38570 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
38571 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
38572 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
38573 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
38574
38575 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
38576 <kernel-features.h>.
38577 (init_mq_netlink): Remove conditional have_sock_cloexec
38578 definitions. Remove code conditional on have_sock_cloexec < 0.
38579 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
38580 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
38581 * sysdeps/unix/sysv/linux/opensock.c: Do not include
38582 <kernel-features.h>.
38583 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
38584 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
38585
38586 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
38587
38588 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38589 Add tests for memset_chk and memset.
38590
38591 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
38592 with AVX2_Usable.
38593
38594 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
38595
38596 [BZ #16046]
38597 * elf/tst-dl-iter-static.c: New file.
38598 * elf/Makefile (tests-static): Add tst-dl-iter-static.
38599
38600 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
38601 error.
38602
38603 2014-06-20 Joseph Myers <joseph@codesourcery.com>
38604
38605 * sysdeps/unix/sysv/linux/kernel-features.h
38606 (__ASSUME_F_GETOWN_EX): Remove macro.
38607 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
38608 <kernel-features.h>.
38609 (miss_F_GETOWN_EX): Remove variable or macro.
38610 (do_fcntl): Do not check miss_F_GETOWN_EX.
38611 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
38612
38613 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
38614 Remove macro.
38615 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
38616 [!__ASSUME_AT_RANDOM]: Remove conditional code.
38617 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
38618
38619 * sysdeps/unix/sysv/linux/kernel-features.h
38620 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
38621 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
38622 [ADJ_OFFSET_SS_READ]: Make code unconditional.
38623 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
38624
38625 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
38626
38627 [BZ #17075]
38628 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
38629 Fix calculation of the symbol's value.
38630 * sysdeps/arm/tst-armtlsdescloc.c: New file.
38631 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
38632 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
38633 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
38634 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
38635 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
38636 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
38637 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
38638 (modules-names): Add `tst-armtlsdescmod',
38639 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
38640 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
38641 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
38642 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
38643 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
38644 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
38645 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
38646 ($(objpfx)tst-armtlsdescloc): New dependency.
38647 ($(objpfx)tst-armtlsdescextnow): Likewise.
38648 ($(objpfx)tst-armtlsdescextlazy): Likewise.
38649 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
38650 TLS scheme support.
38651 * sysdeps/arm/configure: Regenerate.
38652
38653 2014-06-20 Joseph Myers <joseph@codesourcery.com>
38654
38655 * include/fcntl.h (__atfct_seterrno): Remove prototype.
38656 (__atfct_seterrno_2): Likewise.
38657 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
38658 <kernel-features.h>.
38659 (__ASSUME_ATFCTS): Do not undefine and redefine.
38660 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
38661 (__have_atfcts): Remove conditional definition.
38662 (__fxstatat([__NR_fstatat64]: Make code unconditional.
38663 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
38664 unreachable if [__ASSUME_ATFCTS].
38665 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
38666 not undefine and redefine.
38667 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
38668 <kernel-features.h>.
38669 (faccessat) [__NR_faccessat]: Make code unconditional.
38670 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
38671 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
38672 <kernel-features.h>.
38673 (fchmodat) [__NR_fchmodat]: Make code unconditional.
38674 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
38675 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
38676 <kernel-features.h>.
38677 (fchownat) [__NR_fchownat]: Make code unconditional.
38678 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
38679 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
38680 <kernel-features.h>.
38681 (futimesat) [__NR_futimesat]: Make code unconditional.
38682 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
38683 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38684 <kernel-features.h>.
38685 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
38686 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38687 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38688 <kernel-features.h>.
38689 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
38690 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
38691 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
38692 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38693 <kernel-features.h>.
38694 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
38695 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38696 * sysdeps/unix/sysv/linux/linkat.c: Do not include
38697 <kernel-features.h>.
38698 (linkat) [__NR_linkat]: Make code unconditional.
38699 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38700 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
38701 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
38702 <kernel-features.h>.
38703 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
38704 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
38705 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
38706 <kernel-features.h>.
38707 (mkdirat) [__NR_mkdirat]: Make code unconditional.
38708 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
38709 * sysdeps/unix/sysv/linux/openat.c: Do not include
38710 <kernel-features.h>.
38711 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
38712 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
38713 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
38714 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
38715 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
38716 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
38717 <kernel-features.h>.
38718 (readlinkat) [__NR_readlinkat]: Make code unconditional.
38719 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
38720 result of INLINE_SYSCALL directly, not via int variable.
38721 * sysdeps/unix/sysv/linux/renameat.c: Do not include
38722 <kernel-features.h>.
38723 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
38724 (renameat) [__NR_renameat]: Make code unconditional.
38725 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
38726 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
38727 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
38728 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
38729 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
38730 (__ASSUME_ATFCTS): Do not undefine and redefine.
38731 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
38732 <kernel-features.h>.
38733 (symlinkat) [__NR_symlinkat]: Make code unconditional.
38734 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38735 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
38736 <kernel-features.h>.
38737 (unlinkat) [__NR_unlinkat]: Make code unconditional.
38738 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38739 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
38740 (__ASSUME_ATFCTS): Do not undefine and redefine.
38741 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38742 <kernel-features.h>.
38743 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
38744 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38745 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38746 <kernel-features.h>.
38747 (__xmknodat) [__NR_mknodat]: Make code unconditional.
38748 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
38749
38750 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
38751
38752 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
38753
38754 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
38755
38756 [BZ #17069]
38757 * posix/regcomp.c (parse_reg_exp): Deallocate partially
38758 constructed tree before returning error.
38759 * posix/bug-regexp36.c: Expand test case.
38760
38761 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
38762
38763 [BZ #6803]
38764 * math/libm-test.inc (scalbln_test_date):
38765 Add errno expectations.
38766 * math/w_scalblnf.c: New File.
38767 Add wrapper which checks for setting errno to ERANGE.
38768 Add weak_alias for corresponding scalbln function.
38769 * math/w_scalbln.c: Likewise.
38770 * math/w_scalblnl.c: Likewise.
38771 * math/Makefile (libm-calls): Add w_scalbln.
38772 * sysdeps/ieee754/flt-32/s_scalblnf.c:
38773 Remove weak_alias for corresponding scalbln function.
38774 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38775 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38776 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38777 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38778 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
38779 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
38780 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
38781 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
38782 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
38783 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
38784 Remove long_double_symbol for scalblnl function in libm, libc.
38785 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
38786 Add wrapper which checks for setting errno to ERANGE.
38787 Add long_double_symbol for scalblnl function in libm, libc.
38788 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
38789 Remove long_double_symbol for scalblnl in libm.
38790 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
38791 Add wrapper which checks for setting errno to ERANGE.
38792 Add long_double_symbol for scalblnl function in libm.
38793 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
38794 Do not use wrapper because of own implementation.
38795
38796 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
38797
38798 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
38799 3 bytes for __pad1 for x32.
38800 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
38801
38802 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
38803 H.J. Lu <hongjiu.lu@intel.com>
38804
38805 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
38806 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
38807 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38808 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38809 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
38810
38811 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
38812
38813 [BZ #17069]
38814 * posix/regcomp.c (parse_expression): Deallocate partially
38815 constructed tree before returning error.
38816 * posix/Makefile.c (tests): Add bug-regex36.
38817 (generated): Add bug-regex36.mtrace.
38818 (tests-special): Add $(objpfx)bug-regex36-mem.out
38819 (bug-regex36-ENV): New variable.
38820 ($(objpfx)bug-regex36-mem.out): New rule.
38821 * posix/bug-regex36.c: New file.
38822
38823 2014-06-19 Will Newton <will.newton@linaro.org>
38824
38825 * malloc/malloc.c (systrim): If extra is zero then return
38826 early.
38827
38828 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38829
38830 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
38831
38832 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
38833
38834 * sysdeps/aarch64/strchr.S: New file.
38835
38836 2014-06-18 Joseph Myers <joseph@codesourcery.com>
38837
38838 [BZ #17022]
38839 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
38840 from arguments -2 or below.
38841 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38842 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
38843
38844 2014-06-18 Andreas Schwab <schwab@suse.de>
38845
38846 [BZ #17062]
38847 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
38848 of a bracket expr not to run off the end of the string.
38849 * posix/Makefile (tests): Add tst-fnmatch3.
38850 * posix/tst-fnmatch3.c: New file.
38851
38852 2014-06-18 Joseph Myers <joseph@codesourcery.com>
38853
38854 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
38855 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38856 [$(cross-compiling) = no]: Likewise.
38857 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38858 [$(cross-compiling) = no]: Likewise.
38859
38860 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38861
38862 [BZ #17031]
38863 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
38864 double, adjusted for any remainder from the high double.
38865 * math/libm-test.inc (nearbyint): Add tests.
38866 (rint): Likewise.
38867
38868 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38869
38870 * nptl/sysdeps/powerpc/Makefile: Moved ...
38871 * sysdeps/powerpc/nptl/Makefile: ... here.
38872 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
38873 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
38874 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
38875 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
38876 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
38877 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
38878 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
38879 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
38880 * nptl/sysdeps/powerpc/tls.h: Moved ...
38881 * sysdeps/powerpc/nptl/tls.h: ... here.
38882
38883 2014-06-16 Joseph Myers <joseph@codesourcery.com>
38884
38885 [BZ #16681]
38886 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
38887 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
38888 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
38889 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
38890 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
38891 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
38892 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
38893 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
38894 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
38895
38896 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
38897
38898 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
38899
38900 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
38901
38902 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
38903 defined operator.
38904
38905 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
38906 $TIMEOUTFACTOR.
38907
38908 2014-06-16 Florian Weimer <fweimer@redhat.com>
38909
38910 [BZ #17058]
38911 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
38912 non-executed part of the test.
38913
38914 2014-06-16 Andreas Schwab <schwab@suse.de>
38915
38916 * string/bits/string2.h (strdup, strndup): Update feature guard.
38917
38918 2014-06-14 David S. Miller <davem@davemloft.net>
38919
38920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38921
38922 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
38923
38924 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
38925 that was previously under [RESET_PID].
38926 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
38927
38928 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
38929 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
38930 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
38931 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38932 (__libc_vfork): New strong alias.
38933 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
38934
38935 2014-06-14 Andi Kleen <ak@linux.intel.com>
38936
38937 * sysdeps/generic/elide.h: New file.
38938
38939 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
38940
38941 * Makefile (installed-headers): Adjust path of pthread.h header.
38942
38943 2014-06-13 Roland McGrath <roland@hack.frob.com>
38944
38945 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
38946 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
38947 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
38948 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
38949
38950 * nptl/sysdeps/s390/Makefile: Moved ...
38951 * sysdeps/s390/nptl/Makefile: ... here.
38952 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
38953 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
38954 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
38955 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
38956 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
38957 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
38958 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
38959 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
38960 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
38961 * sysdeps/s390/nptl/pthreaddef.h: ... here.
38962 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
38963 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
38964 * nptl/sysdeps/s390/tls.h: Moved ...
38965 * sysdeps/s390/nptl/tls.h: ... here.
38966
38967 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
38968 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
38969
38970 2014-06-13 David S. Miller <davem@davemloft.net>
38971
38972 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
38973 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
38974 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
38975 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
38976 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
38977 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
38978 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
38979 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
38980 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
38981 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
38982 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
38983 Remove RESET_PID cpp guards.
38984 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
38985 Remove RESET_PID cpp guards.
38986 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
38987
38988 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
38989
38990 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
38991 __sp to uintptr_t.
38992
38993 2014-06-13 Andi Kleen <ak@linux.intel.com>
38994
38995 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
38996 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
38997 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
38998 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
38999 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
39000 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
39001 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
39002 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
39003 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
39004 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
39005 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
39006 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
39007 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
39008 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
39009 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
39010 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
39011 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
39012 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
39013 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
39014 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
39015
39016 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
39017 (pthread_rwlock_rdlock): Add elision.
39018 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
39019 (pthread_rwlock_wrlock): Add elision.
39020 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
39021 (pthread_rwlock_trywrlock): Add elision.
39022 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
39023 (pthread_rwlock_tryrdlock): Add elision.
39024 * nptl/pthread_rwlock_unlock.c: Include elide.h.
39025 (pthread_rwlock_tryrdlock): Add elision unlock.
39026 * nptl/sysdeps/pthread/pthread.h:
39027 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
39028 (PTHREAD_RWLOCK_INITIALIZER,
39029 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
39030 Handle new elision field.
39031 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
39032 * sysdeps/arm/nptl/bits/pthreadtypes.h
39033 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39034 * sysdeps/sh/nptl/bits/pthreadtypes.h
39035 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39036 * sysdeps/tile/nptl/bits/pthreadtypes.h
39037 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39038 * sysdeps/a/nptl/bits/pthreadtypes.h
39039 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39040 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39041 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39042 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39043 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39044 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
39045 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39046 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39047 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39048 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39049 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39050 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39051 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39052 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39053 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39054 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
39055 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39056 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
39057 (elision_init): Set try_xbegin to zero when no RTM.
39058 * sysdeps/x86/nptl/bits/pthreadtypes.h
39059 (pthread_rwlock_t): Change __pad1 to __rwelision.
39060 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39061
39062 2014-06-13 Andi Kleen <ak@linux.intel.com>
39063
39064 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
39065 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
39066 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
39067 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
39068
39069 2014-06-13 Meador Inge <meadori@codesourcery.com>
39070
39071 [BZ #16996]
39072 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
39073 that the cached result has been set before returning it.
39074
39075 2014-06-12 Roland McGrath <roland@hack.frob.com>
39076
39077 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
39078 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
39079 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
39080 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
39081 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
39082 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
39083
39084 * nptl/sysdeps/sparc/Makefile: Moved ...
39085 * sysdeps/sparc/nptl/Makefile: ... here.
39086 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
39087 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
39088 * nptl/sysdeps/sparc/tls.h: Moved ...
39089 * sysdeps/sparc/nptl/tls.h: ... here.
39090 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
39091 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
39092 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
39093 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
39094 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
39095 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
39096 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
39097 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
39098 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
39099 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
39100 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
39101 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
39102 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
39103 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
39104 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
39105 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
39106 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
39107 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
39108 Update #include.
39109 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
39110 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
39111 Update #include.
39112 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
39113 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
39114 Update #include.
39115 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
39116 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
39117 Update #include.
39118
39119 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39120
39121 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
39122 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
39123
39124 * sysdeps/pthread/posix-timer.h: Include <list.h>.
39125 (struct list_links): Type removed.
39126 (struct thread_node, struct timer_node): Replace struct list_links
39127 with struct list_head.
39128 (list_unlink_ip): Likewise.
39129 * sysdeps/pthread/timer_routines.c
39130 (timer_free_list, thread_free_list, thread_active_list): Likewise.
39131 (list_append, list_insbefore): Likewise.
39132 (list_init): Function removed.
39133 (thread_init, init_module): Use INIT_LIST_HEAD instead.
39134 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
39135 * sysdeps/pthread/Makefile: ... here, new file.
39136
39137 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
39138 * sysdeps/nptl/Implies: ... here.
39139 * sysdeps/unix/sysv/linux/Implies: Add nptl.
39140 * nptl/sysdeps/pthread/list.h: Moved ...
39141 * include/list.h: ... here.
39142 * nptl/sysdeps/pthread/createthread.c: Moved ...
39143 * nptl/createthread.c: ... here.
39144 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
39145 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
39146 * nptl/pt-longjmp.c: ... here.
39147 * nptl/sysdeps/pthread/Makefile: Moved ...
39148 * sysdeps/nptl/Makefile: ... here.
39149 * nptl/sysdeps/pthread/Subdirs: Moved ...
39150 * sysdeps/nptl/Subdirs: ... here.
39151 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
39152 * sysdeps/nptl/aio_misc.h: ... here.
39153 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
39154 * sysdeps/nptl/bits/libc-lock.h: ... here.
39155 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
39156 * sysdeps/nptl/bits/libc-lockP.h: ... here.
39157 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
39158 * sysdeps/nptl/bits/stdio-lock.h: ... here.
39159 * nptl/sysdeps/pthread/configure: Moved ...
39160 * sysdeps/nptl/configure: ... here.
39161 * nptl/sysdeps/pthread/configure.ac: Moved ...
39162 * sysdeps/nptl/configure.ac: ... here.
39163 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
39164 * sysdeps/nptl/gai_misc.h: ... here.
39165 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
39166 * sysdeps/nptl/librt-cancellation.c: ... here.
39167 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
39168 * sysdeps/nptl/malloc-machine.h: ... here.
39169 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
39170 * sysdeps/nptl/pthread-functions.h: ... here.
39171 * nptl/sysdeps/pthread/pthread.h: Moved ...
39172 * sysdeps/nptl/pthread.h: ... here.
39173 * nptl/sysdeps/pthread/setxid.h: Moved ...
39174 * sysdeps/nptl/setxid.h: ... here.
39175 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
39176 * sysdeps/nptl/sigfillset.c: ... here.
39177 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
39178 * sysdeps/nptl/tcb-offsets.h: ... here.
39179 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
39180 * sysdeps/nptl/tst-mqueue8x.c: ... here.
39181 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
39182 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
39183 * nptl/sysdeps/pthread/allocalim.h: Moved ...
39184 * sysdeps/pthread/allocalim.h: ... here.
39185 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
39186 * sysdeps/pthread/bits/sigthread.h: ... here.
39187 * nptl/sysdeps/pthread/flockfile.c: Moved ...
39188 * sysdeps/pthread/flockfile.c: ... here.
39189 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
39190 * sysdeps/pthread/ftrylockfile.c: ... here.
39191 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
39192 * sysdeps/pthread/funlockfile.c: ... here.
39193 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
39194 * sysdeps/pthread/posix-timer.h: ... here.
39195 * nptl/sysdeps/pthread/timer_create.c: Moved ...
39196 * sysdeps/pthread/timer_create.c: ... here.
39197 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
39198 * sysdeps/pthread/timer_delete.c: ... here.
39199 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
39200 * sysdeps/pthread/timer_getoverr.c: ... here.
39201 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
39202 * sysdeps/pthread/timer_gettime.c: ... here.
39203 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
39204 * sysdeps/pthread/timer_routines.c: ... here.
39205 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
39206 * sysdeps/pthread/timer_settime.c: ... here.
39207 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
39208 * sysdeps/pthread/tst-timer.c: ... here.
39209 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
39210 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
39211
39212 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
39213 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
39214
39215 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
39216 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
39217 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
39218 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
39219 Update #include target.
39220 * nptl/sysdeps/i386/i686/Makefile: Moved ...
39221 * sysdeps/i386/i686/nptl/Makefile: ... here.
39222 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
39223 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
39224 Update #include target.
39225 * nptl/sysdeps/i386/i686/tls.h: Moved ...
39226 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
39227 * nptl/sysdeps/i386/Makefile: Moved ...
39228 * sysdeps/i386/nptl/Makefile: ... here.
39229 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
39230 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
39231 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
39232 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
39233 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
39234 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
39235 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
39236 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
39237 * sysdeps/i386/nptl/pthreaddef.h: ... here.
39238 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
39239 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
39240 * nptl/sysdeps/i386/tls.h: Moved ...
39241 * sysdeps/i386/nptl/tls.h: ... here.
39242
39243 * sysdeps/sh/Makefile [$(subdir) = csu]
39244 (gen-as-const-headers): Add tcb-offsets.sym.
39245 * nptl/sysdeps/sh/Makefile: File removed.
39246 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
39247 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
39248 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
39249 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
39250 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
39251 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
39252 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
39253 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
39254 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
39255 * sysdeps/sh/nptl/pthreaddef.h: ... here.
39256 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
39257 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
39258 * nptl/sysdeps/sh/tls.h: Moved ...
39259 * sysdeps/sh/nptl/tls.h: ... here.
39260 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
39261 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
39262 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
39263 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
39264 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
39265 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
39266 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
39267 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
39268 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
39269 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
39270 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
39271 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
39272 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
39273 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
39274 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
39275 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
39276 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
39277 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
39278 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
39279 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
39280 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
39281 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
39282 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
39283 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
39284 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
39285 Moved ...
39286 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
39287 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
39288 Moved ...
39289 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
39290 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
39291 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
39292 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
39293 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
39294 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
39295 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
39296 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
39297 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
39298 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
39299 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
39300 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
39301 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
39302 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
39303 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
39304 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
39305 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
39306 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
39307 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
39308
39309 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
39310
39311 * posix/spawn_faction_addopen.c: Include string.h.
39312
39313 2014-06-11 Roland McGrath <roland@hack.frob.com>
39314
39315 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
39316 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
39317 * nptl/sysdeps/x86_64/Makefile: Moved ...
39318 * sysdeps/x86_64/nptl/Makefile: ... here.
39319 * nptl/sysdeps/x86_64/configure: Moved ...
39320 * sysdeps/x86_64/nptl/configure: ... here.
39321 * nptl/sysdeps/x86_64/configure.ac: Moved ...
39322 * sysdeps/x86_64/nptl/configure.ac: ... here.
39323 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
39324 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
39325 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
39326 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
39327 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
39328 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
39329 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
39330 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
39331 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
39332 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
39333 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
39334 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
39335 * nptl/sysdeps/x86_64/tls.h: Moved ...
39336 * sysdeps/x86_64/nptl/tls.h: ... here.
39337 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
39338 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
39339 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
39340 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
39341
39342 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
39343
39344 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39345
39346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39347
39348 2014-06-11 Joseph Myers <joseph@codesourcery.com>
39349
39350 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
39351 type.
39352 [POSIX] (off_t): Likewise.
39353 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
39354 [POSIX] (S_ISBLK): Require macro.
39355 [POSIX] (S_ISCHR): Likewise.
39356 [POSIX] (S_ISDIR): Likewise.
39357 [POSIX] (S_ISFIFO): Likewise.
39358 [POSIX] (S_ISREG): Likewise.
39359 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
39360 optional-macro.
39361 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
39362 type.
39363 [POSIX] (time_t): Likewise.
39364 [POSIX] (timer_t): Likewise.
39365
39366 2014-06-11 Florian Weimer <fweimer@redhat.com>
39367
39368 [BZ #17048]
39369 * posix/spawn_int.h (struct __spawn_action): Make the path string
39370 non-const to support deallocation.
39371 * posix/spawn_faction_addopen.c
39372 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
39373 * posix/spawn_faction_destroy.c
39374 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
39375 path in all spawn_do_open actions.
39376 * posix/tst-spawn.c (do_test): Exercise the copy operation in
39377 posix_spawn_file_actions_addopen.
39378
39379 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
39380
39381 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
39382 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
39383 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
39384 conditional code always true.
39385 (__libc_vfork): New alias.
39386
39387 2014-06-11 Roland McGrath <roland@hack.frob.com>
39388
39389 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39390 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
39391
39392 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
39393
39394 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39395 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
39396
39397 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39398 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
39399
39400 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39401 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
39402
39403 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
39404
39405 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
39406 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
39407 multiarch strcmp for PPC64.
39408 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
39409 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
39410 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
39411 multiarch optimizations.
39412 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39413 (__libc_ifunc_impl_list): Likewise.
39414
39415 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
39416
39417 * benchtests/scripts/validate_benchout.py: New script.
39418 * benchtests/Makefile (bench-func): Call it.
39419 * benchtests/scripts/benchout.schema.json: New file.
39420
39421 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
39422
39423 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
39424 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
39425 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
39426 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
39427 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
39428 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
39429 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
39430 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
39431 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
39432 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
39433 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
39434 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
39435 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
39436 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
39437 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
39438 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
39439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
39440 Moved ...
39441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
39442 ... here.
39443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
39444 Moved ...
39445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
39446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
39447 Moved ...
39448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
39449 ... here.
39450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
39451 Moved ...
39452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
39453 ... here.
39454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
39455 Moved ...
39456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
39457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
39458 Moved ...
39459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
39460 ... here.
39461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
39462 Moved ...
39463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
39464 ... here.
39465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
39466 Moved ...
39467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
39468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
39469 Moved ...
39470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
39471 ... here.
39472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
39473 Moved ...
39474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
39475 ... here.
39476 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
39477 Moved ...
39478 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
39479 ... here.
39480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
39481 Moved ...
39482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
39483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
39484 Moved ...
39485 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
39486 ... here.
39487 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
39488 Moved ...
39489 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
39490 ... here.
39491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
39492 Moved ...
39493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
39494 ... here.
39495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
39496 Moved ...
39497 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
39498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
39499 Moved ...
39500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
39501 ... here.
39502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
39503 Moved ...
39504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
39505 ... here.
39506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
39507 Moved ...
39508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
39509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
39510 Moved ...
39511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
39512 ... here.
39513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
39514 Moved ...
39515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
39516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
39517 Moved ...
39518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
39519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
39520 Moved ...
39521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
39522 ... here.
39523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
39524 Moved ...
39525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
39526 ... here.
39527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
39528 Moved ...
39529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
39530 ... here.
39531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
39532 Moved ...
39533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
39534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
39535 Moved ...
39536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
39537 ... here.
39538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
39539 Moved ...
39540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
39541 ... here.
39542 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
39543 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
39544 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
39545 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
39546 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
39547 Moved ...
39548 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
39549 ... here.
39550 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
39551 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
39552 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
39553 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
39554 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
39555 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
39556 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
39557 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
39558 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
39559 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
39560 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
39561 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
39562 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
39563 Moved ...
39564 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
39565 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
39566 Moved ...
39567 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
39568 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
39569 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
39570 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
39571 Moved ...
39572 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
39573 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
39574 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
39575 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
39576 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
39577 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
39578 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
39579
39580 2014-06-10 Wilco <wdijkstr@arm.com>
39581
39582 * math/test-fenv-return.c: New file.
39583 * math/Makefile: Add new test test-fenv-return.
39584
39585 2014-06-10 Joseph Myers <joseph@codesourcery.com>
39586
39587 [BZ #17042]
39588 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
39589 when x - 1 is zero.
39590 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
39591 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
39592 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
39593 0.0L for an argument of 1.0L.
39594 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
39595 Likewise.
39596 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
39597 value when x - 1 is zero.
39598 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
39599 * sysdeps/i386/fpu/libm-test-ulps: Update.
39600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39601
39602 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
39603
39604 [BZ #15119]
39605 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
39606
39607 2014-06-09 Roland McGrath <roland@hack.frob.com>
39608
39609 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
39610 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
39611
39612 2014-06-09 Roland McGrath <roland@hack.frob.com>
39613
39614 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39615 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
39616
39617 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39618 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
39619
39620 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39621 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
39622
39623 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39624 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
39625
39626 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
39627 if not already defined.
39628 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
39629 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
39630 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
39631 (TLS_INIT_TP): Use it.
39632 (TLS_DEFINE_INIT_TP): New macro.
39633 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
39634
39635 2014-06-09 Joseph Myers <joseph@codesourcery.com>
39636
39637 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
39638 constant.
39639 [POSIX] (IXANY): Likewise.
39640 [POSIX] (OLCUC): Likewise.
39641 [POSIX || POSIX2008] (CBAUD): Do not allow.
39642 [POSIX || POSIX2008] (DEFECHO): Likewise.
39643 [POSIX || POSIX2008] (ECHOCTL): Likewise.
39644 [POSIX || POSIX2008] (ECHOKE): Likewise.
39645 [POSIX || POSIX2008] (ECHOPRT): Likewise.
39646 [POSIX || POSIX2008] (EXTA): Likewise.
39647 [POSIX || POSIX2008] (EXTB): Likewise.
39648 [POSIX || POSIX2008] (FLUSHO): Likewise.
39649 [POSIX || POSIX2008] (LOBLK): Likewise.
39650 [POSIX || POSIX2008] (PENDIN): Likewise.
39651 [POSIX || POSIX2008] (SWTCH): Likewise.
39652 [POSIX || POSIX2008] (VDISCARD): Likewise.
39653 [POSIX || POSIX2008] (VDSUSP): Likewise.
39654 [POSIX || POSIX2008] (VLNEXT): Likewise.
39655 [POSIX || POSIX2008] (VREPRINT): Likewise.
39656 [POSIX || POSIX2008] (VSTATUS): Likewise.
39657 [POSIX || POSIX2008] (VWERASE): Likewise.
39658 (B*): Change to B[0123456789]*.
39659 * conform/data/time.h-data [POSIX || UNIX98]
39660 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
39661 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39662 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
39663 [POSIX] (tm_*): Do not allow.
39664
39665 2014-06-07 Joseph Myers <joseph@codesourcery.com>
39666
39667 * Makefile (install): Don't set LANGUAGE.
39668 * Makefile.in (install): Likewise.
39669 * assert/Makefile (test-assert-ENV): Remove variable.
39670 (test-assert-perr-ENV): Likewise.
39671 * elf/Makefile (neededtest4-ENV): Likewise.
39672 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39673 [$(cross-compiling) = no]: Don't set LANGUAGE.
39674 * io/ftwtest-sh (LANG): Remove variable.
39675 * libio/Makefile (tst-widetext-ENV): Likewise.
39676 * manual/install.texi (Running make install): Don't refer to
39677 environment settings for make install.
39678 * INSTALL: Regenerated.
39679 * nptl/tst-tls6.sh: Don't set LANG.
39680 * posix/globtest.sh (LANG): Remove variable.
39681 * string/Makefile (tester-ENV): Likewise.
39682 (inl-tester-ENV): Likewise.
39683 (noinl-tester-ENV): Likewise.
39684 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39685 [$(cross-compiling) = no]: Don't set LANGUAGE.
39686 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
39687 without explicit environment settings.
39688
39689 2014-06-06 Roland McGrath <roland@hack.frob.com>
39690
39691 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
39692 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
39693 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
39694 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
39695
39696 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
39697
39698 * crypt/crypt-private.h [DOS]: Add some includes taken from the
39699 other files in the crypt directory.
39700 * crypt/crypt.c: Remove duplicate includes.
39701 * crypt/crypt-entry.c: Likewise.
39702 * crypt/crypt_util.c: Likewise.
39703
39704 2014-06-06 Joseph Myers <joseph@codesourcery.com>
39705
39706 * Makeconfig (run-program-env): New variable.
39707 (run-program-prefix-before-env): Likewise.
39708 (run-program-prefix-after-env): Likewise.
39709 (run-program-prefix): Define in terms of new variables.
39710 (built-program-cmd-before-env): New variable.
39711 (built-program-cmd-after-env): Likewise.
39712 (built-program-cmd): Define in terms of new variables.
39713 (test-program-prefix-before-env): New variable.
39714 (test-program-prefix-after-env): Likewise.
39715 (test-program-prefix): Define in terms of new variables.
39716 (test-program-cmd-before-env): New variable.
39717 (test-program-cmd-after-env): Likewise.
39718 (test-program-cmd): Define in terms of new variables.
39719 * Rules (make-test-out): Use $(run-program-env).
39720 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
39721 (help): Do not mention environment variables. Mention
39722 --timeoutfactor option.
39723 (timeoutfactor): New variable.
39724 (blacklist_exports): Remove function.
39725 (exports): Remove variable.
39726 (command): Do not include ${exports}.
39727 * manual/install.texi (Configuring and compiling): Do not mention
39728 test wrappers preserving environment variables. Mention that last
39729 assignment to a variable must take precedence.
39730 * INSTALL: Regenerated.
39731 * benchtests/Makefile (run-bench): Use $(run-program-env).
39732 * catgets/Makefile ($(objpfx)test1.cat): Use
39733 $(built-program-cmd-before-env), $(run-program-env) and
39734 $(built-program-cmd-after-env).
39735 ($(objpfx)test2.cat): Do not specify environment variables
39736 explicitly.
39737 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
39738 $(run-program-env) and $(built-program-cmd-after-env).
39739 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
39740 $(run-program-env) and $(test-program-cmd-after-env).
39741 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
39742 explicitly.
39743 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
39744 run_program_env and test_program_cmd_after_env arguments.
39745 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
39746 * elf/tst-pathopt.sh: Use run_program_env argument.
39747 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
39748 $(test-wrapper-env) and $(run-program-env).
39749 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
39750 run_program_env arguments.
39751 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
39752 * intl/Makefile ($(objpfx)tst-gettext.out): Use
39753 $(test-program-prefix-before-env), $(run-program-env) and
39754 $(test-program-prefix-after-env).
39755 ($(objpfx)tst-gettext2.out): Likewise.
39756 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
39757 run_program_env and test_program_prefix_after_env arguments.
39758 * intl/tst-gettext2.sh: Likewise.
39759 * intl/tst-gettext4.sh: Do not set environment variables
39760 explicitly.
39761 * intl/tst-gettext6.sh: Likewise.
39762 * intl/tst-translit.sh: Likewise.
39763 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
39764 $(test-program-prefix-before-env), $(run-program-env) and
39765 $(test-program-prefix-after-env).
39766 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
39767 run_program_env and test_program_prefix_after_env arguments.
39768 * math/Makefile (run-regen-ulps): Use $(run-program-env).
39769 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
39770 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
39771 explicitly with each use of ${test_wrapper_env}.
39772 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
39773 $(test-program-prefix-before-env), $(run-program-env) and
39774 $(test-program-prefix-after-env).
39775 * posix/tst-getconf.sh: Do not set environment variables
39776 explicitly.
39777 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
39778 run_program_env and test_program_prefix_after_env arguments.
39779 * stdio-common/tst-printf.sh: Do not set environment variables
39780 explicitly.
39781 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
39782 $(test-program-prefix-before-env), $(run-program-env) and
39783 $(test-program-prefix-after-env).
39784 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
39785 run_program_env and test_program_prefix_after_env arguments.
39786 Split $test calls into $test_pre and $test.
39787 * timezone/Makefile (build-testdata): Use
39788 $(built-program-cmd-before-env), $(run-program-env) and
39789 $(built-program-cmd-after-env).
39790
39791 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39792
39793 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
39794 strlen for non SHARED builds.
39795
39796 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39797
39798 * nptl/allocatestack.c (check_list): Inlined function...
39799 (__reclaim_stacks): ... here.
39800
39801 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
39802
39803 [BZ #15698]
39804 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
39805 memory overrun.
39806
39807 2014-06-05 Joseph Myers <joseph@codesourcery.com>
39808
39809 * Rules (make-test-out): Include
39810 LOCPATH=$(common-objpfx)localedata in default environment.
39811 * debug/Makefile (tst-chk1-ENV): Remove variable.
39812 (tst-chk2-ENV): Likewise.
39813 (tst-chk3-ENV): Likewise.
39814 (tst-chk4-ENV): Likewise.
39815 (tst-chk5-ENV): Likewise.
39816 (tst-chk6-ENV): Likewise.
39817 (tst-lfschk1-ENV): Likewise.
39818 (tst-lfschk2-ENV): Likewise.
39819 (tst-lfschk3-ENV): Likewise.
39820 (tst-lfschk4-ENV): Likewise.
39821 (tst-lfschk5-ENV): Likewise.
39822 (tst-lfschk6-ENV): Likewise.
39823 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
39824 (tst-iconv7-ENV): Likewise.
39825 * intl/Makefile (LOCPATH-ENV): Likewise.
39826 (tst-codeset-ENV): Likewise.
39827 (tst-gettext3-ENV): Likewise.
39828 (tst-gettext5-ENV): Likewise.
39829 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
39830 (tst-fopenloc-ENV): Likewise.
39831 (tst-fgetws-ENV): Remove variable.
39832 (tst-ungetwc1-ENV): Likewise.
39833 (tst-ungetwc2-ENV): Likewise.
39834 (bug-ungetwc2-ENV): Likewise.
39835 (tst-swscanf-ENV): Likewise.
39836 (bug-ftell-ENV): Likewise.
39837 (tst-fgetwc-ENV): Likewise.
39838 (tst-fseek-ENV): Likewise.
39839 (tst-ftell-partial-wide-ENV): Likewise.
39840 (tst-ftell-active-handler-ENV): Likewise.
39841 (tst-ftell-append-ENV): Likewise.
39842 * posix/Makefile (tst-fnmatch-ENV): Likewise.
39843 (tst-regexloc-ENV): Likewise.
39844 (bug-regex1-ENV): Likewise.
39845 (tst-regex-ENV): Likewise.
39846 (tst-regex2-ENV): Likewise.
39847 (bug-regex5-ENV): Likewise.
39848 (bug-regex6-ENV): Likewise.
39849 (bug-regex17-ENV): Likewise.
39850 (bug-regex18-ENV): Likewise.
39851 (bug-regex19-ENV): Likewise.
39852 (bug-regex20-ENV): Likewise.
39853 (bug-regex22-ENV): Likewise.
39854 (bug-regex23-ENV): Likewise.
39855 (bug-regex25-ENV): Likewise.
39856 (bug-regex26-ENV): Likewise.
39857 (bug-regex30-ENV): Likewise.
39858 (bug-regex32-ENV): Likewise.
39859 (bug-regex33-ENV): Likewise.
39860 (bug-regex34-ENV): Likewise.
39861 (bug-regex35-ENV): Likewise.
39862 (tst-rxspencer-ENV): Likewise.
39863 (tst-rxspencer-no-utf8-ENV): Likewise.
39864 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
39865 (tst-sscanf-ENV): Likewise.
39866 (tst-swprintf-ENV): Likewise.
39867 (tst-swscanf-ENV): Likewise.
39868 (test-vfprintf-ENV): Likewise.
39869 (scanf13-ENV): Likewise.
39870 (bug14-ENV): Likewise.
39871 (tst-grouping-ENV): Likewise.
39872 * stdlib/Makefile (tst-strtod-ENV): Likewise.
39873 (tst-strtod3-ENV): Likewise.
39874 (tst-strtod4-ENV): Likewise.
39875 (tst-strtod5-ENV): Likewise.
39876 (testmb2-ENV): Likewise./
39877 * string/Makefile (tst-strxfrm-ENV): Likewise.
39878 (tst-strxfrm2-ENV): Likewise.
39879 (bug-strcoll1-ENV): Likewise.
39880 (test-strcasecmp-ENV): Likewise.
39881 (test-strncasecmp-ENV): Likewise.
39882 * time/Makefile (tst-strptime-ENV): Likewise.
39883 (tst-ftime_l-ENV): Likewise.
39884 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
39885 (tst-mbrtowc-ENV): Likewise.
39886 (tst-wcrtomb-ENV): Likewise.
39887 (tst-mbrtowc2-ENV): Likewise.
39888 (tst-c16c32-1-ENV): Likewise.
39889 (tst-mbsnrtowcs-ENV): Likewise.
39890
39891 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
39892
39893 * manual/resource.texi (How to get information about the memory
39894 subsystem?): Fix typo.
39895 Reported by Peon de la Parra Ivan <peon@keba.com>
39896
39897 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
39898
39899 [BZ #16882]
39900 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
39901 (pthread_spin_lock): Branch out of spin loop to proper location.
39902 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
39903 (pthread_spin_lock): Likewise.
39904
39905 * nptl/tst-spin4.c: New test.
39906 * nptl/Makefile (tests): Add tst-spin4.
39907
39908 2014-06-03 Andreas Schwab <schwab@suse.de>
39909
39910 [BZ #15946]
39911 * resolv/res_send.c (send_dg): Reload file descriptor after
39912 calling reopen.
39913
39914 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
39915
39916 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39917
39918 2014-06-03 Richard Henderson <rth@redhat.com>
39919
39920 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
39921 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
39922 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
39923 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
39924 in the SAVE_PID block.
39925 (__libc_vfork): New alias.
39926 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
39927
39928 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
39929 child in registers, not on the stack. Remove RESET_PID conditionals.
39930 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
39931
39932 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
39933
39934 * sysdeps/aarch64/libm-test-ulps: Regenerate.
39935
39936 2014-06-03 Wilco <wdijkstr@arm.com>
39937
39938 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
39939 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
39940 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
39941 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
39942 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
39943 Likewise.
39944
39945 2014-06-03 Wilco <wdijkstr@arm.com>
39946
39947 * sysdeps/aarch64/fpu/math_private.h
39948 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
39949 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
39950 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
39951 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
39952 Fix declarations.
39953
39954 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
39955
39956 * crypt/crypt-private.h: Include ufc-crypt.h.
39957 (__b64_from_24bit): Declare extern.
39958 * crypt/crypt_util.c(__b64_from_24bit): New function.
39959 (b64t): New static const variable.
39960 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
39961 (b64t): Remove variable.
39962 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
39963 * crypt/sha256-crypt.c: Include crypt-private.h.
39964 (b64t): Remove variable.
39965 (__sha256_crypt_r): Remove b64_from_24bit and replace
39966 with __b64_from_24bit.
39967 * crypt/sha512-crypt.c: Likewise.
39968
39969 2014-06-02 Roland McGrath <roland@hack.frob.com>
39970
39971 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
39972 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
39973 Label the code __libc_vfork rather than __vfork.
39974 [!NOT_IN_libc] (vfork): Define as weak alias.
39975 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
39976 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
39977 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
39978
39979 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
39980
39981 * malloc/malloc.c (malloc_info): Fix format specifier for
39982 n_mmaps.
39983
39984 2014-06-02 Wilco <wdijkstr@arm.com>
39985
39986 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
39987 FPCR write.
39988
39989 2014-06-02 Wilco <wdijkstr@arm.com>
39990
39991 [BZ #17009]
39992 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
39993 Rewrite to reduce FPCR/FPSR accesses.
39994
39995 2014-06-01 David S. Miller <davem@davemloft.net>
39996
39997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39998
39999 2014-05-31 David S. Miller <davem@davemloft.net>
40000
40001 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
40002 to occur in round to nearest mode when |x| >= 2.0
40003
40004 2014-05-30 Richard Henderson <rth@twiddle.net>
40005
40006 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
40007 (PSEUDO_RET_NOERRNO): Remove.
40008 (ret): Don't redefine.
40009 (ret_NOERRNO): Define in terms of ret.
40010 (ret_ERRVAL): Likewise.
40011
40012 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
40013 use of PSEUDO_RET; perform the error check directly.
40014
40015 2014-05-30 Marko Myllynen <myllynen@redhat.com>
40016
40017 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
40018 with __int128_t.
40019
40020 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40021
40022 * malloc/malloc (malloc_info): Fix formatting.
40023
40024 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40025 Roland McGrath <roland@hack.frob.com>
40026
40027 * malloc/malloc (malloc_info): Also print mmapped statistics.
40028
40029 2014-05-30 Roland McGrath <roland@hack.frob.com>
40030
40031 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
40032 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
40033
40034 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
40035
40036 * malloc/malloc.c (malloc_info): Inline mi_arena.
40037
40038 2014-05-29 Richard Henderson <rth@twiddle.net>
40039
40040 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
40041 Remove comma before expanding ASM_ARGS_##nr.
40042 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
40043 Make _x0 a strict output; make _x8 a strict input; adjust expansion
40044 of ASM_ARGS_##nr.
40045 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
40046 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
40047 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
40048 (ASM_ARGS_1): Add leading comma.
40049
40050 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
40051 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
40052 to __errno_location.
40053 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
40054 Remove the expected plt for __errno_location.
40055
40056 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40057 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
40058 call to __read_tp.
40059
40060 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40061 Always allocate 64 bytes of stack frame. Use ldp/stp to create
40062 it and break it down.
40063 (DOCARGS_0, DOCARGS_1): Do nothing.
40064 (DOCARGS_2): Update to store into the new stack frame.
40065 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
40066 (UNDOCARGS_1): Update to restore from the new stack frame.
40067 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
40068 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
40069
40070 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40071 (SINGLE_THREAD_P): New parameter for result regno.
40072 (PSEUDO): Update to match; use cbz instead of beq.
40073
40074 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40075 Use ENTRY to define the _nocancel entry point. Share the syscall
40076 and syscall error check paths with the cancel path.
40077 (PSEUDO_END): New.
40078
40079 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
40080 whitespace; tabs before and after asm mnemonics.
40081
40082 2014-05-29 Eric Wong <normalperson@yhbt.net>
40083
40084 [BZ #15132]
40085 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40086 Call fstat64 or stat64 internally, depending on arguments passed.
40087 Replace stat buffer argument with file descriptor argument.
40088 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
40089 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40090 Pass fd to __internal_statvfs instead of calling fstat64.
40091 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
40092 Pass fd to __internal_statvfs64 instead of calling fstat64.
40093 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
40094 Pass -1 to __internal_statvfs instead of calling stat64.
40095 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
40096 Pass -1 to __internal_statvfs64 instead of calling stat64.
40097
40098 2014-05-28 Roland McGrath <roland@hack.frob.com>
40099
40100 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
40101 that was previously under [RESET_PID].
40102 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
40103
40104 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
40105 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
40106
40107 2014-05-27 Roland McGrath <roland@hack.frob.com>
40108
40109 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
40110
40111 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
40112 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
40113
40114 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
40115
40116 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
40117
40118 2014-05-27 Andreas Schwab <schwab@suse.de>
40119
40120 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
40121 TLS_INIT_TP macro.
40122 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
40123 * elf/rtld.c (init_tls, dl_main): Likewise.
40124 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
40125 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
40126 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
40127 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
40128 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
40129 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
40130 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
40131 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
40132 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
40133 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
40134 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
40135 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
40136 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
40137 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
40138 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
40139 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
40140 * sysdeps/generic/tls.h: Update description.
40141
40142 2014-05-27 Will Newton <will.newton@linaro.org>
40143
40144 [BZ #16990]
40145 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
40146 and restore r2 rather than just restoring.
40147
40148 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40149
40150 [BZ #16724]
40151 * libio/tst-ftell-append.c: New test case.
40152 * libio/Makefile (tests): Add test case.
40153 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
40154 append mode.
40155 * libio/wfileops.c (do_ftell_wide): Likewise.
40156
40157 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40158
40159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40160
40161 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
40162 ...
40163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
40164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40165 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
40166 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
40167 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
40168 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
40169 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
40170 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
40171 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40172 Moved ...
40173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
40174 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40175 Moved ...
40176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
40177 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
40178 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
40179 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
40180 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
40181 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
40182 ...
40183 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
40184 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
40185 Moved ...
40186 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
40187 here.
40188 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
40189 ...
40190 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
40191 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
40192 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
40193
40194 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
40195 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
40196 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
40197 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
40198
40199 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
40200 merge into ...
40201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
40202 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
40203 ...
40204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
40205 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
40206 ...
40207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
40208 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
40209 Moved ...
40210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
40211 here.
40212 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
40213 Moved ...
40214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
40215 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
40216 Moved ...
40217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
40218
40219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
40220 conditional [RESET_PID].
40221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
40222 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
40223 removed.
40224 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
40225 removed.
40226
40227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
40228 <tcb-offsets.h>.
40229 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40230 (__libc_vfork): New strong alias.
40231 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
40232 removed.
40233 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
40234 Removed.
40235
40236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
40237 <tcb-offsets.h>.
40238 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
40239 (__libc_vfork): New strong alias.
40240 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
40241 removed.
40242 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
40243 removed.
40244
40245 2014-05-26 Carlos O'Donell <carlos@redhat.com>
40246
40247 * malloc/malloc.c (mi_arena): New function.
40248 (malloc_info): Remove nested function mi_arena. Call non-nosted
40249 function mi_arena.
40250
40251 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40252
40253 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
40254 by insrwi.
40255 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
40256 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
40257 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
40258 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
40259 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
40260 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
40261 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
40262
40263 2014-05-26 Andreas Schwab <schwab@suse.de>
40264
40265 [BZ #16984]
40266 * locale/programs/repertoire.c (repertoire_read): Add slash
40267 between I18NPATH element and file name.
40268 * locale/programs/locfile.c (locfile_read): Likewise.
40269
40270 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
40271
40272 * nptl/pthread_mutexattr_settype.c
40273 (__pthread_mutexattr_settype):
40274 Disable lock elision for PTHREAD_MUTEX_NORMAL.
40275
40276 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
40277
40278 * nptl/tst-mutex5 (do_test):
40279 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
40280
40281 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40282
40283 * benchtests/README: Document 'init' directive.
40284 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
40285 BENCH_INIT.
40286 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
40287 (parse_file): Recognize 'init' directive.
40288
40289 2014-05-26 Kyle McMartin <kyle@redhat.com>
40290
40291 [BZ #16796]
40292 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
40293 alignment of struct pthread.
40294
40295 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40296
40297 [BZ #16878]
40298 * nscd/netgroupcache.c (addgetnetgrentX): Look for
40299 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40300 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
40301 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40302
40303 2014-05-25 Richard Henderson <rth@twiddle.net>
40304
40305 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40306 (SINGLE_THREAD_P_PIC): Remove.
40307 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
40308 (SINGLE_THREAD_P_PIC): Remove.
40309
40310 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
40311 branch to syscall error ...
40312 (PSEUDO): ... here.
40313 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
40314 from __local_syscall_error to .Lsyscall_error.
40315 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
40316 (SYSCALL_ERROR): Update label name.
40317
40318 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40319 Do not use DOARGS/UNDOARGS.
40320 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
40321 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
40322 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
40323 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
40324 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
40325
40326 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
40327 block comment.
40328
40329 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
40330 define if !NOT_IN_libc.
40331 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
40332 define with non-default symbol versions.
40333
40334 2014-05-23 Richard Henderson <rth@twiddle.net>
40335
40336 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
40337 (vfork, __vfork): Define via compat_symbol.
40338
40339 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
40340 [!HAVE_IFUNC] (vfork_compat): Remove.
40341 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
40342
40343 2014-05-23 Joseph Myers <joseph@codesourcery.com>
40344
40345 [BZ #16978]
40346 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
40347 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
40348 variable.
40349
40350 2014-05-23 Richard Henderson <rth@twiddle.net>
40351
40352 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
40353 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
40354 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
40355 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
40356
40357 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
40358 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
40359 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
40360 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
40361 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
40362 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
40363 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
40364 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
40365 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
40366 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
40367 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
40368 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
40369 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
40370 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
40371 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
40372 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
40373 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
40374 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
40375 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
40376 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
40377 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
40378 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
40379 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
40380 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
40381 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
40382 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
40383 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
40384 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
40385 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
40386 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
40387 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
40388 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
40389 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
40390 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
40391 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
40392 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
40393 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
40394 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
40395 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
40396 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
40397 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
40398 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
40399 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
40400 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
40401 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
40402 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
40403 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
40404 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
40405 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
40406 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
40407 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
40408 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
40409 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
40410 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
40411 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
40412 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
40413
40414 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
40415 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
40416 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
40417 before exiting on error.
40418 (__libc_vfork): New strong alias.
40419 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
40420 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
40421
40422 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
40423 that was previously under [RESET_PID].
40424 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
40425
40426 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
40427
40428 2014-05-23 Joseph Myers <joseph@codesourcery.com>
40429
40430 [BZ #16977]
40431 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
40432 value when x - 1 is zero.
40433 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
40434 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
40435 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
40436 0.0L for an argument of 1.0L.
40437 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
40438 Likewise.
40439 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
40440 value when x - 1 is zero.
40441 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
40442 * sysdeps/i386/fpu/libm-test-ulps: Update.
40443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40444
40445 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
40446
40447 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
40448 alphasort and versionsort.
40449
40450 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40451
40452 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
40453 macro.
40454 [copysignf]: Likewise.
40455
40456 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40457
40458 * crypt/md5-crypt.c: Fix formatting.
40459
40460 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
40461
40462 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
40463 (b64_from_24bit): New function.
40464
40465 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40466
40467 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
40468 libc_hidden_builtin_def to ifunc.
40469 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
40470 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
40471
40472 2014-05-21 Roland McGrath <roland@hack.frob.com>
40473
40474 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
40475 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
40476
40477 2014-05-21 Joseph Myers <joseph@codesourcery.com>
40478
40479 * nscd/Depend (linuxthreads): Remove.
40480 (nptl): Add.
40481 * resolv/Depend (linuxthreads): Remove.
40482 * rt/Depend (linuxthreads): Remove.
40483
40484 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
40485 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
40486 $(common-objpfx)elf/.
40487 (link-libc-before-gnulib): Likewise.
40488 (elfobjdir): Remove variable.
40489 * Makefile (install): Use $(elf-objpfx) instead of
40490 $(common-objpfx)elf/.
40491 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
40492 $(elfobjdir)/.
40493 (link-libc-deps): Likewise.
40494 ($(common-objpfx)libc.so): Likewise.
40495 ($(common-objpfx)linkobj/libc.so): Likewise.
40496 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
40497 instead of $(common-objpfx)elf/.
40498 (symbolic-link-list): Likewise.
40499 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40500 [$(cross-compiling) = no]: Likewise.
40501 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
40502 $(elfobjdir)/.
40503 (static-gnulib-arch): Likewise.
40504 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40505 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
40506 $(common-objpfx)elf/.
40507
40508 2014-05-21 Richard Henderson <rth@redhat.com>
40509
40510 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40511 (SINGLE_THREAD_P): Use the correct width load. Fold
40512 into the ldr offset.
40513
40514 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
40515 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
40516
40517 2014-05-20 Joseph Myers <joseph@codesourcery.com>
40518
40519 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
40520 (libgcc_s_resume): Use __attribute_used__.
40521 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
40522 Likewise.
40523
40524 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40525
40526 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
40527 optimization when used with float constants.
40528
40529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40530
40531 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
40532
40533 [BZ #16915]
40534 * locale/nl_langinfo_l.c: Make direct reference to every
40535 _nl_current_CATEGORY symbol.
40536 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
40537 (tests-static): Add tst-langinfo-static.
40538 (tests-special): Add tst-langinfo-static.out.
40539 ($(objpfx)tst-langinfo.out): Redirect output.
40540 ($(objpfx)tst-langinfo-static.out): New.
40541 * localedata/tst-langinfo.sh: Send output to stdout.
40542 * localedata/tst-langinfo-static.c: New file.
40543
40544 [BZ #16965]
40545 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
40546 when the shift amount is modulo the limb size.
40547
40548 2014-05-20 Richard Henderson <rth@redhat.com>
40549
40550 [BZ #16967]
40551 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
40552 Change type of sa_flags from unsigned int to int.
40553
40554 [BZ #16966]
40555 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
40556
40557 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
40558
40559 2014-05-20 Will Newton <will.newton@linaro.org>
40560
40561 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40562 Test the return value of the system call in the nocancel case.
40563
40564 2014-05-20 Will Newton <will.newton@linaro.org>
40565 Yvan Roux <yvan.roux@linaro.org>
40566
40567 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
40568 #include of asm/ptrace.h.
40569 (PTRACE_GET_THREAD_AREA): Remove #undef.
40570 (PTRACE_GETHBPREGS): Likewise.
40571 (PTRACE_SETHBPREGS): Likewise.
40572 (struct user_regs_struct): New structure.
40573 (struct user_fpsimd_struct): New structure.
40574 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
40575 #include of asm/ptrace.h and second #include of sys/user.h.
40576 (PTRACE_GET_THREAD_AREA): Remove #undef.
40577 (PTRACE_GETHBPREGS): Likewise.
40578 (PTRACE_SETHBPREGS): Likewise.
40579 (ELF_NGREG): Use new struct user_regs_struct.
40580 (elf_fpregset_t): Use new struct user_fpsimd_struct.
40581
40582 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40583
40584 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
40585 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
40586
40587 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
40588
40589 [BZ #16958]
40590 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
40591 membar to avoid block loads/stores to overlap previous stores.
40592
40593 2014-05-17 Richard Henderson <rth@redhat.com>
40594
40595 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
40596 Create the __##syscall_name##_nocancel entry point.
40597 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
40598 Remove; let the sysdep-cancel.h code create it.
40599
40600 2014-05-17 David S. Miller <davem@davemloft.net>
40601
40602 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
40603 Protect with __USE_GNU.
40604 (TIOCSET_TEMPT): Likewise.
40605 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40606 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
40607 these are already provided in bits/ioctl-types.h
40608
40609 2014-05-16 Roland McGrath <roland@hack.frob.com>
40610
40611 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
40612 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
40613
40614 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
40615 Use wait4 regardless of [__NR_waitpid].
40616
40617 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
40618
40619 PR libgcc/60166
40620 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40621 (_FP_NANSIGN_Q): Set the quiet bit.
40622
40623 2014-05-16 Joseph Myers <joseph@codesourcery.com>
40624
40625 * benchtests/Makefile
40626 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
40627 not $(common-objpfx)math/libm.so.
40628 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
40629 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
40630 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
40631 $(common-objpfx)dlfcn/libdl.so.
40632 ($(objpfx)tst-audit8): Depend on $(libm), not
40633 $(common-objpfx)math/libm.so.
40634 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
40635 not $(common-objpfx)dlfcn/libdl.so.
40636 * math/Makefile
40637 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
40638 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
40639 [$(build-shared) = yes].
40640 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
40641 $(common-objpfx)nptl/libpthread.so.
40642 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
40643 $(common-objpfx)math/libm.so$(libm.so-version) or
40644 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
40645 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
40646 $(common-objpfx)dlfcn/libdl.so.
40647 * setjmp/Makefile (link-libm): Remove variable.
40648 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
40649 * stdio-common/Makefile (link-libm): Remove variable.
40650 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
40651 * stdlib/Makefile (link-libm): Remove variable.
40652 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
40653 ($(objpfx)tst-strtod-round): Likewise.
40654 ($(objpfx)tst-tininess): Likewise.
40655 ($(objpfx)tst-strtod-underflow): Likewise.
40656 ($(objpfx)tst-strtod6): Likewise.
40657 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
40658 $(libdl), not $(common-objpfx)nptl/libpthread.so and
40659 $(common-objpfx)dlfcn/libdl.so.
40660
40661 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40662
40663 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
40664 BSD terminal modes definitions.
40665
40666 2014-05-16 Roland McGrath <roland@hack.frob.com>
40667
40668 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
40669 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
40670
40671 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
40672 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
40673 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
40674 Don't do #include_next.
40675 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
40676 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
40677 Don't do #include_next.
40678 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
40679 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
40680 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
40681 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
40682
40683 2014-05-16 Allan McRae <allan@archlinux.org>
40684
40685 * po/sv.po: Update Swedish translation from translation project.
40686
40687 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
40688 in sed expression.
40689
40690 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
40691
40692 [BZ #16917]
40693 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
40694 errno if the TIOCGPTN ioctl fails with an error different than
40695 EINVAL.
40696 * login/tst-ptsname.c: New file.
40697 * login/Makefile (tests): Add tst-ptsname.
40698
40699 [BZ #16943]
40700 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
40701 and prlimit64.
40702
40703 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
40704
40705 [BZ #16849]
40706 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
40707 herrno to return EAI_AGAIN.
40708
40709 2014-05-14 Roland McGrath <roland@hack.frob.com>
40710
40711 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
40712 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
40713 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
40714 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
40715 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
40716 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
40717 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
40718 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
40719 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
40720 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
40721 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
40722 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
40723 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
40724 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
40725 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
40726 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
40727 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
40728 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
40729 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
40730 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
40731 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
40732 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
40733 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
40734 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
40735 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
40736 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
40737 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
40738 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
40739 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
40740 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
40741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
40742 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
40743 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
40744 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
40745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40746 Moved ...
40747 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
40748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
40749 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
40750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
40751 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
40752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
40753 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
40754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
40755 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
40756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
40757 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
40758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
40759 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
40760 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
40761 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
40762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
40763 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
40764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
40765 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
40766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
40767 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
40768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
40769 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
40770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
40771 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
40772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
40773 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
40774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40775 Moved ...
40776 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
40777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
40778 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
40779 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
40780 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
40781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
40782 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
40783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
40784 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
40785 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
40786 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
40787 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
40788 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
40789 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
40790 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
40791 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
40792 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
40793 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
40794 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
40795 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40796 Moved ...
40797 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
40798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
40799 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
40800
40801 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
40802 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
40803 (libpthread-sysdep_routines): Add elision-related stuff here instead.
40804 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
40805 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
40806 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
40807 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
40808 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
40809 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
40810 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
40811 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
40812 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
40813 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
40814 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
40815 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
40816 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
40817 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
40818 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
40819 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
40820 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
40821 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
40822 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
40823 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
40824 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
40825 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
40826 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
40827 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
40828 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
40829 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
40830 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
40831 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
40832
40833 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
40834 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
40835
40836 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
40837 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
40838 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
40839 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
40840 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
40841 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
40842 Moved ...
40843 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
40844 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
40845 Moved ...
40846 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
40847 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
40848 Moved ...
40849 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
40850 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
40851 Moved ...
40852 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
40853 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
40854 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
40855 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
40856 Moved ...
40857 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
40858 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
40859 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
40860 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
40861 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
40862 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
40863 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
40864 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
40865 Moved ...
40866 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
40867 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
40868 Moved ...
40869 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
40870 ... here.
40871 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
40872 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
40873 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
40874 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
40875 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
40876 Moved ...
40877 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
40878 ... here.
40879 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
40880 Moved ...
40881 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
40882 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
40883 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
40884 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
40885 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
40886 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
40887 Moved ...
40888 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
40889 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
40890 Moved ...
40891 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
40892 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
40893 Moved ...
40894 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
40895 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
40896 Moved ...
40897 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
40898 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
40899 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
40900 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
40901 Moved ...
40902 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
40903 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
40904 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
40905 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
40906 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
40907 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
40908 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
40909 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
40910 Moved ...
40911 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
40912 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
40913 Moved ...
40914 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
40915 ... here.
40916 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
40917 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
40918 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
40919 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
40920 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
40921 Moved ...
40922 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
40923 ... here.
40924 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
40925 Moved ...
40926 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
40927 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
40928 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
40929 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
40930 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
40931 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
40932 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
40933 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
40934 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
40935 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
40936 Moved ...
40937 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
40938 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
40939 Moved ...
40940 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
40941 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
40942 Moved ...
40943 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
40944 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
40945 Moved ...
40946 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
40947 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
40948 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
40949 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
40950 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
40951 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
40952 Moved ...
40953 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
40954 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
40955 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
40956 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
40957 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
40958 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
40959 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
40960 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
40961 Moved ...
40962 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
40963 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
40964 Moved ...
40965 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
40966 ... here.
40967 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
40968 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
40969 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
40970 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
40971 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
40972 Moved ...
40973 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
40974 ... here.
40975 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
40976 Moved ...
40977 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
40978 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
40979 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
40980 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
40981 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
40982 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
40983 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
40984 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
40985 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
40986 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
40987 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
40988
40989 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
40990 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
40991
40992 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
40993 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
40994
40995 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
40996 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
40997 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
40998 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
40999 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
41000 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
41001 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
41002 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
41003 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
41004 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
41005 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
41006 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
41007 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
41008 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
41009 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
41010 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
41011 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
41012 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
41013 Moved ...
41014 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
41015 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
41016 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
41017 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
41018 Moved ...
41019 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
41020 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
41021 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
41022 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
41023 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
41024 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
41025 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
41026 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
41027 Moved ...
41028 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
41029 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
41030 Moved ...
41031 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
41032 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
41033 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
41034 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
41035 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
41036 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
41037 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
41038 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
41039 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
41040 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
41041 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
41042 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
41043 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
41044 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
41045 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
41046 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
41047 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
41048
41049 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
41050 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
41051 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
41052 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
41053 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
41054
41055 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
41056 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
41057 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
41058 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
41059 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
41060 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
41061 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
41062 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
41063 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
41064 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
41065
41066 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
41067 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
41068
41069 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
41070 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
41071 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
41072 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
41073 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
41074 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
41075 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
41076 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
41077 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
41078 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
41079 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
41080 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
41081 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
41082 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
41083 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
41084 Update #include.
41085 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
41086 Likewise.
41087 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41088 Likewise.
41089 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41090 Likewise.
41091 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41092 Likewise.
41093 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
41094 Likewise.
41095 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
41096 Likewise.
41097 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41098 Likewise.
41099 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
41100 Likewise.
41101 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
41102 Likewise.
41103 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
41104 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
41105 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
41106 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
41107 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
41108 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
41109 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
41110 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
41111 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
41112 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
41113 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
41114 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
41115 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
41116 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
41117 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
41118
41119 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
41120 that was previously under [RESET_PID].
41121 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41122 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
41123 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
41124
41125 * sysdeps/i386/nptl/Implies: New file.
41126 * sysdeps/x86_64/nptl/Implies: New file.
41127 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
41128 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
41129 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
41130 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
41131
41132 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
41133 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41134 (__libc_vfork): New strong alias.
41135 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
41136 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
41137
41138 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
41139 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41140 (__libc_vfork): New strong alias.
41141 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
41142 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
41143
41144 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
41145 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41146 (__libc_vfork): New strong alias.
41147 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
41148 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
41149 * nptl/pt-vfork.c: New file.
41150 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
41151 (libpthread: GLIBC_2.20): New version set (empty).
41152
41153 2014-05-14 Will Newton <will.newton@linaro.org>
41154
41155 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
41156 rather than #if.
41157
41158 2014-05-14 Joseph Myers <joseph@codesourcery.com>
41159
41160 [BZ #16564]
41161 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
41162 arguments with exponent 65 or above.
41163 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
41164 arguments 0x1p113L or above.
41165 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
41166 to arguments 0x1p107L or above.
41167 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
41168 positive arguments with exponent 65 or above.
41169 * math/auto-libm-test-in: Add more tests of log1p.
41170 * math/auto-libm-test-out: Regenerated.
41171
41172 [BZ #16928]
41173 * math/s_cacos.c (__cacos): Ensure zero real part of result from
41174 non-finite arguments is +0.
41175 * math/s_cacosf.c (__cacosf): Likewise.
41176 * math/s_cacosl.c (__cacosl): Likewise.
41177 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
41178 * sysdeps/i386/fpu/libm-test-ulps: Update.
41179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41180
41181 [BZ #16927]
41182 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
41183 value.
41184 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
41185 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
41186 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
41187 for explicit high bit of mantissa when testing for argument equal
41188 to 1.
41189 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
41190 * sysdeps/i386/fpu/libm-test-ulps: Update.
41191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41192
41193 [BZ #16516]
41194 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
41195 (__erf): Scale by 16 instead of 8 in potentially underflowing
41196 case. Ensure exception if result actually underflows.
41197 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
41198 (__erff): Scale by 16 instead of 8 in potentially underflowing
41199 case. Ensure exception if result actually underflows.
41200 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
41201 (efx8): Remove variable.
41202 (__erfl): Scale by 16 instead of 8 in potentially underflowing
41203 case. Ensure exception if result actually underflows.
41204 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
41205 (efx8): Remove variable.
41206 (__erfl): Scale by 16 instead of 8 in potentially underflowing
41207 case. Ensure exception if result actually underflows.
41208 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
41209 (efx8): Remove variable.
41210 (__erfl): Scale by 16 instead of 8 in potentially underflowing
41211 case. Ensure exception if result actually underflows.
41212 * math/auto-libm-test-in: Add more tests of erf.
41213 * math/auto-libm-test-out: Regenerated.
41214
41215 2014-05-14 Andreas Schwab <schwab@suse.de>
41216
41217 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
41218 Remove code conditionalized on USE___THREAD.
41219
41220 * config.h.in (HAVE_PT_CHOWN): Define as 0.
41221 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
41222 not definedness.
41223
41224 2014-05-14 Joseph Myers <joseph@codesourcery.com>
41225
41226 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
41227 Define unconditionally.
41228 (__ASSUME_O_CLOEXEC): Likewise.
41229 (__ASSUME_SOCK_CLOEXEC): Likewise.
41230 (__ASSUME_IN_NONBLOCK): Likewise.
41231 (__ASSUME_PIPE2): Likewise.
41232 (__ASSUME_EVENTFD2): Likewise.
41233 (__ASSUME_SIGNALFD4): Likewise.
41234 (__ASSUME_DUP3): Likewise.
41235 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41236 (__ASSUME_DUP3): Do not define.
41237 (__ASSUME_EVENTFD2): Likewise.
41238 (__ASSUME_IN_NONBLOCK): Likewise.
41239 (__ASSUME_O_CLOEXEC): Likewise.
41240 (__ASSUME_PIPE2): Likewise.
41241 (__ASSUME_SIGNALFD4): Likewise.
41242 (__ASSUME_SOCK_CLOEXEC): Likewise.
41243 (__ASSUME_UTIMES): Undefine.
41244 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41245 (__ASSUME_UTIMES): Do not define.
41246 (__ASSUME_O_CLOEXEC): Likewise.
41247 (__ASSUME_SOCK_CLOEXEC): Likewise.
41248 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
41249 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
41250 0x020621].
41251 (__ASSUME_PIPE2): Likewise.
41252 (__ASSUME_EVENTFD2): Likewise.
41253 (__ASSUME_SIGNALFD4): Likewise.
41254 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
41255 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
41256 Do not define.
41257 (__ASSUME_EVENTFD2): Likewise.
41258 (__ASSUME_SIGNALFD4): Likewise.
41259 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41260 (__ASSUME_32BITUIDS): Likewise.
41261 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41262 (__ASSUME_IPC64): Likewise.
41263 (__ASSUME_ST_INO_64_BIT): Likewise.
41264 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
41265 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
41266 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41267 (__ASSUME_UTIMES): Do not define.
41268 (__ASSUME_PSELECT): Likewise.
41269 (__ASSUME_PPOLL): Likewise.
41270 (__ASSUME_O_CLOEXEC): Likewise.
41271 (__ASSUME_SOCK_CLOEXEC): Likewise.
41272 (__ASSUME_IN_NONBLOCK): Likewise.
41273 (__ASSUME_PIPE2): Likewise.
41274 (__ASSUME_EVENTFD2): Likewise.
41275 (__ASSUME_SIGNALFD4): Likewise.
41276 (__ASSUME_DUP3): Likewise.
41277 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41278 (__ASSUME_UTIMES): Likewise.
41279 (__ASSUME_O_CLOEXEC): Likewise.
41280 (__ASSUME_SOCK_CLOEXEC): Likewise.
41281 (__ASSUME_IN_NONBLOCK): Likewise.
41282 (__ASSUME_PIPE2): Likewise.
41283 (__ASSUME_EVENTFD2): Likewise.
41284 (__ASSUME_SIGNALFD4): Likewise.
41285 (__ASSUME_DUP3): Likewise.
41286 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41287 (__ASSUME_UTIMES): Likewise.
41288 (__ASSUME_O_CLOEXEC): Likewise.
41289 (__ASSUME_SOCK_CLOEXEC): Likewise.
41290 (__ASSUME_IN_NONBLOCK): Likewise.
41291 (__ASSUME_PIPE2): Likewise.
41292 (__ASSUME_EVENTFD2): Likewise.
41293 (__ASSUME_SIGNALFD4): Likewise.
41294 (__ASSUME_DUP3): Likewise.
41295 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
41296 Likewise.
41297 (__ASSUME_UTIMES): Likewise.
41298 (__ASSUME_EVENTFD2): Likewise.
41299 (__ASSUME_SIGNALFD4): Likewise.
41300 * sysdeps/unix/sysv/linux/tile/kernel-features.h
41301 (__ASSUME_O_CLOEXEC): Likewise.
41302 (__ASSUME_SOCK_CLOEXEC): Likewise.
41303 (__ASSUME_IN_NONBLOCK): Likewise.
41304 (__ASSUME_PIPE2): Likewise.
41305 (__ASSUME_EVENTFD2): Likewise.
41306 (__ASSUME_SIGNALFD4): Likewise.
41307 (__ASSUME_DUP3): Likewise.
41308 (__ASSUME_UTIMES): Undefine.
41309
41310 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
41311 feclearexcept. Remove symbol versioning code.
41312 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
41313 symbol versioning code.
41314 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
41315 symbol versioning code.
41316 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
41317 feupdateenv. Remove symbol versioning code.
41318 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
41319 fegetexceptflag. Remove symbol versioning code.
41320 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
41321 fesetexceptflag. Remove symbol versioning code.
41322 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
41323 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
41324 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
41325 (__posix_fadvise64_l32): Remove prototype.
41326 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
41327 code.
41328
41329 2014-05-13 Roland McGrath <roland@hack.frob.com>
41330
41331 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
41332 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
41333 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
41334 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
41335
41336 2014-05-13 Sami Kerola <kerolasa@iki.fi>
41337
41338 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
41339 current working directory
41340
41341 2014-05-13 Roland McGrath <roland@hack.frob.com>
41342
41343 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
41344 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
41345 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
41346 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
41347 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
41348 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
41349 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
41350 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
41351 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
41352 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
41353 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
41354 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
41355 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
41356 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
41357 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
41358 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
41359 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
41360 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
41361 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
41362 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
41363 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
41364 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
41365 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
41366 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
41367 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
41368 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
41369 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
41370 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
41371 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
41372 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
41373 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
41374 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
41375 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
41376 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
41377 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
41378 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
41379 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
41380 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
41381 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
41382 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
41383 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
41384 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
41385
41386 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
41387 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
41388
41389 * sysdeps/unix/sysv/linux/arm/Makefile
41390 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41391 Add rt-aeabi_unwind_cpp_pr1.
41392 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
41393 Add nptl-aeabi_unwind_cpp_pr1.
41394 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
41395 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
41396 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
41397 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
41398 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
41399 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
41400
41401 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
41402 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
41403 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
41404 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
41405
41406 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
41407 Deconditionalize the code that was previously under [RESET_PID].
41408 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
41409
41410 * sysdeps/generic/exit-thread.h: New file.
41411 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
41412 * include/unistd.h (__exit_thread): Remove declaration.
41413 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
41414 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
41415 * csu/libc-start.c: Include <exit-thread.h>.
41416 (LIBC_START_MAIN): Pass no argument to __exit_thread.
41417 * nptl/pthread_create.c: Include <exit-thread.h>.
41418 (start_thread): Call __exit_thread in place of __exit_thread_inline.
41419 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
41420 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
41421 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
41422 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
41423 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
41424 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
41425 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
41426 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
41427 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
41428 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
41429 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
41430 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
41431 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
41432 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
41433 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
41434 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
41435
41436 2014-05-13 Andreas Schwab <schwab@suse.de>
41437
41438 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
41439
41440 2014-05-12 Joseph Myers <joseph@codesourcery.com>
41441
41442 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
41443 (__ASSUME_UTIMES): Do not condition on kernel version.
41444 (__ASSUME_PSELECT): Define unconditionally.
41445 (__ASSUME_PPOLL): Likewise.
41446 (__ASSUME_ATFCTS): Likewise.
41447 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
41448 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
41449 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
41450 (__ASSUME_UTIMENSAT): Define unconditionally.
41451 (__ASSUME_PRIVATE_FUTEX): Likewise.
41452 (__ASSUME_FALLOCATE): Likewise.
41453 (__ASSUME_O_CLOEXEC): Likewise.
41454 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
41455 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
41456 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
41457 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
41458 (__ASSUME_IN_NONBLOCK): Likewise.
41459 (__ASSUME_PIPE2): Likewise.
41460 (__ASSUME_EVENTFD2): Likewise.
41461 (__ASSUME_SIGNALFD4): Likewise.
41462 (__ASSUME_DUP3): Likewise.
41463 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41464 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
41465 (__ASSUME_AT_RANDOM): Likewise.
41466 (__ASSUME_PREADV): Likewise.
41467 (__ASSUME_PWRITEV): Likewise.
41468 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
41469 (__ASSUME_F_GETOWN_EX): Define unconditionally.
41470 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
41471 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
41472 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
41473 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41474 (__ASSUME_O_CLOEXEC): Define unconditionally.
41475 (__ASSUME_PSELECT): Do not undefine conditionally.
41476 (__ASSUME_PPOLL): Likewise.
41477 (__ASSUME_ATFCTS): Likewise.
41478 (__ASSUME_SET_ROBUST_LIST): Likewise.
41479 (__ASSUME_UTIMENSAT): Likewise.
41480 (__ASSUME_FDATASYNC): Define unconditionally.
41481 * sysdeps/unix/sysv/linux/arm/kernel-features.h
41482 (__ASSUME_SIGFRAME_V2): Likewise.
41483 )__ASSUME_EVENTFD2): Likewise.
41484 (__ASSUME_SIGNALFD4): Likewise.
41485 (__ASSUME_PSELECT): Do not undefine conditionally.
41486 (__ASSUME_PPOLL): Likewise.
41487 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41488 (__ASSUME_PSELECT): Define unconditionally.
41489 (__ASSUME_PPOLL): Likewise.
41490 (__ASSUME_O_CLOEXEC): Likewise.
41491 (__ASSUME_SOCK_CLOEXEC): Likewise.
41492 (__ASSUME_IN_NONBLOCK): Likewise.
41493 (__ASSUME_PIPE2): Likewise.
41494 (__ASSUME_EVENTFD2): Likewise.
41495 (__ASSUME_SIGNALFD4): Likewise.
41496 (__ASSUME_DUP3): Likewise.
41497 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41498 (__ASSUME_O_CLOEXEC): Likewise.
41499 (__ASSUME_SOCK_CLOEXEC): Likewise.
41500 (__ASSUME_IN_NONBLOCK): Likewise.
41501 (__ASSUME_PIPE2): Likewise.
41502 (__ASSUME_EVENTFD2): Likewise.
41503 (__ASSUME_SIGNALFD4): Likewise.
41504 (__ASSUME_DUP3): Likewise.
41505 * sysdeps/unix/sysv/linux/mips/kernel-features.h
41506 (__ASSUME_EVENTFD2): Likewise.
41507 (__ASSUME_SIGNALFD4): Likewise.
41508 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41509
41510 2014-05-12 Andreas Schwab <schwab@suse.de>
41511
41512 [BZ #16932]
41513 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
41514 (_nss_nis_gethostbyname4_r): Return error if item length is larger
41515 than maximum RPC packet size.
41516 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
41517 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
41518 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
41519 (_nss_nis_getservbyport_r): Likewise.
41520
41521 2014-05-12 Will Newton <will.newton@linaro.org>
41522
41523 * malloc/Makefile (tests): Add tst-mallopt.
41524 * malloc/tst-mallopt.c: New file.
41525
41526 2014-05-09 Roland McGrath <roland@hack.frob.com>
41527
41528 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
41529 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
41530
41531 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41532
41533 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
41534 (tst-tlsmod6.so): Likewise.
41535
41536 2014-05-09 Roland McGrath <roland@hack.frob.com>
41537
41538 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
41539
41540 2014-05-09 Joseph Myers <joseph@codesourcery.com>
41541
41542 [BZ #16064]
41543 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
41544 and <dl-procinfo.h>.
41545 (__fegetenv): Save SSE state in envp->__eip if supported.
41546 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
41547 envp->__eip if supported.
41548 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
41549 and <dl-procinfo.h>.
41550 (__fesetenv): Always set __eip, __cs_selector, __opcode,
41551 __data_offset and __data_selector in environment to 0. Set SSE
41552 state if supported.
41553 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
41554 test-fenv-sse.
41555 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
41556 -mfpmath=sse.
41557 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
41558
41559 2014-05-09 Will Newton <will.newton@linaro.org>
41560
41561 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
41562 and libc_relro_required for ARM.
41563 * sysdeps/arm/preconfigure: Regenerate.
41564
41565 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
41566 Stefan Liebler <stli@linux.vnet.ibm.com>
41567
41568 * config.make.in (enable-lock-elision): New Makefile variable.
41569 * configure.ac: Likewise.
41570 * configure: Regenerate.
41571 * sysdeps/s390/configure.ac:
41572 Add check for gcc transactions support.
41573 * sysdeps/s390/configure: Regenerate.
41574 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
41575 Build elision files if enabled.
41576 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
41577 Add lock elision support for s390.
41578 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
41579 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
41580 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
41581 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
41582 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
41583 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
41584 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
41585 Likewise.
41586 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
41587 Likewise.
41588 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
41589 Likewise.
41590 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
41591 Likewise.
41592 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
41593 (__lll_timedlock_elision, __lll_lock_elision)
41594 (__lll_unlock_elision, __lll_trylock_elision)
41595 (lll_timedlock_elision, lll_lock_elision)
41596 (lll_unlock_elision, lll_trylock_elision): Add.
41597 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
41598 (pthread_mutex_t): Add lock elision support for s390.
41599
41600 2014-05-14 Wilco <wdijkstr@arm.com>
41601
41602 * sysdeps/arm/fclrexcpt.c: Cleanup.
41603 * sysdeps/arm/fedisblxcpt.c: Cleanup.
41604 * sysdeps/arm/feenablxcpt.c: Cleanup.
41605 * sysdeps/arm/fegetenv.c: Cleanup.
41606 * sysdeps/arm/fegetexcept.c: Cleanup.
41607 * sysdeps/arm/fegetround.c: Cleanup.
41608 * sysdeps/arm/feholdexcpt.c: Cleanup.
41609 * sysdeps/arm/fesetenv.c: Cleanup.
41610 * sysdeps/arm/fesetround.c: Cleanup.
41611 * sysdeps/arm/feupdateenv.c: Cleanup.
41612 * sysdeps/arm/fgetexcptflg.c: Cleanup.
41613 * sysdeps/arm/fraiseexcpt.c: Cleanup.
41614 * sysdeps/arm/fsetexcptflg.c: Cleanup.
41615 * sysdeps/arm/ftestexcept.c: Cleanup.
41616 * sysdeps/arm/get-rounding-mode.h: Cleanup.
41617 * sysdeps/arm/setfpucw.c: Cleanup.
41618
41619 2014-05-09 Will Newton <will.newton@linaro.org>
41620
41621 * sysdeps/arm/armv7/strcmp.S: New file.
41622 * NEWS: Mention addition of ARMv7 optimized strcmp.
41623
41624 2014-05-08 Roland McGrath <roland@hack.frob.com>
41625
41626 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
41627 look for %.ac rather than %.in.
41628
41629 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
41630 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
41631 * sysdeps/mach/hurd/configure: Regenerated.
41632 * sysdeps/unix/sysv/linux/configure: Regenerated.
41633
41634 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
41635
41636 2014-05-07 Steve Ellcey <sellcey@mips.com>
41637
41638 [BZ# 16922]
41639 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
41640 (LONG_SUB): Ditto.
41641 (PTR_SUB): Ditto.
41642
41643 2014-05-07 Andreas Schwab <schwab@suse.de>
41644
41645 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
41646 when skipping over non-matching result from nscd.
41647
41648 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
41649
41650 [BZ #16876]
41651 * nptl/sockperf.c (client): Check socket return value.
41652
41653 [BZ #16877]
41654 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
41655 nscd security class.
41656
41657 2014-05-06 Roland McGrath <roland@hack.frob.com>
41658
41659 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
41660 * sysdeps/arm/unwind.h: ... here.
41661
41662 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
41663
41664 [BZ# 16916]
41665 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
41666 Define.
41667
41668 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
41669
41670 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
41671 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
41672 multiarch strncpy for PPC64.
41673 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
41674 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
41675 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
41676 multiarch optimizations.
41677 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41678 (__libc_ifunc_impl_list): Likewise.
41679 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
41680 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
41681 multiarch stpncpy for PPC64.
41682 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
41683 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
41684
41685 2014-05-06 Andreas Schwab <schwab@suse.de>
41686
41687 [BZ #16912]
41688 * gmon/mcount.c (_MCOUNT_DECL): Use
41689 atomic_compare_and_exchange_bool_acq instead of
41690 catomic_compare_and_exchange_bool_acq.
41691
41692 2014-05-05 Roland McGrath <roland@hack.frob.com>
41693
41694 * elf/Makefile (others, install-bin): Remove pldd.
41695 (pldd-modules): Variable removed.
41696 ($(objpfx)pldd): Target removed.
41697 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
41698 (others, install-bin): Append pldd here.
41699 ($(objpfx)pldd): New target.
41700
41701 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
41702 to 0, so the first #if test emitted later doesn't see it undefined.
41703 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
41704 * sysdeps/gnu/errlist.c: Regenerated.
41705
41706 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41707
41708 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
41709 [libc_hidden_builtin_def]: Define to empty value.
41710 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
41711 [libc_hidden_builtin_def]: Likewise.
41712 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
41713 [libc_hidden_builtin_def]: Likewise.
41714 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
41715 [libc_hidden_builtin_def]: Likewise.
41716 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
41717 __redirect_memcpy and define ifunc as default hidden symbol.
41718 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
41719 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
41720
41721 2014-05-04 Adam Conrad <adconrad@0c3.net>
41722
41723 * locale/iso-4217.def: Reintroduce XDR currency.
41724
41725 2014-05-04 Allan McRae <allan@archlinux.org>
41726
41727 * po/eo.po: Update Esperanto translation from translation project.
41728
41729 2014-05-02 Carlos O'Donell <carlos@redhat.com>
41730
41731 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
41732 and FEATURE_INDEX_MAX to 1.
41733 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
41734
41735 2014-05-01 Steve Ellcey <sellcey@mips.com>
41736
41737 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
41738 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
41739 * iconvdata/big5.c (ONE_DIRECTION): Define.
41740 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
41741 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
41742 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
41743 * iconvdata/cp932.c (ONE_DIRECTION): Define.
41744 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
41745 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
41746 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
41747 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
41748 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
41749 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
41750 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
41751 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
41752 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
41753 * iconvdata/gbk.c (ONE_DIRECTION): Define.
41754 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
41755 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
41756 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
41757 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
41758 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
41759 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
41760 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
41761 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
41762 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
41763 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
41764 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
41765 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
41766 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
41767 * iconvdata/iso646.c (ONE_DIRECTION): Define.
41768 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
41769 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
41770 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
41771 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
41772 * iconvdata/johab.c (ONE_DIRECTION): Define.
41773 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
41774 * iconvdata/sjis.c (ONE_DIRECTION): Define.
41775 * iconvdata/t.61.c (ONE_DIRECTION): Define.
41776 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
41777 * iconvdata/tscii.c (ONE_DIRECTION): Define.
41778 * iconvdata/uhc.c (ONE_DIRECTION): Define.
41779 * iconvdata/unicode.c (ONE_DIRECTION): Define.
41780 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
41781 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
41782 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
41783
41784 2014-05-01 Roland McGrath <roland@hack.frob.com>
41785
41786 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
41787 (_IO_JUMPS_OFFSET): Define to 0.
41788
41789 * nptl/sysdeps/pthread/bits/libc-lock.h
41790 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
41791 (__libc_lock_define_initialized_recursive): Always define using
41792 initializer. Modern compilers treat uninitialized (implicit zero) and
41793 explicit zero initializers the same (i.e. put the datum in bss).
41794
41795 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
41796
41797 * nscd/nscd-client.h: Include <string.h>.
41798
41799 2014-05-01 David S. Miller <davem@davemloft.net>
41800
41801 [BZ #16885]
41802 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
41803 multiple zero bytes exist at the end of a string.
41804 Reported by Aurelien Jarno <aurelien@aurel32.net>
41805
41806 * string/test-strcmp.c (check): Add explicit test for situations where
41807 there are multiple zero bytes after the first.
41808
41809 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
41810
41811 [BZ #16890]
41812 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
41813 when compiling wprintf.
41814 * stdio-common/tstdiomisc.c (t3): New function.
41815 (main): Call it.
41816
41817 2014-05-01 Steve Ellcey <sellcey@mips.com>
41818
41819 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
41820 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
41821 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
41822 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
41823
41824 2014-05-01 Steve Ellcey <sellcey@mips.com>
41825
41826 * stdlib/longlong.h: Updated from GCC.
41827
41828 2014-05-01 Will Newton <will.newton@linaro.org>
41829 Bernard Ogden <bernie.ogden@linaro.org>
41830
41831 * NEWS: Update fixed bug list.
41832
41833 [BZ #15119]
41834 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
41835
41836 2014-04-30 David S. Miller <davem@davemloft.net>
41837
41838 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
41839 (libc_feholdexcept_setround_sparc_ctx): New function.
41840 (libc_fesetenv_sparc_ctx): Likewise.
41841 (libc_feupdateenv_sparc_ctx): Likewise.
41842 (libc_feholdsetround_sparc_ctx): Likewise.
41843 (libc_feholdexcept_setround_ctx): Define.
41844 (libc_feholdexcept_setroundf_ctx): Likewise.
41845 (libc_feholdexcept_setroundl_ctx): Likewise.
41846 (libc_fesetenv_ctx): Likewise.
41847 (libc_fesetenvf_ctx): Likewise.
41848 (libc_fesetenvl_ctx): Likewise.
41849 (libc_feupdateenv_ctx): Likewise.
41850 (libc_feupdateenvf_ctx): Likewise.
41851 (libc_feupdateenvl_ctx): Likewise.
41852 (libc_feresetround_ctx): Likewise.
41853 (libc_feresetroundf_ctx): Likewise.
41854 (libc_feresetroundl_ctx): Likewise.
41855 (libc_feholdsetround_ctx): Likewise.
41856 (libc_feholdsetroundf_ctx): Likewise.
41857 (libc_feholdsetroundl_ctx): Likewise.
41858
41859 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
41860 with __USE_GNU instead of XOPEN cpp guards.
41861
41862 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
41863 0.
41864
41865 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
41866 with XOPEN cpp guards.
41867
41868 2014-04-30 Julian Brown <julian@codesourcery.com>
41869
41870 [BZ #16888]
41871 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
41872 handling.
41873
41874 2014-04-30 Joseph Myers <joseph@codesourcery.com>
41875
41876 [BZ #9894]
41877 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
41878 Change to 2.6.32.
41879 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
41880 * sysdeps/unix/sysv/linux/configure: Regenerated.
41881 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
41882 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
41883 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
41884 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
41885 * README: Update reference to required Linux kernel version.
41886 * manual/install.texi (Linux): Update reference to required Linux
41887 kernel headers version.
41888 * INSTALL: Regenerated.
41889
41890 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
41891 header inclusion.
41892 [POSIX] (limits.h): Likewise.
41893 [POSIX] (math.h): Likewise.
41894 [POSIX] (sys/wait.h): Likewise.
41895 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
41896 function.
41897 [POSIX] (stddef.h): Do not allow header inclusion.
41898
41899 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41900
41901 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
41902
41903 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
41904
41905 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
41906 Return immediately after lll_futex_wake.
41907
41908 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41909
41910 [BZ #16791]
41911 * nscd/nscd-client.h (datahead_init_common): Initialize entire
41912 structure.
41913 (datahead_init_pos): Call datahead_init_common early.
41914 (datahead_init_neg): Likewise.
41915
41916 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
41917 datahead_init_neg): New functions.
41918 * nscd/aicache.c (addhstaiX): Use them.
41919 * nscd/grpcache.c (cache_addgr): Likewise.
41920 * nscd/hstcache.c (cache_addhst): Likewise.
41921 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41922 * nscd/netgroupcache.c (do_notfound): Likewise.
41923 (addgetnetgrentX): Likewise.
41924 (addinnetgrX): Likewise.
41925 * nscd/pwdcache.c (cache_addpw): Likewise.
41926 * nscd/servicescache.c (cache_addserv): Likewise.
41927
41928 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41929 Atsushi Onoe <atsushi@onoe.org>
41930
41931 [BZ #14308]
41932 [BZ #12994]
41933 [BZ #13651]
41934 * resolv/res_query.c (__libc_res_nsearch): Return if at least
41935 one response is valid.
41936 * resolv/res_send.c (send_dg): Check for validity of other
41937 response if the current response is a referral.
41938
41939 2014-04-29 Steve Ellcey <sellcey@mips.com>
41940
41941 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
41942
41943 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
41944
41945 [BZ #16823]
41946 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
41947 Always divide by positive zero when computing -Inf result.
41948 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41949 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
41950
41951 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41952
41953 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
41954 FPSCR if value do not change.
41955 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41956 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
41957 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41958 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
41959 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
41960 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
41961 function.
41962
41963 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
41964
41965 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
41966 * sysdeps/unix/sysv/linux/hppa: Move directory from
41967 ports/systeps/unix/sysv/linux/hppa.
41968 * README: Update listing for hppa-*-linux-gnu.
41969
41970 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
41971
41972 [BZ #16754]
41973 * manual/stdio.texi (Hook functions): Fix types of stream hook
41974 functions.
41975 [BZ #16854]
41976 * socket/sys/socket.h: Fix typo in comment.
41977
41978 2014-04-28 Wilco <wdijkstr@arm.com>
41979
41980 * sysdeps/arm/fenv_private.h: New file.
41981 * sysdeps/arm/math_private.h: New file.
41982 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
41983
41984 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
41985
41986 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
41987 with __int128_t.
41988 (La_x86_64_retval): Likewise.
41989
41990 2014-04-24 Ian Bolton <ian.bolton@arm.com>
41991
41992 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
41993 fpsr if value didn't change.
41994 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
41995 to fpcr if value didn't change.
41996 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
41997 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
41998 fpsr or fpcr if value didn't change.
41999 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42000 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
42001 fpcr if value didn't change.
42002 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
42003 to fpsr if value didn't change.
42004
42005 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
42006
42007 * nptl/tst-sem3.c: Use test-skeleton.c
42008 (main): Rename to do_test. Use return instead of
42009 exit.
42010 * nptl/tst-sem4.c: Use test-skeleton.c
42011 (main): Rename to do_test.
42012
42013 2014-04-22 David S. Miller <davem@davemloft.net>
42014
42015 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
42016 (struct sigaction): New struct member __glibc_reserved0, change
42017 type of sa_flags to int.
42018
42019 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
42020
42021 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
42022 (COUNT_LEADING_ZEROS_0): Define for AArch64.
42023
42024 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42025
42026 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
42027 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
42028
42029 2014-04-22 Will Newton <will.newton@linaro.org>
42030 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
42031
42032 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
42033 (__longjmp): Add longjmp and longjmp_target SystemTap
42034 probes.
42035 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
42036 (__sigsetjmp): Add setjmp SystemTap probe.
42037
42038 2014-04-17 Carlos O'Donell <carlos@redhat.com>
42039
42040 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
42041 match manual order.
42042
42043 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42044
42045 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
42046
42047 * sysdeps/powerpc/fpu/fenv_private.h
42048 (libc_feholdexcept_setroundl_ctx): Define to
42049 libc_feholdexcept_setround_ppc_ctx.
42050 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
42051 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
42052 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
42053 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
42054
42055 2014-04-17 Ian Bolton <ian.bolton@arm.com>
42056
42057 * sysdeps/aarch64/math-tests.h: New file.
42058
42059 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
42060
42061 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
42062 New.
42063 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42064 Check and set bit_AVX2_Usable.
42065 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
42066 macro.
42067 (bit_AVX2): Likewise.
42068 (index_AVX2_Usable): Likewise.
42069 (CPUID_AVX2): Likewise.
42070 (HAS_AVX2): Likewise.
42071
42072 2014-04-17 Will Newton <will.newton@linaro.org>
42073
42074 * manual/setjmp.texi (System V contexts): Add note that
42075 calling setcontext on a context created by a call to a
42076 signal handler is undefined. Update text to note that
42077 setcontext from a signal handler is possible but not
42078 recommended.
42079
42080 [BZ #16629]
42081 * stdlib/tst-setcontext.c: Include signal.h.
42082 (main): Check that the signal stack before and
42083 after swapcontext is the same.
42084
42085 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
42086 Re-implement to restore registers in user code and avoid
42087 rt_sigreturn system call.
42088
42089 2014-04-17 Wilco <wdijkstr@arm.com>
42090
42091 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
42092 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
42093 * math/test-fenv.c: Skip exception trap tests on targets which only
42094 support non-stop mode.
42095
42096 2014-04-17 Ian Bolton <ian.bolton@arm.com>
42097 Wilco Dijkstra <wilco.dijkstra@arm.com>
42098
42099 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
42100 (libc_feholdsetround_aarch64_ctx)
42101 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
42102 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
42103 (libc_feresetround_ctx, libc_feresetroundf_ctx)
42104 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
42105 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
42106 (libc_feresetround_noexl_ctx): Define.
42107
42108 2014-04-16 Richard Henderson <rth@redhat.com>
42109
42110 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
42111
42112 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
42113 unwind tables.
42114
42115 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
42116 const from the non-libc, non-ldso copy.
42117
42118 * sysdeps/alpha/libm-test-ulps: Regenerate.
42119
42120 2014-04-16 Ian Bolton <ian.bolton@arm.com>
42121 Wilco Dijkstra <wilco.dijkstra@arm.com>
42122
42123 * sysdeps/aarch64/fpu/math_private.h: New file.
42124
42125 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
42126
42127 * sysdeps/aarch64/libm-test-ulps: Regenerate.
42128
42129 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
42130
42131 [BZ #16275]
42132 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
42133 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
42134 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
42135 Intel MPX bound registers before _dl_profile_fixup.
42136 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
42137 registers after _dl_profile_fixup. Save and restore bound
42138 registers bnd0/bnd1 when calling _dl_call_pltexit.
42139 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
42140 (LR_BND_OFFSET): Likewise.
42141 (LRV_BND0_OFFSET): Likewise.
42142 (LRV_BND1_OFFSET): Likewise.
42143
42144 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42145
42146 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
42147 to...
42148 * sysdeps/mach/hurd/i386/tls.h: ... here.
42149 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
42150 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
42151 fields.
42152
42153 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42154
42155 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
42156
42157 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
42158
42159 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42160
42161 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
42162
42163 [BZ #14770]
42164 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
42165 * sysdeps/s390/configure: Regenerate.
42166
42167 [BZ #16824]
42168 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
42169 Set round-to-nearest internally to reduce error accumulation.
42170
42171 2014-04-16 Alan Modra <amodra@gmail.com>
42172
42173 [BZ #16740]
42174 [BZ #16619]
42175 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
42176 * math/libm-test.inc (frexp_test_data): Add tests.
42177 * NEWS: Update fixed bug list.
42178
42179 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
42180
42181 * benchtests/Makefile: Depend on libraries in build directory.
42182 (bench-math): Separate out math tests.
42183 (bench-pthread): Separate out pthread tests.
42184 (bench): Include math and pthread tests.
42185
42186 2014-04-14 Carlos O'Donell <carlos@redhat.com>
42187
42188 [BZ #16831]
42189 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
42190 _dl_debug_initialize.
42191
42192 * configure.ac: Remove SELinux header check.
42193 * configure: Regenerate.
42194 * nscd/selinux.c (perms): Array of const char* to permission names.
42195 (nscd_request_avc_has_perm): Call security_deny_unknown to find
42196 default policy. Call string_to_security_class and string_to_av_perm to
42197 translate strings. Enforce default policy and call avs_has_perm with
42198 results of translated strings.
42199
42200 2014-04-13 David S. Miller <davem@davemloft.net>
42201
42202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42203
42204 2014-04-12 Allan McRae <allan@archlinux.org>
42205
42206 [BZ #16838]
42207 * manual/string.texi (Collation Functions): Fix qsort argument
42208 order in example.
42209 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42210
42211 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
42212
42213 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
42214 Make the test a no-op if there are no exceptions defined.
42215
42216 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
42217
42218 * elf/Makefile (tests): make tst-dlopen-aout conditional on
42219 enable-hardcoded-path-in-tests
42220
42221 2014-04-11 Will Newton <will.newton@linaro.org>
42222
42223 * benchtests/Makefile (extra-objs): Add json-lib.o.
42224 (bench-func): Tidy up JSON output.
42225 * benchtests/bench-skeleton.c: Include json-lib.h.
42226 (main): Use JSON library functions to do output of
42227 benchmark results.
42228 * benchtests/bench-timing-type.c (main): Output the
42229 timing type simply, leaving formatting to the user.
42230 * benchtests/json-lib.c: New file.
42231 * benchtests/json-lib.h: Likewise.
42232
42233 2014-04-11 Torvald Riegel <triegel@redhat.com>
42234
42235 [BZ #15215]
42236 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
42237 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
42238 memory barriers. Add comments.
42239 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
42240 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
42241 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
42242 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
42243 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
42244 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
42245
42246 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42247
42248 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
42249 * sysdeps/s390/s390-64/configure.ac: ... this ...
42250 * sysdeps/s390/configure.ac: ... to here.
42251 * sysdeps/s390/s390-32/configure: Delete file.
42252 * sysdeps/s390/s390-64/configure: Delete file.
42253 * sysdeps/s390/configure: Regenerate.
42254
42255 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
42256
42257 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
42258
42259 2014-04-11 Will Newton <will.newton@linaro.org>
42260
42261 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
42262 to zero if it is not defined elsewhere. (mtrim): Test
42263 the value of MALLOC_DEBUG with #if rather than #ifdef.
42264
42265 2014-04-10 Torvald Riegel <triegel@redhat.com>
42266
42267 * benchtests/pthread_once-inputs: New file.
42268 * benchtests/pthread_once-source.c: New file.
42269 * benchtests/README: Update documentation.
42270
42271 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
42272 H.J. Lu <hongjiu.lu@intel.com>
42273
42274 [BZ #16275]
42275 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
42276 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
42277 * sysdeps/x86_64/configure: Regenerated.
42278 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
42279 macro.
42280 (REGISTER_SAVE_RAX): Likewise.
42281 (REGISTER_SAVE_RCX): Likewise.
42282 (REGISTER_SAVE_RDX): Likewise.
42283 (REGISTER_SAVE_RSI): Likewise.
42284 (REGISTER_SAVE_RDI): Likewise.
42285 (REGISTER_SAVE_R8): Likewise.
42286 (REGISTER_SAVE_R9): Likewise.
42287 (REGISTER_SAVE_BND0): Likewise.
42288 (REGISTER_SAVE_BND1): Likewise.
42289 (REGISTER_SAVE_BND2): Likewise.
42290 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
42291 bound registers when calling _dl_fixup.
42292
42293 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42294
42295 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
42296 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
42297 of its definition.
42298 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
42299 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
42300 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
42301 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
42302 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
42303 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
42304 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
42305
42306 2014-04-09 Peter Brett <peter@peter-b.co.uk>
42307
42308 [BZ #15514]
42309 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
42310 pathconf(_PC_NAME_MAX).
42311
42312 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42313
42314 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
42315 Remove macro usage.
42316 (__PTHREAD_SPINS): Move definition to ...
42317 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
42318 (__PTHREAD_SPINS): ... here.
42319 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42320 (__PTHREAD_SPIN): Likewise.
42321 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
42322 (__PTHREAD_SPIN): Likewise.
42323 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
42324 (__PTHREAD_SPIN): Likewise.
42325 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
42326 (__PTHREAD_SPIN): Likewise.
42327 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
42328 (__PTHREAD_SPIN): Likewise.
42329 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
42330 (__PTHREAD_SPIN): Likewise.
42331 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
42332 (__PTHREAD_SPIN): Likewise.
42333 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
42334 (__PTHREAD_SPIN): Likewise.
42335 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
42336 (__PTHREAD_SPIN): Likewise.
42337 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
42338 (__PTHREAD_SPIN): Likewise.
42339 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
42340 (__PTHREAD_SPIN): Likewise.
42341 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
42342 (__PTHREAD_SPIN): Likewise.
42343
42344 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
42345 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
42346 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
42347 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
42348 imply folder.
42349 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
42350 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
42351 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
42352 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
42353 correct imply path.
42354 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
42355 strlen symbol for non multi-arch builds.
42356 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
42357 missing hidden_def and weak_alias.
42358
42359 2014-04-08 Carlos O'Donell <carlos@redhat.com>
42360
42361 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
42362
42363 2014-04-07 Will Newton <will.newton@linaro.org>
42364
42365 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
42366 and contents. [!_LIBC] Remove #ifndef and contents.
42367 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
42368 * string/memccpy.c (__memccpy): Use ANSI prototype.
42369 * string/memfrob.c (memfrob): Likewise.
42370 * string/strcoll.c (STRCOLL): Likewise.
42371 * string/strlen.c (strlen): Likewise.
42372 * string/strtok.c (STRTOK): Likewise.
42373 * string/strcat.c: Remove unused #include of memcopy.h.
42374 (strcat): Use ANSI prototype.
42375 * string/strchr.c: Remove unused #include of memcopy.h.
42376 (strchr): Use ANSI prototype.
42377 * string/strcmp.c: Remove unused #include of memcopy.h.
42378 (strcmp): Use ANSI prototype.
42379 * string/strcpy.c: Remove unused #include of memcopy.h.
42380 (strcpy): Use ANSI prototype.
42381
42382 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42383
42384 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
42385 * config.make.in (config-extra-cppflags): Set it from
42386 libc_extra_cppflags.
42387 * configure.ac (libc_extra_cflags): Make it accumulate over
42388 configure fragments.
42389 (libc_extra_cppflags): New flag.
42390 * configure. Regenerate.
42391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
42392 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
42393 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
42394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
42395
42396 [BZ #16815]
42397 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
42398 result for FE_DOWNWARD rounding mode.
42399 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
42400 Likewise.
42401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42402
42403 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
42404
42405 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
42406 in function argument name.
42407
42408 2014-04-03 David Svoboda <svoboda@cert.org>
42409
42410 [BZ #5666]
42411 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
42412 explicitly.
42413
42414 2014-04-03 Roland McGrath <roland@hack.frob.com>
42415
42416 * elf/dl-unmap-segments.h: New file.
42417 * sysdeps/generic/ldsodefs.h
42418 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
42419 * elf/dl-close.c: Include <dl-unmap-segments.h>.
42420 * elf/dl-fptr.c: Likewise.
42421 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
42422 * sysdeps/aarch64/tlsdesc.c: Likewise.
42423 * sysdeps/arm/tlsdesc.c: Likewise.
42424 * sysdeps/i386/tlsdesc.c: Likewise.
42425 * sysdeps/tile/dl-runtime.c: Likewise.
42426 * sysdeps/x86_64/tlsdesc.c: Likewise.
42427 * elf/dl-load.h: New file.
42428 * elf/dl-load.c: Include it.
42429 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
42430 Macros moved to dl-load.h.
42431 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
42432 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
42433 Use _dl_unmap_segments in place of __munmap.
42434 Break out segment-mapping loop into ...
42435 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
42436
42437 2014-04-03 Will Newton <will.newton@linaro.org>
42438
42439 * elf/dl-lookup.c (do_lookup_x): Remove comment
42440 referring to nested function and move variable
42441 declarations down to before first use.
42442
42443 2014-04-02 Joseph Myers <joseph@codesourcery.com>
42444
42445 [BZ #16799]
42446 [BZ #16800]
42447 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
42448 with 0 numerator.
42449 * math/s_catanf.c (__catanf): Likewise.
42450 * math/s_catanh.c (__catanh): Likewise.
42451 * math/s_catanhf.c (__catanhf): Likewise.
42452 * math/s_catanhl.c (__catanhl): Likewise.
42453 * math/s_catanl.c (__catanl): Likewise.
42454 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
42455 by positive zero when computing -Inf result.
42456 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
42457 (catanh_test): Likewise.
42458 * sysdeps/i386/fpu/libm-test-ulps: Update.
42459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42460
42461 [BZ #16789]
42462 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
42463 instead of using underflowing value in computing result.
42464 * math/s_clog10.c (__clog10): Likewise.
42465 * math/s_clog10f.c (__clog10f): Likewise.
42466 * math/s_clog10l.c (__clog10l): Likewise.
42467 * math/s_clogf.c (__clogf): Likewise.
42468 * math/s_clogl.c (__clogl): Likewise.
42469 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
42470 (clog10_test): Likewise.
42471 * sysdeps/i386/fpu/libm-test-ulps: Update.
42472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42473
42474 2014-04-02 Alan Modra <amodra@gmail.com>
42475
42476 [BZ #16739]
42477 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
42478 output when value is near a power of two. Use int64_t for lx and
42479 remove casts. Use decimal rather than hex exponent constants.
42480 Don't use long double multiplication when double will suffice.
42481 * math/libm-test.inc (nextafter_test_data): Add tests.
42482 * NEWS: Add 16739 and 16786 to bug list.
42483
42484 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
42485
42486 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
42487
42488 2014-04-01 Will Newton <will.newton@linaro.org>
42489
42490 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
42491 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
42492
42493 2014-04-01 Florian Weimer <fweimer@redhat.com>
42494
42495 [BZ #13347]
42496 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
42497 * nptl/tst-setuid2.c: New file.
42498 * nptl/Makefile (xtests): Add tst-setuid2.
42499
42500 2014-04-01 Alan Modra <amodra@gmail.com>
42501
42502 [BZ #16786]
42503 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
42504
42505 2014-03-31 Joseph Myers <joseph@codesourcery.com>
42506
42507 [BZ #6803]
42508 [BZ #6804]
42509 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
42510 set errno as appropriate.
42511 * math/w_scalbf.c (__scalbf): Likewise.
42512 * math/w_scalbl.c (__scalbl): Likewise.
42513 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
42514 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
42515 * math/libm-test.inc (scalb_test_data): Add errno expectations.
42516 Add more NaN tests.
42517
42518 [BZ #16349]
42519 * math/w_atan2.c: Include <errno.h>.
42520 (__atan2): Set errno for result underflowing to zero.
42521 * math/w_atan2f.c: Include <errno.h>.
42522 (__atan2f): Set errno for result underflowing to zero.
42523 * math/w_atan2l.c: Include <errno.h>.
42524 (__atan2l): Set errno for result underflowing to zero.
42525 * math/auto-libm-test-in: Don't allow missing errno for some atan2
42526 tests.
42527 * math/auto-libm-test-out: Regenerated.
42528
42529 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42530
42531 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
42532 Encode instruction correctly in little endian.
42533 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
42534 Likewise.
42535 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
42536 Likewise.
42537 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
42538 Likewise.
42539 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
42540 Likewise.
42541
42542 2014-03-31 Joseph Myers <joseph@codesourcery.com>
42543
42544 [BZ #9894]
42545 * sysdeps/unix/sysv/linux/kernel-features.h
42546 [__sparc__ && !__arch64__ && !__sparc_v9__]
42547 (__ASSUME_SET_ROBUST_LIST): Do not define.
42548 [__sparc__ && !__arch64__ && !__sparc_v9__]
42549 (__ASSUME_FUTEX_LOCK_PI): Likewise.
42550 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
42551 Likewise.
42552 * sysdeps/unix/sysv/linux/arm/kernel-features.h
42553 (__ASSUME_FUTEX_LOCK_PI): Undefine.
42554 (__ASSUME_REQUEUE_PI): Likewise.
42555 (__ASSUME_SET_ROBUST_LIST): Likewise.
42556 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42557 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
42558 Undefine.
42559 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42560 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
42561 Likewise.
42562 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
42563 Likewise.
42564 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
42565 Likewise.
42566 * sysdeps/unix/sysv/linux/mips/kernel-features.h
42567 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
42568 Undefine.
42569 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
42570 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
42571 Likewise.
42572
42573 [BZ #16648]
42574 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42575 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
42576 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
42577
42578 2014-03-31 Will Newton <will.newton@linaro.org>
42579
42580 * benchtests/Makefile (bench): Add ffs and ffsll to list
42581 of tests.
42582 * benchtests/ffs-inputs: New file.
42583 * benchtests/ffsll-inputs: Likewise.
42584
42585 2014-03-29 Joseph Myers <joseph@codesourcery.com>
42586
42587 [BZ #16770]
42588 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
42589 too large before casting to int.
42590 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
42591 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
42592 * math/libm-test.inc (scalb_test_data): Add more tests.
42593
42594 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42595
42596 * benchtests/Makefile (DETAILED_OPT): New make option.
42597 (bench-func): Run benchmark program with -d if DETAILED_OPT is
42598 set.
42599 * benchtests/bench-skeleton.c: Include stdbool.h.
42600 (main): Store and print timings per input.
42601 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
42602 member to each argument value.
42603 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
42604 (_print_arg_data): Initialize per-input timing to 0.
42605
42606 * benchtests/Makefile (timing-type): New binary.
42607 (bench-clean): Also remove bench-timing-type.
42608 (bench): New target for timing-type.
42609 (bench-func): Print output in JSON format.
42610 * benchtests/bench-skeleton.c (main): Print output in JSON
42611 format.
42612 * benchtests/bench-timing-type.c: New file.
42613 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
42614 (TIMING_PRINT_STATS): Remove.
42615 * benchtests/scripts/bench.py (_print_arg_data): Store variant
42616 name separately.
42617
42618 * benchtests/bench-modf.c: Remove.
42619 * benchtests/modf-inputs: New inputs file.
42620
42621 2014-03-28 Joseph Myers <joseph@codesourcery.com>
42622
42623 [BZ #16362]
42624 * math/s_clog10.c (M_PI_LOG10E): New macro.
42625 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
42626 imaginary parts are 0.
42627 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
42628 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
42629 imaginary parts are 0.
42630 * math/s_clog10l.c (M_PI_LOG10El): New macro.
42631 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
42632 imaginary parts are 0.
42633 * math/libm-test.inc (clog10_test_data): Update expected results
42634 for when real and imaginary parts are 0.
42635
42636 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
42637
42638 * elf/dl-load.c: Finish conversion of __builtin_expect into
42639 __glibc_{un}likely.
42640
42641 2014-03-27 Joseph Myers <joseph@codesourcery.com>
42642
42643 [BZ #16348]
42644 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
42645 1+x for argument with exponent below -67.
42646 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
42647 Likewise.
42648 * math/auto-libm-test-in: Add more tests of exp.
42649 * math/auto-libm-test-out: Regenerated.
42650
42651 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42652
42653 [BZ #16759]
42654 * inet/getnetgrent_r.c (get_nonempty_val): New function.
42655 (nscd_getnetgrent): Use it.
42656
42657 [BZ #16760]
42658 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
42659 of stpcpy.
42660
42661 2014-03-27 Andi Kleen <ak@linux.intel.com>
42662
42663 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
42664 (lll_robust_lock, lll_cond_lock, lll_timedlock)
42665 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
42666 (lll_robust_unlock): Remove out of line section. Use cfi
42667 intrinsics.
42668 (LLL_STUB_UNWIND_INFO*): Remove.
42669 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
42670 (lll_robust_lock, lll_cond_lock, lll_timedlock)
42671 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
42672 (lll_robust_unlock): Remove out of line section. Use cfi
42673 intrinsics.
42674 (LLL_STUB_UNWIND_INFO*): Remove.
42675
42676 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42677
42678 [BZ #16758]
42679 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
42680 blank values.
42681
42682 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
42683
42684 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
42685
42686 2014-03-26 Joseph Myers <joseph@codesourcery.com>
42687
42688 [BZ #16198]
42689 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
42690 fnstenv.
42691 * math/test-fenv-preserve.c: New file.
42692 * math/Makefile (tests): Add test-fenv-preserve.
42693
42694 2014-03-26 Will Newton <will.newton@linaro.org>
42695
42696 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
42697
42698 2014-03-25 Roland McGrath <roland@hack.frob.com>
42699
42700 * scripts/versionlist.awk: Partition the version sets and emit all
42701 GLIBC_* (sorted) before all others (sorted).
42702
42703 2014-03-25 Joseph Myers <joseph@codesourcery.com>
42704
42705 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
42706 GLIBC_2.2.5 version.
42707
42708 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42709
42710 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
42711 calls.
42712
42713 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
42714 previous change.
42715
42716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42717
42718 2014-03-25 Andreas Schwab <schwab@suse.de>
42719
42720 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
42721 label to be used after in6ailist is initialized.
42722
42723 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42724
42725 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
42726 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
42727
42728 2014-03-25 Joseph Myers <joseph@codesourcery.com>
42729
42730 [BZ #16357]
42731 [BZ #16599]
42732 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
42733 min_plus_half.
42734 (fp_formats): Update initializers.
42735 (init_fp_formats): Initialize new field.
42736 (output_for_one_input_case): Allow underflow for results up to
42737 min_plus_half.
42738 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
42739 * math/auto-libm-test-in: Don't mark some underflows from asin and
42740 atanh as spurious.
42741 * math/auto-libm-test-out: Regenerated.
42742 * sysdeps/i386/fpu/libm-test-ulps: Update.
42743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42744
42745 2014-03-25 Andreas Schwab <schwab@suse.de>
42746
42747 * libio/Makefile (tst-ftell-partial-wide-ENV)
42748 (tst-ftell-active-handler-ENV): Define.
42749
42750 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
42751
42752 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
42753
42754 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
42755
42756 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
42757
42758 2014-03-24 Joseph Myers <joseph@codesourcery.com>
42759
42760 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
42761 * sysdeps/x86_64/fpu/multiarch/e_exp.c
42762 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
42763
42764 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
42765
42766 [BZ #16634]
42767 * elf/dl-load.c (open_verify): Add mode parameter.
42768 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
42769 (open_path): Change from boolean 'secure' to complete flag 'mode'
42770 (_dl_map_object): Adjust.
42771 * elf/Makefile (tests): Add tst-dlopen-aout.
42772 * elf/tst-dlopen-aout.c: New test.
42773
42774 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
42775
42776 [BZ #16714]
42777 * sysdeps/unix/sysv/linux/s390/bits/stat.h
42778 (struct stat): Rename member pad0 to __glibc_reserved0.
42779
42780 [BZ #16712]
42781 * sysdeps/s390/s390-32/bits/wordsize.h
42782 (__WORDSIZE32_SIZE_ULONG): New define.
42783 * sysdeps/s390/s390-64/bits/wordsize.h
42784 (__WORDSIZE32_SIZE_ULONG): Likewise.
42785 * sysdeps/generic/stdint.h (SIZE_MAX):
42786 Define as UL if __WORDSIZE32_SIZE_ULONG.
42787
42788 [BZ #16713]
42789 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
42790 (__glibc_reserved0): New variable.
42791 (sa_flags): Change type to int.
42792
42793 * posix/Makefile (before-compile): Use += before-compile instead
42794 of a :=.
42795
42796 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42797 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
42798
42799 2014-03-20 Andreas Schwab <schwab@suse.de>
42800
42801 [BZ #16743]
42802 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
42803 non-matching result from nscd.
42804
42805 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
42806
42807 * scripts/bench.py: Moved to ...
42808 * benchtests/scripts/bench.py: ... here.
42809 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
42810
42811 2014-03-24 Andreas Schwab <schwab@suse.de>
42812
42813 [BZ #16002]
42814 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
42815 alloca_account and account alloca use for struct in6ailist.
42816
42817 2014-03-24 Joseph Myers <joseph@codesourcery.com>
42818
42819 [BZ #16284]
42820 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
42821 rounding mode to recompute results that overflow to infinity or
42822 underflow to zero.
42823 * math/auto-libm-test-in: Don't mark tests as expected to fail for
42824 bug 16284.
42825 * math/auto-libm-test-out: Regenerated.
42826 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
42827 (ccosh_test): Likewise.
42828 (csin_test_data): Use plus_oflow.
42829 (csin_test): Use ALL_RM_TEST.
42830 (csinh_test_data): Use plus_oflow.
42831 (csinh_test): Use ALL_RM_TEST.
42832 * sysdeps/i386/fpu/libm-test-ulps: Update.
42833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42834
42835 2014-03-21 Joseph Myers <joseph@codesourcery.com>
42836
42837 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
42838 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
42839 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
42840
42841 [BZ #16731]
42842 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
42843 when x - 1 is zero.
42844 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
42845 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
42846 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
42847 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
42848 argument is 1.
42849 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
42850 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
42851 zero.
42852 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
42853 * sysdeps/i386/fpu/libm-test-ulps: Update.
42854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42855
42856 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
42857
42858 * scripts/bench.pl: Remove file.
42859 * scripts/bench.py: New benchmark script.
42860 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
42861 * benchtests/README: Mention python dependency.
42862 * scripts/pylintrc: New file.
42863 * scripts/pylint: New file.
42864
42865 * bits/mathdef.h: Use #ifdef instead of #if.
42866 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
42867 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42868 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
42869 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42870 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
42871 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42872
42873 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42874 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
42875
42876 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
42877 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
42878 and strpbrk-ppc64 objects.
42879 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42880 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
42881 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
42882 multiarch strpbrk for POWER7.
42883 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
42884 multiarch strpbrk for PPC64.
42885 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
42886 ifunc selector.
42887 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
42888 strpbrk for POWER7.
42889
42890 2014-03-20 Joseph Myers <joseph@codesourcery.com>
42891
42892 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
42893 (atan_test): Likewise.
42894 (atanh_test_data): Use NO_TEST_INLINE for two tests.
42895 (atanh_test): Use ALL_RM_TEST.
42896 (atan2_test_data): Likewise.
42897 (cabs_test): Likewise.
42898 (cacosh_test): Likewise.
42899 (carg_test): Likewise.
42900 (casin_test): Likewise.
42901 (casinh_test): Likewise.
42902 (cbrt_test): Likewise.
42903 (csqrt_test): Likewise.
42904 (erf_test): Likewise.
42905 (erfc_test): Likewise.
42906 (pow10_test): Likewise.
42907 (exp2_test): Likewise.
42908 (hypot_test): Likewise.
42909 (j0_test): Likewise.
42910 (j1_test): Likewise.
42911 (lgamma_test): Likewise.
42912 (gamma_test): Likewise.
42913 (sincos_test): Likewise.
42914 (tanh_test): Likewise.
42915 (y0_test): Likewise.
42916 (y1_test): Likewise.
42917 * sysdeps/i386/fpu/libm-test-ulps: Update.
42918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42919
42920 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42921
42922 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
42923 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
42924 and strcspn-ppc64 objects.
42925 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42926 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
42927 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
42928 multiarch strcspn for POWER7.
42929 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
42930 multiarch strcspn for PPC64.
42931 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
42932 ifunc selector.
42933 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
42934 strcspn for POWER7.
42935
42936 2014-03-20 Joseph Myers <joseph@codesourcery.com>
42937
42938 * math/gen-libm-test.pl (generate_testfile): Expect only function
42939 name as argument to AUTO_TESTS_* and pass results for all rounding
42940 modes to parse_args.
42941 (parse_auto_input): Separate inputs of automatic tests from
42942 outputs before storing in %auto_tests.
42943 * math/libm-test.inc (acos_test_data): Update call to
42944 AUTO_TESTS_f_f.
42945 (acos_test): Use ALL_RM_TEST.
42946 (acos_tonearest_test_data): Remove.
42947 (acos_test_tonearest): Likewise.
42948 (acos_towardzero_test_data): Likewise.
42949 (acos_test_towardzero): Likewise.
42950 (acos_downward_test_data): Likewise.
42951 (acos_test_downward): Likewise.
42952 (acos_upward_test_data): Likewise.
42953 (acos_test_upward): Likewise.
42954 (acosh_test_data): Update call to AUTO_TESTS_f_f.
42955 (asin_test_data): Likewise.
42956 (asin_test): Use ALL_RM_TEST.
42957 (asin_tonearest_test_data): Remove.
42958 (asin_test_tonearest): Likewise.
42959 (asin_towardzero_test_data): Likewise.
42960 (asin_test_towardzero): Likewise.
42961 (asin_downward_test_data): Likewise.
42962 (asin_test_downward): Likewise.
42963 (asin_upward_test_data): Likewise.
42964 (asin_test_upward): Likewise.
42965 (asinh_test_data): Update call to AUTO_TESTS_f_f.
42966 (atan_test_data): Likewise.
42967 (atanh_test_data): Likewise.
42968 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
42969 (cabs_test_data): Update call to AUTO_TESTS_c_f.
42970 (carg_test_data): Likewise.
42971 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
42972 (ccos_test_data): Update call to AUTO_TESTS_c_c.
42973 (ccosh_test_data): Likewise.
42974 (cexp_test_data): Likewise.
42975 (clog_test_data): Likewise.
42976 (clog10_test_data): Likewise.
42977 (cos_test_data): Update call to AUTO_TESTS_f_f.
42978 (cos_test): Use ALL_RM_TEST.
42979 (cos_tonearest_test_data): Remove.
42980 (cos_test_tonearest): Likewise.
42981 (cos_towardzero_test_data): Likewise.
42982 (cos_test_towardzero): Likewise.
42983 (cos_downward_test_data): Likewise.
42984 (cos_test_downward): Likewise.
42985 (cos_upward_test_data): Likewise.
42986 (cos_test_upward): Likewise.
42987 (cosh_test_data): Update call to AUTO_TESTS_f_f.
42988 (cosh_test): Use ALL_RM_TEST.
42989 (cosh_tonearest_test_data): Remove.
42990 (cosh_test_tonearest): Likewise.
42991 (cosh_towardzero_test_data): Likewise.
42992 (cosh_test_towardzero): Likewise.
42993 (cosh_downward_test_data): Likewise.
42994 (cosh_test_downward): Likewise.
42995 (cosh_upward_test_data): Likewise.
42996 (cosh_test_upward): Likewise.
42997 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
42998 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
42999 (ctan_test_data): Likewise.
43000 (ctan_test): Use ALL_RM_TEST.
43001 (ctan_tonearest_test_data): Remove.
43002 (ctan_test_tonearest): Likewise.
43003 (ctan_towardzero_test_data): Likewise.
43004 (ctan_test_towardzero): Likewise.
43005 (ctan_downward_test_data): Likewise.
43006 (ctan_test_downward): Likewise.
43007 (ctan_upward_test_data): Likewise.
43008 (ctan_test_upward): Likewise.
43009 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
43010 (ctanh_test): Use ALL_RM_TEST.
43011 (ctanh_tonearest_test_data): Remove.
43012 (ctanh_test_tonearest): Likewise.
43013 (ctanh_towardzero_test_data): Likewise.
43014 (ctanh_test_towardzero): Likewise.
43015 (ctanh_downward_test_data): Likewise.
43016 (ctanh_test_downward): Likewise.
43017 (ctanh_upward_test_data): Likewise.
43018 (ctanh_test_upward): Likewise.
43019 (erf_test_data): Update call to AUTO_TESTS_f_f.
43020 (erfc_test_data): Likewise.
43021 (exp_test_data): Likewise.
43022 (exp_test): Use ALL_RM_TEST.
43023 (exp_tonearest_test_data): Remove.
43024 (exp_test_tonearest): Likewise.
43025 (exp_towardzero_test_data): Likewise.
43026 (exp_test_towardzero): Likewise.
43027 (exp_downward_test_data): Likewise.
43028 (exp_test_downward): Likewise.
43029 (exp_upward_test_data): Likewise.
43030 (exp_test_upward): Likewise.
43031 (exp10_test_data): Update call to AUTO_TESTS_f_f.
43032 (exp10_test): Use ALL_RM_TEST.
43033 (exp10_tonearest_test_data): Remove.
43034 (exp10_test_tonearest): Likewise.
43035 (exp10_towardzero_test_data): Likewise.
43036 (exp10_test_towardzero): Likewise.
43037 (exp10_downward_test_data): Likewise.
43038 (exp10_test_downward): Likewise.
43039 (exp10_upward_test_data): Likewise.
43040 (exp10_test_upward): Likewise.
43041 (exp2_test_data): Update call to AUTO_TESTS_f_f.
43042 (expm1_test_data): Likewise.
43043 (expm1_test): Use ALL_RM_TEST.
43044 (expm1_tonearest_test_data): Remove.
43045 (expm1_test_tonearest): Likewise.
43046 (expm1_towardzero_test_data): Likewise.
43047 (expm1_test_towardzero): Likewise.
43048 (expm1_downward_test_data): Likewise.
43049 (expm1_test_downward): Likewise.
43050 (expm1_upward_test_data): Likewise.
43051 (expm1_test_upward): Likewise.
43052 (fma_test_data): Update call to AUTO_TESTS_fff_f.
43053 (fma_test): Use ALL_RM_TEST.
43054 (fma_towardzero_test_data): Remove.
43055 (fma_test_towardzero): Likewise.
43056 (fma_downward_test_data): Likewise.
43057 (fma_test_downward): Likewise.
43058 (fma_upward_test_data): Likewise.
43059 (fma_test_upward): Likewise.
43060 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
43061 (j0_test_data): Update call to AUTO_TESTS_f_f.
43062 (j1_test_data): Likewise.
43063 (jn_test_data): Update call to AUTO_TESTS_if_f.
43064 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
43065 (log_test_data): Update call to AUTO_TESTS_f_f.
43066 (log10_test_data): Likewise.
43067 (log1p_test_data): Likewise.
43068 (log2_test_data): Likewise.
43069 (pow_test_data): Update call to AUTO_TESTS_ff_f.
43070 (pow_tonearest_test_data): Likewise.
43071 (sin_test_data): Update call to AUTO_TESTS_f_f.
43072 (sin_test): Use ALL_RM_TEST.
43073 (sin_tonearest_test_data): Remove.
43074 (sin_test_tonearest): Likewise.
43075 (sin_towardzero_test_data): Likewise.
43076 (sin_test_towardzero): Likewise.
43077 (sin_downward_test_data): Likewise.
43078 (sin_test_downward): Likewise.
43079 (sin_upward_test_data): Likewise.
43080 (sin_test_upward): Likewise.
43081 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
43082 (sinh_test_data): Update call to AUTO_TESTS_f_f.
43083 (sinh_test): Use ALL_RM_TEST.
43084 (sinh_tonearest_test_data): Remove.
43085 (sinh_test_tonearest): Likewise.
43086 (sinh_towardzero_test_data): Likewise.
43087 (sinh_test_towardzero): Likewise.
43088 (sinh_downward_test_data): Likewise.
43089 (sinh_test_downward): Likewise.
43090 (sinh_upward_test_data): Likewise.
43091 (sinh_test_upward): Likewise.
43092 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
43093 (sqrt_test): Use ALL_RM_TEST.
43094 (sqrt_tonearest_test_data): Remove.
43095 (sqrt_test_tonearest): Likewise.
43096 (sqrt_towardzero_test_data): Likewise.
43097 (sqrt_test_towardzero): Likewise.
43098 (sqrt_downward_test_data): Likewise.
43099 (sqrt_test_downward): Likewise.
43100 (sqrt_upward_test_data): Likewise.
43101 (sqrt_test_upward): Likewise.
43102 (tan_test_data): Update call to AUTO_TESTS_f_f.
43103 (tan_test): Use ALL_RM_TEST.
43104 (tan_tonearest_test_data): Remove.
43105 (tan_test_tonearest): Likewise.
43106 (tan_towardzero_test_data): Likewise.
43107 (tan_test_towardzero): Likewise.
43108 (tan_downward_test_data): Likewise.
43109 (tan_test_downward): Likewise.
43110 (tan_upward_test_data): Likewise.
43111 (tan_test_upward): Likewise.
43112 (tanh_test_data): Update call to AUTO_TESTS_f_f.
43113 (tgamma_test_data): Likewise.
43114 (y0_test_data): Likewise.
43115 (y1_test_data): Likewise.
43116 (yn_test_data): Update call to AUTO_TESTS_if_f.
43117 (main): Do not call removed functions.
43118
43119 2014-03-19 Joseph Myers <joseph@codesourcery.com>
43120
43121 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
43122 (ldexp_test_data): Remove.
43123 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
43124 scalbn_test_data.
43125 (scalb_test): Use ALL_RM_TEST.
43126
43127 2014-03-19 Andreas Schwab <schwab@suse.de>
43128
43129 * nscd/nscd.service: Also invalidate netgroup cache on reload.
43130
43131 2014-03-19 Joseph Myers <joseph@codesourcery.com>
43132
43133 [BZ #16649]
43134 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43135 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
43136 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
43137 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43138 (__ASSUME_PREADV): Undefine.
43139 (__ASSUME_PWRITEV): Likewise.
43140
43141 2014-03-18 Roland McGrath <roland@hack.frob.com>
43142
43143 * bits/mman-linux.h: Add comment about non-Linux use.
43144 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
43145 bits/mman-linux.h resting place.
43146
43147 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
43148 * bits/mman-linux.h: ... here.
43149
43150 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43151
43152 * conform/conformtest.pl: Add standard definition when calling C
43153 preprocessor on data files.
43154 (checknamespace): Remove unused variable.
43155
43156 2014-03-18 Joseph Myers <joseph@codesourcery.com>
43157
43158 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
43159 minus_oflow, plus_uflow and minus_uflow in expected results.
43160 * math/libm-test.inc (scalbn_test_data): Add more tests of
43161 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
43162 minus_uflow.
43163 (scalbn_test): Use ALL_RM_TEST.
43164 (scalbln_test_data): Add more tests of negative arguments. Use
43165 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
43166 (scalbln_test): Use ALL_RM_TEST.
43167
43168 2014-03-18 Roland McGrath <roland@hack.frob.com>
43169
43170 * scripts/abilist.awk: Ignore symbols marked with .hidden.
43171
43172 2014-03-18 Will Newton <will.newton@linaro.org>
43173
43174 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
43175 inaccurate comment.
43176
43177 2014-03-18 Joseph Myers <joseph@codesourcery.com>
43178
43179 * Makerules [!subdir] (check-abi): Exit with error status if a
43180 test failed.
43181
43182 2014-03-17 Joseph Myers <joseph@codesourcery.com>
43183
43184 * math/libm-test.inc (nearbyint_test_data): Include all tests used
43185 for rint. Include results for all rounding modes.
43186 (nearbyint_test): Use ALL_RM_TEST.
43187 (rint_test_data): Include all tests used for nearbyint.
43188
43189 2014-03-17 Will Newton <will.newton@linaro.org>
43190
43191 * nptl/sysdeps/pthread/pthread.h: Revert previous
43192 change.
43193
43194 * sysdeps/generic/ldsodefs.h: Revert previous
43195 change.
43196
43197 * libio/genops.c: Revert previous change.
43198 * libio/libioP.h: Likewise.
43199 * stdio-common/vfprintf.c: Likewise.
43200
43201 * sysdeps/generic/math_private.h: Revert previous
43202 change.
43203
43204 * sysdeps/generic/math_private.h: Check whether
43205 HAVE_RM_CTX is defined with #ifdef rather
43206 than #if.
43207
43208 * argp/argp-fmtstream.h: Check whether
43209 __STRICT_ANSI__ is defined with #ifdef rather
43210 than #if.
43211 * argp/argp.h: Likewise.
43212
43213 * libio/genops.c: Check whether
43214 _IO_JUMPS_OFFSET is defined with #ifdef rather
43215 than #if.
43216 * libio/libioP.h: Likewise.
43217 * stdio-common/vfprintf.c: Likewise.
43218
43219 * sysdeps/generic/ldsodefs.h: Check whether
43220 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
43221 than #if.
43222
43223 * nptl/sysdeps/pthread/pthread.h: Check
43224 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
43225 its value.
43226
43227 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
43228
43229 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
43230 setting O_APPEND.
43231 * libio/tst-ftell-active-handler.c (do_append_test): Add a
43232 test case.
43233
43234 [BZ #16680]
43235 * libio/fileops.c (_IO_file_open): Seek to end of file but
43236 don't cache the offset.
43237 (get_file_offset): Remove function.
43238 (do_ftell): Use cached offset when available.
43239 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
43240 don't cache the offset.
43241 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
43242 case.
43243 (do_one_test): Call it.
43244 (do_ftell_test): Fix up expected old offset for a+ mode.
43245 * libio/wfileops.c (do_ftell_wide): Used cached offset when
43246 available.
43247
43248 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
43249 up test status with function return status.
43250 (do_write_test): Likewise.
43251 (do_append_test): Likewise.
43252
43253 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
43254 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
43255 Remove.
43256
43257 2014-03-17 Joseph Myers <joseph@codesourcery.com>
43258
43259 * math/gen-libm-test.pl (parse_args): Handle results specified for
43260 each rounding mode separately.
43261 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
43262 tests and results from lrint_tonearest_test_data,
43263 lrint_towardzero_test_data, lrint_downward_test_data and
43264 lrint_upward_test_data.
43265 (lrint_test): Use ALL_RM_TEST.
43266 (lrint_tonearest_test_data): Remove.
43267 (lrint_test_tonearest): Likewise.
43268 (lrint_towardzero_test_data): Likewise.
43269 (lrint_test_towardzero): Likewise.
43270 (lrint_downward_test_data): Likewise.
43271 (lrint_test_downward): Likewise.
43272 (lrint_upward_test_data): Likewise.
43273 (lrint_test_upward): Likewise.
43274 (llrint_test_data): Merge in per-rounding-mode tests and results
43275 from llrint_tonearest_test_data, llrint_towardzero_test_data,
43276 llrint_downward_test_data and llrint_upward_test_data.
43277 (llrint_test): Use ALL_RM_TEST.
43278 (llrint_tonearest_test_data): Remove.
43279 (llrint_test_tonearest): Likewise.
43280 (llrint_towardzero_test_data): Likewise.
43281 (llrint_test_towardzero): Likewise.
43282 (llrint_downward_test_data): Likewise.
43283 (llrint_test_downward): Likewise.
43284 (llrint_upward_test_data): Likewise.
43285 (llrint_test_upward): Likewise.
43286 (rint_test_data): Merge in per-rounding-mode tests and results
43287 from rint_tonearest_test_data, rint_towardzero_test_data,
43288 rint_downward_test_data and rint_upward_test_data. Add
43289 per-rounding-mode results for tests not in those arrays.
43290 (rint_test): Use ALL_RM_TEST.
43291 (rint_tonearest_test_data): Remove.
43292 (rint_test_tonearest): Likewise.
43293 (rint_towardzero_test_data): Likewise.
43294 (rint_test_towardzero): Likewise.
43295 (rint_downward_test_data): Likewise.
43296 (rint_test_downward): Likewise.
43297 (rint_upward_test_data): Likewise.
43298 (rint_test_upward): Likewise.
43299 (main): Don't call removed functions.
43300
43301 2014-03-14 Roland McGrath <roland@hack.frob.com>
43302
43303 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
43304 "Compiled on ..." crapola. It is anti-useful.
43305
43306 2014-03-14 Joseph Myers <joseph@codesourcery.com>
43307
43308 * scripts/evaluate-test.sh: Handle fourth argument to determine
43309 whether test run should stop on failure.
43310 * Makeconfig (stop-on-test-failure): New variable.
43311 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
43312 $(stop-on-test-failure).
43313 * Makefile (tests): Give a summary of results from testing and
43314 exit with failure status if they include an ERROR or FAIL.
43315 (xtests): Likewise.
43316 * manual/install.texi (Configuring and compiling): Mention
43317 stop-on-test-failure=y.
43318 * INSTALL: Regenerated.
43319
43320 2014-03-14 Roland McGrath <roland@hack.frob.com>
43321
43322 * scripts/versionlist.awk: New file.
43323 * Makerules [$(build-shared) = yes]
43324 (postclean-generated): Add Versions.def, not Versions.def.v and
43325 Versions.def.v.i.
43326 ($(common-objpfx)Versions.def.v.i): Target removed.
43327 ($(common-objpfx)Versions.def): New target.
43328 ($(common-objpfx)Versions.all): Depend on that rather that
43329 $(common-objpfx)Versions.def.v.
43330 * Versions.def: File removed.
43331
43332 * Makeconfig (+gccwarn): Add -Wundef.
43333 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
43334 a dl-sysdep.h breaking its contract.
43335 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
43336 * include/stackinfo.h: New file.
43337 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
43338 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
43339 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
43340 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
43341 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
43342 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
43343 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43344 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43345 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43346 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43347 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43348 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
43349 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43350 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43351 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43352
43353 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43354
43355 [BZ #16707]
43356 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
43357 implementation.
43358 * math/libm-test.inc (round_test_data): Add more tests.
43359
43360 [BZ #16706]
43361 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
43362 implementation.
43363 * math/libm-test.inc (nearbyint_test_data): Add more tests.
43364
43365 [BZ #16701]
43366 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
43367 implementation.
43368 * math/libm-test.inc (ceil_test_data): Add more tests.
43369
43370 * math/libm-test.inc (trunc_test_data): Add more tests related to
43371 BZ#16414.
43372
43373 2014-03-14 Roland McGrath <roland@hack.frob.com>
43374
43375 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
43376 with #if rather than #ifdef.
43377 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
43378
43379 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
43380
43381 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
43382 first. Disable AVX-512 GCC support if assembler doesn't support
43383 it.
43384 * sysdeps/x86_64/configure: Regenerated.
43385
43386 2014-03-13 Carlos O'Donell <carlos@redhat.com>
43387
43388 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
43389 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
43390 (__old_pthread_attr_setstack): Likewise.
43391 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
43392 [!_STACK_GROWS_DOWN]: Likewise.
43393
43394 2014-03-13 Mike Frysinger <vapier@gentoo.org>
43395
43396 * config.make.in (have-bash2): Delete.
43397 * configure.ac (libc_cv_have_bash2): Delete.
43398 * configure: Regenerate.
43399 * elf/Makefile (common-ldd-rewrite): Rename to ...
43400 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
43401 (sh-ldd-rewrite): Delete.
43402 (bash-ldd-rewrite): Delete.
43403 (have-bash2): Delete checks.
43404 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
43405 ldd-rewrite.
43406
43407 * config.make.in (have-ksh): Delete.
43408 (KSH): Delete.
43409 * configure.ac (libc_cv_have_ksh): Delete.
43410 * configure: Regenerate.
43411
43412 * elf/Makefile: Delete $(have-ksh) check.
43413 ($(objpfx)sotruss): Change KSH to BASH.
43414 * elf/sotruss.ksh: Rename to ...
43415 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
43416 function style to match POSIX. Drop ksh vim mode setting.
43417
43418 * manual/time.texi (Specifying the Time Zone with TZ): Change
43419 Tuesday to Thursday.
43420
43421 * debug/tst-longjmp_chk2.c: Update header comment.
43422 (stackoverflow_handler): Add comment. Call assert on pass value.
43423
43424 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
43425
43426 [BZ #16194]
43427 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
43428 (HAVE_AVX512_ASM_SUPPORT): Likewise.
43429 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
43430 (La_x86_64_vector): Add zmm.
43431 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
43432 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
43433 ($(objpfx)tst-audit10): New target.
43434 ($(objpfx)tst-audit10.out): Likewise.
43435 (tst-audit10-ENV): New.
43436 (AVX512-CFLAGS): Likewise.
43437 (CFLAGS-tst-audit10.c): Likewise.
43438 (CFLAGS-tst-auditmod10a.c): Likewise.
43439 (CFLAGS-tst-auditmod10b.c): Likewise.
43440 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
43441 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
43442 * sysdeps/x86_64/configure: Regenerated.
43443 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
43444 AVX-512 zmm register support.
43445 (_dl_x86_64_save_sse): Likewise.
43446 (_dl_x86_64_restore_sse): Likewise.
43447 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
43448 size vector registers.
43449 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
43450 (ZMM_SIZE): Likewise.
43451 * sysdeps/x86_64/tst-audit10.c: New file.
43452 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
43453 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
43454
43455 2014-03-13 Roland McGrath <roland@hack.frob.com>
43456
43457 * configure.ac (HAVE_EHDR_START): New check.
43458 * configure: Regenerated.
43459 * config.h.in (HAVE_EHDR_START): New #undef.
43460 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
43461 assuming the lowest-addressed segment maps the start of the file.
43462
43463 2014-03-13 Joseph Myers <joseph@codesourcery.com>
43464
43465 * INSTALL: Regenerated.
43466
43467 2014-03-13 Will Newton <will.newton@linaro.org>
43468
43469 * manual/setjmp.texi (System V contexts): Improve
43470 clarity and grammar of documentation.
43471
43472 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
43473
43474 [BZ #16381]
43475 * elf/Makefile (tests): Add tst-pie2.
43476 (tests-pie): Add tst-pie2.
43477 * elf/tst-pie2.c: New file.
43478 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
43479 for ET_EXEC.
43480 * elf/rtld.c (map_doit): Load executable as lt_executable.
43481 (dl_main): Likewise.
43482
43483 2014-03-12 Joseph Myers <joseph@codesourcery.com>
43484
43485 [BZ #16642]
43486 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43487 (__ASSUME_PSELECT): Undefine.
43488
43489 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43490
43491 [BZ #16689]
43492 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
43493 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
43494 static build.
43495 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
43496 selector for static builds.
43497
43498 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
43499
43500 [BZ #16695]
43501 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
43502 key in the buffer.
43503
43504 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43505
43506 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
43507 IFUNC selector for static builds.
43508
43509 2014-03-11 Joseph Myers <joseph@codesourcery.com>
43510
43511 * sysdeps/mips/math_private.h [__mips_hard_float]
43512 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
43513 libc_feresetround_mips_ctx.
43514 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
43515 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
43516 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
43517
43518 [BZ #16677]
43519 * math/s_nextafter.c (__nextafter): Do not return value from
43520 overflowing computation.
43521 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
43522 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
43523 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
43524 Likewise.
43525 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
43526 Likewise.
43527 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
43528 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
43529
43530 2014-03-11 Roland McGrath <roland@hack.frob.com>
43531
43532 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
43533 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
43534 Move sfi_sp use from the load-multiple (that no longer sets sp) to
43535 the new mov targetting sp.
43536
43537 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43538
43539 [BZ #16683]
43540 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
43541 Define it for static builds as well.
43542 (NO_BZERO_IMPL): Likewise.
43543
43544 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
43545
43546 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
43547 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
43548 multiarch strspn for PPC64.
43549 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
43550 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
43551 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43552 (__libc_ifunc_impl_list): Likewise.
43553 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
43554 multiarch optimizations
43555 * string/strspn.c (strspn): Using macro to redefine symbol name.
43556
43557 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
43558 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43559
43560 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
43561 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
43562 multiarch strncat for PPC64.
43563 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
43564 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
43565 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43566 (__libc_ifunc_impl_list): Likewise.
43567 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
43568 multiarch optimizations
43569
43570 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43571
43572 [BZ #16639]
43573 * nscd/nscd.service: Make service type forking.
43574
43575 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43576
43577 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
43578 sign in non default rounding modes.
43579 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
43580
43581 2014-03-08 Joseph Myers <joseph@codesourcery.com>
43582
43583 * math/libm-test.inc (ALL_RM_TEST): New macro.
43584 (ceil_test): Use ALL_RM_TEST.
43585 (cimag_test): Likewise.
43586 (conj_test): Likewise.
43587 (copysign_test): Likewise.
43588 (cproj_test): Likewise.
43589 (creal_test): Likewise.
43590 (fabs_test): Likewise.
43591 (floor_test): Likewise.
43592 (fmax_test): Likewise.
43593 (fmin_test): Likewise.
43594 (fmod_test): Likewise.
43595 (fpclassify_test): Likewise.
43596 (frexp_test): Likewise.
43597 (ilogb_test): Likewise.
43598 (isfinite_test): Likewise.
43599 (finite_test): Likewise.
43600 (isgreater_test): Likewise.
43601 (isgreaterequal_test): Likewise.
43602 (isinf_test): Likewise.
43603 (isless_test): Likewise.
43604 (islessequal_test): Likewise.
43605 (islessgreater_test): Likewise.
43606 (isnan_test): Likewise.
43607 (isnormal_test): Likewise.
43608 (issignaling_test): Likewise.
43609 (isunordered_test): Likewise.
43610 (logb_test): Likewise.
43611 (logb_downward_test_data): Remove.
43612 (logb_test_downward): Likewise.
43613 (lround_test): Use ALL_RM_TEST.
43614 (llround_test): Likewise.
43615 (modf_test): Likewise.
43616 (nexttoward_test): Likewise.
43617 (remainder_test): Likewise.
43618 (drem_test): Likewise.
43619 (remainder_tonearest_test_data): Likewise.
43620 (remainder_test_tonearest): Likewise.
43621 (drem_test_tonearest): Likewise.
43622 (remainder_towardzero_test_data): Likewise.
43623 (remainder_test_towardzero): Likewise.
43624 (drem_test_towardzero): Likewise.
43625 (remainder_downward_test_data): Likewise.
43626 (remainder_test_downward): Likewise.
43627 (drem_test_downward): Likewise.
43628 (remainder_upward_test_data): Likewise.
43629 (remainder_test_upward): Likewise.
43630 (drem_test_upward): Likewise.
43631 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
43632 (round_test): Use ALL_RM_TEST.
43633 (signbit_test): Likewise.
43634 (trunc_test): Likewise.
43635 (significand_test): Likewise.
43636 (main): Don't call removed functions.
43637
43638 2014-03-07 Joseph Myers <joseph@codesourcery.com>
43639
43640 [BZ #16674]
43641 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
43642 || __USE_XOPEN2K8].
43643 (ILL_ILLOPN): Likewise.
43644 (ILL_ILLADR): Likewise.
43645 (ILL_ILLTRP): Likewise.
43646 (ILL_PRVOPC): Likewise.
43647 (ILL_PRVREG): Likewise.
43648 (ILL_COPROC): Likewise.
43649 (ILL_BADSTK): Likewise.
43650 (FPE_INTDIV): Likewise.
43651 (FPE_INTOVF): Likewise.
43652 (FPE_FLTDIV): Likewise.
43653 (FPE_FLTOVF): Likewise.
43654 (FPE_FLTUND): Likewise.
43655 (FPE_FLTRES): Likewise.
43656 (FPE_FLTINV): Likewise.
43657 (FPE_FLTSUB): Likewise.
43658 (SEGV_MAPERR): Likewise.
43659 (SEGV_ACCERR): Likewise.
43660 (BUS_ADRALN): Likewise.
43661 (BUS_ADRERR): Likewise.
43662 (BUS_OBJERR): Likewise.
43663 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43664 (TRAP_TRACE): Likewise.
43665 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43666 __USE_XOPEN2K8].
43667 (CLD_KILLED): Likewise.
43668 (CLD_DUMPED): Likewise.
43669 (CLD_TRAPPED): Likewise.
43670 (CLD_STOPPED): Likewise.
43671 (CLD_CONTINUED): Likewise.
43672 (POLL_IN): Likewise.
43673 (POLL_OUT): Likewise.
43674 (POLL_MSG): Likewise.
43675 (POLL_ERR): Likewise.
43676 (POLL_PRI): Likewise.
43677 (POLL_HUP): Likewise.
43678 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
43679 Likewise.
43680 (ILL_ILLOPN): Likewise.
43681 (ILL_ILLADR): Likewise.
43682 (ILL_ILLTRP): Likewise.
43683 (ILL_PRVOPC): Likewise.
43684 (ILL_PRVREG): Likewise.
43685 (ILL_COPROC): Likewise.
43686 (ILL_BADSTK): Likewise.
43687 (FPE_INTDIV): Likewise.
43688 (FPE_INTOVF): Likewise.
43689 (FPE_FLTDIV): Likewise.
43690 (FPE_FLTOVF): Likewise.
43691 (FPE_FLTUND): Likewise.
43692 (FPE_FLTRES): Likewise.
43693 (FPE_FLTINV): Likewise.
43694 (FPE_FLTSUB): Likewise.
43695 (SEGV_MAPERR): Likewise.
43696 (SEGV_ACCERR): Likewise.
43697 (BUS_ADRALN): Likewise.
43698 (BUS_ADRERR): Likewise.
43699 (BUS_OBJERR): Likewise.
43700 (BUS_MCEERR_AR): Likewise.
43701 (BUS_MCEERR_AO): Likewise.
43702 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43703 (TRAP_TRACE): Likewise.
43704 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43705 __USE_XOPEN2K8].
43706 (CLD_KILLED): Likewise.
43707 (CLD_DUMPED): Likewise.
43708 (CLD_TRAPPED): Likewise.
43709 (CLD_STOPPED): Likewise.
43710 (CLD_CONTINUED): Likewise.
43711 (POLL_IN): Likewise.
43712 (POLL_OUT): Likewise.
43713 (POLL_MSG): Likewise.
43714 (POLL_ERR): Likewise.
43715 (POLL_PRI): Likewise.
43716 (POLL_HUP): Likewise.
43717 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
43718 (ILL_ILLOPN): Likewise.
43719 (ILL_ILLADR): Likewise.
43720 (ILL_ILLTRP): Likewise.
43721 (ILL_PRVOPC): Likewise.
43722 (ILL_PRVREG): Likewise.
43723 (ILL_COPROC): Likewise.
43724 (ILL_BADSTK): Likewise.
43725 (FPE_INTDIV): Likewise.
43726 (FPE_INTOVF): Likewise.
43727 (FPE_FLTDIV): Likewise.
43728 (FPE_FLTOVF): Likewise.
43729 (FPE_FLTUND): Likewise.
43730 (FPE_FLTRES): Likewise.
43731 (FPE_FLTINV): Likewise.
43732 (FPE_FLTSUB): Likewise.
43733 (SEGV_MAPERR): Likewise.
43734 (SEGV_ACCERR): Likewise.
43735 (BUS_ADRALN): Likewise.
43736 (BUS_ADRERR): Likewise.
43737 (BUS_OBJERR): Likewise.
43738 (BUS_MCEERR_AR): Likewise.
43739 (BUS_MCEERR_AO): Likewise.
43740 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43741 (TRAP_TRACE): Likewise.
43742 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43743 __USE_XOPEN2K8].
43744 (CLD_KILLED): Likewise.
43745 (CLD_DUMPED): Likewise.
43746 (CLD_TRAPPED): Likewise.
43747 (CLD_STOPPED): Likewise.
43748 (CLD_CONTINUED): Likewise.
43749 (POLL_IN): Likewise.
43750 (POLL_OUT): Likewise.
43751 (POLL_MSG): Likewise.
43752 (POLL_ERR): Likewise.
43753 (POLL_PRI): Likewise.
43754 (POLL_HUP): Likewise.
43755 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
43756 Likewise.
43757 (ILL_ILLOPN): Likewise.
43758 (ILL_ILLADR): Likewise.
43759 (ILL_ILLTRP): Likewise.
43760 (ILL_PRVOPC): Likewise.
43761 (ILL_PRVREG): Likewise.
43762 (ILL_COPROC): Likewise.
43763 (ILL_BADSTK): Likewise.
43764 (ILL_BADIADDR): Likewise.
43765 (ILL_BREAK): Likewise.
43766 (FPE_INTDIV): Likewise.
43767 (FPE_INTOVF): Likewise.
43768 (FPE_FLTDIV): Likewise.
43769 (FPE_FLTOVF): Likewise.
43770 (FPE_FLTUND): Likewise.
43771 (FPE_FLTRES): Likewise.
43772 (FPE_FLTINV): Likewise.
43773 (FPE_FLTSUB): Likewise.
43774 (FPE_DECOVF): Likewise.
43775 (FPE_DECDIV): Likewise.
43776 (FPE_DECERR): Likewise.
43777 (FPE_INVASC): Likewise.
43778 (FPE_INVDEC): Likewise.
43779 (SEGV_MAPERR): Likewise.
43780 (SEGV_ACCERR): Likewise.
43781 (SEGV_PSTKOVF): Likewise.
43782 (BUS_ADRALN): Likewise.
43783 (BUS_ADRERR): Likewise.
43784 (BUS_OBJERR): Likewise.
43785 (BUS_MCEERR_AR): Likewise.
43786 (BUS_MCEERR_AO): Likewise.
43787 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43788 (TRAP_TRACE): Likewise.
43789 (TRAP_BRANCH): Likewise.
43790 (TRAP_HWBKPT): Likewise.
43791 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43792 __USE_XOPEN2K8].
43793 (CLD_KILLED): Likewise.
43794 (CLD_DUMPED): Likewise.
43795 (CLD_TRAPPED): Likewise.
43796 (CLD_STOPPED): Likewise.
43797 (CLD_CONTINUED): Likewise.
43798 (POLL_IN): Likewise.
43799 (POLL_OUT): Likewise.
43800 (POLL_MSG): Likewise.
43801 (POLL_ERR): Likewise.
43802 (POLL_PRI): Likewise.
43803 (POLL_HUP): Likewise.
43804 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
43805 (ILL_ILLOPN): Likewise.
43806 (ILL_ILLADR): Likewise.
43807 (ILL_ILLTRP): Likewise.
43808 (ILL_PRVOPC): Likewise.
43809 (ILL_PRVREG): Likewise.
43810 (ILL_COPROC): Likewise.
43811 (ILL_BADSTK): Likewise.
43812 (FPE_INTDIV): Likewise.
43813 (FPE_INTOVF): Likewise.
43814 (FPE_FLTDIV): Likewise.
43815 (FPE_FLTOVF): Likewise.
43816 (FPE_FLTUND): Likewise.
43817 (FPE_FLTRES): Likewise.
43818 (FPE_FLTINV): Likewise.
43819 (FPE_FLTSUB): Likewise.
43820 (SEGV_MAPERR): Likewise.
43821 (SEGV_ACCERR): Likewise.
43822 (BUS_ADRALN): Likewise.
43823 (BUS_ADRERR): Likewise.
43824 (BUS_OBJERR): Likewise.
43825 (BUS_MCEERR_AR): Likewise.
43826 (BUS_MCEERR_AO): Likewise.
43827 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43828 (TRAP_TRACE): Likewise.
43829 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43830 __USE_XOPEN2K8].
43831 (CLD_KILLED): Likewise.
43832 (CLD_DUMPED): Likewise.
43833 (CLD_TRAPPED): Likewise.
43834 (CLD_STOPPED): Likewise.
43835 (CLD_CONTINUED): Likewise.
43836 (POLL_IN): Likewise.
43837 (POLL_OUT): Likewise.
43838 (POLL_MSG): Likewise.
43839 (POLL_ERR): Likewise.
43840 (POLL_PRI): Likewise.
43841 (POLL_HUP): Likewise.
43842 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
43843 (ILL_ILLOPN): Likewise.
43844 (ILL_ILLADR): Likewise.
43845 (ILL_ILLTRP): Likewise.
43846 (ILL_PRVOPC): Likewise.
43847 (ILL_PRVREG): Likewise.
43848 (ILL_COPROC): Likewise.
43849 (ILL_BADSTK): Likewise.
43850 (FPE_INTDIV): Likewise.
43851 (FPE_INTOVF): Likewise.
43852 (FPE_FLTDIV): Likewise.
43853 (FPE_FLTOVF): Likewise.
43854 (FPE_FLTUND): Likewise.
43855 (FPE_FLTRES): Likewise.
43856 (FPE_FLTINV): Likewise.
43857 (FPE_FLTSUB): Likewise.
43858 (SEGV_MAPERR): Likewise.
43859 (SEGV_ACCERR): Likewise.
43860 (BUS_ADRALN): Likewise.
43861 (BUS_ADRERR): Likewise.
43862 (BUS_OBJERR): Likewise.
43863 (BUS_MCEERR_AR): Likewise.
43864 (BUS_MCEERR_AO): Likewise.
43865 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43866 (TRAP_TRACE): Likewise.
43867 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43868 __USE_XOPEN2K8].
43869 (CLD_KILLED): Likewise.
43870 (CLD_DUMPED): Likewise.
43871 (CLD_TRAPPED): Likewise.
43872 (CLD_STOPPED): Likewise.
43873 (CLD_CONTINUED): Likewise.
43874 (POLL_IN): Likewise.
43875 (POLL_OUT): Likewise.
43876 (POLL_MSG): Likewise.
43877 (POLL_ERR): Likewise.
43878 (POLL_PRI): Likewise.
43879 (POLL_HUP): Likewise.
43880 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
43881 (ILL_ILLOPN): Likewise.
43882 (ILL_ILLADR): Likewise.
43883 (ILL_ILLTRP): Likewise.
43884 (ILL_PRVOPC): Likewise.
43885 (ILL_PRVREG): Likewise.
43886 (ILL_COPROC): Likewise.
43887 (ILL_BADSTK): Likewise.
43888 (FPE_INTDIV): Likewise.
43889 (FPE_INTOVF): Likewise.
43890 (FPE_FLTDIV): Likewise.
43891 (FPE_FLTOVF): Likewise.
43892 (FPE_FLTUND): Likewise.
43893 (FPE_FLTRES): Likewise.
43894 (FPE_FLTINV): Likewise.
43895 (FPE_FLTSUB): Likewise.
43896 (SEGV_MAPERR): Likewise.
43897 (SEGV_ACCERR): Likewise.
43898 (BUS_ADRALN): Likewise.
43899 (BUS_ADRERR): Likewise.
43900 (BUS_OBJERR): Likewise.
43901 (BUS_MCEERR_AR): Likewise.
43902 (BUS_MCEERR_AO): Likewise.
43903 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43904 (TRAP_TRACE): Likewise.
43905 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43906 __USE_XOPEN2K8].
43907 (CLD_KILLED): Likewise.
43908 (CLD_DUMPED): Likewise.
43909 (CLD_TRAPPED): Likewise.
43910 (CLD_STOPPED): Likewise.
43911 (CLD_CONTINUED): Likewise.
43912 (POLL_IN): Likewise.
43913 (POLL_OUT): Likewise.
43914 (POLL_MSG): Likewise.
43915 (POLL_ERR): Likewise.
43916 (POLL_PRI): Likewise.
43917 (POLL_HUP): Likewise.
43918 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
43919 (ILL_ILLOPN): Likewise.
43920 (ILL_ILLADR): Likewise.
43921 (ILL_ILLTRP): Likewise.
43922 (ILL_PRVOPC): Likewise.
43923 (ILL_PRVREG): Likewise.
43924 (ILL_COPROC): Likewise.
43925 (ILL_BADSTK): Likewise.
43926 (ILL_DBLFLT): Likewise.
43927 (ILL_HARDWALL): Likewise.
43928 (FPE_INTDIV): Likewise.
43929 (FPE_INTOVF): Likewise.
43930 (FPE_FLTDIV): Likewise.
43931 (FPE_FLTOVF): Likewise.
43932 (FPE_FLTUND): Likewise.
43933 (FPE_FLTRES): Likewise.
43934 (FPE_FLTINV): Likewise.
43935 (FPE_FLTSUB): Likewise.
43936 (SEGV_MAPERR): Likewise.
43937 (SEGV_ACCERR): Likewise.
43938 (BUS_ADRALN): Likewise.
43939 (BUS_ADRERR): Likewise.
43940 (BUS_OBJERR): Likewise.
43941 (BUS_MCEERR_AR): Likewise.
43942 (BUS_MCEERR_AO): Likewise.
43943 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43944 (TRAP_TRACE): Likewise.
43945 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43946 __USE_XOPEN2K8].
43947 (CLD_KILLED): Likewise.
43948 (CLD_DUMPED): Likewise.
43949 (CLD_TRAPPED): Likewise.
43950 (CLD_STOPPED): Likewise.
43951 (CLD_CONTINUED): Likewise.
43952 (POLL_IN): Likewise.
43953 (POLL_OUT): Likewise.
43954 (POLL_MSG): Likewise.
43955 (POLL_ERR): Likewise.
43956 (POLL_PRI): Likewise.
43957 (POLL_HUP): Likewise.
43958 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
43959 (ILL_ILLOPN): Likewise.
43960 (ILL_ILLADR): Likewise.
43961 (ILL_ILLTRP): Likewise.
43962 (ILL_PRVOPC): Likewise.
43963 (ILL_PRVREG): Likewise.
43964 (ILL_COPROC): Likewise.
43965 (ILL_BADSTK): Likewise.
43966 (FPE_INTDIV): Likewise.
43967 (FPE_INTOVF): Likewise.
43968 (FPE_FLTDIV): Likewise.
43969 (FPE_FLTOVF): Likewise.
43970 (FPE_FLTUND): Likewise.
43971 (FPE_FLTRES): Likewise.
43972 (FPE_FLTINV): Likewise.
43973 (FPE_FLTSUB): Likewise.
43974 (SEGV_MAPERR): Likewise.
43975 (SEGV_ACCERR): Likewise.
43976 (BUS_ADRALN): Likewise.
43977 (BUS_ADRERR): Likewise.
43978 (BUS_OBJERR): Likewise.
43979 (BUS_MCEERR_AR): Likewise.
43980 (BUS_MCEERR_AO): Likewise.
43981 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43982 (TRAP_TRACE): Likewise.
43983 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43984 __USE_XOPEN2K8].
43985 (CLD_KILLED): Likewise.
43986 (CLD_DUMPED): Likewise.
43987 (CLD_TRAPPED): Likewise.
43988 (CLD_STOPPED): Likewise.
43989 (CLD_CONTINUED): Likewise.
43990 (POLL_IN): Likewise.
43991 (POLL_OUT): Likewise.
43992 (POLL_MSG): Likewise.
43993 (POLL_ERR): Likewise.
43994 (POLL_PRI): Likewise.
43995 (POLL_HUP): Likewise.
43996 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
43997 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
43998
43999 [BZ #16670]
44000 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
44001 before #include of <time.h>.
44002 [!__USE_XOPEN2K] (__need_timespec): Likewise.
44003 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
44004 (test-xfail-UNIX98/sched.h/conform): Likewise.
44005
44006 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
44007
44008 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
44009 error absence of trapping exception support.
44010 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44011
44012 2014-03-07 Joseph Myers <joseph@codesourcery.com>
44013
44014 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
44015 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
44016 * timezone/Makefile (testdata): Move definition above include of
44017 Rules.
44018 (test-zones): New variable.
44019 (tests-special): Add zone files.
44020 (build-testdata): Use $(evaluate-test).
44021
44022 * elf/Makefile (tests-special): Rename tests to end with .out.
44023 ($(objpfx)noload-mem): Likewise.
44024 ($(objpfx)tst-leaks1-mem): Likewise.
44025 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
44026 * iconv/Makefile (xtests-special): Change test-iconvconfig to
44027 $(objpfx)test-iconvconfig.out.
44028 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
44029 set -e inside subshell and redirect output to file.
44030 * iconvdata/Makefile (generated): Rename tests to end with .out.
44031 Correct type.
44032 (tests-special): Rename tests to end with .out.
44033 ($(objpfx)mtrace-tst-loading): Likewise.
44034 * intl/Makefile (generated): Likewise.
44035 (tests-special): Likewise.
44036 ($(objpfx)mtrace-tst-gettext): Likewise.
44037 * misc/Makefile (generated): Likewise.
44038 (tests-special): Likewise.
44039 ($(objpfx)tst-error1-mem): Likewise.
44040 * nptl/Makefile (tests-special): Likewise.
44041 ($(objpfx)tst-stack3-mem): Likewise.
44042 (generated): Likewise.
44043 * posix/Makefile (generated): Likewise.
44044 (tests-special): Likewise.
44045 (xtests-special): Likewise.
44046 ($(objpfx)tst-fnmatch-mem): Likewise.
44047 ($(objpfx)bug-regex2-mem): Likewise.
44048 ($(objpfx)bug-regex14-mem): Likewise.
44049 ($(objpfx)bug-regex21-mem): Likewise.
44050 ($(objpfx)bug-regex31-mem): Likewise.
44051 ($(objpfx)tst-vfork3-mem): Likewise.
44052 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
44053 ($(objpfx)tst-pcre-mem): Likewise.
44054 ($(objpfx)tst-boost-mem): Likewise.
44055 ($(objpfx)bug-ga2-mem): Likewise.
44056 ($(objpfx)bug-glob2-mem): Likewise.
44057 * resolv/Makefile (generate): Likewise.
44058 (tests-special): Likewise.
44059 (xtests-special): Likewise.
44060 (generated): Likewise.
44061 ($(objpfx)mtrace-tst-leaks): Likewise.
44062 ($(objpfx)mtrace-tst-leaks2): Likewise.
44063
44064 * scripts/merge-test-results.sh: New file.
44065 * Makefile (tests-special-notdir): New variable.
44066 (tests): Run merge-test-results.sh.
44067 (xtests): Likewise.
44068 * Rules (tests-special-notdir): New variable.
44069 (xtests-special-notdir): Likewise.
44070 (tests): Run merge-test-results.sh
44071 (xtests): Likewise.
44072
44073 * Makeconfig (test-xfail-name): New variable.
44074 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
44075 compute variable name for expected failures.
44076 * conform/Makefile (conformtest-headers-data): New variable.
44077 (conformtest-standards): Likewise.
44078 (conformtest-headers-ISO): Likewise.
44079 (conformtest-headers-ISO99): Likewise.
44080 (conformtest-headers-ISO11): Likewise.
44081 (conformtest-headers-POSIX): Likewise.
44082 (conformtest-headers-XPG3): Likewise.
44083 (conformtest-headers-XPG4): Likewise.
44084 (conformtest-headers-UNIX98): Likewise.
44085 (conformtest-headers-XOPEN2K): Likewise.
44086 (conformtest-headers-POSIX2008): Likewise.
44087 (conformtest-headers-XOPEN2K8): Likewise.
44088 (conformtest-header-list-base): Likewise.
44089 (conformtest-header-list-tests): Likewise.
44090 (conformtest-header-base): Likewise.
44091 (conformtest-header-tests): Likewise.
44092 (tests-special): Add $(conformtest-header-list-tests). If
44093 [$(fast-check) && !$(cross-compiling)], add
44094 $(conformtest-header-tests) instead of
44095 $(objpfx)run-conformtest.out.
44096 (generated): Add $(conformtest-header-list-base). If
44097 [$(fast-check) && !$(cross-compiling)], add
44098 $(conformtest-header-base). Remove previous setting.
44099 ($(conformtest-header-list-tests)): New target.
44100 (test-xfail-run-conformtest): Remove variable.
44101 ($(objpfx)run-conformtest.out): Remove target.
44102 (test-xfail-ISO11/complex.h/conform): New variable.
44103 (test-xfail-ISO11/stdalign.h/conform): Likewise.
44104 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
44105 (test-xfail-XPG3/varargs.h/conform): Likewise.
44106 (test-xfail-XPG4/varargs.h/conform): Likewise.
44107 (test-xfail-UNIX98/varargs.h/conform): Likewise.
44108 (test-xfail-XPG4/ndbm.h/conform): Likewise.
44109 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
44110 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
44111 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
44112 (test-xfail-XPG3/fcntl.h/conform): Likewise.
44113 (test-xfail-XPG3/ftw.h/conform): Likewise.
44114 (test-xfail-XPG3/grp.h/conform): Likewise.
44115 (test-xfail-XPG3/langinfo.h/conform): Likewise.
44116 (test-xfail-XPG3/limits.h/conform): Likewise.
44117 (test-xfail-XPG3/pwd.h/conform): Likewise.
44118 (test-xfail-XPG3/search.h/conform): Likewise.
44119 (test-xfail-XPG3/signal.h/conform): Likewise.
44120 (test-xfail-XPG3/stdio.h/conform): Likewise.
44121 (test-xfail-XPG3/stdlib.h/conform): Likewise.
44122 (test-xfail-XPG3/string.h/conform): Likewise.
44123 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
44124 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
44125 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
44126 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
44127 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
44128 (test-xfail-XPG3/sys/types.h/conform): Likewise.
44129 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
44130 (test-xfail-XPG3/termios.h/conform): Likewise.
44131 (test-xfail-XPG3/time.h/conform): Likewise.
44132 (test-xfail-XPG3/unistd.h/conform): Likewise.
44133 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
44134 (test-xfail-XPG4/fcntl.h/conform): Likewise.
44135 (test-xfail-XPG4/langinfo.h/conform): Likewise.
44136 (test-xfail-XPG4/netdb.h/conform): Likewise.
44137 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
44138 (test-xfail-XPG4/signal.h/conform): Likewise.
44139 (test-xfail-XPG4/stdio.h/conform): Likewise.
44140 (test-xfail-XPG4/stdlib.h/conform): Likewise.
44141 (test-xfail-XPG4/stropts.h/conform): Likewise.
44142 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
44143 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
44144 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
44145 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
44146 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
44147 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
44148 (test-xfail-XPG4/sys/time.h/conform): Likewise.
44149 (test-xfail-XPG4/sys/types.h/conform): Likewise.
44150 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
44151 (test-xfail-XPG4/termios.h/conform): Likewise.
44152 (test-xfail-XPG4/ucontext.h/conform): Likewise.
44153 (test-xfail-XPG4/unistd.h/conform): Likewise.
44154 (test-xfail-XPG4/utmpx.h/conform): Likewise.
44155 (test-xfail-POSIX/sched.h/conform): Likewise.
44156 (test-xfail-POSIX/signal.h/conform): Likewise.
44157 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44158 (test-xfail-POSIX/tar.h/conform): Likewise.
44159 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
44160 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
44161 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
44162 (test-xfail-UNIX98/netdb.h/conform): Likewise.
44163 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
44164 (test-xfail-UNIX98/sched.h/conform): Likewise.
44165 (test-xfail-UNIX98/signal.h/conform): Likewise.
44166 (test-xfail-UNIX98/stdio.h/conform): Likewise.
44167 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
44168 (test-xfail-UNIX98/stropts.h/conform): Likewise.
44169 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
44170 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
44171 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
44172 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
44173 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
44174 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
44175 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
44176 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
44177 (test-xfail-UNIX98/unistd.h/conform): Likewise.
44178 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
44179 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
44180 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
44181 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
44182 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
44183 (test-xfail-XOPEN2K/math.h/conform): Likewise.
44184 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
44185 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
44186 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
44187 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
44188 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
44189 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
44190 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
44191 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
44192 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
44193 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
44194 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
44195 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
44196 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
44197 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
44198 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
44199 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
44200 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
44201 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
44202 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
44203 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
44204 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
44205 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
44206 (test-xfail-POSIX2008/signal.h/conform): Likewise.
44207 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
44208 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
44209 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
44210 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
44211 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
44212 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
44213 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
44214 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
44215 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
44216 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
44217 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
44218 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
44219 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
44220 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
44221 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
44222 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
44223 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
44224 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
44225 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
44226 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
44227 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
44228 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
44229 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
44230 (conformtest-cc-flags): Likewise.
44231 ($(conformtest-header-tests): New target.
44232 * conform/check-header-lists.sh: New file.
44233 * conform/run-conformtest.sh: Remove.
44234
44235 * conform/conformtest.pl: Allow ' and \ in values given for
44236 constants.
44237 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
44238 inclusion.
44239 [POSIX] (sys/types.h): Likewise.
44240 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
44241 inclusion.
44242 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
44243 inclusion.
44244 * conform/data/signal.h-data (SIGIO): Remove expectation.
44245 [XPG3] (SIGBUS): Do not expect.
44246 [POSIX || XPG3] (SIGPOLL): Likewise.
44247 [POSIX || XPG3] (SIGPROF): Likewise.
44248 [POSIX || XPG3] (SIGSYS): Likewise.
44249 [XPG3] (SIGTRAP): Likewise.
44250 [POSIX || XPG3] (SIGURG): Likewise.
44251 [POSIX || XPG3] (SIGVTALRM): Likewise.
44252 [POSIX || XPG3] (SIGXCPU): Likewise.
44253 [POSIX || XPG3] (SIGXFSZ): Likewise.
44254 [POSIX] (SA_SIGINFO): Expect.
44255 [XPG3] (siginfo_t): Do not expect type or contents.
44256 [POSIX] (si_pid): Do not expect element.
44257 [POSIX] (si_uid): Likewise.
44258 [POSIX] (si_addr): Likewise.
44259 [POSIX] (si_status): Likewise.
44260 [POSIX] (si_band): Likewise.
44261 [XPG4] (si_value): Likewise.
44262 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
44263 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
44264 [POSIX || XPG3] (ILL_ILLADR): Likewise.
44265 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
44266 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
44267 [POSIX || XPG3] (ILL_PRVREG): Likewise.
44268 [POSIX || XPG3] (ILL_COPROC): Likewise.
44269 [POSIX || XPG3] (ILL_BADSTK): Likewise.
44270 [POSIX || XPG3] (FPE_INTDIV): Likewise.
44271 [POSIX || XPG3] (FPE_INTOVF): Likewise.
44272 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
44273 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
44274 [POSIX || XPG3] (FPE_FLTUND): Likewise.
44275 [POSIX || XPG3] (FPE_FLTRES): Likewise.
44276 [POSIX || XPG3] (FPE_FLTINV): Likewise.
44277 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
44278 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
44279 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
44280 [POSIX || XPG3] (BUS_ADRALN): Likewise.
44281 [POSIX || XPG3] (BUS_ADRERR): Likewise.
44282 [POSIX || XPG3] (BUS_OBJERR): Likewise.
44283 [POSIX || XPG3] (CLD_EXITED): Likewise.
44284 [POSIX || XPG3] (CLD_KILLED): Likewise.
44285 [POSIX || XPG3] (CLD_DUMPED): Likewise.
44286 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
44287 [POSIX || XPG3] (CLD_STOPPED): Likewise.
44288 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
44289 [POSIX || XPG3] (POLL_IN): Likewise.
44290 [POSIX || XPG3] (POLL_OUT): Likewise.
44291 [POSIX || XPG3] (POLL_MSG): Likewise.
44292 [POSIX || XPG3] (POLL_ERR): Likewise.
44293 [POSIX || XPG3] (POLL_PRI): Likewise.
44294 [POSIX || XPG3] (POLL_HUP): Likewise.
44295 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
44296 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
44297 (SIG*): Do not allow.
44298 [XPG3] (si_*): Likewise.
44299 [XPG3] (SI_*): Likewise.
44300 [XPG3 || XPG4] (sigev_*): Likewise.
44301 [XPG3 || XPG4] (SIGEV_*): Likewise.
44302 [XPG3 || XPG4] (sival_*): Likewise.
44303 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
44304 [POSIX || XPG3] (BUS_*): Likewise.
44305 [POSIX || XPG3] (CLD_*): Likewise.
44306 [POSIX || XPG3] (FPE_*): Likewise.
44307 [POSIX || XPG3] (ILL_*): Likewise.
44308 [POSIX || XPG3] (POLL_*): Likewise.
44309 [POSIX || XPG3] (SEGV_*): Likewise.
44310 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
44311 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
44312 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
44313 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
44314 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
44315 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
44316 Specify type and value.
44317 (TVERSLEN): Likewise.
44318 (REGTYPE): Likewise.
44319 (AREGTYPE): Likewise.
44320 (LNKTYPE): Likewise.
44321 (SYMTYPE): Likewise.
44322 (CHRTYPE): Likewise.
44323 (BLKTYPE): Likewise.
44324 (DIRTYPE): Likewise.
44325 (FIFOTYPE): Likewise.
44326 (CONTTYPE): Likewise.
44327 (TSUID): Likewise.
44328 (TSGID): Likewise.
44329 (TSVTX): Likewise.
44330 (TUREAD): Likewise.
44331 (TUWRITE): Likewise.
44332 (TUEXEC): Likewise.
44333 (TGREAD): Likewise.
44334 (TGWRITE): Likewise.
44335 (TGEXEC): Likewise.
44336 (TOREAD): Likewise.
44337 (TOWRITE): Likewise.
44338 (TOEXEC): Likewise.
44339 [POSIX] (TSVTX): Expect constant.
44340
44341 2014-03-06 Joseph Myers <joseph@codesourcery.com>
44342
44343 * Makefile (tests): Change dependencies to ....
44344 (tests-special): ... additions to this variable.
44345 (tests): Depend on $(tests-special).
44346 * Makerules (check-abi-list): New variable.
44347 (check-abi): Depend on $(check-abi-list).
44348 [$(subdir) = elf] (tests-special): Add
44349 $(objpfx)check-abi-libc.out.
44350 [$(build-shared) = yes && subdir] (tests-special): Add
44351 $(check-abi-list).
44352 [$(build-shared) = yes && subdir] (tests): Do not depend on
44353 check-abi.
44354 * Rules (tests): Depend on $(tests-special).
44355 (xtests): Depend on $(xtests-special).
44356 * catgets/Makefile (tests): Change dependencies to ....
44357 (tests-special): ... additions to this variable.
44358 * conform/Makefile (tests): Change dependencies to ....
44359 (tests-special): ... additions to this variable.
44360 * elf/Makefile (tests): Change dependencies to ....
44361 (tests-special): ... additions to this variable.
44362 * grp/Makefile (tests): Change dependencies to ....
44363 (tests-special): ... additions to this variable.
44364 * iconv/Makefile (xtests): Change dependencies to ....
44365 (xtests-special): ... additions to this variable.
44366 * iconvdata/Makefile (tests): Change dependencies to ....
44367 (tests-special): ... additions to this variable.
44368 * intl/Makefile (tests): Change dependencies to ....
44369 (tests-special): ... additions to this variable. Also add
44370 $(objpfx)tst-gettext.out.
44371 * io/Makefile (tests): Change dependencies to ....
44372 (tests-special): ... additions to this variable.
44373 * libio/Makefile (tests): Change dependencies to ....
44374 (tests-special): ... additions to this variable.
44375 * malloc/Makefile (tests): Change dependencies to ....
44376 (tests-special): ... additions to this variable.
44377 * misc/Makefile (tests): Change dependencies to ....
44378 (tests-special): ... additions to this variable.
44379 * nptl/Makefile (tests): Change dependencies to ....
44380 (tests-special): ... additions to this variable.
44381 * nptl_db/Makefile (tests): Change dependencies to ....
44382 (tests-special): ... additions to this variable.
44383 * posix/Makefile (tests): Change dependencies to ....
44384 (tests-special): ... additions to this variable.
44385 (xtests): Change dependencies to ....
44386 (xtests-special): ... additions to this variable.
44387 * resolv/Makefile (tests): Change dependencies to ....
44388 (tests-special): ... additions to this variable.
44389 (xtests): Change dependencies to ....
44390 (xtests-special): ... additions to this variable.
44391 * stdio-common/Makefile (tests): Change dependencies to ....
44392 (tests-special): ... additions to this variable.
44393 (do-tst-unbputc): Remove target.
44394 (do-tst-printf): Likewise.
44395 * stdlib/Makefile (tests): Change dependencies to ....
44396 (tests-special): ... additions to this variable.
44397 * string/Makefile (tests): Change dependencies to ....
44398 (tests-special): ... additions to this variable.
44399 * sysdeps/x86/Makefile (tests): Change dependencies to ....
44400 (tests-special): ... additions to this variable.
44401
44402 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
44403 whole file.
44404 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
44405 whole file.
44406 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
44407 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
44408
44409 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
44410 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
44411 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
44412 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
44413 * conform/data/libgen.h-data [XPG3]: Likewise.
44414 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
44415 * conform/data/ndbm.h-data [XPG3]: Likewise.
44416 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
44417 * conform/data/netdb.h-data [XPG3]: Likewise.
44418 * conform/data/netinet/in.h-data [XPG3]: Likewise.
44419 * conform/data/poll.h-data [XPG3]: Likewise.
44420 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
44421 * conform/data/strings.h-data [XPG3]: Likewise.
44422 * conform/data/stropts.h-data [XPG3]: Likewise.
44423 * conform/data/sys/mman.h-data [XPG3]: Likewise.
44424 * conform/data/sys/resource.h-data [XPG3]: Likewise.
44425 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
44426 Likewise.
44427 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
44428 * conform/data/sys/time.h-data [XPG3]: Likewise.
44429 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
44430 * conform/data/sys/uio.h-data [XPG3]: Likewise.
44431 * conform/data/sys/un.h-data [XPG3]: Likewise.
44432 * conform/data/syslog.h-data [XPG3]: Likewise.
44433 * conform/data/ucontext.h-data [XPG3]: Likewise.
44434 * conform/data/utmpx.h-data [XPG3]: Likewise.
44435 * conform/data/varargs.h-data [UNIX98]: Enable file.
44436
44437 * manual/Makefile (INSTALL_INFO): Remove variable setting.
44438
44439 * math/libm-test.inc (struct test_f_f_data): Move expected results
44440 into structure for each rounding mode.
44441 (struct test_ff_f_data): Likewise.
44442 (struct test_ff_f_data_nexttoward): Likewise.
44443 (struct test_fi_f_data): Likewise.
44444 (struct test_fl_f_data): Likewise.
44445 (struct test_if_f_data): Likewise.
44446 (struct test_fff_f_data): Likewise.
44447 (struct test_c_f_data): Likewise.
44448 (struct test_f_f1_data): Likewise.
44449 (struct test_fF_f1_data): Likewise.
44450 (struct test_ffI_f1_data): Likewise.
44451 (struct test_c_c_data): Likewise.
44452 (struct test_cc_c_data): Likewise.
44453 (struct test_f_i_data): Likewise.
44454 (struct test_ff_i_data): Likewise.
44455 (struct test_f_l_data): Likewise.
44456 (struct test_f_L_data): Likewise.
44457 (struct test_fFF_11_data): Likewise.
44458 (RM_): New macro.
44459 (RM_FE_DOWNWARD): Likewise.
44460 (RM_FE_TONEAREST): Likewise.
44461 (RM_FE_TOWARDZERO): Likewise.
44462 (RM_FE_UPWARD): Likewise.
44463 (RUN_TEST_LOOP_f_f): Update references to expected results.
44464 (RUN_TEST_LOOP_2_f): Likewise.
44465 (RUN_TEST_LOOP_fff_f): Likewise.
44466 (RUN_TEST_LOOP_c_f): Likewise.
44467 (RUN_TEST_LOOP_f_f1): Likewise.
44468 (RUN_TEST_LOOP_fF_f1): Likewise.
44469 (RUN_TEST_LOOP_fI_f1): Likewise.
44470 (RUN_TEST_LOOP_ffI_f1): Likewise.
44471 (RUN_TEST_LOOP_c_c): Likewise.
44472 (RUN_TEST_LOOP_cc_c): Likewise.
44473 (RUN_TEST_LOOP_f_i): Likewise.
44474 (RUN_TEST_LOOP_f_i_tg): Likewise.
44475 (RUN_TEST_LOOP_ff_i_tg): Likewise.
44476 (RUN_TEST_LOOP_f_b): Likewise.
44477 (RUN_TEST_LOOP_f_b_tg): Likewise.
44478 (RUN_TEST_LOOP_f_l): Likewise.
44479 (RUN_TEST_LOOP_f_L): Likewise.
44480 (RUN_TEST_LOOP_fFF_11): Likewise.
44481 * math/gen-libm-test.pl (parse_args): Output four copies of
44482 expected results for each test.
44483
44484 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44485 (__ASSUME_UTIMES): Remove.
44486 * sysdeps/unix/sysv/linux/tile/kernel-features.h
44487 (__ASSUME_UTIMES): Likewise.
44488
44489 * math/gen-auto-libm-tests.c: Update comment on output format.
44490 (output_for_one_input_case): Generate before-rounding and
44491 after-rounding information as conditions on output flags not
44492 floating-point format.
44493 * math/auto-libm-test-out: Regenerated.
44494 * math/gen-libm-test.pl (cond_value): New function.
44495 (or_cond_value): Use cond_value.
44496 (generate_testfile): Handle conditional exceptions.
44497
44498 2014-03-05 Joseph Myers <joseph@codesourcery.com>
44499
44500 * math/libm-test.inc (max_valid_error): New variable.
44501 (init_max_error): Take new argument specifying whether function
44502 results are exactly determined. Set max_valid_error and bound
44503 other variables for errors based on this argument.
44504 (set_max_error): Do not record results above max_valid_error.
44505 (check_float_internal): Only accept errors of up to 0.5ulps if
44506 also at most max_valid_error.
44507 (START): Take new argument EXACT and pass it to init_max_error.
44508 (acos_test): Update call to START.
44509 (acos_test_tonearest): Likewise.
44510 (acos_test_towardzero): Likewise.
44511 (acos_test_downward): Likewise.
44512 (acos_test_upward): Likewise.
44513 (acosh_test): Likewise.
44514 (asin_test): Likewise.
44515 (asin_test_tonearest): Likewise.
44516 (asin_test_towardzero): Likewise.
44517 (asin_test_downward): Likewise.
44518 (asin_test_upward): Likewise.
44519 (asinh_test): Likewise.
44520 (atan_test): Likewise.
44521 (atanh_test): Likewise.
44522 (atan2_test): Likewise.
44523 (cabs_test): Likewise.
44524 (cacos_test): Likewise.
44525 (cacosh_test): Likewise.
44526 (carg_test): Likewise.
44527 (casin_test): Likewise.
44528 (casinh_test): Likewise.
44529 (catan_test): Likewise.
44530 (catanh_test): Likewise.
44531 (cbrt_test): Likewise.
44532 (ccos_test): Likewise.
44533 (ccosh_test): Likewise.
44534 (ceil_test): Likewise.
44535 (cexp_test): Likewise.
44536 (cimag_test): Likewise.
44537 (clog_test): Likewise.
44538 (clog10_test): Likewise.
44539 (conj_test): Likewise.
44540 (copysign_test): Likewise.
44541 (cos_test): Likewise.
44542 (cos_test_tonearest): Likewise.
44543 (cos_test_towardzero): Likewise.
44544 (cos_test_downward): Likewise.
44545 (cos_test_upward): Likewise.
44546 (cosh_test): Likewise.
44547 (cosh_test_tonearest): Likewise.
44548 (cosh_test_towardzero): Likewise.
44549 (cosh_test_downward): Likewise.
44550 (cosh_test_upward): Likewise.
44551 (cpow_test): Likewise.
44552 (cproj_test): Likewise.
44553 (creal_test): Likewise.
44554 (csin_test): Likewise.
44555 (csinh_test): Likewise.
44556 (csqrt_test): Likewise.
44557 (ctan_test): Likewise.
44558 (ctan_test_tonearest): Likewise.
44559 (ctan_test_towardzero): Likewise.
44560 (ctan_test_downward): Likewise.
44561 (ctan_test_upward): Likewise.
44562 (ctanh_test): Likewise.
44563 (ctanh_test_tonearest): Likewise.
44564 (ctanh_test_towardzero): Likewise.
44565 (ctanh_test_downward): Likewise.
44566 (ctanh_test_upward): Likewise.
44567 (erf_test): Likewise.
44568 (erfc_test): Likewise.
44569 (exp_test): Likewise.
44570 (exp_test_tonearest): Likewise.
44571 (exp_test_towardzero): Likewise.
44572 (exp_test_downward): Likewise.
44573 (exp_test_upward): Likewise.
44574 (exp10_test): Likewise.
44575 (exp10_test_tonearest): Likewise.
44576 (exp10_test_towardzero): Likewise.
44577 (exp10_test_downward): Likewise.
44578 (exp10_test_upward): Likewise.
44579 (pow10_test): Likewise.
44580 (exp2_test): Likewise.
44581 (expm1_test): Likewise.
44582 (expm1_test_tonearest): Likewise.
44583 (expm1_test_towardzero): Likewise.
44584 (expm1_test_downward): Likewise.
44585 (expm1_test_upward): Likewise.
44586 (fabs_test): Likewise.
44587 (fdim_test): Likewise.
44588 (floor_test): Likewise.
44589 (fma_test): Likewise.
44590 (fma_test_towardzero): Likewise.
44591 (fma_test_downward): Likewise.
44592 (fma_test_upward): Likewise.
44593 (fmax_test): Likewise.
44594 (fmin_test): Likewise.
44595 (fmod_test): Likewise.
44596 (fpclassify_test): Likewise.
44597 (frexp_test): Likewise.
44598 (hypot_test): Likewise.
44599 (ilogb_test): Likewise.
44600 (isfinite_test): Likewise.
44601 (finite_test): Likewise.
44602 (isgreater_test): Likewise.
44603 (isgreaterequal_test): Likewise.
44604 (isinf_test): Likewise.
44605 (isless_test): Likewise.
44606 (islessequal_test): Likewise.
44607 (islessgreater_test): Likewise.
44608 (isnan_test): Likewise.
44609 (isnormal_test): Likewise.
44610 (issignaling_test): Likewise.
44611 (isunordered_test): Likewise.
44612 (j0_test): Likewise.
44613 (j1_test): Likewise.
44614 (jn_test): Likewise.
44615 (ldexp_test): Likewise.
44616 (lgamma_test): Likewise.
44617 (gamma_test): Likewise.
44618 (lrint_test): Likewise.
44619 (lrint_test_tonearest): Likewise.
44620 (lrint_test_towardzero): Likewise.
44621 (lrint_test_downward): Likewise.
44622 (lrint_test_upward): Likewise.
44623 (llrint_test): Likewise.
44624 (llrint_test_tonearest): Likewise.
44625 (llrint_test_towardzero): Likewise.
44626 (llrint_test_downward): Likewise.
44627 (llrint_test_upward): Likewise.
44628 (log_test): Likewise.
44629 (log10_test): Likewise.
44630 (log1p_test): Likewise.
44631 (log2_test): Likewise.
44632 (logb_test): Likewise.
44633 (logb_test_downward): Likewise.
44634 (lround_test): Likewise.
44635 (llround_test): Likewise.
44636 (modf_test): Likewise.
44637 (nearbyint_test): Likewise.
44638 (nextafter_test): Likewise.
44639 (nexttoward_test): Likewise.
44640 (pow_test): Likewise.
44641 (pow_test_tonearest): Likewise.
44642 (pow_test_towardzero): Likewise.
44643 (pow_test_downward): Likewise.
44644 (pow_test_upward): Likewise.
44645 (remainder_test): Likewise.
44646 (drem_test): Likewise.
44647 (remainder_test_tonearest): Likewise.
44648 (drem_test_tonearest): Likewise.
44649 (remainder_test_towardzero): Likewise.
44650 (drem_test_towardzero): Likewise.
44651 (remainder_test_downward): Likewise.
44652 (drem_test_downward): Likewise.
44653 (remainder_test_upward): Likewise.
44654 (drem_test_upward): Likewise.
44655 (remquo_test): Likewise.
44656 (rint_test): Likewise.
44657 (rint_test_tonearest): Likewise.
44658 (rint_test_towardzero): Likewise.
44659 (rint_test_downward): Likewise.
44660 (rint_test_upward): Likewise.
44661 (round_test): Likewise.
44662 (scalb_test): Likewise.
44663 (scalbn_test): Likewise.
44664 (scalbln_test): Likewise.
44665 (signbit_test): Likewise.
44666 (sin_test): Likewise.
44667 (sin_test_tonearest): Likewise.
44668 (sin_test_towardzero): Likewise.
44669 (sin_test_downward): Likewise.
44670 (sin_test_upward): Likewise.
44671 (sincos_test): Likewise.
44672 (sinh_test): Likewise.
44673 (sinh_test_tonearest): Likewise.
44674 (sinh_test_towardzero): Likewise.
44675 (sinh_test_downward): Likewise.
44676 (sinh_test_upward): Likewise.
44677 (sqrt_test): Likewise.
44678 (sqrt_test_tonearest): Likewise.
44679 (sqrt_test_towardzero): Likewise.
44680 (sqrt_test_downward): Likewise.
44681 (sqrt_test_upward): Likewise.
44682 (tan_test): Likewise.
44683 (tan_test_tonearest): Likewise.
44684 (tan_test_towardzero): Likewise.
44685 (tan_test_downward): Likewise.
44686 (tan_test_upward): Likewise.
44687 (tanh_test): Likewise.
44688 (tgamma_test): Likewise.
44689 (trunc_test): Likewise.
44690 (y0_test): Likewise.
44691 (y1_test): Likewise.
44692 (yn_test): Likewise.
44693 (significand_test): Likewise.
44694
44695 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
44696 individual tests in comment.
44697 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
44698 (prev_max_error): New variable.
44699 (prev_real_max_error): Likewise.
44700 (prev_imag_max_error): Likewise.
44701 (compare_ulp_data): Don't refer to test names in comment.
44702 (find_test_ulps): Remove function.
44703 (find_function_ulps): Likewise.
44704 (find_complex_function_ulps): Likewise.
44705 (init_max_error): Take function name as argument. Look up ulps
44706 for that function.
44707 (print_ulps): Remove function.
44708 (print_max_error): Use prev_max_error instead of calling
44709 find_function_ulps.
44710 (print_complex_max_error): Use prev_real_max_error and
44711 prev_imag_max_error instead of calling find_complex_function_ulps.
44712 (check_float_internal): Take max_ulp parameter instead of calling
44713 find_test_ulps. Don't call print_ulps.
44714 (check_float): Update call to check_float_internal.
44715 (check_complex): Update calls to check_float_internal.
44716 (START): Pass argument to init_max_error.
44717 * math/gen-libm-test.pl (%results): Don't include "kind"
44718 information.
44719 (parse_ulps): Don't handle ulps of individual tests.
44720 (print_ulps_file): Likewise.
44721 (output_ulps): Likewise.
44722 * math/README.libm-test: Update.
44723 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
44724 individual tests.
44725 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
44726 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
44727 * sysdeps/arm/libm-test-ulps: Likewise.
44728 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
44729 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
44730 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
44731 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
44732 * sysdeps/microblaze/libm-test-ulps: Likewise.
44733 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
44734 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
44735 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44736 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
44737 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44738 * sysdeps/sh/libm-test-ulps: Likewise.
44739 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44740 * sysdeps/tile/libm-test-ulps: Likewise.
44741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44742
44743 2014-03-04 Joseph Myers <joseph@codesourcery.com>
44744
44745 * math/libm-test.inc (print_complex_max_error): Check separately
44746 whether real and imaginary errors are within allowed range and
44747 pass 0 to print_complex_function_ulps instead of value within
44748 allowed range.
44749
44750 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
44751
44752 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
44753 formatting.
44754 (get_handles_fopen): Likewise.
44755 (do_write_test): Likewise.
44756
44757 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
44758
44759 * libio/fileops.c (do_ftell): Use cached offset when
44760 available.
44761 * libio/iofwide.c (do_ftell_wide): Likewise.
44762 * libio/iofdopen.c (_IO_new_fdopen): Don't use
44763 _IO_file_attach.
44764 * libio/wfileops.c (_IO_fwide): Don't cache offset.
44765
44766 [BZ #16532]
44767 * libio/libioP.h (get_file_offset): New function.
44768 * libio/fileops.c (get_file_offset): Likewise.
44769 (do_ftell): Likewise.
44770 (_IO_new_file_seekoff): Split out ftell logic.
44771 * libio/wfileops.c (do_ftell_wide): Likewise.
44772 (_IO_wfile_seekoff): Split out ftell logic.
44773 * libio/tst-ftell-active-handler.c: New test case.
44774 * libio/Makefile (tests): Add it.
44775
44776 2014-03-03 Roland McGrath <roland@hack.frob.com>
44777
44778 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
44779 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
44780
44781 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
44782
44783 [BZ #16639]
44784 * nscd/connections.c (nscd_init): Call do_exit.
44785 (start_threads): Call do_exit and notify_parent.
44786 (begin_drop_privileges): Call do_exit.
44787 (finish_drop_privileges): Likewise.
44788 * nscd/selinux.c (preserve_capabilities): Likewise.
44789 (install_real_capabilities): Likewise.
44790 (nscd_selinux_enabled): Likewise.
44791 (avc_create_thread): Likewise.
44792 (avc_alloc_lock): Likewise.
44793 (nscd_avc_init): Likewise.
44794 * nscd/nscd.c (parent_fd): New static variable.
44795 (main): Create a pipe between parent and child processes.
44796 Skip closing parent_fd.
44797 (monitor_child): New function.
44798 (do_exit): Likewise.
44799 (notify_parent): Likewise.
44800 * nscd/nscd.h (notify_parent): Likewise.
44801 (do_exit): Likewise.
44802
44803 2014-03-03 Carlos O'Donell <carlos@redhat.com>
44804
44805 * malloc/malloc.c (__libc_calloc): Revert last change.
44806
44807 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44808
44809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44810
44811 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
44812
44813 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
44814 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
44815 implementation.
44816 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44817 (__libc_ifunc_impl_list): Likewise.
44818 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
44819 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
44820 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
44821 * string/strrchr.c: Define STRRCHR.
44822
44823 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
44824
44825 * benchtest/bench-strtok.c (simple_strtok): Delete.
44826 (strtok_string): Use as benchmark.
44827 * string/strtok (STRTOK): New macro.
44828
44829 2014-02-28 Carlos O'Donell <carlos@redhat.com>
44830
44831 * manual/threads.texi: Add header and standard comments to all
44832 functions.
44833
44834 * elf/dl-lookup.c (check_match): New function.
44835 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
44836 (do_lookup_x): Remove nested function check_match. Use non-nested
44837 function check_match.
44838
44839 2014-02-28 Roland McGrath <roland@hack.frob.com>
44840
44841 * csu/Makefile (generated, before-compile): Use += rather than =.
44842 * catgets/Makefile (generated, generated-dirs): Likewise.
44843 * debug/Makefile (generated): Likewise.
44844 * dlfcn/Makefile (generated): Likewise.
44845 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
44846 * iconvdata/Makefile (before-compile, generated): Likewise.
44847 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
44848 * libio/Makefile (generated): Likewise.
44849 * malloc/Makefile (generated): Likewise.
44850 * manual/Makefile (generated, generated-dirs): Likewise.
44851 * misc/Makefile (generated): Likewise.
44852 * posix/Makefile (generated): Likewise.
44853 * resolv/Makefile (generated): Likewise.
44854 * sunrpc/Makefile (generated, generated-dirs): Likewise.
44855 * timezone/Makefile (generated, generated-dirs): Likewise.
44856
44857 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
44858
44859 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44860
44861 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
44862 power8 implementation.
44863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
44864 file: POWER8 llround ifunc implementation.
44865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
44866 (__lllround): Add POWER8 implementation.
44867 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
44868 POWER8 llround implementation.
44869
44870 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
44871 power8 implementation.
44872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
44873 file: POWER8 llrint ifunc implementation.
44874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
44875 Add POWER8 implementation.
44876 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
44877 POWER8 llrint implementation.
44878
44879 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
44880 power8 implementation.
44881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
44882 file: POWER8 finite ifunc implementation.
44883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
44884 Add POWER8 implementation.
44885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
44886 Likewise.
44887 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
44888 POWER8 finite implementation.
44889 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
44890
44891 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
44892 power8 implementation.
44893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
44894 file: POWER8 isinf ifunc implementation.
44895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
44896 POWER8 implementation.
44897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
44898 Likewise.
44899 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
44900 isinf implementation.
44901 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
44902
44903 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
44904 (INIT_ARCH): Add hwcap2 initialization.
44905 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
44906 power8 implementation.
44907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
44908 file: POWER8 isnan ifunc implementation.
44909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
44910 POWER8 implementation.
44911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
44912 Likewise.
44913 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
44914 isnan implementation.
44915 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
44916
44917 2014-02-27 Joey Ye <joey.ye@arm.com>
44918
44919 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
44920 (_FP_NANFRAC_Q): Set to zero.
44921
44922 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
44923
44924 [BZ #16623]
44925 * math/auto-libm-test-in: New test inputs.
44926 * math/auto-libm-test-out: Regenerate.
44927 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
44928 and DA.
44929 (__cos): Likewise.
44930 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
44931
44932 2014-02-27 Joseph Myers <joseph@codesourcery.com>
44933
44934 * scripts/evaluate-test.sh: Take new argument indicating whether
44935 failure is expected.
44936 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
44937 indicating whether failure is expected.
44938 * conform/Makefile (test-xfail-run-conformtest): New variable.
44939 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
44940 level.
44941 * posix/Makefile (test-xfail-annexc): New variable.
44942 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
44943
44944 2014-02-26 Joseph Myers <joseph@codesourcery.com>
44945
44946 * argp/Makefile: Include Makeconfig immediately after defining
44947 subdir.
44948 * assert/Makefile: Likewise.
44949 * benchtests/Makefile: Likewise.
44950 * catgets/Makefile: Likewise.
44951 * conform/Makefile: Likewise.
44952 * crypt/Makefile: Likewise.
44953 * csu/Makefile: Likewise.
44954 (all): Remove target.
44955 * ctype/Makefile: Include Makeconfig immediately after defining
44956 subdir.
44957 * debug/Makefile: Likewise.
44958 * dirent/Makefile: Likewise.
44959 * dlfcn/Makefile: Likewise.
44960 * gmon/Makefile: Likewise.
44961 * gnulib/Makefile: Likewise.
44962 * grp/Makefile: Likewise.
44963 * gshadow/Makefile: Likewise.
44964 * hesiod/Makefile: Likewise.
44965 * hurd/Makefile: Likewise.
44966 (all): Remove target.
44967 * iconvdata/Makefile: Include Makeconfig immediately after
44968 defining subdir.
44969 * inet/Makefile: Likewise.
44970 * intl/Makefile: Likewise.
44971 * io/Makefile: Likewise.
44972 * libio/Makefile: Likewise.
44973 (all): Remove target.
44974 * locale/Makefile: Include Makeconfig immediately after defining
44975 subdir.
44976 * login/Makefile: Likewise.
44977 * mach/Makefile: Likewise.
44978 (all): Remove target.
44979 * malloc/Makefile: Include Makeconfig immediately after defining
44980 subdir.
44981 (all): Remove target.
44982 * manual/Makefile: Include Makeconfig immediately after defining
44983 subdir.
44984 * math/Makefile: Likewise.
44985 * misc/Makefile: Likewise.
44986 * nis/Makefile: Likewise.
44987 * nss/Makefile: Likewise.
44988 * po/Makefile: Likewise.
44989 (all): Remove target.
44990 * posix/Makefile: Include Makeconfig immediately after defining
44991 subdir.
44992 * pwd/Makefile: Likewise.
44993 * resolv/Makefile: Likewise.
44994 * resource/Makefile: Likewise.
44995 * rt/Makefile: Likewise.
44996 * setjmp/Makefile: Likewise.
44997 * shadow/Makefile: Likewise.
44998 * signal/Makefile: Likewise.
44999 * socket/Makefile: Likewise.
45000 * soft-fp/Makefile: Likewise.
45001 * stdio-common/Makefile: Likewise.
45002 * stdlib/Makefile: Likewise.
45003 * streams/Makefile: Likewise.
45004 * string/Makefile: Likewise.
45005 * sunrpc/Makefile: Likewise.
45006 (all): Remove target.
45007 * sysvipc/Makefile: Include Makeconfig immediately after defining
45008 subdir.
45009 * termios/Makefile: Likewise.
45010 * time/Makefile: Likewise.
45011 * timezone/Makefile: Likewise.
45012 (all): Remove target.
45013 * wcsmbs/Makefile: Include Makeconfig immediately after defining
45014 subdir.
45015 * wctype/Makefile: Likewise.
45016
45017 2014-02-26 Steve Ellcey <sellcey@mips.com>
45018
45019 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
45020 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
45021 (libc_feholdexcept_setround_mips): Ditto.
45022 (libc_feholdsetround): New.
45023 (libc_feholdsetroundf): New.
45024 (libc_feholdsetroundl): New.
45025 (libc_feupdateenv_test_mips): New.
45026 (libc_feupdateenv_test): New.
45027 (libc_feupdateenv_testf): New.
45028 (libc_feupdateenv_testl): New.
45029 (libc_feresetround): New.
45030 (libc_feresetroundf): New.
45031 (libc_feresetroundl): New.
45032 (libc_fetestexcept_mips): New.
45033 (libc_fetestexcept): New.
45034 (libc_fetestexceptf): New.
45035 (libc_fetestexceptl): New.
45036 (HAVE_RM_CTX): New.
45037 (libc_feholdexcept_setround_mips_ctx): New.
45038 (libc_feholdexcept_setround_ctx): New.
45039 (libc_feholdexcept_setroundf_ctx): New.
45040 (libc_feholdexcept_setroundl_ctx): New.
45041 (libc_fesetenv_mips_ctx): New.
45042 (libc_fesetenv_ctx): New.
45043 (libc_fesetenv_ctxf): New.
45044 (libc_fesetenv_ctxl): New.
45045 (libc_feupdateenv_mips_ctx): New.
45046 (libc_feupdateenv_ctx): New.
45047 (libc_feupdateenvf_ctx): New.
45048 (libc_feupdateenvl_ctx): New.
45049 (libc_feholdsetround_mips_ctx): New.
45050 (libc_feholdsetround_ctx): New.
45051 (libc_feholdsetroundf_ctx): New.
45052 (libc_feholdsetroundl_ctx): New.
45053 (libc_feresetround_mips_ctx): New.
45054 (libc_feresetround_ctx): New.
45055 (libc_feresetroundf_ctx): New.
45056 (libc_feresetroundl_ctx): New.
45057
45058 2014-02-26 Carlos O'Donell <carlos@redhat.com>
45059
45060 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
45061
45062 * manual/ipc.texi: New file.
45063 * manual/Makefile (chapters): Add ipc.
45064 * manual/job.texi: Add "Inter-Process Communication" to next.
45065 * manual/process.texi: Add "Inter-Process Communication" to prev.
45066
45067 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45068
45069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45070
45071 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
45072
45073 * malloc/malloc.c (__libc_calloc): Simplify implementation.
45074
45075 * manual/arith.texi: Fix spaces after sentences.
45076 * manual/charset.texi: Likewise.
45077 * manual/errno.texi: Likewise.
45078 * manual/install.texi: Likewise.
45079 * manual/llio.texi: Likewise.
45080 * manual/locale.texi: Likewise.
45081 * manual/maint.texi: Likewise.
45082 * manual/math.texi: Likewise.
45083 * manual/memory.texi: Likewise.
45084 * manual/message.texi: Likewise.
45085 * manual/probes.texi: Likewise.
45086 * manual/resource.texi: Likewise.
45087 * manual/signal.texi: Likewise.
45088 * manual/socket.texi: Likewise.
45089 * manual/stdio.texi: Likewise.
45090 * manual/string.texi: Likewise.
45091 * manual/time.texi: Likewise.
45092 * manual/users.texi: Likewise.
45093
45094 2014-02-25 Carlos O'Donell <carlos@redhat.com>
45095
45096 [BZ #16632]
45097 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
45098 _DEFAULT_SOURCE is defined.
45099
45100 2014-02-25 Ulrich Drepper <drepper@gmail.com>
45101 Carlos O'Donell <carlos@redhat.com>
45102
45103 [BZ #16613]
45104 * elf/dl-tls.c (_dl_count_modids): New function.
45105 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
45106 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
45107 audit library and increment generation counter.
45108 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
45109 * elf/tst-audit9.c: New file.
45110 * elf/tst-auditmod9a.c: New file.
45111 * elf/tst-auditmod9b.c: New file.
45112 * elf/Makefile: Add rules to build and run tst-audit9.
45113
45114 2014-02-25 Florian Weimer <fweimer@redhat.com>
45115
45116 [BZ #15347]
45117 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
45118
45119 2014-02-25 Will Newton <will.newton@linaro.org>
45120
45121 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
45122 (__longjmp): Restore sp and lr before restoring callee
45123 saved registers. Add longjmp and longjmp_target
45124 SystemTap probe point.
45125 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
45126 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
45127 Define to zero to match jmpbuf layout.
45128 * sysdeps/arm/setjmp.S: Include stap-probe.h.
45129 (__sigsetjmp): Save sp and lr before saving callee
45130 saved registers. Add setjmp SystemTap probe point.
45131
45132 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
45133
45134 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45135
45136 2014-02-24 Andreas Schwab <schwab@suse.de>
45137
45138 [BZ #15804]
45139 * elf/pldd.c (wait_for_ptrace_stop): New function.
45140 (main): Call it after attaching.
45141
45142 2014-02-22 Roland McGrath <roland@hack.frob.com>
45143
45144 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
45145 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
45146 Versions files is now verboten.
45147 * hurd/Versions (libc: GLIBC_2.0):
45148 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
45149 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
45150 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
45151 * mach/Versions: Likewise.
45152
45153 * csu/Versions: Remove unused %include.
45154 * resolv/Versions: Likewise.
45155
45156 2014-02-21 Joseph Myers <joseph@codesourcery.com>
45157
45158 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
45159 ($(objpfx)check-local-headers.out): Likewise.
45160 ($(objpfx)begin-end-check.out): Likewise.
45161 * Makerules (check-abi-%.out): Likewise.
45162 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
45163 ($(objpfx)test2.cat): Likewise.
45164 ($(objpfx)de/libc.cat): Likewise.
45165 ($(objpfx)test-gencat.out): Likewise.
45166 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
45167 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
45168 ($(objpfx)noload-mem): Likewise.
45169 ($(objpfx)tst-pathopt.out): Likewise.
45170 ($(objpfx)tst-rtld-load-self.out): Likewise.
45171 ($(objpfx)tst-array1-cmp.out): Likewise.
45172 ($(objpfx)tst-array1-static-cmp.out): Likewise.
45173 ($(objpfx)tst-array2-cmp.out): Likewise.
45174 ($(objpfx)tst-array3-cmp.out): Likewise.
45175 ($(objpfx)tst-array4-cmp.out): Likewise.
45176 ($(objpfx)tst-array5-cmp.out): Likewise.
45177 ($(objpfx)tst-array5-static-cmp.out): Likewise.
45178 ($(objpfx)check-textrel.out): Likewise.
45179 ($(objpfx)check-execstack.out): Likewise.
45180 ($(objpfx)check-localplt.out): Likewise.
45181 ($(objpfx)order2-cmp.out): Likewise.
45182 ($(objpfx)tst-leaks1-mem): Likewise.
45183 ($(objpfx)tst-leaks1-static-mem): Likewise.
45184 ($(objpfx)tst-initorder-cmp.out): Likewise.
45185 ($(objpfx)tst-initorder2-cmp.out): Likewise.
45186 ($(objpfx)tst-unused-dep.out): Likewise.
45187 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
45188 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
45189 * iconv/Makefile (test-iconvconfig): Likewise.
45190 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
45191 ($(objpfx)iconv-test.out): Likewise.
45192 ($(objpfx)tst-tables.out): Likewise.
45193 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
45194 ($(objpfx)tst-gettext.out): Likewise.
45195 ($(objpfx)tst-translit.out): Likewise.
45196 ($(objpfx)tst-gettext2.out): Likewise.
45197 ($(objpfx)tst-gettext4.out): Likewise.
45198 ($(objpfx)tst-gettext6.out): Likewise.
45199 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
45200 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
45201 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
45202 ($(objpfx)tst-fopenloc-mem.out): Likewise.
45203 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
45204 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
45205 * posix/Makefile ($(objpfx)globtest.out): Likewise.
45206 ($(objpfx)wordexp-tst.out): Likewise.
45207 ($(objpfx)annexc.out): Likewise.
45208 ($(objpfx)tst-fnmatch-mem): Likewise.
45209 ($(objpfx)bug-regex2-mem): Likewise.
45210 ($(objpfx)bug-regex14-mem): Likewise.
45211 ($(objpfx)bug-regex21-mem): Likewise.
45212 ($(objpfx)bug-regex31-mem): Likewise.
45213 ($(objpfx)tst-vfork3-mem): Likewise.
45214 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
45215 ($(objpfx)tst-pcre-mem): Likewise.
45216 ($(objpfx)tst-boost-mem): Likewise.
45217 ($(objpfx)tst-getconf.out): Likewise.
45218 ($(objpfx)bug-ga2-mem): Likewise.
45219 ($(objpfx)bug-glob2-mem): Likewise.
45220 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
45221 ($(objpfx)mtrace-tst-leaks2): Likewise.
45222 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
45223 ($(objpfx)tst-printf.out): Likewise.
45224 ($(objpfx)tst-setvbuf1.out): Likewise.
45225 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
45226 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
45227 ($(objpfx)tst-fmtmsg.out): Likewise.
45228 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
45229 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
45230
45231 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
45232 * bits/sigaction.h [__USE_MISC]: Likewise.
45233 * bits/waitstatus.h: Update #endif comments.
45234 * ctype/ctype.h: Likewise.
45235 * dirent/dirent.h: Likewise.
45236 [__USE_MISC]: Remove redundant conditionals.
45237 * grp/grp.h: Update #endif comments.
45238 [__USE_GNU]: Remove redundant conditionals.
45239 [__USE_MISC]: Likewise.
45240 * inet/netinet/in.h [__USE_GNU]: Likewise.
45241 * io/sys/stat.h [__USE_MISC]: Likewise.
45242 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
45243 * libio/bits/stdio.h: Update #endif comments.
45244 [__USE_MISC]: Remove redundant conditionals.
45245 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
45246 * libio/stdio.h: Update #endif comments.
45247 [__USE_MISC]: Remove redundant conditionals.
45248 * math/bits/math-finite.h [__USE_MISC]: Likewise.
45249 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
45250 * math/math.h: Update #else and #endif comments.
45251 [__USE_MISC]: Remove redundant conditionals.
45252 * misc/sys/uio.h: Update #endif comments.
45253 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
45254 * posix/glob.h [__USE_MISC]: Likewise.
45255 * posix/sys/types.h: Update #endif comments.
45256 [__USE_MISC]: Remove redundant conditionals.
45257 * posix/sys/wait.h: Update #endif comments.
45258 [__USE_MISC]: Remove redundant conditionals.
45259 * posix/unistd.h: Update #endif comments.
45260 [__USE_MISC]: Remove redundant conditionals.
45261 * pwd/pwd.h [__USE_GNU]: Likewise.
45262 [__USE_MISC]: Likewise.
45263 * resolv/netdb.h [__USE_GNU]: Likewise.
45264 * signal/signal.h: Update #endif comments.
45265 [__USE_MISC]: Remove redundant conditionals.
45266 * stdlib/stdlib.h: Update #else and #endif comments.
45267 [__USE_MISC]: Remove redundant conditionals.
45268 [__USE_GNU]: Likewise.
45269 * string/bits/string2.h [__USE_MISC]: Likewise.
45270 * string/string.h: Update #endif comments.
45271 [__USE_MISC]: Remove redundant conditionals.
45272 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
45273 Likewise.
45274 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
45275 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
45276 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
45277 Likewise.
45278 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
45279 Likewise.
45280 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
45281 comments.
45282 [__USE_MISC]: Remove redundant conditionals.
45283 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
45284 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
45285 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
45286 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
45287 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
45288 Likewise.
45289 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
45290 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
45291 Likewise.
45292 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
45293 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
45294 Likewise.
45295 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
45296 Likewise.
45297 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
45298 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
45299 Likewise.
45300 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
45301 Likewise.
45302 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
45303 * sysdeps/x86/bits/string.h: Update #endif comments.
45304 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
45305 conditionals.
45306 * time/sys/time.h: Update #endif comments.
45307 * time/time.h: Likewise.
45308 [__USE_MISC]: Remove redundant conditionals.
45309
45310 2014-02-21 Yury Gribov <y.gribov@samsung.com>
45311
45312 [BZ #16600]
45313 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
45314
45315 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
45316
45317 * Versions.def (librt): Add GLIBC_2.17.
45318
45319 2014-02-21 Adam Conrad <adconrad@0c3.net>
45320
45321 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
45322 synonym for _SYS_AUXV_H to allow direct inclusion.
45323 * sysdeps/sparc/bits/hwcap.h: Likewise.
45324 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
45325 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
45326 * sysdeps/sparc/sysdep.h: Likewise.
45327
45328 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
45329
45330 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
45331
45332 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45333
45334 * benchtests/bench-strrchr.c: Print length instead of position.
45335
45336 2014-02-20 Joseph Myers <joseph@codesourcery.com>
45337
45338 [BZ #16611]
45339 * sysdeps/unix/sysv/linux/kernel-features.h
45340 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
45341 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
45342 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
45343 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
45344 Likewise.
45345 [__i386__ || __powerpc__ || __sh__ || __sparc__]
45346 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45347 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
45348 (__ASSUME_SENDMMSG): Define instead of using previous
45349 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
45350 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45351 (__ASSUME_SENDMMSG_SYSCALL): Define.
45352 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45353 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
45354 Likewise.
45355 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45356 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45357 Likewise.
45358 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45359 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45360 Likewise.
45361 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
45362 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45363 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
45364 [__ASSUME_SENDMMSG]: Change conditionals to
45365 [__ASSUME_SENDMMSG_SOCKETCALL].
45366 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45367 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
45368 Define.
45369 * sysdeps/unix/sysv/linux/mips/kernel-features.h
45370 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
45371 Likewise.
45372 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
45373 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45374 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
45375 [!__ASSUME_SENDMMSG]: Change conditional to
45376 [!__ASSUME_SENDMMSG_SOCKETCALL].
45377 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45378 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45379 Define.
45380
45381 [BZ #16610]
45382 * sysdeps/unix/sysv/linux/kernel-features.h
45383 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
45384 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
45385 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
45386 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
45387 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45388 [__i386__ || __sparc__]
45389 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45390 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
45391 (__ASSUME_RECVMMSG): Define instead of using previous
45392 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
45393 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45394 (__ASSUME_RECVMMSG_SYSCALL): Define.
45395 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45396 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45397 Likewise.
45398 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45399 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45400 Likewise.
45401 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45402 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45403 Likewise.
45404 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
45405 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
45406 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
45407 [__ASSUME_RECVMMSG]: Change condition to
45408 [__ASSUME_RECVMMSG_SOCKETCALL].
45409 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45410 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45411 Define.
45412 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45413 * sysdeps/unix/sysv/linux/mips/kernel-features.h
45414 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45415 Likewise.
45416 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
45417 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
45418 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
45419 [!__ASSUME_RECVMMSG]: Change condition to
45420 [!__ASSUME_RECVMMSG_SOCKETCALL].
45421 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45422 (__ASSUME_RECVMMSG_SYSCALL): Define.
45423
45424 [BZ #16609]
45425 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
45426 __powerpc__ || __s390__ || __sh__ || __sparc__]
45427 (__ASSUME_SOCKETCALL): Define.
45428 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
45429 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
45430 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
45431 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
45432 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45433 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
45434 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
45435 (__ASSUME_ACCEPT4): Define instead of using previous
45436 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
45437 __powerpc__ || __sparc__ || __s390__)] condition.
45438 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45439 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
45440 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
45441 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
45442 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
45443 [!__ASSUME_ACCEPT4]: Change condition to
45444 [!__ASSUME_ACCEPT4_SOCKETCALL].
45445 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45446 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
45447 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
45448 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45449 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
45450 __ASSUME_ACCEPT4_SYSCALL.
45451 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
45452 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
45453 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45454 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
45455 __ASSUME_ACCEPT4_SYSCALL.
45456 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
45457 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
45458 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
45459 [__ASSUME_ACCEPT4]: Change condition to
45460 [__ASSUME_ACCEPT4_SOCKETCALL].
45461 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45462 (__ASSUME_SOCKETCALL): Define.
45463 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
45464 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45465 (__ASSUME_SOCKETCALL): Define.
45466 (__ASSUME_ACCEPT4): Remove.
45467 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
45468 Define.
45469 * sysdeps/unix/sysv/linux/mips/kernel-features.h
45470 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
45471 Likewise.
45472 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45473 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
45474
45475 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
45476 macro.
45477 (HWCAP_ARM_LPAE): Likewise.
45478 (HWCAP_ARM_EVTSTRM): Likewise.
45479 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
45480 Add vpfd32, lpae and evtstrm.
45481 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
45482 Increase to 22.
45483
45484 2014-02-19 Joseph Myers <joseph@codesourcery.com>
45485
45486 * math/auto-libm-test-in: Add tests of clog10.
45487 * math/auto-libm-test-out: Regenerated.
45488 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
45489 * sysdeps/i386/fpu/libm-test-ulps: Update.
45490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45491
45492 2014-02-18 Andreas Schwab <schwab@suse.de>
45493
45494 [BZ #16574]
45495 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
45496 Store non-zero if the second buffer was newly allocated.
45497 (send_dg): Likewise.
45498 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
45499 to send_vc and send_dg.
45500 (res_nsend): Pass NULL for ansp2_malloced.
45501 * resolv/res_query.c (__libc_res_nquery): Add parameter
45502 answerp2_malloced and pass it down to __libc_res_nsend.
45503 (res_nquery): Pass additional NULL to __libc_res_nquery.
45504 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
45505 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
45506 second answer buffer if answerp2_malloced was set.
45507 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
45508 (__libc_res_nquerydomain): Add parameter
45509 answerp2_malloced and pass it down to __libc_res_nquery.
45510 (res_nquerydomain): Pass additional NULL to
45511 __libc_res_nquerydomain.
45512 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
45513 additional NULL to __libc_res_nsend and __libc_res_nquery.
45514 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
45515 additional NULL to __libc_res_nsearch.
45516 (_nss_dns_gethostbyname4_r): Revert last change. Use new
45517 parameter of __libc_res_nsearch to check for separately allocated
45518 second buffer.
45519 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
45520 __libc_res_nquery.
45521 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
45522 additional NULL to __libc_res_nquery.
45523 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
45524 __libc_res_nsearch.
45525 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
45526 * include/resolv.h: Update prototypes of __libc_res_nquery,
45527 __libc_res_nsearch, __libc_res_nsend.
45528
45529 2014-02-18 Joseph Myers <joseph@codesourcery.com>
45530
45531 * math/auto-libm-test-in: Add tests of fma.
45532 * math/auto-libm-test-out: Regenerated.
45533 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
45534 (fma_towardzero_test_data): Likewise.
45535 (fma_downward_test_data): Likewise.
45536 (fma_upward_test_data): Likewise.
45537 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
45538 mpc_mode.
45539 (rounding_modes): Add values for new field.
45540 (func_calc_method): Add value mpfr_fff_f.
45541 (func_calc_desc): Add mpfr_fff_f union field.
45542 (test_function): Add field exact_args.
45543 (FUNC): Add macro argument EXACT_ARGS.
45544 (FUNC_mpfr_f_f): Update call to FUNC.
45545 (FUNC_mpfr_f_f): Likewise.
45546 (FUNC_mpfr_ff_f): Likewise.
45547 (FUNC_mpfr_if_f): Likewise.
45548 (FUNC_mpc_c_f): Likewise.
45549 (FUNC_mpc_c_c): Likewise.
45550 (test_functions): Add fma. Update calls to FUNC.
45551 (handle_input_arg): Add argument exact_args.
45552 (add_test): Update call to handle_input_arg.
45553 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
45554 (output_for_one_input_case): Update call to calc_generic_results.
45555 Recalculate exact zero results in each rounding mode.
45556
45557 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
45558 non-negative before setting low bit.
45559 * math/auto-libm-test-in: Mark one asin test possibly having
45560 spurious underflow.
45561 * math/auto-libm-test-out: Regenerated.
45562 * sysdeps/i386/fpu/libm-test-ulps: Update.
45563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45564
45565 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
45566
45567 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
45568 * sysdeps/unix/sysv/linux/microblaze: Move directory from
45569 ports/sysdeps/unix/sysv/linux/microblaze.
45570 * README: Add missing listing for microblaze*-*-linux-gnu.
45571
45572 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
45573
45574 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
45575 duplicate code
45576
45577 2014-02-16 Mike Frysinger <vapier@gentoo.org>
45578
45579 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
45580 * sysdeps/unix/sysv/linux/ia64: Move directory from
45581 ports/sysdeps/unix/sysv/linux/ia64.
45582 * README: Update listing for ia64-*-linux-gnu.
45583
45584 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
45585 Joseph Myers <joseph@codesourcery.com>
45586
45587 * Makeconfig (test-name): New variable.
45588 (evaluate-test): Likewise.
45589 * Makerules (do-test-clean): Remove .test-result files.
45590 (common-mostlyclean): Likewise.
45591 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
45592 * scripts/evaluate-test.sh: New file.
45593
45594 2014-02-14 Joseph Myers <joseph@codesourcery.com>
45595
45596 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
45597 separate $(objpfx)tst-fopenloc-cmp.out and
45598 $(objpfx)tst-fopenloc-mem.out targets.
45599 (tests): Update dependencies.
45600 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
45601 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
45602 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
45603 (tst-rxspencer-no-utf8-ARGS): New variable.
45604 (tst-rxspencer-no-utf8-ENV): Likewise.
45605 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
45606 instead of $(objpfx)tst-rxspencer-mem.
45607 ($(objpfx)tst-rxspencer-mem): Change target to
45608 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
45609 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
45610 * posix/tst-rxspencer-no-utf8.c: New file.
45611
45612 * elf/Makefile ($(objpfx)order.out): Remove rule.
45613 [$(run-built-tests) = yes] (tests): Depend on
45614 $(objpfx)order-cmp.out.
45615 ($(objpfx)order-cmp.out): New rule.
45616 [$(run-built-tests) = yes] (tests): Depend on
45617 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
45618 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
45619 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
45620 $(objpfx)tst-array5-static-cmp.out.
45621 ($(objpfx)tst-array1.out): Remove rule.
45622 ($(objpfx)tst-array1-cmp.out): New rule.
45623 ($(objpfx)tst-array1-static.out): Remove rule.
45624 ($(objpfx)tst-array1-static-cmp.out): New rule.
45625 ($(objpfx)tst-array2.out): Remove rule.
45626 ($(objpfx)tst-array2-cmp.out): New rule.
45627 ($(objpfx)tst-array3.out): Remove rule.
45628 ($(objpfx)tst-array3-cmp.out): New rule.
45629 ($(objpfx)tst-array4.out): Remove rule.
45630 ($(objpfx)tst-array4-cmp.out): New rule.
45631 ($(objpfx)tst-array5.out): Remove rule.
45632 ($(objpfx)tst-array5-cmp.out): New rule.
45633 ($(objpfx)tst-array5-static.out): Remove rule.
45634 ($(objpfx)tst-array5-static-cmp.out): New rule.
45635 [$(run-built-tests) = yes] (tests): Depend on
45636 $(objpfx)order2-cmp.out.
45637 ($(objpfx)order2.out): Remove rule.
45638 ($(objpfx)order2-cmp.out): New rule.
45639 ($(objpfx)tst-initorder.out): Remove rule.
45640 [$(run-built-tests) = yes] (tests): Depend on
45641 $(objpfx)tst-initorder-cmp.out.
45642 ($(objpfx)tst-initorder-cmp.out): New rule.
45643 ($(objpfx)tst-initorder2.out): Remove rule.
45644 [$(run-built-tests) = yes] (tests): Depend on
45645 $(objpfx)tst-initorder2-cmp.out.
45646 ($(objpfx)tst-initorder2-cmp.out): New rule.
45647 [$(run-built-tests) = yes] (tests): Depend on
45648 $(objpfx)tst-unused-dep-cmp.out.
45649 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
45650 ($(objpfx)tst-unused-dep-cmp.out): New rule.
45651 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
45652 on $(objpfx)tst-setvbuf1-cmp.out.
45653 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
45654 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
45655 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
45656 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
45657 ($(objpfx)tst-svc.out): Remove rule.
45658 ($(objpfx)tst-svc-cmp.out): New rule.
45659
45660 2014-02-13 Joseph Myers <joseph@codesourcery.com>
45661
45662 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
45663 * ctype/ctype.h [__USE_MISC]: Likewise.
45664 * dirent/dirent.h [__USE_MISC]: Likewise.
45665 * grp/grp.h [__USE_MISC]: Likewise.
45666 * io/fcntl.h [__USE_MISC]: Likewise.
45667 * io/sys/stat.h [__USE_MISC]: Likewise.
45668 * libio/stdio.h [__USE_MISC]: Likewise.
45669 * posix/unistd.h [__USE_MISC]: Likewise.
45670 * pwd/pwd.h [__USE_MISC]: Likewise.
45671 * stdlib.h [__USE_MISC]: Likewise.
45672 * string/bits/string2.h [__USE_MISC]: Likewise.
45673 * string/string.h [__USE_MISC]: Likewise.
45674 * time/time.h [__USE_MISC]: Likewise.
45675
45676 2014-02-13 Andreas Schwab <schwab@suse.de>
45677
45678 [BZ #16574]
45679 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
45680 second answer buffer if it was separately allocated.
45681
45682 2014-02-12 Joseph Myers <joseph@codesourcery.com>
45683
45684 * sysdeps/mips/math-tests.h: Include <features.h>.
45685 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
45686 (ROUNDING_TESTS_long_double): Do not define.
45687 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
45688 (EXCEPTION_TESTS_long_double): Likewise.
45689 * sysdeps/mips/mips64/libm-test-ulps: Update.
45690
45691 * include/features.h (__USE_BSD): Remove macro definitions.
45692 (__USE_SVID): Likewise.
45693 (_BSD_SOURCE): Likewise.
45694 (_SVID_SOURCE): Likewise.
45695 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
45696 from definition of _DEFAULT_SOURCE.
45697 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
45698 [_DEFAULT_SOURCE].
45699 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
45700 * bits/mman.h [__USE_BSD]: Likewise.
45701 * bits/termios.h [__USE_BSD]: Likewise.
45702 * bits/waitstatus.h [__USE_BSD]: Likewise.
45703 * ctype/ctype.h [__USE_SVID]: Likewise.
45704 * dirent/dirent.h [__USE_BSD]: Likewise.
45705 * grp/grp.h [__USE_SVID]: Likewise.
45706 [__USE_BSD]: Likewise.
45707 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
45708 * io/fcntl.h [__USE_BSD]: Likewise.
45709 * io/ftw.h [__USE_BSD]: Likewise.
45710 * io/sys/stat.h [__USE_BSD]: Likewise.
45711 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
45712 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
45713 * libio/stdio.h [__USE_SVID]: Likewise.
45714 [__USE_BSD]: Likewise.
45715 * math/math.h [__USE_SVID]: Likewise.
45716 [__USE_BSD]: Likewise.
45717 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
45718 * misc/bits/syslog.h [__USE_BSD]: Likewise.
45719 * misc/search.h [__USE_SVID]: Likewise.
45720 * misc/sys/mman.h [__USE_BSD]: Likewise.
45721 * misc/sys/syslog.h [__USE_BSD]: Likewise.
45722 * misc/sys/uio.h [__USE_BSD]: Likewise.
45723 * posix/bits/unistd.h [__USE_BSD]: Likewise.
45724 * posix/glob.h [__USE_BSD]: Likewise.
45725 * posix/regex.h [__USE_BSD]: Likewise.
45726 * posix/sys/types.h [__USE_BSD]: Likewise.
45727 [__USE_SVID]: Likewise.
45728 * posix/sys/utsname.h [__USE_SVID]: Likewise.
45729 * posix/sys/wait.h [__USE_BSD]: Likewise.
45730 [__USE_SVID]: Likewise.
45731 * posix/unistd.h [__USE_BSD]: Likewise.
45732 [__USE_SVID]: Likewise.
45733 * pwd/pwd.h [__USE_SVID]: Likewise.
45734 * resolv/netdb.h [__USE_BSD]: Likewise.
45735 * setjmp/setjmp.h [__USE_BSD]: Likewise.
45736 * signal/signal.h [__USE_BSD]: Likewise.
45737 [__USE_SVID]: Likewise.
45738 * socket/sys/socket.h [__USE_BSD]: Likewise.
45739 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
45740 * stdlib/stdlib.h [__USE_BSD]: Likewise.
45741 [__USE_SVID]: Likewise.
45742 * string/bits/string2.h [__USE_BSD]: Likewise.
45743 [__USE_SVID]: Likewise.
45744 * string/bits/string3.h [__USE_BSD]: Likewise.
45745 * string/endian.h [__USE_BSD]: Likewise.
45746 * string/string.h [__USE_SVID]: Likewise.
45747 [__USE_BSD]: Likewise.
45748 * string/strings.h [__USE_BSD]: Likewise.
45749 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
45750 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
45751 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
45752 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
45753 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
45754 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
45755 Likewise.
45756 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
45757 Likewise.
45758 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
45759 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
45760 Likewise.
45761 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
45762 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
45763 Likewise.
45764 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
45765 Likewise.
45766 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
45767 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
45768 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
45769 Likewise.
45770 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
45771 Likewise.
45772 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
45773 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
45774 * termios/termios.h [__USE_BSD]: Likewise.
45775 * time/sys/time.h [__USE_BSD]: Likewise.
45776 * time/time.h [__USE_BSD]: Likewise.
45777 [__USE_SVID]: Likewise.
45778
45779 * Makefile (subdir_targets): Remove subdir_lint.out.
45780
45781 * stdio-common/Makefile (do-tst-unbputc): Remove target.
45782 (do-tst-printf): Likewise.
45783 (tests): Depend directly on $(objpfx)tst-unbputc.out and
45784 $(objpfx)tst-printf.out.
45785
45786 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
45787
45788 * Makerules (check-abi-%): Change target to
45789 $(objpfx)check-abi-%.out.
45790 (check-abi target): Update dependencies.
45791 (check-abi-pattern variable): Redirect output of diff to $@.
45792 (check-abi variable): Likewise.
45793 * elf/Makefile (check-abi): Update dependencies.
45794
45795 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
45796 unused.
45797 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
45798 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
45799 subnormal range.
45800 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
45801 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
45802 value has largest subnormal exponent.
45803 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
45804 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
45805 * sysdeps/aarch64/soft-fp/sfp-machine.h
45806 (_FP_TININESS_AFTER_ROUNDING): New macro.
45807 * sysdeps/alpha/soft-fp/sfp-machine.h
45808 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45809 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45810 Likewise.
45811 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
45812 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45813 * sysdeps/mips/soft-fp/sfp-machine.h
45814 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45815 * sysdeps/powerpc/soft-fp/sfp-machine.h
45816 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45817 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45818 Likewise.
45819 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45820 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45821 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45822 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45823 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45824 Likewise.
45825
45826 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
45827
45828 [BZ #16545]
45829 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
45830 model 1.
45831
45832 2014-02-12 Richard Henderson <rth@redhat.com>
45833
45834 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
45835 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
45836 * sysdeps/unix/sysv/linux/alpha: Move directory from
45837 ports/sysdeps/unix/sysv/linux/alpha.
45838 * README: Update listing for alpha-*-linux-gnu.
45839
45840 2014-02-11 Joseph Myers <joseph@codesourcery.com>
45841
45842 * include/features.h: Update comment documenting feature test
45843 macros.
45844 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
45845 _DEFAULT_SOURCE.
45846 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
45847 (_SVID_SOURCE): Likewise.
45848 (_DEFAULT_SOURCE): Update description of default features.
45849 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
45850 with _GNU_SOURCE.
45851 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
45852 (S_ISVTX): Likewise.
45853 * manual/math.texi (Mathematical Constants): Likewise.
45854 * manual/signal.texi (Interrupted Primitives): Likewise.
45855 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
45856 * math/test-matherr.c (_SVID_SOURCE): Do not define.
45857 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
45858 Don't refer to _SVID_SOURCE in warning text.
45859
45860 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45861
45862 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
45863 already defined.
45864 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
45865 * sysdeps/mips/dl-lookup.c: Remove.
45866 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
45867
45868 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
45869
45870 [BZ #16447]
45871 * math/auto-libm-test-in: Add testcase for expl.
45872 * math/auto-libm-test-out: Regenerate.
45873 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
45874 calculation of unsafe.
45875 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
45876
45877 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
45878
45879 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
45880 * sysdeps/unix/sysv/linux/aarch64: Move directory from
45881 ports/sysdeps/unix/sysv/linux/aarch64.
45882 * README: Update listing for aarch64*-*-linux-gnu.
45883
45884 2014-02-11 Will Newton <will.newton@linaro.org>
45885
45886 * manual/probes.texi (Mathematical Function Probes): Use
45887 "triggered" instead of "hit".
45888
45889 * manual/probes.texi (Internal Probes): Add documentation
45890 of setjmp, longjmp and longjmp_target probes.
45891
45892 * include/stap-probe.h: Add comment about probe argument
45893 format.
45894
45895 * malloc/mtrace.c (attribute_hidden): Remove unused macro
45896 definition. (tr_where, tr_freehook, tr_mallochook,
45897 tr_reallochook, tr_memalignhook): Use ANSI protoype.
45898
45899 2014-02-11 David S. Miller <davem@davemloft.net>
45900
45901 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
45902 processing int_tests.
45903
45904 2014-02-10 Joseph Myers <joseph@codesourcery.com>
45905
45906 * sysdeps/mips: Move directory from ports/sysdeps/mips.
45907 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
45908 * sysdeps/unix/sysv/linux/mips: Move directory from
45909 ports/sysdeps/unix/sysv/linux/mips.
45910 * README: Update listing for mips-*-linux-gnu and
45911 mips64-*-linux-gnu.
45912
45913 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
45914
45915 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
45916 * sysdeps/unix/sysv/linux/m68k: Move directory from
45917 ports/sysdeps/unix/sysv/linux/m68k.
45918 * README: Update listing for m68k-*-linux-gnu.
45919
45920 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
45921
45922 * sysdeps/tile: Move directory from ports/sysdeps/tile.
45923 * sysdeps/unix/sysv/linux/generic: Move directory from
45924 ports/sysdeps/unix/sysv/linux/generic.
45925 * sysdeps/unix/sysv/linux/tile: Move directory from
45926 ports/sysdeps/unix/sysv/linux/tile.
45927 * README: Update listing for tile*-*-linux-gnu.
45928
45929 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
45930
45931 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
45932 __builtin_expect.
45933 * benchtests/bench-memmem.c (simple_memmem): Likewise.
45934 * catgets/open_catalog.c (__open_catalog): Likewise.
45935 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
45936 * debug/confstr_chk.c: Likewise.
45937 * debug/fread_chk.c (__fread_chk): Likewise.
45938 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
45939 * debug/getgroups_chk.c: Likewise.
45940 * debug/mbsnrtowcs_chk.c: Likewise.
45941 * debug/mbsrtowcs_chk.c: Likewise.
45942 * debug/mbstowcs_chk.c: Likewise.
45943 * debug/memcpy_chk.c: Likewise.
45944 * debug/memmove_chk.c: Likewise.
45945 * debug/mempcpy_chk.c: Likewise.
45946 * debug/memset_chk.c: Likewise.
45947 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
45948 * debug/strcat_chk.c (__strcat_chk): Likewise.
45949 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
45950 * debug/strncat_chk.c (__strncat_chk): Likewise.
45951 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
45952 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
45953 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
45954 * debug/wcpncpy_chk.c: Likewise.
45955 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
45956 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
45957 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
45958 * debug/wcsncpy_chk.c: Likewise.
45959 * debug/wcsnrtombs_chk.c: Likewise.
45960 * debug/wcsrtombs_chk.c: Likewise.
45961 * debug/wcstombs_chk.c: Likewise.
45962 * debug/wmemcpy_chk.c: Likewise.
45963 * debug/wmemmove_chk.c: Likewise.
45964 * debug/wmempcpy_chk.c: Likewise.
45965 * debug/wmemset_chk.c: Likewise.
45966 * dirent/scandirat.c (SCANDIRAT): Likewise.
45967 * dlfcn/dladdr1.c (dladdr1): Likewise.
45968 * dlfcn/dladdr.c (dladdr): Likewise.
45969 * dlfcn/dlclose.c (dlclose_doit): Likewise.
45970 * dlfcn/dlerror.c (__dlerror): Likewise.
45971 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
45972 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
45973 * dlfcn/dlopen.c (dlopen_doit): Likewise.
45974 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
45975 * dlfcn/dlsym.c (dlsym_doit): Likewise.
45976 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
45977 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
45978 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
45979 Likewise.
45980 * elf/dl-conflict.c: Likewise.
45981 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
45982 * elf/dl-dst.h: Likewise.
45983 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
45984 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
45985 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
45986 * elf/dl-init.c (call_init, _dl_init): Likewise.
45987 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
45988 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
45989 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
45990 Likewise.
45991 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
45992 Likewise.
45993 * elf/dl-minimal.c (__libc_memalign): Likewise.
45994 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
45995 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
45996 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
45997 * elf/dl-sym.c (do_sym): Likewise.
45998 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
45999 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
46000 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
46001 * elf/dl-writev.h (_dl_writev): Likewise.
46002 * elf/ldconfig.c (search_dir): Likewise.
46003 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
46004 (dl_main): Likewise.
46005 * elf/setup-vdso.h (setup_vdso): Likewise.
46006 * grp/compat-initgroups.c (compat_call): Likewise.
46007 * grp/fgetgrent.c (fgetgrent): Likewise.
46008 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
46009 * grp/putgrent.c (putgrent): Likewise.
46010 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46011 Likewise.
46012 * hurd/hurdinit.c: Likewise.
46013 * iconvdata/8bit-gap.c (struct): Likewise.
46014 * iconvdata/ansi_x3.110.c : Likewise.
46015 * iconvdata/big5.c : Likewise.
46016 * iconvdata/big5hkscs.c : Likewise.
46017 * iconvdata/cp1255.c: Likewise.
46018 * iconvdata/cp1258.c : Likewise.
46019 * iconvdata/cp932.c : Likewise.
46020 * iconvdata/euc-cn.c: Likewise.
46021 * iconvdata/euc-jisx0213.c : Likewise.
46022 * iconvdata/euc-jp.c: Likewise.
46023 * iconvdata/euc-jp-ms.c : Likewise.
46024 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
46025 * iconvdata/gb18030.c : Likewise.
46026 * iconvdata/gbbig5.c (const): Likewise.
46027 * iconvdata/gbgbk.c: Likewise.
46028 * iconvdata/gbk.c : Likewise.
46029 * iconvdata/ibm1364.c : Likewise.
46030 * iconvdata/ibm930.c : Likewise.
46031 * iconvdata/ibm932.c: Likewise.
46032 * iconvdata/ibm933.c : Likewise.
46033 * iconvdata/ibm935.c : Likewise.
46034 * iconvdata/ibm937.c : Likewise.
46035 * iconvdata/ibm939.c : Likewise.
46036 * iconvdata/ibm943.c: Likewise.
46037 * iconvdata/iso_11548-1.c: Likewise.
46038 * iconvdata/iso-2022-cn.c : Likewise.
46039 * iconvdata/iso-2022-cn-ext.c : Likewise.
46040 * iconvdata/iso-2022-jp-3.c: Likewise.
46041 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
46042 * iconvdata/iso-2022-kr.c : Likewise.
46043 * iconvdata/iso646.c (gconv_end): Likewise.
46044 * iconvdata/iso_6937-2.c : Likewise.
46045 * iconvdata/iso_6937.c : Likewise.
46046 * iconvdata/iso8859-1.c: Likewise.
46047 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
46048 * iconvdata/shift_jisx0213.c : Likewise.
46049 * iconvdata/sjis.c : Likewise.
46050 * iconvdata/t.61.c : Likewise.
46051 * iconvdata/tcvn5712-1.c : Likewise.
46052 * iconvdata/tscii.c: Likewise.
46053 * iconvdata/uhc.c : Likewise.
46054 * iconvdata/unicode.c (gconv_end): Likewise.
46055 * iconvdata/utf-16.c (gconv_end): Likewise.
46056 * iconvdata/utf-32.c (gconv_end): Likewise.
46057 * iconvdata/utf-7.c (base64): Likewise.
46058 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
46059 * iconv/gconv_close.c (__gconv_close): Likewise.
46060 * iconv/gconv_open.c (__gconv_open): Likewise.
46061 * iconv/gconv_simple.c (internal_ucs4_loop_single)
46062 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
46063 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
46064 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
46065 (ucs4le_internal_loop_single): Likewise.
46066 * iconv/iconv.c (iconv): Likewise.
46067 * iconv/iconv_close.c: Likewise.
46068 * iconv/loop.c (SINGLE): Likewise.
46069 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
46070 * include/atomic.h: Likewise.
46071 * inet/inet6_option.c (option_alloc): Likewise.
46072 * intl/bindtextdom.c (set_binding_values): Likewise.
46073 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
46074 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
46075 * intl/localealias.c (read_alias_file): Likewise.
46076 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
46077 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
46078 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
46079 * libio/fmemopen.c (fmemopen): Likewise.
46080 * libio/iofgets.c (_IO_fgets): Likewise.
46081 * libio/iofgets_u.c (fgets_unlocked): Likewise.
46082 * libio/iofgetws.c (fgetws): Likewise.
46083 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
46084 * libio/iogetdelim.c (_IO_getdelim): Likewise.
46085 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
46086 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
46087 * locale/findlocale.c (_nl_find_locale): Likewise.
46088 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
46089 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
46090 Likewise.
46091 * locale/setlocale.c (setlocale): Likewise.
46092 * login/programs/pt_chown.c (main): Likewise.
46093 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
46094 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
46095 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
46096 (mmap, mmap64, mremap, munmap): Likewise.
46097 * math/e_exp2l.c: Likewise.
46098 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
46099 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
46100 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
46101 * math/s_catan.c (__catan): Likewise.
46102 * math/s_catanf.c (__catanf): Likewise.
46103 * math/s_catanh.c (__catanh): Likewise.
46104 * math/s_catanhf.c (__catanhf): Likewise.
46105 * math/s_catanhl.c (__catanhl): Likewise.
46106 * math/s_catanl.c (__catanl): Likewise.
46107 * math/s_ccosh.c (__ccosh): Likewise.
46108 * math/s_ccoshf.c (__ccoshf): Likewise.
46109 * math/s_ccoshl.c (__ccoshl): Likewise.
46110 * math/s_cexp.c (__cexp): Likewise.
46111 * math/s_cexpf.c (__cexpf): Likewise.
46112 * math/s_cexpl.c (__cexpl): Likewise.
46113 * math/s_clog10.c (__clog10): Likewise.
46114 * math/s_clog10f.c (__clog10f): Likewise.
46115 * math/s_clog10l.c (__clog10l): Likewise.
46116 * math/s_clog.c (__clog): Likewise.
46117 * math/s_clogf.c (__clogf): Likewise.
46118 * math/s_clogl.c (__clogl): Likewise.
46119 * math/s_csin.c (__csin): Likewise.
46120 * math/s_csinf.c (__csinf): Likewise.
46121 * math/s_csinh.c (__csinh): Likewise.
46122 * math/s_csinhf.c (__csinhf): Likewise.
46123 * math/s_csinhl.c (__csinhl): Likewise.
46124 * math/s_csinl.c (__csinl): Likewise.
46125 * math/s_csqrt.c (__csqrt): Likewise.
46126 * math/s_csqrtf.c (__csqrtf): Likewise.
46127 * math/s_csqrtl.c (__csqrtl): Likewise.
46128 * math/s_ctan.c (__ctan): Likewise.
46129 * math/s_ctanf.c (__ctanf): Likewise.
46130 * math/s_ctanh.c (__ctanh): Likewise.
46131 * math/s_ctanhf.c (__ctanhf): Likewise.
46132 * math/s_ctanhl.c (__ctanhl): Likewise.
46133 * math/s_ctanl.c (__ctanl): Likewise.
46134 * math/w_pow.c: Likewise.
46135 * math/w_powf.c: Likewise.
46136 * math/w_powl.c: Likewise.
46137 * math/w_scalb.c (sysv_scalb): Likewise.
46138 * math/w_scalbf.c (sysv_scalbf): Likewise.
46139 * math/w_scalbl.c (sysv_scalbl): Likewise.
46140 * misc/error.c (error_tail): Likewise.
46141 * misc/pselect.c (__pselect): Likewise.
46142 * nis/nis_callback.c (__nis_create_callback): Likewise.
46143 * nis/nis_call.c (__nisfind_server): Likewise.
46144 * nis/nis_creategroup.c (nis_creategroup): Likewise.
46145 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
46146 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
46147 * nis/nis_getservlist.c (nis_getservlist): Likewise.
46148 * nis/nis_lookup.c (nis_lookup): Likewise.
46149 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
46150 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
46151 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
46152 * nis/nis_xdr.c (xdr_endpoint): Likewise.
46153 * nis/nss_compat/compat-grp.c (getgrent_next_file)
46154 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
46155 * nis/nss_compat/compat-initgroups.c (add_group)
46156 (internal_getgrent_r): Likewise.
46157 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
46158 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
46159 * nis/nss_compat/compat-spwd.c (getspent_next_file)
46160 (internal_getspnam_r): Likewise.
46161 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
46162 (_nss_nis_getaliasbyname_r): Likewise.
46163 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
46164 (_nss_nis_getntohost_r): Likewise.
46165 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
46166 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
46167 (_nss_nis_getgrgid_r): Likewise.
46168 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
46169 (internal_nis_gethostent_r, internal_gethostbyname2_r)
46170 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
46171 (_nss_nis_gethostbyname4_r): Likewise.
46172 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
46173 (initgroups_netid): Likewise.
46174 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
46175 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
46176 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
46177 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
46178 (_nss_nis_getprotobynumber_r): Likewise.
46179 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
46180 (_nss_nis_getsecretkey): Likewise.
46181 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
46182 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
46183 (_nss_nis_getpwuid_r): Likewise.
46184 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
46185 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
46186 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
46187 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
46188 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
46189 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
46190 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
46191 Likewise.
46192 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
46193 (_nss_nisplus_getntohost_r): Likewise.
46194 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
46195 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
46196 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
46197 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
46198 Likewise.
46199 * nis/nss_nisplus/nisplus-initgroups.c
46200 (_nss_nisplus_initgroups_dyn): Likewise.
46201 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
46202 (_nss_nisplus_getnetbyaddr_r): Likewise.
46203 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
46204 (_nss_nisplus_getprotobynumber_r): Likewise.
46205 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
46206 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
46207 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
46208 Likewise.
46209 * nis/nss_nisplus/nisplus-service.c
46210 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
46211 (_nss_nisplus_getservbyport_r): Likewise.
46212 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
46213 (_nss_nisplus_getspnam_r): Likewise.
46214 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
46215 Likewise.
46216 * nscd/aicache.c (addhstaiX): Likewise.
46217 * nscd/cache.c (cache_search, prune_cache): Likewise.
46218 * nscd/connections.c (register_traced_file, send_ro_fd)
46219 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
46220 (main_loop_epoll): Likewise.
46221 * nscd/grpcache.c (addgrbyX): Likewise.
46222 * nscd/hstcache.c (addhstbyX): Likewise.
46223 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46224 * nscd/mem.c (gc, mempool_alloc): Likewise.
46225 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
46226 (addinnetgrX): Likewise.
46227 * nscd/nscd-client.h (__nscd_acquire_maplock)
46228 (__nscd_drop_map_ref): Likewise.
46229 * nscd/nscd_getai.c (__nscd_getai): Likewise.
46230 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
46231 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
46232 Likewise.
46233 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
46234 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46235 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
46236 (__nscd_get_map_ref): Likewise.
46237 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
46238 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
46239 Likewise.
46240 * nscd/pwdcache.c (addpwbyX): Likewise.
46241 * nscd/selinux.c (preserve_capabilities): Likewise.
46242 * nscd/servicescache.c (addservbyX): Likewise.
46243 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
46244 * posix/fnmatch.c (fnmatch): Likewise.
46245 * posix/getopt.c (_getopt_internal_r): Likewise.
46246 * posix/glob.c (glob, glob_in_dir): Likewise.
46247 * posix/wordexp.c (exec_comm_child): Likewise.
46248 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
46249 (getanswer_r, gaih_getanswer_slice): Likewise.
46250 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
46251 * resolv/res_init.c: Likewise.
46252 * resolv/res_mkquery.c (res_nmkquery): Likewise.
46253 * resolv/res_query.c (__libc_res_nquery): Likewise.
46254 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
46255 Likewise.
46256 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
46257 * stdio-common/perror.c (perror): Likewise.
46258 * stdio-common/printf_fp.c (___printf_fp): Likewise.
46259 * stdio-common/tmpnam.c (tmpnam): Likewise.
46260 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46261 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
46262 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
46263 Likewise.
46264 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
46265 * stdlib/putenv.c (putenv): Likewise.
46266 * stdlib/setenv.c (__add_to_environ): Likewise.
46267 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46268 * stdlib/strtol_l.c (INTERNAL): Likewise.
46269 * string/memmem.c (memmem): Likewise.
46270 * string/strerror.c (strerror): Likewise.
46271 * string/strnlen.c (__strnlen): Likewise.
46272 * string/test-memmem.c (simple_memmem): Likewise.
46273 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
46274 * sunrpc/pm_getport.c (__get_socket): Likewise.
46275 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
46276 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
46277 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
46278 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
46279 Likewise.
46280 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
46281 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
46282 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
46283 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
46284 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
46285 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
46286 Likewise.
46287 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
46288 Likewise.
46289 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
46290 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
46291 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46292 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
46293 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
46294 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
46295 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
46296 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
46297 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
46298 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
46299 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46300 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
46301 Likewise.
46302 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
46303 Likewise.
46304 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
46305 Likewise.
46306 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
46307 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46308 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
46309 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
46310 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
46311 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
46312 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46313 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
46314 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
46315 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
46316 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
46317 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46318 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
46319 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
46320 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46321 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
46322 Likewise.
46323 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
46324 Likewise.
46325 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
46326 Likewise.
46327 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
46328 Likewise.
46329 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46330 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46331 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
46332 Likewise.
46333 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
46334 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
46335 * sysdeps/posix/opendir.c (__opendirat): Likewise.
46336 * sysdeps/posix/sleep.c: Likewise.
46337 * sysdeps/posix/tempname.c: Likewise.
46338 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
46339 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46340 Likewise.
46341 * sysdeps/powerpc/powerpc32/dl-machine.h
46342 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
46343 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
46344 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46345 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
46346 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
46347 Likewise.
46348 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
46349 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
46350 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46351 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
46352 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46353 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
46354 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
46355 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
46356 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46357 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
46358 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
46359 (elf_machine_lazy_rel): Likewise.
46360 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46361 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
46362 (elf_machine_lazy_rel): Likewise.
46363 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
46364 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
46365 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
46366 * sysdeps/unix/grantpt.c (grantpt): Likewise.
46367 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
46368 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
46369 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
46370 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46371 Likewise.
46372 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
46373 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
46374 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
46375 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
46376 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
46377 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
46378 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
46379 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
46380 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
46381 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
46382 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
46383 Likewise.
46384 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
46385 (__posix_fallocate64_l64): Likewise.
46386 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
46387 (posix_fallocate): Likewise.
46388 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
46389 Likewise.
46390 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46391 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
46392 (getifaddrs_internal): Likewise.
46393 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
46394 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
46395 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
46396 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
46397 * sysdeps/unix/sysv/linux/posix_fallocate64.c
46398 (__posix_fallocate64_l64): Likewise.
46399 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
46400 Likewise.
46401 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
46402 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
46403 (__get_clockfreq): Likewise.
46404 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
46405 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
46406 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
46407 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46408 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46409 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
46410 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
46411 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
46412 Likewise.
46413 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
46414 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
46415 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
46416 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
46417 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46418 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
46419 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
46420 Likewise.
46421 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46422 (posix_fallocate): Likewise.
46423 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46424 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
46425 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
46426 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
46427 (elf_machine_rela, elf_machine_rela_relative)
46428 (elf_machine_lazy_rel): Likewise.
46429 * time/asctime.c (asctime_internal): Likewise.
46430 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
46431 * time/tzset.c (__tzset_parse_tz): Likewise.
46432 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46433 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46434 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
46435 * wcsmbs/wcsmbsload.h: Likewise.
46436
46437 [BZ #15894]
46438 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
46439
46440 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
46441 (arena_get2): Remove THREAD_STATS conditionals.
46442 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
46443 (__malloc_stats, int): Likewise.
46444
46445 2014-02-08 Mike Frysinger <vapier@gentoo.org>
46446
46447 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
46448 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
46449
46450 * manual/setjmp.texi: Fix typos/grammar errors.
46451
46452 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
46453 Only return early when n is <= 0. Delete unused return statement.
46454
46455 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
46456 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
46457 * debug/tst-longjmp_chk3.c: New file.
46458
46459 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
46460 (test_main): Replace code with set_fortify_handler call.
46461 * debug/test-strcpy_chk.c: Likewise.
46462 * debug/tst-chk1.c: Likewise.
46463 * debug/tst-longjmp_chk.c: Likewise.
46464 * test-skeleton.c: Include fcntl.h & paths.h
46465 (set_fortify_handler): Define.
46466
46467 * debug/tst-longjmp_chk.c: Add header comment and include
46468 ../test-skeleton.c.
46469 (do_test): Mark static.
46470 (TEST_FUNCTION): Define.
46471
46472 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
46473 (IP_PMTUDISC_INTERFACE): Likewise.
46474 (IP_MULTICAST_IF): Likewise.
46475 (IP_MULTICAST_TTL): Likewise.
46476 (IP_MULTICAST_LOOP): Likewise.
46477 (IP_ADD_MEMBERSHIP): Likewise.
46478 (IP_DROP_MEMBERSHIP): Likewise.
46479 (IP_UNBLOCK_SOURCE): Likewise.
46480 (IP_BLOCK_SOURCE): Likewise.
46481 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
46482 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
46483 (IP_MSFILTER): Likewise.
46484 (MCAST_JOIN_GROUP): Likewise.
46485 (MCAST_BLOCK_SOURCE): Likewise.
46486 (MCAST_UNBLOCK_SOURCE): Likewise.
46487 (MCAST_LEAVE_GROUP): Likewise.
46488 (MCAST_JOIN_SOURCE_GROUP): Likewise.
46489 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
46490 (MCAST_MSFILTER): Likewise.
46491 (IP_MULTICAST_ALL): Likewise.
46492 (IP_UNICAST_IF): Likewise.
46493
46494 * timezone/Makefile: Delete $(have-ksh) check.
46495 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
46496 * timezone/tzselect.ksh: Add +x mode bits.
46497
46498 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
46499 (ANON_INODE_FS_MAGIC): Likewise.
46500 (BDEVFS_MAGIC): Likewise.
46501 (BINFMTFS_MAGIC): Likewise.
46502 (BTRFS_TEST_MAGIC): Likewise.
46503 (CRAMFS_MAGIC_WEND): Likewise.
46504 (DEBUGFS_MAGIC): Likewise.
46505 (ECRYPTFS_SUPER_MAGIC): Likewise.
46506 (EXT3_SUPER_MAGIC): Likewise.
46507 (EXT4_SUPER_MAGIC): Likewise.
46508 (FUTEXFS_SUPER_MAGIC): Likewise.
46509 (HOSTFS_SUPER_MAGIC): Likewise.
46510 (HUGETLBFS_MAGIC): Likewise.
46511 (MINIX3_SUPER_MAGIC): Likewise.
46512 (MTD_INODE_FS_MAGIC): Likewise.
46513 (NILFS_SUPER_MAGIC): Likewise.
46514 (OPENPROM_SUPER_MAGIC): Likewise.
46515 (PIPEFS_MAGIC): Likewise.
46516 (PSTOREFS_MAGIC): Likewise.
46517 (QNX6_SUPER_MAGIC): Likewise.
46518 (RAMFS_MAGIC): Likewise.
46519 (REISERFS_SUPER_MAGIC_STRING): Likewise.
46520 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
46521 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
46522 (SECURITYFS_MAGIC): Likewise.
46523 (SELINUX_MAGIC): Likewise.
46524 (SMACK_MAGIC): Likewise.
46525 (SOCKFS_MAGIC): Likewise.
46526 (SQUASHFS_MAGIC): Likewise.
46527 (STACK_END_MAGIC): Likewise.
46528 (TMPFS_MAGIC): Likewise.
46529 (USBDEVICE_SUPER_MAGIC): Likewise.
46530 (V9FS_MAGIC): Likewise.
46531 (XENFS_SUPER_MAGIC): Likewise.
46532 (CRAMFS_MAGIC): Fix typo in comment.
46533 (EXT2_SUPER_MAGIC): Update comment.
46534 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
46535
46536 2014-02-08 Joseph Myers <joseph@codesourcery.com>
46537
46538 * sysdeps/arm: Move directory from ports/sysdeps/arm.
46539 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
46540 * sysdeps/unix/sysv/linux/arm: Move directory from
46541 ports/sysdeps/unix/sysv/linux/arm.
46542 * README: Update listing for arm-*-linux-gnueabi.
46543
46544 * README: Remove mention of am33.
46545
46546 2014-02-07 Roland McGrath <roland@hack.frob.com>
46547
46548 * bits/sigset.h (__sigemptyset): Use a statement expression rather
46549 than the comma operator, to avoid "rhs of comma has no effect"
46550 compiler warnings.
46551 (__sigfillset, __sigandset, __sigorset): Likewise.
46552 * include/signal.h (__sigemptyset): Likewise.
46553 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
46554
46555 2014-02-07 Allan McRae <allan@archlinux.org>
46556
46557 * version.h (RELEASE): Set to "development".
46558 (VERSION): Set to "2.19.90"
46559 * NEWS: Add 2.20 section.
46560
46561 2014-02-06 Carlos O'Donell <carlos@redhat.com>
46562
46563 [BZ #16529]
46564 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
46565
46566 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
46567
46568 * manual/contrib.texi: Update entry for Carlos O'Donell,
46569 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
46570
46571 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
46572
46573 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
46574
46575 * sysdeps/unix/sysv/linux/kernel-features.h
46576 [__LINUX_KERNEL_VERSION >= 0x020621]
46577 (__ASSUME_PROC_PID_TASK_COMM): Define.
46578
46579 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46580
46581 [BZ #16398]
46582 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
46583 conversion when destination buffer does not have enough space.
46584 * libio/tst-ftell-partial-wide.c: New test case.
46585 * libio/Makefile (tests): Add tst-ftell-partial-wide.
46586
46587 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
46588 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
46589 Leonard and Allan McRae.
46590
46591 2014-02-04 David S. Miller <davem@davemloft.net>
46592
46593 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
46594 32-bit.
46595
46596 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46597
46598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
46599 New file
46600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
46601 New file
46602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
46603 New file.
46604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
46605 New file.
46606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
46607 New file.
46608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
46609 New file.
46610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
46611 New file.
46612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
46613 New file.
46614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
46615 New file.
46616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
46617 New file.
46618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
46619 New file.
46620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
46621 New file.
46622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
46623 New file.
46624
46625 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46626
46627 * nptl/shlib-versions: Change powerpc*le start to 2.17.
46628 * shlib-versions: Likewise.
46629
46630 2014-02-04 Roland McGrath <roland@hack.frob.com>
46631 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46632
46633 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
46634 (abilist-pattern): New variable, set to %-le.abilist.
46635
46636 * Makerules (abilist-pattern): New variable.
46637 (vpath): Use $(abilist-pattern) in place of %.abilist.
46638 (check-abi-% pattern rule): Likewise.
46639 (check-abi, update-abi): Likewise.
46640
46641 2014-02-04 Eric Wong <normalperson@yhbt.net>
46642
46643 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46644
46645 2014-02-03 Carlos O'Donell <carlos@redhat.com>
46646
46647 * manual/startup.texi: Add next, previous, and top entries for
46648 the `Program Arguments' and `Environment Variables' nodes.
46649
46650 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
46651
46652 * manual/macros.texi: Add comments before MTASC-safety macros.
46653
46654 * manual/users.texi: Document MTASC-safety properties.
46655
46656 * manual/threads.texi (pthread_key_create, pthread_key_delete)
46657 (pthread_getspecific, pthread_setspecific): Format with
46658 @deftypefun, and add @safety note.
46659 * manual/signal.texi: Move comments that analyze the above
46660 functions to their home place.
46661
46662 2014-02-03 Allan McRae <allan@archlinux.org>
46663
46664 * po/sl.po: Update Slovenian translation from translation project.
46665
46666 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
46667
46668 * manual/time.texi (timegm): Add missing blank after @c.
46669 Reported by Joseph Myers <joseph@codesourcery.com>.
46670
46671 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
46672
46673 * manual/check-safety.sh: New.
46674 * manual/Makefile ($(objpfx)stamp-summary): Run it.
46675
46676 * manual/terminal.texi: Document MTASC-safety properties.
46677
46678 * manual/filesys.texi: Document MTASC-safety properties.
46679
46680 * manual/errno.texi: Document MTASC-safety properties.
46681
46682 * manual/intro.texi: Document safety identifiers and
46683 conditionals.
46684
46685 * manual/string.texi (wcstok): Fix prototype.
46686 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
46687
46688 * manual/time.texi: Document MTASC-safety properties.
46689
46690 * manual/string.texi: Document MTASC-safety properties.
46691
46692 * manual/threads.texi: Document MTASC-safety properties.
46693
46694 * manual/stdio.texi: Document MTASC-safety properties.
46695
46696 * manual/syslog.texi: Document MTASC-safety properties.
46697
46698 * manual/sysinfo.texi: Document MTASC-safety properties.
46699
46700 * manual/startup.texi: Document MTASC-safety properties.
46701
46702 * manual/socket.texi: Document MTASC-safety properties.
46703
46704 * manual/signal.texi: Document MTASC-safety properties.
46705
46706 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
46707
46708 * manual/setjmp.texi: Document MTASC-safety properties.
46709
46710 * manual/search.texi: Document MTASC-safety properties.
46711
46712 * manual/resource.texi: Document MTASC-safety properties.
46713
46714 * manual/process.texi: Document MTASC-safety properties.
46715
46716 * manual/platform.texi: Document MTASC-safety properties.
46717
46718 * manual/pipe.texi: Document MTASC-safety properties.
46719
46720 * manual/pattern.texi: Document MTASC-safety properties.
46721
46722 * manual/message.texi: Document MTASC-safety properties.
46723
46724 [BZ #12751]
46725 * manual/memory.texi: Document MTASC-safety properties.
46726
46727 * manual/math.texi: Document MTASC-safety properties.
46728
46729 * manual/locale.texi: Document MTASC-safety properties.
46730
46731 * manual/llio.texi: Document MTASC-safety properties.
46732
46733 * manual/libdl.texi: New.
46734
46735 * manual/lang.texi: Document MTASC-safety properties.
46736
46737 * manual/job.texi: Document MTASC-safety properties.
46738
46739 * manual/getopt.texi: Document MTASC-safety properties.
46740
46741 * manual/ctype.texi: Document MTASC-safety properties.
46742
46743 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
46744
46745 [BZ #16046]
46746 * csu/libc-tls.c (static_map): Remove variable.
46747 (__libc_setup_tls): Use main executable's link map for TLS data.
46748 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
46749 casing for LM_ID_BASE and GL(dl_nns).
46750 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
46751 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
46752 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
46753 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
46754 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
46755 member.
46756 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
46757 l_phnum members.
46758
46759 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
46760
46761 * manual/debug.texi: Document MTASC-safety properties.
46762
46763 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
46764
46765 [BZ #16510]
46766 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
46767 of __x86_64__ when disabling x87 inline functions.
46768
46769 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
46770
46771 * manual/charset.texi: Document MTASC-safety properties.
46772
46773 * manual/crypt.texi: Document MTASC-safety properties.
46774
46775 * manual/conf.texi: Document MTASC-safety properties.
46776
46777 * manual/arith.texi: Document MTASC-safety properties.
46778
46779 * manual/argp.texi: Document MTASC-safety properties.
46780
46781 * manual/macros.texi: Introduce macros to document multi
46782 thread, asynchronous signal and asynchronous cancellation
46783 safety properties.
46784 * manual/intro.texi: Introduce the properties themselves.
46785
46786 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46787
46788 * sysdeps/sh/sh4/Makefile: New file.
46789
46790 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
46791
46792 * math/gen-libm-test.pl ($srcdir): New variable.
46793 ($auto_input): Use it.
46794
46795 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
46796
46797 [BZ #16506]
46798 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
46799 access beyond array bounds when parsing netgroups file.
46800
46801 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
46802 the old buffer before realloc.
46803
46804 2014-01-27 Allan McRae <allan@archlinux.org>
46805
46806 * po/fr.po: Update French translation from translation project.
46807
46808 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46809
46810 * sysdeps/sh/libm-test-ulps: Regenerate.
46811
46812 2014-01-24 David S. Miller <davem@davemloft.net>
46813
46814 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
46815
46816 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46817
46818 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
46819 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
46820
46821 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
46822
46823 [BZ #16474]
46824 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
46825 string pointers after reallocation.
46826
46827 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46828
46829 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
46830 __SH4A__ instead of __SH_FPU_ANY__.
46831
46832 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46833
46834 * sysdeps/sh/fpu_control.h: New file.
46835 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
46836 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
46837 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
46838 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
46839 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
46840 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
46841 * sysdeps/sh/sys/ucontext.h: Remove.
46842 * sysdeps/sh/sys: Remove directory.
46843
46844 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46845
46846 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
46847 s390/sys/ucontext.h.
46848 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
46849 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
46850
46851 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
46852
46853 [BZ #15605]
46854 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
46855
46856 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46857
46858 [BZ#16431]
46859 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
46860 Adjust the vDSO correctly for internal calls.
46861 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
46862
46863 2014-01-20 Allan McRae <allan@archlinux.org>
46864
46865 * po/ca.po: Update Catalan translation from translation project.
46866
46867 2014-01-16 Mike Frysinger <vapier@gentoo.org>
46868
46869 * sysdeps/s390/sotruss-lib.c: New file.
46870
46871 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46872
46873 [BZ#16430]
46874 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
46875 (__GI___gettimeofday): Alias for a different internal symbol to avoid
46876 local calls issues by not having a PLT stub required for IFUNC calls.
46877 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
46878
46879 2014-01-16 Joseph Myers <joseph@codesourcery.com>
46880
46881 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
46882 * math/test-fpucw-static.c: Likewise.
46883
46884 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
46885
46886 [BZ #16453]
46887 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
46888
46889 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46890
46891 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
46892 implementation for powerpc.
46893
46894 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
46895
46896 [BZ #14782]
46897 * sysdeps/posix/system.c (__libc_system): Do not enable
46898 asynchronous cancellation.
46899
46900 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46901
46902 [BZ #16427]
46903 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
46904 handling only for numbers special also in the IEEE case.
46905
46906 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46907
46908 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46909
46910 2014-01-11 Allan McRae <allan@archlinux.org>
46911
46912 * po/bg.po: Update Bulgarian translation from translation project.
46913
46914 * po/de.po: Update German translation from translation project.
46915
46916 2014-01-10 Roland McGrath <roland@hack.frob.com>
46917
46918 * sysdeps/generic/gcc-compat.h: New file.
46919
46920 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46921
46922 * benchtests/asin-inputs: Correct slow inputs.
46923 * benchtests/acos-inputs: Likewise.
46924
46925 2014-01-10 Allan McRae <allan@archlinux.org>
46926
46927 * po:sv.po: Update Swedish translation from translation project.
46928
46929 * po/vi.po: Update Vietnamese translation from translation project.
46930
46931 * po/eo.po: Update Esperanto translation from translation project.
46932
46933 * po/cs.po: Update Czech translation from translation project.
46934
46935 * po/nl.po: Update Dutch translation from translation project.
46936
46937 * po/pl.po: Update Polish translation from translation project.
46938
46939 * po/ru.po: Update Russian translation from translation project.
46940
46941 * po/uk.po: Update Ukrainian translation from translation project.
46942
46943 2014-01-08 Brooks Moses <bmoses@google.com>
46944
46945 * elf/dl-load.c: Fix comment typo.
46946
46947 2014-01-08 Carlos O'Donell <carlos@redhat.com>
46948
46949 * po/header.pot: Rename to...
46950 * po/pot.header: ... this.
46951 * po/Makefile: Use pot.header.
46952
46953 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
46954 Maxim Kuvyrkov <maxim@kugelworks.com>
46955
46956 [BZ #16394]
46957 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
46958 SRC and DEST against LEN.
46959
46960 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46961
46962 [BZ #16414]
46963 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
46964 implementation.
46965 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
46966
46967 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46968
46969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46970
46971 2014-01-08 Joseph Myers <joseph@codesourcery.com>
46972
46973 [BZ #16408]
46974 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
46975 for large positive arguments.
46976
46977 2014-01-07 Joseph Myers <joseph@codesourcery.com>
46978
46979 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
46980
46981 * math/auto-libm-test-in: Mark various tests with
46982 xfail-rounding:ldbl-128ibm.
46983 * math/auto-libm-test-out: Regenerated.
46984
46985 [BZ #16407]
46986 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
46987 Increase overflow threshold.
46988
46989 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
46990
46991 [BZ #14286]
46992 * stdio-common/vfprintf.c: Check for integer overflow.
46993
46994 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46995
46996 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
46997 the first argument and return value of __tls_get_addr_internal.
46998
46999 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47000
47001 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
47002 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
47003
47004 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47005
47006 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
47007 * sysdeps/s390/rtld-global-offsets.sym: New file.
47008 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
47009 GLIBC_2.19 symbol.
47010 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
47011 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
47012 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47013 ... this.
47014 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
47015 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47016 ... this.
47017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47018 Regenerate.
47019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47020 Regenerate.
47021 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
47022 halfs of GPRs for high_gprs contexts.
47023 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
47024 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
47025 field.
47026 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
47027 uc_flags field.
47028 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
47029 64 bit versions:
47030 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
47031 for high GPRs (uc_high_gprs) and for future extensions
47032 (__reserved).
47033 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
47034 for future extensions (__reserved).
47035 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
47036 64 bit versions:
47037 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
47038 SC_HIGHGPRS offset definition.
47039 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
47040 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
47041
47042 * Versions.def: Add GLIBC_2.19 for libpthread.
47043 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
47044 siglongjmp for libpthread with GLIBC_2.19 symver.
47045 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
47046 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
47047 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
47048 * sysdeps/s390/__longjmp.c: New file.
47049 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
47050 * sysdeps/s390/longjmp.c: New file.
47051 * sysdeps/s390/setjmp.S: New file.
47052 * sysdeps/s390/sigjmp.S: New file.
47053 * sysdeps/s390/v1-longjmp.c: New file.
47054 * sysdeps/s390/v1-setjmp.h: New file.
47055 * sysdeps/s390/v1-sigjmp.c: New file.
47056 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
47057 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
47058 GLIBC_2.19 version.
47059 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
47060 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
47061 versioned symbols for ____longjmp_chk.
47062 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47063 Likewise.
47064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47065 Regenerate.
47066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47067 Regenerate.
47068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47069 Regenerate.
47070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47071 Regenerate.
47072 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
47073 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
47074 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
47075 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
47076 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
47077 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
47078 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
47079 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
47080 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
47081 * sysdeps/s390/rtld-__longjmp.c: New file.
47082 * sysdeps/s390/rtld-setjmp.S: New file.
47083
47084 2014-01-06 Joseph Myers <joseph@codesourcery.com>
47085
47086 [BZ #16400]
47087 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47088 Return -__logl (x) for small positive arguments without evaluating
47089 a polynomial.
47090
47091 2014-01-06 Mike Frysinger <vapier@gentoo.org>
47092
47093 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
47094 Rename to ...
47095 (__ptrace_peeksiginfo_args): ... this.
47096 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47097 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47098 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47099
47100 2014-01-06 Allan McRae <allan@archlinux.org>
47101
47102 * inet/netinet/in.h: Fix typo in comment.
47103
47104 2014-01-05 Andreas Jaeger <aj@suse.de>
47105
47106 * sysdeps/i386/fpu/libm-test-ulps: Update.
47107
47108 2014-01-05 Allan McRae <allan@archlinux.org>
47109
47110 * po/libc.pot: Regenerated.
47111
47112 * malloc/memusagestat.c: Fix gettext call formatting.
47113
47114 2014-01-04 Sami Kerola <kerolasa@iki.fi>
47115
47116 * nscd/nscd.c: Improve usage() output.
47117
47118 2014-01-04 Mike Frysinger <vapier@gentoo.org>
47119
47120 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
47121 * sysdeps/unix/sysv/linux/configure: Regenerated.
47122 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
47123 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
47124
47125 2014-01-03 Joseph Myers <joseph@codesourcery.com>
47126
47127 [BZ #16390]
47128 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47129 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
47130
47131 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47132
47133 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
47134 extra tokens at end of #undef directive.
47135 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
47136 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
47137 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
47138
47139 2014-01-03 Joseph Myers <joseph@codesourcery.com>
47140
47141 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47142
47143 * math/auto-libm-test-in: Mark various tests with
47144 xfail-rounding:ldbl-128ibm.
47145 * math/auto-libm-test-out: Regenerated.
47146
47147 2014-01-02 Joseph Myers <joseph@codesourcery.com>
47148
47149 [BZ #16386]
47150 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
47151 numbers with subnormal high part when calculating exponent.
47152
47153 [BZ #16385]
47154 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
47155 fabs.
47156
47157 [BZ #16384]
47158 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
47159 M_LN2l.
47160 (__ieee754_acoshl): Use __log1pl not __log1p.
47161
47162 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
47163
47164 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
47165 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
47166 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
47167 (grow_heap, heap_trim, _int_new_arena, get_free_list)
47168 (reused_arena, arena_get2): Convert to GNU style.
47169 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
47170 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
47171 (memalign_check, __malloc_set_state): Likewise.
47172 * malloc/mallocbug.c (main): Likewise.
47173 * malloc/malloc.c (__malloc_assert, malloc_init_state)
47174 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
47175 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
47176 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
47177 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
47178 (__posix_memalign, malloc_info): Likewise.
47179 * malloc/malloc.h: Likewise.
47180 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
47181 (mallochook, memalignhook, reallochook, mabort): Likewise.
47182 * malloc/mcheck.h: Likewise.
47183 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
47184 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
47185 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
47186 * malloc/morecore.c (__default_morecore): Likewise.
47187 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
47188 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
47189 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
47190 (print_and_abort): Likewise.
47191 * malloc/obstack.h: Likewise.
47192 * malloc/set-freeres.c (__libc_freeres): Likewise.
47193 * malloc/tst-mallocstate.c (main): Likewise.
47194 * malloc/tst-mtrace.c (main): Likewise.
47195 * malloc/tst-realloc.c (do_test): Likewise.
47196
47197 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47198
47199 [BZ #16366]
47200 * nscd/netgroupcache.c (do_notfound): New function.
47201 (addgetnetgrentX): Use it.
47202
47203 [BZ # 16365]
47204 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
47205 NSS_STATUS_NOTFOUND.
47206
47207 2014-01-01 Joseph Myers <joseph@codesourcery.com>
47208
47209 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47211
47212 2014-01-01 Allan McRae <allan@archlinux.org>
47213
47214 * scripts/update-copyrights: Update configure input file suffix.
47215
47216 * NEWS: Update copyright year.
47217 * catgets/gencat.c: Likewise.
47218 * csu/version.c: Likewise.
47219 * debug/catchsegv.sh: Likewise.
47220 * debug/pcprofiledump.c: Likewise.
47221 * debug/xtrace.sh: Likewise.
47222 * elf/ldconfig.c: Likewise.
47223 * elf/ldd.bash.in: Likewise.
47224 * elf/pldd.c: Likewise.
47225 * elf/sotruss.ksh: Likewise.
47226 * elf/sprof.c: Likewise.
47227 * iconv/iconv_prog.c: Likewise.
47228 * iconv/iconvconfig.c: Likewise.
47229 * locale/programs/locale.c: Likewise.
47230 * locale/programs/localedef.c: Likewise.
47231 * login/programs/pt_chown.c: Likewise.
47232 * malloc/memusage.sh: Likewise.
47233 * malloc/memusagestat.c: Likewise.
47234 * malloc/mtrace.pl: Likewise.
47235 * manual/libc.texinfo: Likewise.
47236 * nscd/nscd.c: Likewise.
47237 * nss/getent.c: Likewise.
47238 * nss/makedb.c: Likewise.
47239 * posix/getconf.c: Likewise.
47240 * scripts/test-installation.pl: Likewise.
47241
47242 * All files with FSF copyright notices: Update copyright dates
47243 using scripts/update-copyrights.
47244 * intl/plural.c: Regenerated.
47245 * locale/programs/charmap-kw.h: Likewise.
47246 * locale/programs/locfile-kw.h: Likewise.
47247
47248 2013-12-31 Mike Frysinger <vapier@gentoo.org>
47249
47250 * sysdeps/unix/sysv/linux/configure: Regenerated.
47251 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
47252 the linux/fanotify.h header.
47253 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
47254 HAVE_LINUX_FANOTIFY_H is defined.
47255
47256 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
47257
47258 * benchtests/cos-inputs: New inputs.
47259 * benchtests/sin-inputs: Likewise.
47260
47261 * benchtests/atan-inputs: New inputs. Fix name of multiple
47262 precision fallback inputs.
47263
47264 * benchtests/atanh-inputs: New inputs.
47265 * benchtests/tanh-inputs: Likewise.
47266
47267 * benchtests/acosh-inputs: New inputs.
47268 * benchtests/asinh-inputs: Likewise.
47269
47270 * benchtests/cosh-inputs: New inputs.
47271 * benchtests/sinh-inputs: Likewise.
47272
47273 * benchtests/acos-inputs: Add more inputs.
47274 * benchtests/asin-inputs: Likewise.
47275
47276 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
47277
47278 [BZ #16375]
47279 * manual/arith.texi: Fix spelling.
47280 * manual/charset.texi: Likewise.
47281 * manual/errno.texi: Likewise.
47282 * manual/filesys.texi: Likewise.
47283 * manual/lang.texi: Likewise.
47284 * manual/llio.texi: Likewise.
47285 * manual/locale.texi: Likewise.
47286 * manual/message.texi: Likewise.
47287 * manual/resource.texi: Likewise.
47288 * manual/search.texi: Likewise.
47289 * manual/setjmp.texi: Likewise.
47290 * manual/stdio.texi: Likewise.
47291 * manual/string.texi: Likewise.
47292 * manual/sysinfo.texi: Likewise.
47293 * manual/time.texi: Likewise.
47294
47295 2013-12-27 Carlos O'Donell <carlos@redhat.com>
47296
47297 * po/sl.po: New file.
47298
47299 2013-12-27 Mike Frysinger <vapier@gentoo.org>
47300
47301 * .gitignore: Add core/.gdbinit/.gdb_history.
47302
47303 2013-12-27 Allan McRae <allan@archlinux.org>
47304
47305 [BZ #16369]
47306 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
47307 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
47308
47309 2013-12-24 Brooks Moses <bmoses@google.com>
47310
47311 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
47312 all compilers that claim C++98 compliance, not just GCC.
47313 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
47314 Likewise.
47315
47316 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
47317
47318 * NEWS: Restore accidentally deleted bug-fix entries.
47319
47320 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
47321 Ondřej Bílka <neleai@seznam.cz>
47322
47323 [BZ #15073]
47324 * malloc/malloc.c (_int_free): Perform sanity check only if we
47325 have_lock.
47326
47327 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
47328
47329 [BZ #12986]
47330 * manual/stdio.texi (String Input Conversions): Clarify that character
47331 classes are not supported.
47332
47333 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47334
47335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47336
47337 2013-12-22 Joseph Myers <joseph@codesourcery.com>
47338
47339 [BZ #16337]
47340 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47341 Calculate results for small negative arguments directly rather
47342 than using reflection formula with special underflow handling.
47343
47344 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
47345 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
47346 sysdeps/unix/bsd/bsd4.4/syscalls.list.
47347 (fchflags): Likewise.
47348 (revoke): Likewise.
47349 (setlogin): Likewise.
47350 (sigaltstack): Likewise.
47351 (wait4): Likewise.
47352 (sigblock): Remove.
47353 (sigsetmask): Likewise.
47354 (wait3): Likewise.
47355 (waitpid): Likewise.
47356 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
47357 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
47358 file.
47359 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
47360 * sysdeps/unix/bsd/Makefile: ... here.
47361 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
47362 * sysdeps/unix/bsd/Versions: ... here.
47363 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
47364 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
47365 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
47366 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
47367 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
47368 * sysdeps/unix/bsd/sigblock.c: ... here.
47369 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
47370 * sysdeps/unix/bsd/sigsetmask.c: ... here.
47371 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
47372 * sysdeps/unix/bsd/sigvec.c: ... here.
47373 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
47374 * sysdeps/unix/bsd/tcdrain.c: ... here.
47375 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
47376 * sysdeps/unix/bsd/tcgetattr.c: ... here.
47377 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
47378 * sysdeps/unix/bsd/tcsetattr.c: ... here.
47379 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
47380 * sysdeps/unix/bsd/wait.c: ... here.
47381 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
47382 * sysdeps/unix/bsd/wait3.c: ... here.
47383 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
47384 * sysdeps/unix/bsd/waitpid.c: ... here.
47385
47386 2013-12-21 Joseph Myers <joseph@codesourcery.com>
47387
47388 [BZ #16356]
47389 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
47390 round-to-nearest for [!USE_AS_EXPM1L].
47391 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
47392 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
47393 more tests of exp and exp10. Expect some exp10 tests to miss
47394 exceptions or fail in directed rounding modes.
47395 * math/auto-libm-test-out: Regenerated.
47396 * math/libm-test.inc (exp10_tonearest_test_data): New array.
47397 (exp10_test_tonearest): New function.
47398 (exp10_towardzero_test_data): New array.
47399 (exp10_test_towardzero): New function.
47400 (exp10_downward_test_data): New array.
47401 (exp10_test_downward): New function.
47402 (exp10_upward_test_data): New array.
47403 (exp10_test_upward): New function.
47404 (main): Call the new functions.
47405 * sysdeps/i386/fpu/libm-test-ulps: Update.
47406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47407
47408 2013-12-20 Joseph Myers <joseph@codesourcery.com>
47409
47410 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
47411 asinh, atan, atan2, atanh, cbrt, cos and cosh.
47412 * math/auto-libm-test-out: Regenerated.
47413 * math/libm-test.inc (acosh_test_data): Add more tests.
47414 (atanh_test_data): Likewise.
47415 (ceil_test_data): Likewise.
47416 (copysign_test_data): Likewise.
47417 * sysdeps/i386/fpu/libm-test-ulps: Update.
47418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47419
47420 * timezone/checktab.awk: Update from tzcode 2013i.
47421 * timezone/private.h: Likewise.
47422 * timezone/scheck.c: Likewise.
47423 * timezone/tzfile.h: Likewise.
47424 * timezone/tzselect.ksh: Likewise.
47425 * timezone/zdump.c: Likewise.
47426 * timezone/zic.c: Likewise.
47427
47428 * math/auto-libm-test-in: Add tests of cpow.
47429 * math/auto-libm-test-out: Regenerated.
47430 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
47431 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47432 mpc_cc_c.
47433 (func_calc_desc): Add mpc_cc_c union field.
47434 (test_functions): Add cpow.
47435 (special_fill_2pi): New function.
47436 (special_real_inputs): Add 2pi.
47437 (calc_generic_results): Handle mpc_cc_c.
47438 * sysdeps/i386/fpu/libm-test-ulps: Update.
47439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47440
47441 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
47442 csqrt, ctan and ctanh.
47443 * math/auto-libm-test-out: Regenerated.
47444 * math/libm-test.inc (TEST_COND_x86_64): New macro.
47445 (TEST_COND_x86): Likewise.
47446 (ccos_test_data): Use AUTO_TESTS_c_c.
47447 (ccosh_test_data): Likewise.
47448 (cexp_test_data): Likewise.
47449 (clog_test_data): Likewise.
47450 (csqrt_test_data): Likewise.
47451 (ctan_test_data): Likewise.
47452 (ctan_tonearest_test_data): Likewise.
47453 (ctan_towardzero_test_data): Likewise.
47454 (ctan_downward_test_data): Likewise.
47455 (ctan_upward_test_data): Likewise.
47456 (ctanh_test_data): Likewise.
47457 (ctanh_tonearest_test_data): Likewise.
47458 (ctanh_towardzero_test_data): Likewise.
47459 (ctanh_downward_test_data): Likewise.
47460 (ctanh_upward_test_data): Likewise.
47461 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47462 mpc_c_c.
47463 (func_calc_desc): Add mpc_c_c union field.
47464 (FUNC_mpc_c_c): New macro.
47465 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
47466 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
47467 ctanh.
47468 (special_fill_min_subnorm_p120): New function.
47469 (special_real_inputs): Add min_subnorm_p120.
47470 (calc_generic_results): Handle mpc_c_c.
47471 * sysdeps/i386/fpu/libm-test-ulps: Update.
47472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47473
47474 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
47475
47476 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
47477 (do_sin_slow): New functions.
47478 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
47479 (cslow2, csloww1, csloww2): Use the new functions.
47480
47481 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
47482 Use M to change sign of result instead of X. Assume X is
47483 positive.
47484 (csloww1): Likewise.
47485 (__sin): Adjust.
47486 (__cos): Adjust.
47487
47488 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
47489 arguments A and DA.
47490 (__sin): Adjust.
47491 (__cos): Likewise.
47492
47493 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
47494 (__cos): Likewise.
47495 (sloww1): Don't adjust sign of DX.
47496 (csloww1): Likewise.
47497 (sloww2): Use X directly and don't adjust sign of DX.
47498 (csloww2): Likewise.
47499
47500 2013-12-19 Joseph Myers <joseph@codesourcery.com>
47501
47502 * math/auto-libm-test-in: Add tests of cabs and carg.
47503 * math/auto-libm-test-out: Regenerated.
47504 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
47505 (carg_test_data): Likewise.
47506 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47507 mpc_c_f.
47508 (func_calc_desc): Add mpc_c_f union field.
47509 (test_functions): Add cabs and carg.
47510 (calc_generic_results): Handle mpc_c_f.
47511
47512 * sysdeps/powerpc/powerpc32/libgcc-compat.S
47513 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
47514 as a macro and a compat symbol.
47515 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
47516 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
47517 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
47518 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
47519 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
47520 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
47521 not use .hidden.
47522 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
47523 Likewise.
47524 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
47525 Likewise.
47526 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
47527 Likewise.
47528 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
47529 Likewise.
47530 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
47531 Likewise.
47532 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
47533 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
47534 from GLIBC_2.3.2.
47535
47536 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47537
47538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47539
47540 2013-12-19 Joseph Myers <joseph@codesourcery.com>
47541
47542 * manual/texinfo.tex: Update to version 2013-11-26.10 with
47543 trailing whitespace removed.
47544 * scripts/config.guess: Update to version 2013-11-29.
47545 * scripts/config.sub: Update to version 2013-10-01.
47546
47547 * math/auto-libm-test-in: Add tests of sincos.
47548 * math/auto-libm-test-out: Regenerated.
47549 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
47550 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47551 mpfr_f_11.
47552 (func_calc_desc): Add mpfr_f_11 union field.
47553 (test_functions): Add sincos.
47554 (calc_generic_results): Handle mpfr_f_11.
47555 * sysdeps/i386/fpu/libm-test-ulps: Update.
47556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47557
47558 2013-12-19 Andreas Schwab <schwab@suse.de>
47559
47560 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
47561 CALL_MCOUNT.
47562 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
47563 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
47564 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
47565
47566 2013-12-19 Joseph Myers <joseph@codesourcery.com>
47567
47568 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
47569 * sysdeps/i386/fpu/libm-test-ulps: Update.
47570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47571
47572 [BZ #16293]
47573 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
47574 round-to-nearest mode when using frndint.
47575 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
47576 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47577 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
47578 Likewise.
47579 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
47580 sinh test to fail.
47581 * math/auto-libm-test-out: Regenerated.
47582 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
47583 (TEST_COND_x86): Likewise.
47584 (expm1_tonearest_test_data): New array.
47585 (expm1_test_tonearest): New function.
47586 (expm1_towardzero_test_data): New array.
47587 (expm1_test_towardzero): New function.
47588 (expm1_downward_test_data): New array.
47589 (expm1_test_downward): New function.
47590 (expm1_upward_test_data): New array.
47591 (expm1_test_upward): New function.
47592 (main): Run the new test functions.
47593 * sysdeps/i386/fpu/libm-test-ulps: Update.
47594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47595
47596 * include/features.h: Update comment documenting feature test
47597 macros. Mention _DEFAULT_SOURCE in comment.
47598 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
47599 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
47600 _BSD_SOURCE and _SVID_SOURCE.
47601 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
47602 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
47603 !_SVID_SOURCE]: Likewise.
47604 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47605 (__USE_POSIX_IMPLICITLY): Define.
47606 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47607 (_POSIX_SOURCE): Undefine and redefine.
47608 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47609 (_POSIX_C_SOURCE): Likewise.
47610 * manual/creature.texi (_DEFAULT_SOURCE): Document.
47611 (Feature Test Macros): Update documentation of default features.
47612
47613 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
47614
47615 * benchtests/Makefile: Add bench-strtok.
47616 * benchtests/bench-strtok.c: New file: strtok benchtest.
47617
47618 2013-12-19 Allan McRae <allan@archlinux.org>
47619
47620 * manual/install.texi: Suppress menu for plain text output.
47621 * INSTALL: Regenerated.
47622
47623 2013-12-18 Brooks Moses <bmoses@google.com>
47624
47625 [BZ #15846]
47626 * misc/getauxval.c: Include errno.h.
47627 (__getauxval): Set errno to ENOENT if the requested type is not
47628 found.
47629 * misc/sys/auxv.h (getauxval): Document that it may set errno;
47630 don't declare with __attribute_const__.
47631 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
47632 * manual/startup.texi: Document that getauxval sets errno.
47633
47634 2013-12-18 Joseph Myers <joseph@codesourcery.com>
47635
47636 * math/auto-libm-test-in: Add tests of jn and yn.
47637 * math/auto-libm-test-out: Regenerated.
47638 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
47639 (yn_test_data): Likewise.
47640 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47641 mpfr_if_f.
47642 (func_calc_desc): Add mpfr_if_f union field.
47643 (FUNC_mpfr_if_f): New macro.
47644 (test_functions): Add jn and yn.
47645 (calc_generic_results): Assert type of second input for
47646 mpfr_ff_f. Handle mpfr_if_f.
47647 (output_for_one_input_case): Disable all checking for arguments
47648 fitting floating-point types in case of an integer argument.
47649 * sysdeps/i386/fpu/libm-test-ulps: Update.
47650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47651
47652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47653 Don't expect fegetround reference in libm.so.
47654
47655 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
47656
47657 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
47658 $(config-cflags-nofma).
47659
47660 2013-12-18 Joseph Myers <joseph@codesourcery.com>
47661
47662 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
47663 * math/auto-libm-test-out: Regenerated.
47664
47665 [BZ #16338]
47666 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
47667 to determine exponent and adjust argument to have exponent of -1.
47668 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
47669 log2.
47670 * math/auto-libm-test-out: Regenerated.
47671 * sysdeps/i386/fpu/libm-test-ulps: Update.
47672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47673
47674 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
47675
47676 * manual/probes.texi: Remove cases when per-thread arenas are
47677 disabled.
47678
47679 2013-12-18 Andreas Schwab <schwab@suse.de>
47680
47681 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
47682 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
47683 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
47684 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
47685 * sysdeps/i386/i686/multiarch/Makefile: Update.
47686 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
47687
47688 2013-12-17 Joseph Myers <joseph@codesourcery.com>
47689
47690 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
47691 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
47692
47693 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
47694
47695 [BZ #15968]
47696 Support TZ transition times < 00:00:00.
47697 This is needed for version-3 tz-format files; it supports time
47698 stamps past 2037 for America/Godthab (the only entry in the tz
47699 database for which this change is relevant).
47700 * manual/time.texi (TZ Variable): Document transition times
47701 from -167:59:59 through -00:00:01.
47702 * time/tzset.c (tz_rule): Time of day is now signed.
47703 (__tzset_parse_tz): Parse negative time of day.
47704
47705 Document TZ transition times >= 25:00:00.
47706 * manual/time.texi (TZ Variable): Document transition times from
47707 25:00:00 through 167:59:59. These are already supported, and this
47708 support will help with version-3 tz-format files.
47709
47710 * manual/time.texi (TZ Variable): Modernize North America example
47711 to reflect current (i.e., 2007-and-later) daylight saving rules.
47712
47713 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
47714
47715 2013-12-17 Joseph Myers <joseph@codesourcery.com>
47716
47717 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
47718 * sysdeps/unix/bsd/bits/stat.h: Likewise.
47719 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
47720 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47721 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
47722 * sysdeps/unix/bsd/bsdstat.h: Likewise.
47723 * sysdeps/unix/bsd/clock.c: Likewise.
47724 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
47725 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
47726 * sysdeps/unix/bsd/init-posix.c: Likewise.
47727 * sysdeps/unix/bsd/poll.c: Likewise.
47728 * sysdeps/unix/bsd/ptsname.c: Likewise.
47729 * sysdeps/unix/bsd/seekdir.c: Likewise.
47730 * sysdeps/unix/bsd/setegid.c: Likewise.
47731 * sysdeps/unix/bsd/seteuid.c: Likewise.
47732 * sysdeps/unix/bsd/setgid.c: Likewise.
47733 * sysdeps/unix/bsd/setrgid.c: Likewise.
47734 * sysdeps/unix/bsd/setruid.c: Likewise.
47735 * sysdeps/unix/bsd/setsid.c: Likewise.
47736 * sysdeps/unix/bsd/setuid.c: Likewise.
47737 * sysdeps/unix/bsd/sigaction.c: Likewise.
47738 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
47739 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
47740 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
47741 * sysdeps/unix/bsd/telldir.c: Likewise.
47742 * sysdeps/unix/bsd/times.c: Likewise.
47743 * sysdeps/unix/bsd/usleep.c: Likewise.
47744
47745 * misc/Makefile (install-lib): Remove libbsd-compat.a.
47746 ($(objpfx)libbsd-compat.a): Remove rule.
47747
47748 * include/features.h (__FAVOR_BSD): Do not define.
47749 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
47750 features conflicting with POSIX.
47751 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
47752 (_BSD_SOURCE): Remove description of not being a subset of other
47753 feature test macros.
47754 * manual/job.texi (getpgrp): Do not document BSD version.
47755 (getpgid): Do not document by reference to BSD getpgrp.
47756 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
47757 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
47758 * signal/signal.h [__FAVOR_BSD]: Likewise.
47759 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
47760 instead of making contents conditional on [__FAVOR_BSD].
47761 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
47762
47763 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47764
47765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47766
47767 2013-12-17 Joseph Myers <joseph@codesourcery.com>
47768
47769 [BZ #16314]
47770 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
47771 values below 2**-450, not 2**-500.
47772 * math/auto-libm-test-in: Don't allow spurious underflow from
47773 hypot.
47774 * math/auto-libm-test-out: Regenerated.
47775
47776 [BZ #16316]
47777 [BZ #16330]
47778 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
47779 values of ha and hb and sort them after adjusting subnormal
47780 arguments.
47781 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
47782 Likewise.
47783 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
47784 values of ea and eb and sort them after adjusting subnormal
47785 arguments.
47786 * math/auto-libm-test-in: Do not expect some hypot tests of
47787 subnormals to fail. Add more hypot tests.
47788 * math/auto-libm-test-out: Regenerated.
47789
47790 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47791
47792 [BZ #13304]
47793 * sysdeps/sh/s_fma.c: New file.
47794 * sysdeps/sh/s_fmaf.c: New file.
47795 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
47796 version.
47797 * sysdeps/sh/Implies: Add sh/soft-fp.
47798
47799 2013-12-16 Roland McGrath <roland@hack.frob.com>
47800
47801 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
47802 level of indirection to members `objname', `errstring', `malloced'.
47803 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
47804 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
47805 it as the __longjmp argument (just pass 1 instead).
47806 (_dl_catch_error): Initialize C with argument pointers and address of
47807 volatile local ERRCODE rather than copying values out of C at return.
47808
47809 2013-12-16 Joseph Myers <joseph@codesourcery.com>
47810
47811 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
47812 * math/auto-libm-test-out: Regenerated.
47813 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
47814 (hypot_test_data): Likewise.
47815 (pow_test_data): Likewise.
47816 (pow_tonearest_test_data): Likewise.
47817 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47818 mpfr_ff_f.
47819 (func_calc_desc): Add mpfr_ff_f union field.
47820 (FUNC_mpfr_ff_f): New macro.
47821 (test_functions): Add atan2, hypot and pow.
47822 (special_fill_min): New function.
47823 (special_fill_minus_min): Likewise.
47824 (special_fill_min_subnorm): Likewise.
47825 (special_fill_minus_min_subnorm): Likewise.
47826 (special_real_inputs): Add min, -min, min_subnorm and
47827 -min_subnorm.
47828 (calc_generic_results): Handle mpfr_ff_f.
47829 * sysdeps/i386/fpu/libm-test-ulps: Update.
47830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47831
47832 2013-12-16 Will Newton <will.newton@linaro.org>
47833
47834 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
47835 (Aligned Memory Blocks): Add documentation for aligned_alloc
47836 and suggest it as an alternative to posix_memalign.
47837 (Hooks for Malloc): Document __memalign_hook is also called
47838 for aligned_alloc. (Summary of Malloc): Add summary for
47839 aligned alloc. Document __memalign_hook is also called
47840 for aligned_alloc.
47841
47842 2013-12-16 Will Newton <will.newton@linaro.org>
47843
47844 * manual/memory.texi (Malloc Examples): Clarify default
47845 alignment documentation. Suggest posix_memalign rather
47846 than memalign or valloc.
47847 (Aligned Memory Blocks): Remove suggestion to use memalign
47848 or valloc. Remove obsolete comment about BSD.
47849 Document memalign errno values and mark the function obsolete.
47850 Document posix_memalign returned error codes. Mark valloc
47851 as obsolete. (Hooks for Malloc): __memalign_hook is also
47852 called for posix_memalign and valloc.
47853 (Summary of Malloc): Add posix_memalign to function summary.
47854 __memalign_hook is also called for posix_memalign and valloc.
47855
47856 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
47857
47858 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
47859 TAYLOR_SIN.
47860 (__sin): Adjust.
47861 (__cos): Likewise.
47862 (sloww): Use mynumber union. Expand ternary operator into
47863 if-else statements.
47864 (cslow): use mynumber union.
47865
47866 2013-12-16 Allan McRae <allan@archlinux.org>
47867
47868 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
47869 * configure: Regenerated.
47870
47871 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
47872
47873 [BZ #14120]
47874 * configure.ac: Added --enable-maintainer-mode. Check for
47875 autoconf when enabled.
47876 * configure: Regenerated.
47877
47878 * nscd/nscd.service: New file.
47879 * nscd/nscd.tmpfiles: New file.
47880
47881 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
47882
47883 [BZ #12100]
47884 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
47885 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
47886 * sysdeps/x86_64/multiarch/strstr.c: ... here.
47887 (strstr): Add __strstr_sse2_unaligned ifunc.
47888 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
47889 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
47890 (strcasestr): Remove __strcasestr_sse42 ifunc.
47891 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
47892 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
47893 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47894
47895 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47896
47897 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
47898 * sysdeps/sh/bits/fenv.h: ... here.
47899 * sysdeps/sh/sh4/fpu/bits: Remove directory.
47900
47901 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47902
47903 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
47904
47905 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
47906 hypotf multiarch implementations.
47907 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
47908 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
47909 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
47910 multiarch hypot for PPC64.
47911 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
47912 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
47913 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
47914 multiarch hypotf for PPC64.
47915
47916 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
47917 modff multiarch implementations.
47918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
47919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
47920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
47921 multiarch modf for PPC64.
47922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
47923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
47924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
47925 multiarch modff for PPC64.
47926
47927 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
47928 and logl multiarch implementations.
47929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
47930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
47931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
47932 multiarch logb for PPC64.
47933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
47934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
47935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
47936 multiarch logb for PPC64.
47937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
47938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
47939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
47940 multiarch logb for PPC64.
47941
47942 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
47943 isinff multiarch implementation.
47944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
47945 file.
47946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
47947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
47948 multiarch isinf for PPC64.
47949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
47950 file.
47951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
47952 multiarch isinff for PPC64.
47953
47954 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
47955 finitef multiarch implementation.
47956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
47957 file.
47958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
47959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
47960 multiarch finite for PPC64.
47961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
47962 file.
47963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
47964 multiarch finitef for PPC64.
47965
47966 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
47967 lrint multiarch implementation.
47968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
47969 file.
47970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
47971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
47972 multiarch llrint for PPC64.
47973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
47974 multiarch lrint for PPC64.
47975
47976 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
47977 copysignf multiarch implementation.
47978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
47979 file.
47980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
47981 file.
47982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
47983 multiarch copysign for PPC64.
47984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
47985 multiarch copysignf for PPC64.
47986
47987 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
47988 multiarch implementation.
47989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
47990 file.
47991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
47992 file.
47993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
47994 file.
47995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
47996 file.
47997 multiarch llround for PPC64.
47998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
47999 multiarch trunc for PPC64.
48000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
48001 multiarch truncf for PPC64.
48002
48003 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
48004 multiarch implementation.
48005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
48006 file.
48007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
48008 file.
48009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
48010 file.
48011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
48012 file.
48013 multiarch llround for PPC64.
48014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
48015 multiarch round for PPC64.
48016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
48017 multiarch roundf for PPC64.
48018
48019 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
48020 multiarch implementation.
48021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
48022 file.
48023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
48024 file.
48025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
48026 file.
48027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
48028 file.
48029 multiarch llround for PPC64.
48030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
48031 multiarch floor for PPC64.
48032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
48033 multiarch floorf for PPC64.
48034
48035 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
48036 multiarch implementation.
48037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
48038 file.
48039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
48040 file.
48041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
48042 file.
48043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
48044 file.
48045 multiarch llround for PPC64.
48046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
48047 multiarch ceil for PPC64.
48048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
48049 multiarch ceilf for PPC64.
48050
48051 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48052 multiarch implementation.
48053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
48054 file.
48055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
48056 file.
48057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
48058 file.
48059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
48060 multiarch llround for PPC64.
48061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
48062 multiarch lround for PPC64.
48063
48064 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48065 multiarch implementation.
48066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
48067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
48068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
48069 file.
48070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
48071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
48072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
48073 multiarch isnan for PPC64.
48074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
48075 multiarch isnanf for PPC64.
48076
48077 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
48078 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
48079 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
48080 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
48081 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
48082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
48083
48084 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
48085 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48086 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48087 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48088
48089 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
48090 multiarch implementations.
48091 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48092 (__libc_ifunc_impl_list): Likewise.
48093 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
48094 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
48095 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
48096 multiarch stpcpy for PPC64.
48097
48098 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
48099 multiarch implementations.
48100 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48101 (__libc_ifunc_impl_list): Likewise.
48102 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
48103 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
48104 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
48105 multiarch strcpy for PPC64.
48106
48107 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
48108 redefine function name.
48109 (_wordcopy_fwd_dest_aligned): Likewise.
48110 (_wordcopy_bwd_aligned): Likewise.
48111 (_wordcopy_bwd_dest_aligned): Likewise.
48112 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
48113 multiarch implementations.
48114 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48115 (__libc_ifunc_impl_list): Likewise.
48116 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
48117 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
48118 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
48119 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
48120 multiarch wcscpy for PPC64.
48121
48122 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
48123 multiarch implementations.
48124 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48125 (__libc_ifunc_impl_list): Likewise.
48126 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
48127 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
48128 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
48129 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
48130 multiarch wcscpy for PPC64.
48131
48132 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
48133 multiarch implementations.
48134 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48135 (__libc_ifunc_impl_list): Likewise.
48136 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
48137 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
48138 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
48139 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
48140 multiarch wcsrchr for PPC64.
48141
48142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
48143 multiarch implementations.
48144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48145 (__libc_ifunc_impl_list): Likewise.
48146 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
48147 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
48148 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
48149 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
48150 multiarch wcschr for PPC64.
48151
48152 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
48153 multiarch implementations.
48154 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48155 (__libc_ifunc_impl_list): Likewise.
48156 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
48157 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
48158 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
48159 multiarch strchrnul for PPC64.
48160
48161 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
48162 implementations.
48163 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48164 (__libc_ifunc_impl_list): Likewise.
48165 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
48166 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
48167 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
48168 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
48169 strchr for PPC64.
48170
48171 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
48172 implementations.
48173 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48174 (__libc_ifunc_impl_list): Likewise.
48175 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
48176 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
48177 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
48178 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
48179 strncmp for PPC64.
48180
48181 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
48182 multiarch implementations.
48183 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48184 (__libc_ifunc_impl_list): Likewise.
48185 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
48186 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
48187 strncasecmp for PPC64.
48188 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
48189 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
48190 multiarch strncasecmp_l for PPC64.
48191
48192 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
48193 multiarch implementations.
48194 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48195 (__libc_ifunc_impl_list): Likewise.
48196 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
48197 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
48198 multiarch strcasecmp for PPC64.
48199 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
48200 file.
48201 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
48202 multiarch strcasecmp_l for PPC64.
48203
48204 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
48205 implementations.
48206 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48207 (__libc_ifunc_impl_list): Likewise.
48208 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
48209 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
48210 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
48211 strnlen for PPC64.
48212
48213 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
48214 implementations.
48215 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48216 (__libc_ifunc_impl_list): Likewise.
48217 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
48218 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
48219 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
48220 strlen for PPC64.
48221
48222 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
48223 implementations.
48224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48225 (__libc_ifunc_impl_list): Likewise.
48226 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
48227 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
48228 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
48229 rawmemrchr for PPC64.
48230
48231 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
48232 implementation.
48233 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48234 (__libc_ifunc_impl_list): Likewise.
48235 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
48236 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
48237 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
48238 memrchr for PPC64.
48239
48240 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
48241 implementation.
48242 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48243 (__libc_ifunc_impl_list): Likewise.
48244 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
48245 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
48246 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
48247 memchr for PPC64.
48248
48249 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
48250 implementation.
48251 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48252 (__libc_ifunc_impl_list): Likewise.
48253 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
48254 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
48255 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
48256 mempcpy for PPC64.
48257
48258 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
48259 avoid cretion of __bzero symbol.
48260 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
48261 Likewise.
48262 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
48263 Likewise.
48264 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
48265 Likewise.
48266 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
48267 multiarch implementations.
48268 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48269 (__libc_ifunc_impl_list): Likewise.
48270 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
48271 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
48272 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
48273 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
48274 bzero for PPC32.
48275 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
48276 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
48277 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
48278 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
48279 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
48280 memset for PPC64.
48281 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
48282
48283 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
48284 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
48285 implementations.
48286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48287 (__libc_ifunc_impl_list): Likewise.
48288 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
48289 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
48290 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
48291 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
48292 memcmp for PPC64.
48293
48294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
48295 multiarch for POWER/PPC64.
48296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
48297 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
48298 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
48299 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
48300 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
48301 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
48302 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
48303 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
48304 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
48305 memcpy for PPC64.
48306
48307 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
48308 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
48309 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
48310 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
48311 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
48312 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
48313 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
48314 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
48315 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
48316 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
48317 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
48318 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
48319 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
48320 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
48321 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
48322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
48323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
48324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
48325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
48326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
48327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
48328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
48329
48330 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48331
48332 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
48333
48334 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
48335
48336 * benchtests/Makefile (bench): Add exp2 and log2.
48337 (LDLIBS-bench-exp2): Add -lm.
48338 (LDLIBS-bench-log2): Likewise.
48339 * benchtests/exp2-inputs: New inputs file.
48340 * benchtests/log2-inputs: New inputs file.
48341 * benchtests/log-inputs: Add new inputs.
48342 * benchtests/tan-inputs: Likewise.
48343
48344 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
48345
48346 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
48347 definition...
48348 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
48349 (csloww2): ... from here.
48350
48351 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
48352 instead of structures.
48353 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
48354 (POLYNOMIAL): Likewise.
48355 (TAYLOR_SLOW): Likewise.
48356 (__sin): Likewise.
48357 (__cos): Likewise.
48358 (slow1): Likewise.
48359 (slow2): Likewise.
48360 (sloww): Likewise.
48361 (sloww1); Likewise.
48362 (sloww2): Likewise.
48363 (bsloww1): Likewise.
48364 (bsloww2): Likewise.
48365 (cslow2): Likewise.
48366 (csloww): Likewise.
48367 (csloww1): Likewise.
48368 (csloww2): Likewise.
48369
48370 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
48371
48372 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
48373 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
48374 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
48375 * malloc/hooks.c (realloc_check): Likewise.
48376
48377 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
48378 * malloc/arena.c: Remove PER_THREAD conditional.
48379 [!PER_THREAD]: Remove code.
48380 (ptmalloc_unlock_all2): Likewise.
48381 (ptmalloc_init): Likewise.
48382 (_int_new_arena): Likewise.
48383 (arena_get2): Likewise.
48384 * malloc/hooks.c (__malloc_get_state): Likewise.
48385 (__malloc_set_state): Likewise.
48386 * malloc/malloc.c: Likewise.
48387 (struct malloc_state): Likewise.
48388 (struct malloc_par): Likewise.
48389 (__libc_realloc): Likewise.
48390 (__libc_mallopt): Likewise.
48391
48392 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48393
48394 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
48395
48396 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
48397
48398 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
48399 macro to a function. Check for zero perturb_byte.
48400 (_int_malloc, _int_free): Remove zero perturb_byte checks.
48401
48402 * malloc/malloc.c: (force_reg): Remove.
48403 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
48404 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
48405 force_reg by atomic_forced_read.
48406 * malloc/arena.c (ptmalloc_init): Likewise.
48407 * malloc/hooks.c (top_check): Likewise.
48408
48409 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48410
48411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48412
48413 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
48414
48415 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48416
48417 2013-12-08 Joseph Myers <joseph@codesourcery.com>
48418
48419 * math/auto-libm-test-in: Add tests of lgamma.
48420 * math/auto-libm-test-out: Regenerated.
48421 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
48422 (M_LOG_2_SQRT_PIl): Likewise.
48423 (lgamma_test_data): Use AUTO_TESTS_f_f1.
48424 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48425 mpfr_f_f1.
48426 (func_calc_desc): Add mpfr_f_f1 union field.
48427 (ARGS1): New macro.
48428 (ARGS2): Likewise.
48429 (ARGS3): Likewise.
48430 (ARGS4): Likewise.
48431 (RET1): Likewise.
48432 (RET2): Likewise.
48433 (CALC): Likewise.
48434 (FUNC): Likewise.
48435 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
48436 (test_functions): Add lgamma.
48437 (calc_generic_results): Handle mpfr_f_f1.
48438 * sysdeps/i386/fpu/libm-test-ulps: Update.
48439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48440
48441 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48442
48443 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
48444 __mpn_add_n for PowerPC64/POWER7.
48445 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
48446 __mpn_sub_n for PowerPC64/POWER7.
48447
48448 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
48449 __mpn_addmul_1 for PowerPC64.
48450 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
48451 __mpn_submul_1 for PowerPC64.
48452 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
48453 for PowerPC64.
48454 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
48455 for PowerPC64.
48456
48457 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
48458
48459 [BZ #15089]
48460 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
48461
48462 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48463
48464 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
48465
48466 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
48467 add multiarch folders.
48468 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
48469 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
48470 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
48471 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
48472 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
48473 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
48474 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
48475 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
48476 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
48477 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
48478 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
48479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
48480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
48481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
48482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
48483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
48484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
48485
48486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
48487 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
48488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
48489 New file.
48490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
48491 New file.
48492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
48493 multiarch __ieee754_hypot for PowerPC32.
48494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
48495 New file.
48496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
48497 New file.
48498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
48499 multiarch __ieee754_hypotf for PowerPC32.
48500
48501 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
48502 long_double_symbol only if __logbl is defined.
48503 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
48504 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
48505 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
48506 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
48507 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
48508 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
48509 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
48510 path for implementation.
48511 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
48512 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
48513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
48514 logb, and logbl multiarch implementations for PowerPC32.
48515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
48516 file.
48517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
48518 file.
48519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
48520 multiarch logb for PowerPC32.
48521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
48522 file.
48523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
48524 file.
48525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
48526 multiarch logbf for PowerPC32.
48527 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
48528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
48529 file.
48530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
48531 multiarch logbl implementation for PowerPC32.
48532
48533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
48534 and modff multiarch implementations.
48535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
48536 New file.
48537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
48538 New file.
48539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
48540 multiarch modf for PowerPC32.
48541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
48542 New file.
48543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
48544 New file.
48545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
48546 multiarch modff for PowerPC32.
48547
48548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
48549 and lrintf multiarch implementations.
48550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
48551 New file.
48552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
48553 New file.
48554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
48555 multiarch lrint for PowerPC32.
48556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
48557 file: multiarch lrintf for PowerPC32.
48558
48559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
48560 and lroundf multiarch implementations.
48561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
48562 New file.
48563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
48564 New file.
48565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
48566 New file.
48567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
48568 multiarch lround for PowerPC32.
48569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
48570 file: multiarch lroundf for PowerPC32.
48571
48572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
48573 copysign and copysignf multiarch implementations.
48574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
48575 New file.
48576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
48577 New file.
48578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
48579 file: multiarch copysign for PowerPC32.
48580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
48581 file: multiarch copysignf for PowerPC32.
48582
48583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
48584 and truncf multiarch implementations.
48585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
48586 New file.
48587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
48588 file.
48589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
48590 multiarch trunc for PowerPC32.
48591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
48592 New file.
48593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
48594 New file.
48595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
48596 multiarch truncf for PowerPC32.
48597
48598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
48599 and roundf multiarch implementations.
48600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
48601 New file.
48602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
48603 file.
48604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
48605 multiarch round for PowerPC32.
48606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
48607 New file.
48608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
48609 New file.
48610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
48611 multiarch roundf for PowerPC32.
48612
48613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
48614 and floorf multiarch implementations.
48615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
48616 New file.
48617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
48618 file.
48619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
48620 multiarch floor for PowerPC32.
48621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
48622 New file.
48623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
48624 New file.
48625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
48626 multiarch floorf for PowerPC32.
48627
48628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
48629 and ceilf multiarch implementations.
48630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
48631 New file.
48632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
48633 file.
48634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
48635 multiarch ceil for PowerPC32.
48636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
48637 New file.
48638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
48639 file.
48640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
48641 multiarch ceilf for PowerPC32.
48642
48643 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
48644 is defined.
48645 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
48646 FINITEF is defined.
48647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
48648 and finitef multiarch implementations.
48649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
48650 New file.
48651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
48652 file.
48653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
48654 multiarch finite for PowerPC32.
48655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
48656 New file.
48657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
48658 file: multiarch finitef for PowerPC32.
48659
48660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
48661 and isinff multiarch implementations.
48662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
48663 file.
48664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
48665 file.
48666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
48667 multiarch isinf for PowerPC32.
48668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
48669 New file.
48670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
48671 multiarch isinff for PowerPC32.
48672
48673 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
48674 alias when __isnan is defined.
48675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
48676 and isnanf multiarch implementations.
48677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
48678 file.
48679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
48680 file.
48681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
48682 file.
48683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
48684 file.
48685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
48686 multiarch isnan for PowerPC32.
48687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
48688 New file.
48689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
48690 New file.
48691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
48692 multiarch isnanf for PowerPC32.
48693
48694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
48695 and sqrtf multiarch implementations.
48696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
48697 file.
48698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
48699 file.
48700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
48701 multiarch sqrt for PowerPC32.
48702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
48703 file.
48704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
48705 file.
48706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
48707 multiarch sqrtf for PowerPC32.
48708
48709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
48710 and llroundf multiarch implementations.
48711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
48712 New file.
48713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
48714 New file.
48715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
48716 New file.
48717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
48718 file: multiarch llround for PowerPC32.
48719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
48720 file: multiarch llroundf for PowerPC32.
48721
48722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
48723 multiarch PowerPC32 fpu implementations.
48724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
48725 New file.
48726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
48727 New file.
48728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
48729 multiarch llrint for PowerPC32.
48730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
48731 New file.
48732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
48733 New file.
48734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
48735 file.
48736
48737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
48738
48739 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
48740 file.
48741 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
48742 file.
48743 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
48744 file.
48745 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
48746 multiarch wordcopy for PPC32.
48747 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
48748 wordcopy objects.
48749 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48750 (__libc_ifunc_impl_list): Likewise.
48751 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
48752 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
48753 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
48754 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
48755 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
48756 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
48757
48758 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
48759 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
48760 file.
48761 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
48762 file.
48763 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
48764 file.
48765 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
48766 multiarch wcscpy for PPC32.
48767 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
48768 multiarch objects.
48769 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48770 (__libc_ifunc_impl_list): Likewise.
48771 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
48772 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
48773 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
48774 sysdeps/powerpc/power6/wcscpy.c.
48775
48776 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
48777 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
48778 file.
48779 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
48780 file.
48781 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
48782 file.
48783 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
48784 multiarch wcsrchr for PPC32.
48785 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
48786 multiarch objects.
48787 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48788 (__libc_ifunc_impl_list): Likewise.
48789 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
48790 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
48791 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
48792 sysdeps/powerpc/power6/wcsrchr.c.
48793
48794 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
48795 file.
48796 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
48797 file.
48798 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
48799 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
48800 multiarch wcschr for PPc32.
48801 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
48802 multiarch objects.
48803 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48804 (__libc_ifunc_impl_list): Likewise.
48805 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
48806 * sysdeps/powerpc/power6/wcschr.c: ... to here.
48807 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
48808 sysdeps/powerpc/power6/wcschr.c.
48809
48810 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
48811 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
48812 file.
48813 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
48814 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
48815 file: multiarch strchr for PPC32.
48816 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
48817 multiarch objects.
48818 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48819 (__libc_ifunc_impl_list): Likewise.
48820
48821 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
48822 name.
48823 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
48824 file.
48825 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
48826 file.
48827 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
48828 multiarch strchrnul for PPC32.
48829 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
48830 multiarch objects.
48831 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48832 (__libc_ifunc_impl_list): Likewise.
48833
48834 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
48835 file.
48836 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
48837 multiarch strncasecmp for PPC32.
48838 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
48839 file.
48840 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
48841 multiarch strncasecmp_l for PPC32.
48842 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
48843 strncasecmp multiarch objects.
48844 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48845 (__libc_ifunc_impl_list): Likewise.
48846
48847 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
48848 file.
48849 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
48850 multiarch strncasecmp for PPC32.
48851 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
48852 New file.
48853 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
48854 multiarch strcasecmp_l for PPC32.
48855 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
48856 multiarch objects.
48857 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48858 (__libc_ifunc_impl_list): Likewise.
48859
48860 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
48861 file.
48862 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
48863 file.
48864 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
48865 multiarch strncmp for PPC32.
48866 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
48867 multiarch objects.
48868 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48869 (__libc_ifunc_impl_list): Likewise.
48870
48871 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
48872 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
48873 file.
48874 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
48875 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
48876 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
48877 multiarch objects.
48878 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48879 (__libc_ifunc_impl_list): Likewise.
48880
48881 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
48882 file.
48883 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
48884 file.
48885 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
48886 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
48887 multiarch objects.
48888 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48889 (__libc_ifunc_impl_list): Likewise.
48890
48891 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
48892 file.
48893 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
48894 file.
48895 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
48896 multiarch rawmemchr for PPC32.
48897 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
48898 multiarch objects.
48899 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48900 (__libc_ifunc_impl_list): Likewise.
48901
48902 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
48903 file.
48904 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
48905 file.
48906 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
48907 file: memrchr multiarch for PPC32.
48908 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
48909 multiarch objects.
48910 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48911 (__libc_ifunc_impl_list): Likewise.
48912
48913 * string/memchr.c (__memchr): Using macro to redefine symbol name.
48914 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
48915 file.
48916 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
48917 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
48918 multiarch memchr for PPC32.
48919 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
48920 multiarch objects.
48921 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48922 (__libc_ifunc_impl_list): Likewise.
48923
48924 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
48925 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
48926 file.
48927 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
48928 file.
48929 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
48930 file: multiarch mempcpy for PPC32.
48931 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
48932 multiarch objects.
48933 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48934 (__libc_ifunc_impl_list): Likewise.
48935
48936 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
48937 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
48938 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
48939 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
48940 multiarch bzero for PPC32.
48941 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
48942 file.
48943 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
48944 file.
48945 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
48946 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
48947 file: multiarch memset for PPC32.
48948 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
48949 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
48950 memset multiarch objects.
48951 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48952 (__libc_ifunc_impl_list): Likewise.
48953
48954 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
48955 file.
48956 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
48957 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
48958 memcmp for PPC32.
48959 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
48960 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
48961 multiarch objects.
48962 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48963 (__libc_ifunc_impl_list): Likewise.
48964
48965 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
48966 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
48967 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
48968 file.
48969 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
48970 file.
48971 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
48972 file.
48973 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
48974 multiarch memcpy for PPC32.
48975 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
48976 multiarch objects.
48977 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48978 (__libc_ifunc_impl_list): Likewise.
48979
48980 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
48981 support multiarch for POWER/PPC32.
48982 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
48983 Likewise.
48984 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
48985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
48986 Implies file to make multiarch folder appers before the fpu and
48987 default folder for power4 configuration.
48988
48989 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
48990
48991 * scripts/bench.pl: Append volatile keyword to type.
48992
48993 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48994
48995 * sysdeps/sh/sotruss-lib.c: New file.
48996 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
48997
48998 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48999
49000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49001
49002 2013-12-05 Joseph Myers <joseph@codesourcery.com>
49003
49004 [BZ #6810]
49005 * math/w_tgamma.c: Include <errno.h>.
49006 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
49007 * math/w_tgammaf.c: Include <errno.h>.
49008 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
49009 * math/w_tgammal.c: Include <errno.h>.
49010 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
49011 * math/auto-libm-test-in: Do not allow missing errno on tgamma
49012 underflow. Add more tgamma tests.
49013 * math/auto-libm-test-out: Regenerated.
49014 * sysdeps/i386/fpu/libm-test-ulps: Update.
49015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49016
49017 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
49018 sin, sinh, tan, tanh, tgamma, y0 and y1.
49019 * math/auto-libm-test-out: Regenerated.
49020 * math/libm-test.inc (TEST_COND_x86_64): New macro.
49021 (TEST_COND_x86): Likewise.
49022 (M_E2l): Remove macro.
49023 (M_E3l): Likewise.
49024 (M_2_SQRT_PIl): Likewise.
49025 (M_SQRT_PIl): Likewise.
49026 (M_1_DIV_El): Likewise.
49027 (log_test_data): Use AUTO_TESTS_f_f.
49028 (log10_test_data): Likewise.
49029 (log1p_test_data): Likewise.
49030 (log2_test_data): Likewise.
49031 (sin_test_data): Likewise.
49032 (sin_tonearest_test_data): Likewise.
49033 (sin_towardzero_test_data): Likewise.
49034 (sin_downward_test_data): Likewise.
49035 (sin_upward_test_data): Likewise.
49036 (sinh_test_data): Likewise.
49037 (sinh_tonearest_test_data): Likewise.
49038 (sinh_towardzero_test_data): Likewise.
49039 (sinh_downward_test_data): Likewise.
49040 (sinh_upward_test_data): Likewise.
49041 (tan_test_data): Likewise.
49042 (tan_tonearest_test_data): Likewise.
49043 (tan_towardzero_test_data): Likewise.
49044 (tan_downward_test_data): Likewise.
49045 (tan_upward_test_data): Likewise.
49046 (tanh_test_data): Likewise.
49047 (tgamma_test_data): Likewise.
49048 (y0_test_data): Likewise.
49049 (y1_test_data): Likewise.
49050 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
49051 (special_real_inputs): Add pi/4.
49052 * sysdeps/i386/fpu/libm-test-ulps: Update.
49053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49054
49055 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49056
49057 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
49058 "longjmp_target" static probes.
49059 (__longjmp): Rename to __longjmp_symbol.
49060 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49061 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
49062 on which longjmp to generate.
49063 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49064 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
49065 probe.
49066 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49067 (__sigjmp_save): Rename to __sigjmp_save_symbol.
49068 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
49069 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
49070 and __sigjmp_save_symbol based on which sigsetjmp to generated.
49071 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
49073 __longjmp_symbol based on which __longjmp to generate.
49074 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
49075 probe.
49076 (setjmp): Rename to setjmp_symbol.
49077 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49078 (_setjmp): Rename to _setjmp_symbol.
49079 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49080 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
49081 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
49082 which setjmp to generate.
49083 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
49084 "longjmp_target" static probes.
49085
49086 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
49087
49088 * benchtests/README: Add note about output arguments.
49089 * benchtests/bench-sincos.c: Remove file.
49090 * benchtests/sincos-inputs: New file.
49091 * scripts/bench.pl: Identify output arguments and define
49092 static variables for them.
49093
49094 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
49095
49096 [BZ #15941]
49097 * Makefile (INSTALL): Add install-plain.texi as the primary
49098 dependency.
49099 * manual/install-plain.texi: New file.
49100 * manual/install.texi: Include node directive only for
49101 non-plaintext output.
49102
49103 2013-12-04 Joseph Myers <joseph@codesourcery.com>
49104
49105 * stdlib/longlong.h: Update from GCC.
49106
49107 [BZ #6807]
49108 [BZ #15901]
49109 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
49110 * math/w_j0f.c (y0f): Likewise.
49111 * math/w_j0l.c (__y0l): Likewise.
49112 * math/w_j1.c (y1): Likewise.
49113 * math/w_j1f.c (y1f): Likewise.
49114 * math/w_j1l.c (__y1l): Likewise.
49115 * math/w_jn.c (yn): Likewise.
49116 * math/w_jnf.c (ynf): Likewise.
49117 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
49118 Bessel function pole errors in _POSIX_ mode. Use NAN as return
49119 value for Bessel function domain errors outside _SVID_ mode.
49120 Adjust sign of return value for yn (negative integer, 0).
49121 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
49122 by zero in return for negative x and set sign appropriately for
49123 negative n.
49124 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
49125 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49126 * math/libm-test.inc (y0_test_data): Add more tests and adjust
49127 expectations in error cases.
49128 (y1_test_data): Likewise.
49129 (yn_test_data): Likewise.
49130 * sysdeps/i386/fpu/libm-test-ulps: Update.
49131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49132
49133 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49134
49135 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
49136 "64" to "64-v1". Add "64-v2".
49137 (abi-64-options): Rename to ...
49138 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
49139 (abi-64-condition): Rename to ...
49140 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
49141 (abi-64-ld-soname): Rename to ...
49142 (abi-64-v1-ld-soname): ... this.
49143 (abi-64-v2-options): Define.
49144 (abi-64-v2-condition): Likewise.
49145 (abi-64-v2-ld-soname): Likewise.
49146 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
49147 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
49148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
49149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
49150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
49151
49152 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49153 Alan Modra <amodra@gmail.com>
49154
49155 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
49156 New versions for use with the ELFv2 ABI.
49157 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
49158 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
49159 declaration.
49160 (struct La_ppc64v2_retval): Likewise.
49161 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
49162 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
49163 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
49164 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
49165 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
49166 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49167 Do not save or restore CR.
49168 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
49169 (_dl_profile_resolve): Do no save or restore CR. Support extended
49170 return values for ELFv2 ABI. Fix location of FPR return registers.
49171 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
49172 updated values for _CALL_ELF == 2.
49173 (La_regs, La_retval, int_retval): Likewise.
49174
49175 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49176
49177 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
49178 (FRAME_MIN_SIZE_PARM): Likewise.
49179 (FRAME_BACKCHAIN): Likewise.
49180 (FRAME_CR_SAVE): Likewise.
49181 (FRAME_LR_SAVE): Likewise.
49182 (FRAME_TOC_SAVE): Likewise.
49183 (FRAME_PARM_SAVE): Likewise.
49184 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
49185 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
49186 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49187 (call_mcount_parm_offset): New macro.
49188 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
49189 (PROF): Use symbolic stack frame offsets.
49190 (TAIL_CALL_SYSCALL_ERROR): Likewise.
49191 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
49192 Redefine in terms of FRAME_MIN_SIZE.
49193 (_dl_runtime_resolve): Use symbolic stack frame offsets.
49194 (_dl_profile_resolve): Likewise. Update comment.
49195 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
49196 symbols stack frame offsets.
49197 (__sigsetjmp): Likewise.
49198 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
49199 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
49200 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
49201 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
49202
49203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
49204 (FRAME_BACKCHAIN): Remove.
49205 (FRAME_CR_SAVE): Likewise.
49206 (FRAME_LR_SAVE): Likewise.
49207 (FRAME_COMPILER_DW): Likewise.
49208 (FRAME_LINKER_DW): Likewise.
49209 (FRAME_TOC_SAVE): Likewise.
49210 (FRAME_PARM_SAVE): Likewise.
49211 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
49212 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
49213 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
49215 (CHECK_SP): Use symbolic stack frame offsets.
49216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
49217 zone" instead of caller's parameter save area for temp storage.
49218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49219 Likewise. Also, use symbolic stack frame offsets.
49220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
49221 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
49222 our own stack frame instead of the caller's.
49223 (__socket): Use symbolic stack frame offsets.
49224
49225 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49226 Alan Modra <amodra@gmail.com>
49227
49228 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
49229 Define.
49230 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
49231 (PPC64_LOCAL_ENTRY_OFFSET): Define.
49232 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
49233 New function.
49234 (elf_machine_fixup_plt): Call it.
49235 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
49236 reloc arguments.
49237 (elf_machine_rela): Update call to elf_machine_plt_conflict.
49238 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49239 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
49240 r2 before calling target.
49241
49242 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49243 Alan Modra <amodra@gmail.com>
49244
49245 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
49246 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
49247 versions of macros to support ELFv2 ABI.
49248 (LOCALENTRY): New macro.
49249 (ENTRY, EALIGN): Use it.
49250 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
49251 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
49252 fall through into ENTRY entry point.
49253 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
49254 Only define if _CALL_ELF != 2.
49255
49256 (elf_machine_matches_host): Verify ABI version matches.
49257 (RTLD_START): Use LOCALENTRY.
49258 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
49259 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
49260 (PLT_ENTRY_WORDS): New macro.
49261 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
49262 (elf_machine_runtime_setup): Support ELFv2 ABI.
49263 (elf_machine_fixup_plt): Likewise.
49264 (elf_machine_plt_conflict): Likewise.
49265 (resolve_ifunc): Likewise.
49266 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
49267 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
49268 Likewise.
49269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
49270 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
49271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49272 (makecontext): Support ELFv2 ABI.
49273 * elf/elf.h (EF_PPC64_ABI): Define.
49274
49275 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49276
49277 * sysdeps/powerpc/powerpc64/sysdep.h
49278 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
49279 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
49280 (ENTRY) [ASSEMBLER]: ... but instead here ...
49281 (EALIGN) [ASSEMBLER]: ... and here.
49282 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
49283 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
49284 (ENTRY_2) [!ASSEMBLER]: Use it.
49285 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
49286 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
49287 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49288 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
49289 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
49290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
49291 Use PPC64_LOAD_FUNCPTR.
49292
49293 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
49294
49295 2013-12-04 Alan Modra <amodra@gmail.com>
49296
49297 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
49298 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
49299 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
49300 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
49301
49302 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
49303 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
49304 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
49305 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
49306 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
49307 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
49308
49309 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49310
49311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49312 (__makecontext): Fix incorrect CFI when backtracing out of
49313 context created via makecontext.
49314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
49315 (__setcontext): Fix incorrect CFI during switch to new context.
49316 (__novec_setcontext): Likewise.
49317
49318 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
49319
49320 [BZ #4772]
49321 * time/strptime_l.c (__strptime_internal): Allow modifiers
49322 in strptime.
49323 * time/tst-strptime.c (day_tests): Add testcase.
49324
49325 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49326
49327 * scripts/bench.pl: Skip over blank lines.
49328
49329 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
49330
49331 [BZ #926]
49332 * manual/time.texi (Calendar Time): Clarify what timezone functions
49333 use.
49334
49335 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49336
49337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49338
49339 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
49340
49341 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
49342 implementation.
49343 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
49344 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
49345 * debug/memset_chk.c (__memset_chk): Likewise.
49346 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
49347 * debug/strncpy_chk.c: Likewise.
49348
49349 2013-12-03 Joseph Myers <joseph@codesourcery.com>
49350
49351 [BZ #15268]
49352 [BZ #15425]
49353 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
49354 (__ieee754_exp): For possibly underflowing results, check size of
49355 result and force underflow exception if required.
49356 * math/auto-libm-test-in: Add more tests of exp.
49357 * math/auto-libm-test-out: Regenerated.
49358 * sysdeps/i386/fpu/libm-test-ulps: Update.
49359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49360
49361 [BZ #16283]
49362 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
49363 * math/w_exp2f.c (__exp2f): Likewise.
49364 * math/w_exp2l.c (__exp2l): Likewise.
49365 * math/auto-libm-test-in: Do not allow missing errno on exp2
49366 underflow.
49367 * math/auto-libm-test-out: Regenerated.
49368
49369 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
49370
49371 [BZ #16274]
49372 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
49373 handle filename validation.
49374 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
49375 (do_open): Delete.
49376
49377 2013-12-03 Joseph Myers <joseph@codesourcery.com>
49378
49379 [BZ #6786]
49380 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
49381 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
49382 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
49383 <float.h>.
49384 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
49385 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
49386 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49387 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
49388 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49389 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
49390 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49391 * math/auto-libm-test-in: Don't allow missing errno from erfc.
49392 Add more erfc tests.
49393 * math/auto-libm-test-out: Regenerated.
49394 * sysdeps/i386/fpu/libm-test-ulps: Update.
49395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49396
49397 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
49398 exp2, expm1, j0 and j1.
49399 * math/auto-libm-test-out: Regenerated.
49400 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
49401 (erfc_test_data): Likewise.
49402 (exp_test_data): Likewise.
49403 (exp_tonearest_test_data): Likewise.
49404 (exp_towardzero_test_data): Likewise.
49405 (exp_downward_test_data): Likewise.
49406 (exp_upward_test_data): Likewise.
49407 (exp10_test_data): Likewise.
49408 (exp2_test_data): Likewise.
49409 (expm1_test_data): Likewise.
49410 (j0_test_data): Likewise.
49411 (j1_test_data): Likewise.
49412 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
49413 (input_flag_type): Add flag_xfail_rounding.
49414 (input_flags): Add xfail-rounding.
49415 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
49416 (output_for_one_input_case): Handle flag_xfail_rounding.
49417 * sysdeps/i386/fpu/libm-test-ulps: Update.
49418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49419
49420 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
49421
49422 [BZ #16289]
49423 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
49424 division by 0.
49425
49426 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
49427
49428 [BZ #16195]
49429 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
49430 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
49431 (STAP_PROBE0): New macro.
49432 (STAP_PROBE1): Likewise.
49433 (STAP_PROBE2): Likewise.
49434 (STAP_PROBE3): Likewise.
49435 (STAP_PROBE4): Likewise.
49436
49437 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
49438
49439 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
49440
49441 2013-12-02 Steve Ellcey <sellcey@mips.com>
49442
49443 * benchtests/Makefile (bench): Add sqrt.
49444 (LDLIBS-bench-sqrt): New.
49445 * benchtests/sqrt-input: New.
49446
49447 2013-12-02 Pavel Simerda <psimerda@redhat.com>
49448
49449 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
49450 (GAIH_EAI): Likewise.
49451 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
49452 (gaih_inet): Likewise.
49453 (getaddrinfo): Don't use GAIH_EAI.
49454
49455 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
49456 (struct gaih): Remove definition.
49457
49458 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
49459
49460 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
49461 Use HERRNOP directly.
49462
49463 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49464
49465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49466
49467 2013-11-30 Joseph Myers <joseph@codesourcery.com>
49468
49469 * math/gen-auto-libm-tests.c (test_functions): Add more
49470 single-argument functions.
49471 (special_fill_pi_2): New function.
49472 (special_fill_minus_pi_2): Likewise.
49473 (special_fill_pi_6): Likewise.
49474 (special_fill_minus_pi_6): Likewise.
49475 (special_fill_pi_3): Likewise.
49476 (special_fill_2pi_3): Likewise.
49477 (special_fill_e): Likewise.
49478 (special_fill_1_e): Likewise.
49479 (special_fill_e_minus_1): Likewise.
49480 (special_real_inputs): Add more special inputs.
49481 (output_for_one_input_case): Do not require ERANGE on underflow to
49482 zero if round-to-nearest result does not underflow to zero, unless
49483 exact results required.
49484 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
49485 atan, atanh, cbrt, cos and cosh.
49486 * math/auto-libm-test-out: Regenerated.
49487 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
49488 (acos_tonearest_test_data): Likewise.
49489 (acos_towardzero_test_data): Likewise.
49490 (acos_downward_test_data): Likewise.
49491 (acos_upward_test_data): Likewise.
49492 (acosh_test_data): Likewise.
49493 (asin_test_data): Likewise.
49494 (asin_tonearest_test_data): Likewise.
49495 (asin_towardzero_test_data): Likewise.
49496 (asin_upward_test_data): Likewise.
49497 (asinh_test_data): Likewise.
49498 (atan_test_data): Likewise.
49499 (atanh_test_data): Likewise.
49500 (cbrt_test_data): Likewise.
49501 (cos_test_data): Likewise.
49502 (cos_tonearest_test_data): Likewise.
49503 (cos_towardzero_test_data): Likewise.
49504 (cos_downward_test_data): Likewise.
49505 (cos_upward_test_data): Likewise.
49506 (cosh_test_data): Likewise.
49507 (cosh_tonearest_test_data): Likewise.
49508 (cosh_towardzero_test_data): Likewise.
49509 (cosh_downward_test_data): Likewise.
49510 (cosh_upward_test_data): Likewise.
49511 * sysdeps/i386/fpu/libm-test-ulps: Update.
49512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49513
49514 2013-11-29 Joseph Myers <joseph@codesourcery.com>
49515
49516 [BZ #6787]
49517 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
49518 * math/w_exp10f.c (__exp10f): Likewise.
49519 * math/w_exp10l.c (__exp10l): Likewise.
49520 * math/libm-test.inc (exp10_test_data): Add more tests and expect
49521 errno settings in existing tests.
49522
49523 [BZ #14032]
49524 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
49525 precision control set to double precision.
49526 * sysdeps/i386/fpu/w_sqrt.c: New file.
49527 * math/auto-libm-test-in: Add more tests.
49528 * math/auto-libm-test-out: Update.
49529
49530 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
49531 (sqrt_test_tonearest): New function.
49532 (sqrt_towardzero_test_data): New variable.
49533 (sqrt_test_towardzero): New function.
49534 (sqrt_downward_test_data): New variable.
49535 (sqrt_test_downward): New function.
49536 (sqrt_upward_test_data): New variable.
49537 (sqrt_test_upward): New function.
49538 (main): Call the new functions.
49539
49540 * math/gen-auto-libm-tests.c: New file.
49541 * math/auto-libm-test-in: Likewise.
49542 * math/auto-libm-test-out: New generated file.
49543 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
49544 variables.
49545 (%beautify): Add generated representations of zero.
49546 (top level): Set $auto_input and call parse_auto_input.
49547 (beautify): Remove trailing "f" from hex float constants.
49548 (parse_args): Handle XFAIL_TEST.
49549 (convert_condition): New function.
49550 (or_value): Likewise.
49551 (or_cond_value): Likewise.
49552 (generate_testfile): Handle AUTO_TESTS_* lines.
49553 (parse_auto_input): New function.
49554 * math/libm-test.inc (XFAIL_TEST): New macro.
49555 (ERRNO_UNCHANGED): Update value.
49556 (ERRNO_EDOM): Likewise.
49557 (ERRNO_ERANGE): Likewise.
49558 (IGNORE_RESULT): Likewise.
49559 (TEST_COND_flt_32): New macro.
49560 (TEST_COND_dbl_64): Likewise.
49561 (TEST_COND_ldbl_96_intel): Likewise.
49562 (TEST_COND_ldbl_96_m68k): Likewise.
49563 (TEST_COND_ldbl_128): Likewise.
49564 (TEST_COND_ldbl_128ibm): Likewise.
49565 (TEST_COND_long32): Likewise.
49566 (TEST_COND_long64): Likewise.
49567 (TEST_COND_before_rounding): Likewise.
49568 (TEST_COND_after_rounding): Likewise.
49569 (enable_test): Handle XFAIL_TEST flag.
49570 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
49571 with finite results.
49572 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
49573 auto-libm-test-out.
49574
49575 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
49576 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49577
49578 [BZ #16214]
49579 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
49580 __tls_get_addr_internal instead of __tls_get_offset in order to
49581 avoid GOT pointer dependency. Make rtld export
49582 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
49583 __tls_get_addr since we are a __tls_get_offset platform.
49584 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
49585 GOT pointer being set up before.
49586 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
49587
49588 2013-11-28 Joseph Myers <joseph@codesourcery.com>
49589
49590 * manual/math.texi (Errors in Math Functions): Document accuracy
49591 goals.
49592
49593 [BZ #15004]
49594 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
49595 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
49596 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49597 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49598 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49599 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49600 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49601 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
49602 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
49603 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49604 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49605 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49606 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49607 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49608 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49609 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
49610
49611 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
49612 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
49613 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
49614 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
49615 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
49616 Likewise.
49617 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
49618 Likewise.
49619 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
49620 Likewise.
49621 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
49622 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
49623 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
49624 atomic-feupdateenv and flt-rounds.
49625 * sysdeps/powerpc/nofpu/Versions (libc): Add
49626 __atomic_feholdexcept, __atomic_feclearexcept,
49627 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
49628 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
49629 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
49630 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
49631 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
49632 here.
49633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49634 Update.
49635
49636 * manual/arith.texi (FP Exceptions): Document that exceptions may
49637 not be raised when matherr is used.
49638 (Math Error Reporting): Document overflow in directed rounding
49639 modes. Document that errno may not be set when finite values are
49640 returned on overflow. Document intent to set errno on underflow
49641 only for underflow to zero.
49642
49643 [BZ #16271]
49644 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
49645 round-to-nearest then adjust result for other rounding modes.
49646 * include/fenv.h (fegetround): Use libm_hidden_proto.
49647 * math/fegetround.c (fegetround): Use libm_hidden_def.
49648 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
49649 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
49650 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
49651 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
49652 Likewise.
49653 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
49654 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49655 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
49656 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
49657
49658 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49659
49660 [BZ #16077]
49661 * nss/Versions (libnss_files): Add
49662 _nss_files_gethostbyname3_r.
49663 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
49664 New function.
49665 (HOST_DB_LOOKUP): Remove macro.
49666 (_nss_files_gethostbyname_r): Implement function without the
49667 HOST_DB_LOOKUP macro.
49668 (_nss_files_gethostbyname2_r): Likewise.
49669
49670 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
49671
49672 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
49673
49674 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
49675
49676 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
49677 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
49678 warning.
49679
49680 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49681
49682 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
49683 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
49684 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
49685 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
49686 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
49687 __fe_nomask_env_priv and attribute_hidden.
49688 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
49689 (libc_feupdateenv_test_ppc): Likewise.
49690 (libc_feresetround_ppc): Likewise.
49691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49692 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
49693 compat_symbol macro.
49694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49695 (__fe_nomask_env): Likewise.
49696 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
49697
49698 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
49699
49700 * string/Makefile: Remove ifunc tests.
49701 * string/test-string.h: Define TEST_IFUNC.
49702 * string/test-bcopy-ifunc.c: Remove.
49703 * string/test-bzero-ifunc.c: Likewise.
49704 * string/test-memccpy-ifunc.c: Likewise.
49705 * string/test-memchr-ifunc.c: Likewise.
49706 * string/test-memcmp-ifunc.c: Likewise.
49707 * string/test-memcpy-ifunc.c: Likewise.
49708 * string/test-memmem-ifunc.c: Likewise.
49709 * string/test-memmove-ifunc.c: Likewise.
49710 * string/test-mempcpy-ifunc.c: Likewise.
49711 * string/test-memrchr-ifunc.c: Likewise.
49712 * string/test-memset-ifunc.c: Likewise.
49713 * string/test-rawmemchr-ifunc.c: Likewise.
49714 * string/test-stpcpy-ifunc.c: Likewise.
49715 * string/test-stpncpy-ifunc.c: Likewise.
49716 * string/test-strcasecmp-ifunc.c: Likewise.
49717 * string/test-strcasestr-ifunc.c: Likewise.
49718 * string/test-strcat-ifunc.c: Likewise.
49719 * string/test-strchr-ifunc.c: Likewise.
49720 * string/test-strchrnul-ifunc.c: Likewise.
49721 * string/test-strcmp-ifunc.c: Likewise.
49722 * string/test-strcpy-ifunc.c: Likewise.
49723 * string/test-strcspn-ifunc.c: Likewise.
49724 * string/test-strlen-ifunc.c: Likewise.
49725 * string/test-strncasecmp-ifunc.c: Likewise.
49726 * string/test-strncat-ifunc.c: Likewise.
49727 * string/test-strncmp-ifunc.c: Likewise.
49728 * string/test-strncpy-ifunc.c: Likewise.
49729 * string/test-strnlen-ifunc.c: Likewise.
49730 * string/test-strpbrk-ifunc.c: Likewise.
49731 * string/test-strrchr-ifunc.c: Likewise.
49732 * string/test-strspn-ifunc.c: Likewise.
49733 * string/test-strstr-ifunc.c: Likewise.
49734
49735 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
49736
49737 * benchtests/Makefile: Remove ifunc tests.
49738 * benchtests/bench-string.h: Define TEST_IFUNC.
49739 * benchtests/bench-bcopy-ifunc.c: Remove.
49740 * benchtests/bench-bzero-ifunc.c: Likewise.
49741 * benchtests/bench-memccpy-ifunc.c: Likewise.
49742 * benchtests/bench-memchr-ifunc.c: Likewise.
49743 * benchtests/bench-memcmp-ifunc.c: Likewise.
49744 * benchtests/bench-memcpy-ifunc.c: Likewise.
49745 * benchtests/bench-memmem-ifunc.c: Likewise.
49746 * benchtests/bench-memmove-ifunc.c: Likewise.
49747 * benchtests/bench-mempcpy-ifunc.c: Likewise.
49748 * benchtests/bench-memrchr-ifunc.c: Likewise.
49749 * benchtests/bench-memset-ifunc.c: Likewise.
49750 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
49751 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
49752 * benchtests/bench-stpcpy-ifunc.c: Likewise.
49753 * benchtests/bench-stpncpy-ifunc.c: Likewise.
49754 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
49755 * benchtests/bench-strcasestr-ifunc.c: Likewise.
49756 * benchtests/bench-strcat-ifunc.c: Likewise.
49757 * benchtests/bench-strchr-ifunc.c: Likewise.
49758 * benchtests/bench-strchrnul-ifunc.c: Likewise.
49759 * benchtests/bench-strcmp-ifunc.c: Likewise.
49760 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
49761 * benchtests/bench-strcpy-ifunc.c: Likewise.
49762 * benchtests/bench-strcspn-ifunc.c: Likewise.
49763 * benchtests/bench-strlen-ifunc.c: Likewise.
49764 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
49765 * benchtests/bench-strncat-ifunc.c: Likewise.
49766 * benchtests/bench-strncmp-ifunc.c: Likewise.
49767 * benchtests/bench-strncpy-ifunc.c: Likewise.
49768 * benchtests/bench-strnlen-ifunc.c: Likewise.
49769 * benchtests/bench-strpbrk-ifunc.c: Likewise.
49770 * benchtests/bench-strrchr-ifunc.c: Likewise.
49771 * benchtests/bench-strsep-ifunc.c: Likewise.
49772 * benchtests/bench-strspn-ifunc.c: Likewise.
49773 * benchtests/bench-strstr-ifunc.c: Likewise.
49774
49775 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
49776
49777 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
49778
49779 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
49780
49781 * resolv/netdb.h: Use __glibc_reserved instead __unused.
49782 * rt/aio.h: Likewise.
49783 * sysdeps/gnu/bits/utmp.h: Likewise.
49784 * sysdeps/gnu/bits/utmpx.h: Likewise.
49785 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49786 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
49787 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
49788 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
49789 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
49790 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
49791 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
49792 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
49793 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
49794 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
49795 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
49796 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
49797 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
49798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
49799 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49800 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
49801 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
49802 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
49803 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
49804 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
49805 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
49806 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
49807 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
49808 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49809 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
49810 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49811 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
49812 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
49813 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
49814 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
49815 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
49816 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
49817 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
49818 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
49819 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
49820 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
49821 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
49822 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
49823 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
49824 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
49825 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
49826 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
49827
49828 2013-11-25 Carlos O'Donell <carlos@redhat.com>
49829
49830 [BZ #16245]
49831 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
49832 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
49833
49834 2013-11-25 Joseph Myers <joseph@codesourcery.com>
49835
49836 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
49837 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
49838 Likewise.
49839
49840 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49841
49842 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
49843 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
49844 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
49845 (__fesetround): Remove define.
49846 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
49847 rounding and exceptions handling.
49848 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
49849 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
49850 (__fe_nomask_env): Likewise.
49851 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
49852 __fegetround instead of fegetround.
49853 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
49854 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
49855
49856 2013-11-21 Roland McGrath <roland@hack.frob.com>
49857
49858 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
49859 it's there.
49860
49861 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
49862
49863 2013-11-21 Meador Inge <meadori@codesourcery.com>
49864
49865 [BZ #11157]
49866 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
49867 (encrypt_r): Likewise.
49868 * malloc/obstack.h (obstack_free): Likewise.
49869 * posix/unistd.h (encrypt): Likewise.
49870
49871 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
49872
49873 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
49874 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
49875 DL_CALL_DT_FINI() that call the functions directly.
49876 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
49877 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
49878 * elf/dl-fini.c: Likewise.
49879
49880 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
49881
49882 * malloc/hooks.c (memalign_check): Add alignment rounding.
49883 * malloc/malloc.c (_mid_memalign): New function.
49884 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
49885 Implement by calling _mid_memalign.
49886 * manual/probes.texi (Memory Allocation Probes): Remove
49887 memory_valloc_retry and memory_pvalloc_retry.
49888
49889 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
49890
49891 * locale/programs/locarchive.c (open_archive): Add const
49892 qualifier to ARCHIVEFNAME and copy default fname to
49893 DEFAULT_FNAME.
49894
49895 [BZ #15601]
49896 * libio/tst-widetext.input: Rename Oriya to Odia.
49897 * locale/iso-639.def: Likewise.
49898
49899 * manual/probes.texi (Mathematical Function Probes): Add
49900 documentation for sin, cos, asin and acos probes.
49901 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
49902 (__sin32): Add slowasin probe.
49903 (__cos32): Add slowacos probe.
49904 (__mpsin): Add slowsin probe.
49905 (__mpcos): Add slowcos probe.
49906
49907 2013-11-19 Joseph Myers <joseph@codesourcery.com>
49908
49909 [BZ #15483]
49910 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
49911 thread-local __sim_exceptions_thread and global
49912 __sim_exceptions_global.
49913 (__sim_disabled_exceptions): Change to thread-local
49914 __sim_disabled_exceptions_thread and global
49915 __sim_disabled_exceptions_global.
49916 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
49917 and global __sim_round_mode_global.
49918 (__simulate_exceptions): Use thread-local floating-point state and
49919 set global state from it as needed.
49920 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
49921 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
49922 __sim_round_mode_thread.
49923 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
49924 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
49925 and global __sim_exceptions_global.
49926 (__sim_disabled_exceptions): Change to thread-local
49927 __sim_disabled_exceptions_thread and global
49928 __sim_disabled_exceptions_global.
49929 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
49930 and global __sim_round_mode_global.
49931 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
49932 (SIM_SET_GLOBAL): Likewise.
49933 * sysdeps/powerpc/soft-fp/sfp-machine.h
49934 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
49935 __sim_round_mode_thread.
49936 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
49937 __sim_disabled_exceptions_thread.
49938 (__sim_exceptions): Change to __sim_exceptions_thread.
49939 (__sim_disabled_exceptions): Change to
49940 __sim_disabled_exceptions_thread.
49941 (__sim_round_mode): Change to __sim_round_mode_thread.
49942 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
49943 thread-local floating-point state and set global state from it as
49944 needed.
49945 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
49946 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
49947 (__sim_disabled_exceptions): Remove extern declaration.
49948 (feenableexcept): Use thread-local floating-point state and set
49949 global state from it as needed.
49950 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
49951 extern declaration.
49952 (__sim_disabled_exceptions): Likewise.
49953 (__sim_round_mode): Likewise.
49954 (__fegetenv): Use thread-local floating-point state.
49955 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
49956 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
49957 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
49958 floating-point state and set global state from it as needed.
49959 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
49960 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
49961 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
49962 Likewise.
49963 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
49964 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
49965 Likewise.
49966 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
49967 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
49968 Use __sim_round_mode_thread.
49969 * math/test-fenv-tls.c: New file.
49970 * math/Makefile (tests): Add test-fenv-tls.
49971 ($(objpfx)test-fenv-tls): Depend on
49972 $(common-objpfx)nptl/libpthread.so.
49973
49974 2013-11-19 Andreas Schwab <schwab@suse.de>
49975
49976 * locale/programs/locale.c (show_info): Decode wordarray elements.
49977 * locale/categories.def (LC_MONETARY): Add element for
49978 _NL_MONETARY_CRNCYSTR.
49979 * locale/C-monetary.c (conversion_rate): New variable.
49980 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
49981 element.
49982
49983 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
49984
49985 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
49986 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
49987
49988 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
49989
49990 * elf/Makefile (tst-auxv): New test.
49991 * elf/tst-auxv.c: New
49992 * elf/rtld.c (dl_main): Adjust AT_EXECFN
49993
49994 2013-11-18 Joseph Myers <joseph@codesourcery.com>
49995
49996 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
49997 (hidden_proto): Caller changed.
49998 (hidden_tls_proto): New macro.
49999 (libc_hidden_tls_proto): Likewise.
50000 (rtld_hidden_tls_proto): Likewise.
50001 (libm_hidden_tls_proto): Likewise.
50002 (libresolv_hidden_tls_proto): Likewise.
50003 (librt_hidden_tls_proto): Likewise.
50004 (libdl_hidden_tls_proto): Likewise.
50005 (libnss_files_hidden_tls_proto): Likewise.
50006 (libnsl_hidden_tls_proto): Likewise.
50007 (libnss_nisplus_hidden_tls_proto): Likewise.
50008 (libutil_hidden_tls_proto): Likewise.
50009
50010 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
50011
50012 [BZ #10253]
50013 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
50014 (decompose_rpath): Defer expansion to fillin_rpath.
50015 (_dl_init_paths): Pass linkmap to fillin_rpath.
50016
50017 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50018
50019 * benchtests/Makefile: Add strsep.
50020 * benchtests/bench-strsep.c: New file: strsep benchtest.
50021 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
50022
50023 2013-11-18 Andreas Schwab <schwab@suse.de>
50024
50025 * locale/programs/locale.c (show_info) [case byte]: Check for
50026 '\377' instead of '\177'.
50027 * locale/C-monetary.c (not_available): Always use "\377".
50028 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
50029 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
50030 detect unavailable sign_posn locale elements.
50031 * locale/localeconv.c (__localeconv): For grouping and
50032 mon_grouping handle "\177" and "\377" like no grouping.
50033 (INT_ELEM): New macro. Use it to set all numeric members.
50034 * locale/programs/ld-monetary.c (monetary_read)
50035 <tok_mon_grouping>: Normalize single -1 to the empty string.
50036 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
50037 Likewise.
50038
50039 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
50040
50041 [BZ #16055]
50042 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
50043 when we match (nil).
50044 * stdio-common/tst-sscanf.c (struct test): Add testcase.
50045
50046 2013-11-16 Joseph Myers <joseph@codesourcery.com>
50047
50048 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
50049 (NO_TEST_INLINE): Update value.
50050 (ERRNO_UNCHANGED): Likewise.
50051 (ERRNO_EDOM): Likewise.
50052 (ERRNO_ERANGE): Likewise.
50053 (IGNORE_RESULT): Likewise.
50054 (check_float_internal): Check signs of NaN results if
50055 TEST_NAN_SIGN used.
50056 (check_complex): Pass TEST_NAN_SIGN flag through to second
50057 check_float_internal call.
50058 (copysign_test_data): Add tests with quiet NaNs as second
50059 argument. Use TEST_NAN_SIGN.
50060 (fabs_test_data): Add test of negative quiet NaN argument. Use
50061 TEST_NAN_SIGN.
50062 (signbit_test_data): Add tests of quiet NaN argument.
50063 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
50064
50065 * math/gen-libm-test.pl (show_exceptions): Take extra argument
50066 $ignore_result.
50067 (parse_args): Handle function results specified as IGNORE.
50068 * math/libm-test.inc (IGNORE_RESULT): New macro.
50069 (check_float_internal): Do not check numerical result if flag
50070 IGNORE_RESULT set.
50071 (check_complex): Pass through IGNORE_RESULT to second
50072 check_float_internal call.
50073 (check_int): Do not check numerical result if flag IGNORE_RESULT
50074 set.
50075 (check_long): Likewise.
50076 (check_bool): Likewise.
50077 (check_longlong): Likewise.
50078 (lrint_test_data): Add tests of infinite and NaN arguments.
50079 (lrint_tonearest_test_data): Likewise.
50080 (lrint_towardzero_test_data): Likewise.
50081 (lrint_downward_test_data): Likewise.
50082 (lrint_upward_test_data): Likewise.
50083 (llrint_test_data): Likewise.
50084 (llrint_tonearest_test_data): Likewise.
50085 (llrint_towardzero_test_data): Likewise.
50086 (llrint_downward_test_data): Likewise.
50087 (llrint_upward_test_data): Likewise.
50088 (lround_test_data): Likewise.
50089 (llround_test_data): Likewise.
50090
50091 * math/libm-test.inc (NO_TEST_INLINE): New macro.
50092 (ERRNO_UNCHANGED): Update value.
50093 (ERRNO_EDOM): Likewise.
50094 (ERRNO_ERANGE): Likewise.
50095 (NO_TEST_INLINE_FLOAT): New macro.
50096 (NO_TEST_INLINE_DOUBLE): Likewise.
50097 (enable_test): New function.
50098 (RUN_TEST_f_f): Check enable_test before running test.
50099 (RUN_TEST_2_f): Likewise.
50100 (RUN_TEST_fff_f): Likewise.
50101 (RUN_TEST_c_f): Likewise.
50102 (RUN_TEST_f_f1): Likewise.
50103 (RUN_TEST_fF_f1): Likewise.
50104 (RUN_TEST_fI_f1): Likewise.
50105 (RUN_TEST_ffI_f1): Likewise.
50106 (RUN_TEST_c_c): Likewise.
50107 (RUN_TEST_cc_c): Likewise.
50108 (RUN_TEST_f_i): Likewise.
50109 (RUN_TEST_f_i_tg): Likewise.
50110 (RUN_TEST_ff_i_tg): Likewise.
50111 (RUN_TEST_f_b): Likewise.
50112 (RUN_TEST_f_b_tg): Likewise.
50113 (RUN_TEST_f_l): Likewise.
50114 (RUN_TEST_f_L): Likewise.
50115 (RUN_TEST_fFF_11): Likewise.
50116 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
50117 conditionals.
50118 (cosh_test_data): Likewise.
50119 (exp_test_data): Likewise.
50120 (expm1_test_data): Likewise.
50121 (hypot_test_data): Likewise.
50122 (pow_test_data): Likewise.
50123 (sinh_test_data): Likewise.
50124 (tanh_test_data): Likewise.
50125 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
50126 flags argument.
50127
50128 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
50129 tests with quiet NaN input and output.
50130 (acosh_test_data): Likewise.
50131 (asin_test_data): Likewise.
50132 (asinh_test_data): Likewise.
50133 (atan_test_data): Likewise.
50134 (atanh_test_data): Likewise.
50135 (atan2_test_data): Likewise.
50136 (cbrt_test_data): Likewise.
50137 (cos_test_data): Likewise.
50138 (cosh_test_data): Likewise.
50139 (erf_test_data): Likewise.
50140 (erfc_test_data): Likewise.
50141 (exp_test_data): Likewise.
50142 (exp10_test_data): Likewise.
50143 (exp2_test_data): Likewise.
50144 (expm1_test_data): Likewise.
50145 (hypot_test_data): Likewise.
50146 (j0_test_data): Likewise.
50147 (j1_test_data): Likewise.
50148 (jn_test_data): Likewise.
50149 (lgamma_test_data): Likewise.
50150 (log_test_data): Likewise.
50151 (log10_test_data): Likewise.
50152 (log1p_test_data): Likewise.
50153 (log2_test_data): Likewise.
50154 (pow_test_data): Likewise.
50155 (scalb_test_data): Likewise.
50156 (sin_test_data): Likewise.
50157 (sincos_test_data): Likewise.
50158 (sinh_test_data): Likewise.
50159 (tan_test_data): Likewise.
50160 (tanh_test_data): Likewise.
50161 (tgamma_test_data): Likewise.
50162 (y0_test_data): Likewise.
50163 (y1_test_data): Likewise.
50164 (yn_test_data): Likewise.
50165
50166 [BZ #16167]
50167 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
50168 argument being NaN and avoid computations with second argument in
50169 that case.
50170 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50171 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
50172 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50173
50174 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
50175
50176 * locale/iso-639.def: Add Chitwani Tharu (the).
50177
50178 2013-11-14 Andreas Schwab <schwab@suse.de>
50179
50180 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
50181 word instead of empty string.
50182
50183 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50184
50185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50186 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
50187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50188 (__fe_nomask_env): Likewise.
50189
50190 2013-11-13 Steve Ellcey <sellcey@mips.com>
50191
50192 * benchtests/bench-timing.h: Include time.h.
50193
50194 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
50195
50196 [BZ #15997]
50197 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
50198 to 3.4.0 for x32.
50199 * sysdeps/unix/sysv/linux/configure: Regenerated.
50200
50201 2013-11-13 Joseph Myers <joseph@codesourcery.com>
50202
50203 [BZ #16151]
50204 * stdlib/strtod_l.c (round_and_return): Do not consider
50205 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
50206 exponent one less than half the least subnormal exponent.
50207 * stdlib/test-strtod-round-data: Add more tests.
50208 * stdlib/tst-strtod-round.c (tests): Regenerated.
50209
50210 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50211
50212 [BZ #14143]
50213 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
50214 (__fe_mask_env): Likewise.
50215 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
50216 libm_hidden_proto and add function prototype.
50217 (__fe_mask_env): Add function prototype.
50218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50219 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
50220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
50221 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
50222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50223 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
50224
50225 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50226
50227 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50228 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
50229
50230 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50231
50232 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
50233 of htab_find_slot().
50234
50235 2013-11-11 David S. Miller <davem@davemloft.net>
50236
50237 [BZ #16150]
50238 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
50239 symbol in the non-vis3 case in static builds.
50240 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
50241 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
50242 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
50243 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
50244
50245 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
50246
50247 [BZ #387]
50248 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
50249 it is empty.
50250
50251 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50252
50253 * benchtests/Makefile: Add bench-strtod.
50254 * benchtests/bench-strtod.c: New file: strtod benchtest
50255
50256 2013-11-11 Andreas Schwab <schwab@suse.de>
50257
50258 [BZ #16153]
50259 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
50260 terminating NUL in key length.
50261
50262 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50263
50264 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
50265 Add artificial ODP entry for vDSO symbol for PPC64.
50266 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
50267 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
50268
50269 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
50270
50271 [BZ #15374]
50272 * nss/getent.c (services_keys): Recognize services starting with digit.
50273
50274 2013-11-06 David S. Miller <davem@davemloft.net>
50275
50276 [BZ #15985]
50277 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
50278 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
50279
50280 2013-11-06 Will Newton <will.newton@linaro.org>
50281
50282 * manual/memory.texi (Malloc Examples): Remove register
50283 keyword from examples.
50284
50285 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
50286
50287 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
50288
50289 2013-11-04 Joseph Myers <joseph@codesourcery.com>
50290
50291 [BZ #6981]
50292 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
50293 depending on [__GCC_IEC_559 > 0].
50294 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
50295 depending on [__GCC_IEC_559_COMPLEX > 0].
50296
50297 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
50298
50299 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
50300 to iso-639.def.
50301
50302 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
50303
50304 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
50305
50306 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
50307
50308 [BZ #16112]
50309 * malloc/malloc (malloc_info): Do not handle first bin as
50310 special case.
50311
50312 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
50313
50314 * locale/iso-639.def: Add Central Nahuatl (nhn).
50315
50316 2013-11-01 Bruno Haible <bruno@clisp.org>
50317
50318 [BZ #7003]
50319 * manual/math.texi (BSD Random): Specify range upper bound as
50320 in POSIX.
50321
50322 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
50323
50324 * locale/iso-639.def: Add Meadow Mari (mhr).
50325
50326 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
50327
50328 [BZ #14752], [BZ #15763]
50329 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
50330 Validate name.
50331 * rt/tst_shm.c: Add test for escaping directory.
50332
50333 2013-10-31 Andreas Schwab <schwab@suse.de>
50334
50335 [BZ #15917]
50336 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
50337 followed by 'x' as part of digit sequence.
50338 * stdio-common/tst-sscanf.c (double_tests2): New tests.
50339
50340 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
50341
50342 [BZ #16037]
50343 * configure.ac: allow GNU Make 4.0 and greater.
50344 * configure: Regenerated.
50345
50346 2013-10-30 Will Newton <will.newton@linaro.org>
50347
50348 [BZ #16038]
50349 * malloc/hooks.c (memalign_check): Limit alignment to the
50350 maximum representable power of two.
50351 * malloc/malloc.c (__libc_memalign): Likewise.
50352 * malloc/tst-memalign.c (do_test): Add test for very
50353 large alignment values.
50354 * malloc/tst-posix_memalign.c (do_test): Likewise.
50355
50356 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
50357
50358 [BZ #11087]
50359 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
50360 (munmap_chunk): Likewise.
50361 (mremap_chunk): Likewise.
50362
50363 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
50364
50365 [BZ #15799]
50366 * stdlib/div.c (div): Remove obsolete code.
50367 * stdlib/ldiv.c (ldiv): Likewise.
50368 * stdlib/lldiv.c (lldiv): Likewise.
50369
50370 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50371
50372 [BZ #16071]
50373 * nss/nss_files/files-XXX.c (get_contents_ret): New
50374 enumerator.
50375 (get_contents): New function.
50376 (internal_getent): Use it. Expand size of LINEBUFLEN.
50377
50378 2013-10-30 Mike Frysinger <vapier@gentoo.org>
50379
50380 * configure.in: Moved to ...
50381 * configure.ac: ... here. Change reference to configure.in
50382 to configure.ac.
50383 * sysdeps/arm/preconfigure.ac: ... here.
50384 configure.in to configure.ac.
50385 * sysdeps/gnu/configure.in: Moved to ...
50386 * sysdeps/gnu/configure.ac: ... here.
50387 * sysdeps/i386/configure.in: Moved to ...
50388 * sysdeps/i386/configure.ac: ... here.
50389 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
50390 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
50391 * sysdeps/mach/configure.in: Moved to ...
50392 * sysdeps/mach/configure.ac: ... here.
50393 * sysdeps/mach/hurd/configure.in: Moved to ...
50394 * sysdeps/mach/hurd/configure.ac: ... here.
50395 * sysdeps/powerpc/configure.in: Moved to ...
50396 * sysdeps/powerpc/configure.ac: ... here.
50397 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
50398 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
50399 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
50400 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
50401 * sysdeps/s390/s390-32/configure.in: Moved to ...
50402 * sysdeps/s390/s390-32/configure.ac: ... here.
50403 * sysdeps/s390/s390-64/configure.in: Moved to ...
50404 * sysdeps/s390/s390-64/configure.ac: ... here.
50405 * sysdeps/sh/configure.in: Moved to ...
50406 * sysdeps/sh/configure.ac: ... here.
50407 * sysdeps/sparc/configure.in: Moved to ...
50408 * sysdeps/sparc/configure.ac: ... here.
50409 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
50410 * sysdeps/unix/sysv/linux/configure.ac: ... here.
50411 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
50412 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
50413 * sysdeps/x86_64/configure.in: Moved to ...
50414 * sysdeps/x86_64/configure.ac: ... here.
50415 * sysdeps/x86_64/preconfigure.in: Moved to ...
50416 * sysdeps/x86_64/preconfigure.ac: ... here.
50417 * aclocal.m4: Change reference to configure.in to configure.ac.
50418 * config.h.in: Likewise.
50419 * manual/install.texi: Likewise.
50420 * manual/maint.texi: Likewise.
50421 * Makefile: Likewise.
50422 * malloc/Makefile: Likewise.
50423 * nscd/Makefile: Likewise.
50424 * Makeconfig: Change reference to configure.in and
50425 preconfigure.in to configure.ac and preconfigure.ac
50426 respectively.
50427 * INSTALL: Regenerated.
50428 * configure: Likewise.
50429 * sysdeps/gnu/configure: Likewise.
50430 * sysdeps/i386/configure: Likewise.
50431 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
50432 * sysdeps/mach/configure: Likewise.
50433 * sysdeps/mach/hurd/configure: Likewise.
50434 * sysdeps/powerpc/configure: Likewise.
50435 * sysdeps/powerpc/powerpc32/configure: Likewise.
50436 * sysdeps/powerpc/powerpc64/configure: Likewise.
50437 * sysdeps/s390/s390-32/configure: Likewise.
50438 * sysdeps/s390/s390-64/configure: Likewise.
50439 * sysdeps/sh/configure: Likewise.
50440 * sysdeps/sparc/configure: Likewise.
50441 * sysdeps/unix/sysv/linux/configure: Likewise.
50442 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
50443 * sysdeps/x86_64/configure: Likewise.
50444 * sysdeps/x86_64/preconfigure: Likewise.
50445
50446 2013-10-29 Andreas Schwab <schwab@suse.de>
50447
50448 * stdio-common/Makefile (tst-swscanf-ENV): Define.
50449
50450 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50451
50452 * benchtests/pow-inputs: Add new inputs.
50453
50454 * benchtests/exp-inputs: Add new inputs.
50455
50456 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
50457 conditional check for return value.
50458 (__cos32): Likewise.
50459
50460 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50461
50462 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
50463 to provide a boost for large inputs with word alignment.
50464 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
50465 implementation based on optimized PPC64 strcpy.
50466 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
50467 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
50468 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
50469 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
50470
50471 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
50472
50473 [BZ #2801]
50474 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
50475
50476 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
50477
50478 [BZ #14876]
50479 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
50480 * time/tst-strptime.c (day_tests): Add testcase.
50481
50482 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
50483
50484 [BZ #14029]
50485 * manual/pattern.texi: Acknowledge that fnmatch can fail.
50486
50487 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
50488
50489 [BZ #16074]
50490 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
50491 MAP_FAILED on error.
50492
50493 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
50494
50495 [BZ #16072]
50496 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
50497 heap for large requests.
50498
50499 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
50500
50501 [BZ #9954]
50502 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
50503 result if the result has no associated interface.
50504 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
50505 interface for all 127.X.Y.Z addresses.
50506
50507 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
50508
50509 * locale/iso-639.def: Add Ligurian (lij)
50510
50511 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
50512
50513 [BZ #15825]
50514 * sunrpc/rpc_main.c: Document rpcgen -5.
50515
50516 2013-10-19 Michael Stahl <mstahl@redhat.com>
50517
50518 * elf/rtld.c (do_preload): Print the reason why preloading failed.
50519
50520 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
50521
50522 [BZ #10278]
50523 * posix/glob.c: Match only directories when trailing slash is present.
50524 * posix/tst-gnuglob.c (my_opendir): Do not open files.
50525 (main): Add testcase.
50526
50527 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
50528
50529 [BZ #15670]
50530 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
50531
50532 2013-10-18 Carlos O'Donell <carlos@redhat.com>
50533
50534 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
50535 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
50536 AUTH_DES and cindex for FIPS 140-2.
50537 (DES Encryption): Add cindex FIPS 46-3.
50538
50539 * locale/locarchive.h (struct locarhandle): Add fname.
50540 * locale/programs/localedef.c (main): Pass ARGV[remaining]
50541 if an optional argument was specified to --list-archive,
50542 otherwise NULL.
50543 * locale/programs/locarchive.c (show_archive_content): Take new
50544 argument fname and pass it via ah.fname to open_archive.
50545 * locale/programs/localedef.h: Update decl.
50546 (open_archive): If AH->fname is non-null, open that file
50547 rather than the default file name, and don't ignore ENOENT.
50548 (create_archive): Set AH.fname to NULL.
50549 (delete_locales_from_archive): Likewise.
50550 (add_locales_to_archive): Likewise.
50551 * locale/programs/locfile.c (write_all_categories): Likewise.
50552
50553 2013-10-18 Joseph Myers <joseph@codesourcery.com>
50554 Aldy Hernandez <aldyh@redhat.com>
50555
50556 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
50557 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
50558 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
50559 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
50560 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
50561 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
50562 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
50563 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
50564 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
50565 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
50566 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
50567 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
50568 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
50569 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
50570 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
50571 Likewise.
50572 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
50573 Likewise.
50574 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
50575 Likewise.
50576 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
50577 Likewise.
50578 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
50579 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
50580 Likewise.
50581 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
50582 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
50583 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
50584 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
50585 Likewise.
50586 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
50587 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
50588 * sysdeps/powerpc/preconfigure: Likewise.
50589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
50590 Likewise.
50591 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
50592 Replace contents of file by #include of <fenv_libc.h>.
50593 * sysdeps/powerpc/soft-fp/sfp-machine.h
50594 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
50595 and <sys/prctl.h>.
50596 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
50597 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
50598 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
50599 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
50600 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
50601 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
50602 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
50603 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
50604 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
50605 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
50606 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
50607 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
50608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
50609 Allow copysignl PLT reference to be missing.
50610
50611 2013-10-18 Richard Sandiford <richard@codesourcery.com>
50612 Joseph Myers <joseph@codesourcery.com
50613
50614 [BZ #15948]
50615 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
50616 single character.
50617 (add_to_tablewc): Assert sequence of wide characters is nonempty.
50618
50619 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
50620
50621 * elf/tst-tls-dlinfo.c: Don't include tls.h.
50622 * elf/tst-tls1.c: Likewise.
50623 * elf/tst-tls10.h: Likewise.
50624 * elf/tst-tls14.c: Likewise.
50625 * elf/tst-tls2.c: Likewise.
50626 * elf/tst-tls3.c: Likewise.
50627 * elf/tst-tls4.c: Likewise.
50628 * elf/tst-tls5.c: Likewise.
50629 * elf/tst-tls6.c: Likewise.
50630 * elf/tst-tls7.c: Likewise.
50631 * elf/tst-tls8.c: Likewise.
50632 * elf/tst-tls9.c: Likewise.
50633 * elf/tst-tlsmod1.c: Likewise.
50634 * elf/tst-tlsmod13.c: Likewise.
50635 * elf/tst-tlsmod13a.c: Likewise.
50636 * elf/tst-tlsmod14a.c: Likewise.
50637 * elf/tst-tlsmod16a.c: Likewise.
50638 * elf/tst-tlsmod16b.c: Likewise.
50639 * elf/tst-tlsmod2.c: Likewise.
50640 * elf/tst-tlsmod3.c: Likewise.
50641 * elf/tst-tlsmod4.c: Likewise.
50642 * elf/tst-tlsmod5.c: Likewise.
50643 * elf/tst-tlsmod6.c: Likewise.
50644
50645 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
50646
50647 [BZ #12486]
50648 * malloc/malloc.c: remove checks for statistics.
50649
50650 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
50651
50652 [BZ #15277]
50653 * inet/inet_net.c (inet_network): Detect additional invalid strings.
50654 * inet/tst-network.c: Add testcase.
50655
50656 2013-10-17 Andreas Schwab <schwab@suse.de>
50657
50658 [BZ #15218]
50659 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
50660 to determine canonical name.
50661
50662 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
50663
50664 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
50665 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
50666 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50667 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50668 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50669 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50670 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50671 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50672 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50673 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50674 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50675 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50676 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50677 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50678 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50679 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50680 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50681 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50682 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50683 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50684 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50685 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50686 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50687 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
50688 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
50689 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50690 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50691 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
50692 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50693 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
50694 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50695 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50696 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50697 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50698 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50699 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50700 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50701 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50702 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50703 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50704 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50705 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
50706 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
50707 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50708 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
50709 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50710 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50711 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
50712 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
50713 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50714 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50715 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50716 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50717 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50718 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50719 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50720 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50721 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50722
50723 2013-10-17 Joseph Myers <joseph@codesourcery.com>
50724
50725 [BZ #16041]
50726 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
50727 make result into a quiet NaN.
50728
50729 2013-10-16 Joseph Myers <joseph@codesourcery.com>
50730
50731 * soft-fp/adddf3.c: Fix horizontal whitespace.
50732 * soft-fp/addsf3.c: Likewise.
50733 * soft-fp/addtf3.c: Likewise.
50734 * soft-fp/divdf3.c: Likewise.
50735 * soft-fp/divsf3.c: Likewise.
50736 * soft-fp/divtf3.c: Likewise.
50737 * soft-fp/double.h: Likewise.
50738 * soft-fp/eqdf2.c: Likewise.
50739 * soft-fp/eqsf2.c: Likewise.
50740 * soft-fp/eqtf2.c: Likewise.
50741 * soft-fp/extenddftf2.c: Likewise.
50742 * soft-fp/extended.h: Likewise.
50743 * soft-fp/extendsfdf2.c: Likewise.
50744 * soft-fp/extendsftf2.c: Likewise.
50745 * soft-fp/extendxftf2.c: Likewise.
50746 * soft-fp/fixdfdi.c: Likewise.
50747 * soft-fp/fixdfsi.c: Likewise.
50748 * soft-fp/fixdfti.c: Likewise.
50749 * soft-fp/fixsfdi.c: Likewise.
50750 * soft-fp/fixsfsi.c: Likewise.
50751 * soft-fp/fixsfti.c: Likewise.
50752 * soft-fp/fixtfdi.c: Likewise.
50753 * soft-fp/fixtfsi.c: Likewise.
50754 * soft-fp/fixtfti.c: Likewise.
50755 * soft-fp/fixunsdfdi.c: Likewise.
50756 * soft-fp/fixunsdfsi.c: Likewise.
50757 * soft-fp/fixunsdfti.c: Likewise.
50758 * soft-fp/fixunssfdi.c: Likewise.
50759 * soft-fp/fixunssfsi.c: Likewise.
50760 * soft-fp/fixunssfti.c: Likewise.
50761 * soft-fp/fixunstfdi.c: Likewise.
50762 * soft-fp/fixunstfsi.c: Likewise.
50763 * soft-fp/fixunstfti.c: Likewise.
50764 * soft-fp/floatdidf.c: Likewise.
50765 * soft-fp/floatdisf.c: Likewise.
50766 * soft-fp/floatditf.c: Likewise.
50767 * soft-fp/floatsidf.c: Likewise.
50768 * soft-fp/floatsisf.c: Likewise.
50769 * soft-fp/floatsitf.c: Likewise.
50770 * soft-fp/floattidf.c: Likewise.
50771 * soft-fp/floattisf.c: Likewise.
50772 * soft-fp/floattitf.c: Likewise.
50773 * soft-fp/floatundidf.c: Likewise.
50774 * soft-fp/floatundisf.c: Likewise.
50775 * soft-fp/floatunditf.c: Likewise.
50776 * soft-fp/floatunsidf.c: Likewise.
50777 * soft-fp/floatunsisf.c: Likewise.
50778 * soft-fp/floatunsitf.c: Likewise.
50779 * soft-fp/floatuntidf.c: Likewise.
50780 * soft-fp/floatuntisf.c: Likewise.
50781 * soft-fp/floatuntitf.c: Likewise.
50782 * soft-fp/fmadf4.c: Likewise.
50783 * soft-fp/fmasf4.c: Likewise.
50784 * soft-fp/fmatf4.c: Likewise.
50785 * soft-fp/gedf2.c: Likewise.
50786 * soft-fp/gesf2.c: Likewise.
50787 * soft-fp/getf2.c: Likewise.
50788 * soft-fp/ledf2.c: Likewise.
50789 * soft-fp/lesf2.c: Likewise.
50790 * soft-fp/letf2.c: Likewise.
50791 * soft-fp/muldf3.c: Likewise.
50792 * soft-fp/mulsf3.c: Likewise.
50793 * soft-fp/multf3.c: Likewise.
50794 * soft-fp/negdf2.c: Likewise.
50795 * soft-fp/negsf2.c: Likewise.
50796 * soft-fp/negtf2.c: Likewise.
50797 * soft-fp/op-1.h: Likewise.
50798 * soft-fp/op-2.h: Likewise.
50799 * soft-fp/op-4.h: Likewise.
50800 * soft-fp/op-8.h: Likewise.
50801 * soft-fp/op-common.h: Likewise.
50802 * soft-fp/quad.h: Likewise.
50803 * soft-fp/single.h: Likewise.
50804 * soft-fp/soft-fp.h: Likewise.
50805 * soft-fp/sqrtdf2.c: Likewise.
50806 * soft-fp/sqrtsf2.c: Likewise.
50807 * soft-fp/sqrttf2.c: Likewise.
50808 * soft-fp/subdf3.c: Likewise.
50809 * soft-fp/subsf3.c: Likewise.
50810 * soft-fp/subtf3.c: Likewise.
50811 * soft-fp/truncdfsf2.c: Likewise.
50812 * soft-fp/trunctfdf2.c: Likewise.
50813 * soft-fp/trunctfsf2.c: Likewise.
50814 * soft-fp/trunctfxf2.c: Likewise.
50815 * soft-fp/unorddf2.c: Likewise.
50816 * soft-fp/unordsf2.c: Likewise.
50817 * soft-fp/unordtf2.c: Likewise.
50818
50819 2013-10-15 Joseph Myers <joseph@codesourcery.com>
50820
50821 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
50822 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
50823
50824 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
50825
50826 * elf/dl-libc.c: Clear initfini list after freeing.
50827
50828 2013-10-14 Joseph Myers <joseph@codesourcery.com>
50829
50830 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
50831 * soft-fp/addsf3.c: Likewise.
50832 * soft-fp/addtf3.c: Likewise.
50833 * soft-fp/divdf3.c: Likewise.
50834 * soft-fp/divsf3.c: Likewise.
50835 * soft-fp/divtf3.c: Likewise.
50836 * soft-fp/double.h: Likewise.
50837 * soft-fp/eqdf2.c: Likewise.
50838 * soft-fp/eqsf2.c: Likewise.
50839 * soft-fp/eqtf2.c: Likewise.
50840 * soft-fp/extenddftf2.c: Likewise.
50841 * soft-fp/extended.h: Likewise.
50842 * soft-fp/extendsfdf2.c: Likewise.
50843 * soft-fp/extendsftf2.c: Likewise.
50844 * soft-fp/extendxftf2.c: Likewise.
50845 * soft-fp/fixdfdi.c: Likewise.
50846 * soft-fp/fixdfsi.c: Likewise.
50847 * soft-fp/fixdfti.c: Likewise.
50848 * soft-fp/fixsfdi.c: Likewise.
50849 * soft-fp/fixsfsi.c: Likewise.
50850 * soft-fp/fixsfti.c: Likewise.
50851 * soft-fp/fixtfdi.c: Likewise.
50852 * soft-fp/fixtfsi.c: Likewise.
50853 * soft-fp/fixtfti.c: Likewise.
50854 * soft-fp/fixunsdfdi.c: Likewise.
50855 * soft-fp/fixunsdfsi.c: Likewise.
50856 * soft-fp/fixunsdfti.c: Likewise.
50857 * soft-fp/fixunssfdi.c: Likewise.
50858 * soft-fp/fixunssfsi.c: Likewise.
50859 * soft-fp/fixunssfti.c: Likewise.
50860 * soft-fp/fixunstfdi.c: Likewise.
50861 * soft-fp/fixunstfsi.c: Likewise.
50862 * soft-fp/fixunstfti.c: Likewise.
50863 * soft-fp/floatdidf.c: Likewise.
50864 * soft-fp/floatdisf.c: Likewise.
50865 * soft-fp/floatditf.c: Likewise.
50866 * soft-fp/floatsidf.c: Likewise.
50867 * soft-fp/floatsisf.c: Likewise.
50868 * soft-fp/floatsitf.c: Likewise.
50869 * soft-fp/floattidf.c: Likewise.
50870 * soft-fp/floattisf.c: Likewise.
50871 * soft-fp/floattitf.c: Likewise.
50872 * soft-fp/floatundidf.c: Likewise.
50873 * soft-fp/floatundisf.c: Likewise.
50874 * soft-fp/floatunsidf.c: Likewise.
50875 * soft-fp/floatunsisf.c: Likewise.
50876 * soft-fp/floatuntidf.c: Likewise.
50877 * soft-fp/floatuntisf.c: Likewise.
50878 * soft-fp/floatuntitf.c: Likewise.
50879 * soft-fp/fmadf4.c: Likewise.
50880 * soft-fp/fmasf4.c: Likewise.
50881 * soft-fp/fmatf4.c: Likewise.
50882 * soft-fp/gedf2.c: Likewise.
50883 * soft-fp/gesf2.c: Likewise.
50884 * soft-fp/getf2.c: Likewise.
50885 * soft-fp/ledf2.c: Likewise.
50886 * soft-fp/lesf2.c: Likewise.
50887 * soft-fp/letf2.c: Likewise.
50888 * soft-fp/muldf3.c: Likewise.
50889 * soft-fp/mulsf3.c: Likewise.
50890 * soft-fp/multf3.c: Likewise.
50891 * soft-fp/negdf2.c: Likewise.
50892 * soft-fp/negsf2.c: Likewise.
50893 * soft-fp/negtf2.c: Likewise.
50894 * soft-fp/op-1.h: Likewise.
50895 * soft-fp/op-2.h: Likewise.
50896 * soft-fp/op-4.h: Likewise.
50897 * soft-fp/op-8.h: Likewise.
50898 * soft-fp/op-common.h: Likewise.
50899 * soft-fp/quad.h: Likewise.
50900 * soft-fp/single.h: Likewise.
50901 * soft-fp/soft-fp.h: Likewise.
50902 * soft-fp/sqrtdf2.c: Likewise.
50903 * soft-fp/sqrtsf2.c: Likewise.
50904 * soft-fp/sqrttf2.c: Likewise.
50905 * soft-fp/subdf3.c: Likewise.
50906 * soft-fp/subsf3.c: Likewise.
50907 * soft-fp/subtf3.c: Likewise.
50908 * soft-fp/truncdfsf2.c: Likewise.
50909 * soft-fp/trunctfdf2.c: Likewise.
50910 * soft-fp/trunctfsf2.c: Likewise.
50911 * soft-fp/trunctfxf2.c: Likewise.
50912 * soft-fp/unorddf2.c: Likewise.
50913 * soft-fp/unordsf2.c: Likewise.
50914 * soft-fp/unordtf2.c: Likewise.
50915
50916 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
50917
50918 [BZ #15672]
50919 * misc/error.c (error_tail): Fix possible buffer overflow.
50920
50921 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
50922
50923 [BZ #13028]
50924 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
50925 address.
50926
50927 2013-10-14 P. J. McDermott <pj@pehjota.net>
50928
50929 [BZ #832]
50930 * elf/ldd.bash.in (try_trace): New function. Delete previous code
50931 testing pipefail option.
50932
50933 2013-10-12 Joseph Myers <joseph@codesourcery.com>
50934
50935 * soft-fp/double.h: Indent preprocessor directives inside #if.
50936 * soft-fp/extended.h: Likewise.
50937 * soft-fp/op-2.h: Likewise.
50938 * soft-fp/op-4.h: Likewise.
50939 * soft-fp/op-common.h: Likewise.
50940 * soft-fp/quad.h: Likewise.
50941 * soft-fp/single.h: Likewise.
50942 * soft-fp/soft-fp.h: Likewise.
50943
50944 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
50945
50946 * iconv/iconv_prog.c: Fix typos.
50947 * stdio-common/psiginfo-data.h: Likewise.
50948
50949 2013-10-12 Reuben Thomas <rrt@sc3d.org>
50950
50951 [BZ #15764]
50952 * locale/setlocale.c: Fix typo.
50953
50954 2013-10-12 Joseph Myers <joseph@codesourcery.com>
50955
50956 [BZ #16036]
50957 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
50958 signaling NaN arguments.
50959 * soft-fp/unordsf2.c (__unordsf2): Likewise.
50960 * soft-fp/unordtf2.c (__unordtf2): Likewise.
50961
50962 [BZ #14910]
50963 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
50964 unordered operands.
50965 * soft-fp/gesf2.c (__gesf2): Likewise.
50966 * soft-fp/getf2.c (__getf2): Likewise.
50967 * soft-fp/ledf2.c (__ledf2): Likewise.
50968 * soft-fp/lesf2.c (__lesf2): Likewise.
50969 * soft-fp/letf2.c (__letf2): Likewise.
50970
50971 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
50972 * soft-fp/eqsf2.c (__eqsf2): Likewise.
50973 * soft-fp/eqtf2.c (__eqtf2): Likewise.
50974 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
50975 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
50976 * soft-fp/fixdfti.c (__fixdfti): Likewise.
50977 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
50978 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
50979 * soft-fp/fixsfti.c (__fixsfti): Likewise.
50980 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
50981 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
50982 * soft-fp/fixtfti.c (__fixtfti): Likewise.
50983 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
50984 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
50985 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
50986 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
50987 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
50988 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
50989 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
50990 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
50991 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
50992 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
50993 * soft-fp/floatdisf.c (__floatdisf): Likewise.
50994 * soft-fp/floatsisf.c (__floatsisf): Likewise.
50995 * soft-fp/floattidf.c (__floattidf): Likewise.
50996 * soft-fp/floattisf.c (__floattisf): Likewise.
50997 * soft-fp/floattitf.c (__floattitf): Likewise.
50998 * soft-fp/floatundidf.c (__floatundidf): Likewise.
50999 * soft-fp/floatundisf.c (__floatundisf): Likewise.
51000 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
51001 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
51002 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
51003 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
51004 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
51005 * soft-fp/gesf2.c (__gesf2): Likewise.
51006 * soft-fp/getf2.c (__getf2): Likewise.
51007 * soft-fp/ledf2.c (__ledf2): Likewise.
51008 * soft-fp/lesf2.c (__lesf2): Likewise.
51009 * soft-fp/letf2.c (__letf2): Likewise.
51010
51011 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
51012 Undefine and redefine.
51013 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
51014 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
51015 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
51016 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
51017 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51018 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
51019 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51020 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
51021 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51022 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
51023 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51024 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
51025 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51026 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
51027 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51028
51029 [BZ #16032]
51030 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
51031 without decrementing exponent if mantissa >= that for the
51032 denominator, not >.
51033 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
51034 denominator, not >. Decrement exponent in < case instead of
51035 incrementing in >= case.
51036 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
51037 without decrementing exponent if mantissa >= that for the
51038 denominator, not >.
51039
51040 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
51041 computing saturated result for unsigned overflow.
51042
51043 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
51044 Jeff Law <law@redhat.com>
51045
51046 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
51047 (atan2Mp): Add systemtap probe marker.
51048 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
51049 (__ieee754_log): Add systemtap probe marker.
51050 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
51051 (atanMp): Add systemtap probe marker.
51052 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
51053 (tanMp): Add systemtap probe marker.
51054 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
51055 (__slowexp): Add systemtap probe marker.
51056 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
51057 (__slowpow): Add systemtap probe marker.
51058 * manual/probes.texi: Document probes.
51059
51060 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
51061
51062 [BZ #15362]
51063 * libio/fileops.c (_IO_new_file_write): Return count of bytes
51064 written.
51065 (_IO_new_file_xsputn): Don't return EOF if nothing has been
51066 written.
51067 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
51068 written to buffer but not flushed.
51069 * libio/iofwrite_u.c: Likewise.
51070 * libio/iopadn.c: Return bytes returned even if EOF was
51071 encountered.
51072 * libio/iowpadn.c: Likewise.
51073 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
51074 if _IO_padn does not write the whole buffer.
51075 [!COMPILE_WPRINTF] (PAD): Likewise.
51076
51077 2013-10-10 David S. Miller <davem@davemloft.net>
51078
51079 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
51080 directory block.
51081
51082 2013-10-10 Joseph Myers <joseph@codesourcery.com>
51083
51084 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
51085 instead of FSF address.
51086 * soft-fp/fixdfti.c: Likewise.
51087 * soft-fp/fixsfti.c: Likewise.
51088 * soft-fp/fixtfti.c: Likewise.
51089 * soft-fp/fixunsdfti.c: Likewise.
51090 * soft-fp/fixunssfti.c: Likewise.
51091 * soft-fp/fixunstfti.c: Likewise.
51092 * soft-fp/floattidf.c: Likewise.
51093 * soft-fp/floattisf.c: Likewise.
51094 * soft-fp/floattitf.c: Likewise.
51095 * soft-fp/floatuntidf.c: Likewise.
51096 * soft-fp/floatuntisf.c: Likewise.
51097 * soft-fp/floatuntitf.c: Likewise.
51098 * soft-fp/trunctfxf2.c: Likewise.
51099
51100 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
51101 * soft-fp/fixdfti.c: Likewise.
51102 * soft-fp/fixsfti.c: Likewise.
51103 * soft-fp/fixtfti.c: Likewise.
51104 * soft-fp/fixunsdfti.c: Likewise.
51105 * soft-fp/fixunssfti.c: Likewise.
51106 * soft-fp/fixunstfti.c: Likewise.
51107 * soft-fp/floattidf.c: Likewise.
51108 * soft-fp/floattisf.c: Likewise.
51109 * soft-fp/floattitf.c: Likewise.
51110 * soft-fp/floatuntidf.c: Likewise.
51111 * soft-fp/floatuntisf.c: Likewise.
51112 * soft-fp/floatuntitf.c: Likewise.
51113 * soft-fp/trunctfxf2.c: Likewise.
51114
51115 2013-10-10 David S. Miller <davem@davemloft.net>
51116
51117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51118
51119 2013-10-10 Joseph Myers <joseph@codsourcery.com>
51120
51121 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51122 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
51123 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
51124 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
51125 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
51126 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
51127 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
51128
51129 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
51130 for NaNs before doing comparisons on argument.
51131 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
51132 Likewise.
51133
51134 2013-10-10 Will Newton <will.newton@linaro.org>
51135
51136 * malloc/hooks.c (memalign_check): Ensure the value of bytes
51137 passed to _int_memalign does not overflow.
51138
51139 2013-10-10 Torvald Riegel <triegel@redhat.com>
51140
51141 * scripts/bench.pl: Add include-sources directive.
51142 * benchtests/README: Update documentation.
51143
51144 2013-10-10 Joseph Myers <joseph@codesourcery.com>
51145
51146 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
51147 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
51148 instead of FP_INIT_ROUNDMODE.
51149 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
51150 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
51151
51152 [BZ #16034]
51153 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
51154 copy class of input value.
51155 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
51156 not handle exceptions.
51157 * soft-fp/negsf2.c (__negsf2): Likewise.
51158 * soft-fp/negtf2.c (__negtf2): Likewise.
51159 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
51160
51161 2013-10-09 Joseph Myers <joseph@codesourcery.com>
51162
51163 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
51164 semicolon. From Linux kernel.
51165
51166 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
51167
51168 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
51169
51170 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
51171
51172 [BZ #156]
51173 * manual/socket.texi: Added statement about buffer
51174 for gethostbyname2_r.
51175
51176 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
51177
51178 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
51179 Use .p2align directive instead, throughout.
51180 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51181 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
51182 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
51183 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51184 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51185 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
51186 * sysdeps/x86_64/strchr.S: Likewise.
51187 * sysdeps/x86_64/strrchr.S: Likewise.
51188
51189 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
51190
51191 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
51192
51193 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
51194
51195 * sysdeps/generic/math_private.h (__mpsin1): Remove
51196 declaration.
51197 (__mpcos1): Likewise.
51198 (__mpsin): New argument __range_reduce.
51199 (__mpcos): Likewise.
51200 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51201 (slow): Use __mpsin and __mpcos.
51202 (slow1): Likewise.
51203 (slow2): Likewise.
51204 (sloww): Likewise.
51205 (sloww1): Likewise.
51206 (sloww2): Likewise.
51207 (bsloww): Likewise.
51208 (bsloww1): Likewise.
51209 (bsloww2): Likewise.
51210 (cslow2): Likewise.
51211 (csloww): Likewise.
51212 (csloww1): Likewise.
51213 (csloww2): Likewise.
51214 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
51215 range_reduce. Merge in __mpsin1.
51216 (__mpcos): Likewise.
51217 (__mpsin1): Remove.
51218 (__mpcos1): Likewise.
51219
51220 2013-10-07 Joseph Myers <joseph@codesourcery.com>
51221
51222 * locale/loadlocale.c (_nl_intern_locale_data): Use
51223 LOCFILE_ALIGNED_P.
51224 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
51225 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
51226 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
51227 obstack data is appropriately aligned.
51228 (obstack_int32_grow_fast): Likewise.
51229 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
51230 * locale/programs/locfile.c (add_locale_uint32): Likewise.
51231 (add_locale_uint32_array): Likewise.
51232
51233 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
51234
51235 * benchtests/Makefile: Remove ARGLIST and RET variables.
51236 ($(objpfx)bench-%.c): Pass only function name to the script.
51237 * benchtests/README: Update documentation.
51238 * benchtests/acos-inputs: Add new directives.
51239 * benchtests/acosh-inputs: Likewise.
51240 * benchtests/asin-inputs: Likewise.
51241 * benchtests/asinh-inputs: Likewise.
51242 * benchtests/atan-inputs: Likewise.
51243 * benchtests/atanh-inputs: Likewise.
51244 * benchtests/cos-inputs: Likewise.
51245 * benchtests/cosh-inputs: Likewise.
51246 * benchtests/exp-inputs: Likewise.
51247 * benchtests/log-inputs: Likewise.
51248 * benchtests/pow-inputs: Likewise.
51249 * benchtests/rint-inputs: Likewise.
51250 * benchtests/sin-inputs: Likewise.
51251 * benchtests/sinh-inputs: Likewise.
51252 * benchtests/tan-inputs: Likewise.
51253 * benchtests/tanh-inputs: Likewise.
51254 * scripts/bench.pl: Add support for new directives.
51255
51256 2013-10-07 Alan Modra <amodra@gmail.com>
51257
51258 * README: Fix careless merge.
51259
51260 2013-10-05 Alan Modra <amodra@gmail.com>
51261
51262 * NEWS: Mention powerpc64le support and bugs fixed.
51263 * README: Both big-endian and little-endian powerpc64 supported.
51264
51265 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
51266
51267 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
51268 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
51269 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
51270 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
51271
51272 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
51273
51274 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
51275 match prototype.
51276
51277 2013-10-04 Joseph Myers <joseph@codesourcery.com>
51278
51279 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
51280 Move -mhard-float appending from
51281 ports/sysdeps/powerpc/powerpc32/Makefile.
51282 [$(with-fp) = yes] (ASFLAGS): Likewise.
51283 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
51284 * sysdeps/powerpc/nofpu: Move directory from
51285 ports/sysdeps/powerpc/nofpu.
51286 * sysdeps/powerpc/soft-fp: Move directory from
51287 ports/sysdeps/powerpc/soft-fp.
51288 * sysdeps/powerpc/powerpc32/405: Move directory from
51289 ports/sysdeps/powerpc/powerpc32/405.
51290 * sysdeps/powerpc/powerpc32/440: Move directory from
51291 ports/sysdeps/powerpc/powerpc32/440.
51292 * sysdeps/powerpc/powerpc32/464: Move directory from
51293 ports/sysdeps/powerpc/powerpc32/464.
51294 * sysdeps/powerpc/powerpc32/476: Move directory from
51295 ports/sysdeps/powerpc/powerpc32/476.
51296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
51297 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
51298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
51299 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
51300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
51301 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
51302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
51303 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
51304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
51305 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
51306 * README: Update for powerpc-*-linux-gnu software floating point
51307 support in libc.
51308
51309 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
51310 case to powerpc/powerpc32*.
51311 * sysdeps/unix/sysv/linux/configure: Regenerated.
51312
51313 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
51314 (_FPU_MASK_OM): Define as 0x04.
51315 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
51316 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
51317 0x00c10080.
51318 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
51319 0x0000003c.
51320 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
51321
51322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
51323 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51324 getcontext_e500.
51325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
51326 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51327 setcontext_e500.
51328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
51329 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
51330 and setcontext_e500.
51331
51332 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
51333
51334 * locale/iso-3166.def: Update iso-1366.def and related occurrences
51335
51336 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
51337
51338 * manual/threads.texi (Default Thread Attributes): Fix typo.
51339
51340 2013-10-04 Will Newton <will.newton@linaro.org>
51341
51342 * malloc/Makefile: Add tst-memalign.
51343 * malloc/tst-memalign.c: New file.
51344
51345 * malloc/tst-posix_memalign.c: Add comments.
51346 (do_test): Add comments and call free on all potentially
51347 allocated pointers. Add space after cast.
51348
51349 * malloc/tst-pvalloc.c: Add comments.
51350 (do_test): Add comments and call free on all potentially
51351 allocated pointers. Remove duplicate check for NULL pointer.
51352 Add space after cast.
51353
51354 * malloc/tst-valloc.c: Add comments.
51355 (do_test): Add comments and call free on all potentially
51356 allocated pointers. Remove duplicate check for NULL pointer.
51357 Add space after cast.
51358
51359 2013-10-04 Alan Modra <amodra@gmail.com>
51360
51361 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51362 Use stdint types in rather than __attribute__((mode())).
51363 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51364
51365 2013-10-04 Alan Modra <amodra@gmail.com>
51366
51367 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51368 Correct handling of unaligned relocs for little-endian.
51369 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51370
51371 2013-10-04 Alan Modra <amodra@gmail.com>
51372
51373 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
51374 * configure: Regenerate.
51375 * nptl/shlib-versions: Powerpc*le starts at 2.18.
51376 * shlib-versions: Likewise.
51377
51378 2013-10-04 Alan Modra <amodra@gmail.com>
51379
51380 * string/tester.c (test_memrchr): Increment reported test cycle.
51381
51382 2013-10-04 Alan Modra <amodra@gmail.com>
51383
51384 * string/test-memcpy.c (do_one_test): When reporting errors, print
51385 string address and don't overrun end of string.
51386
51387 2013-10-04 Alan Modra <amodra@gmail.com>
51388
51389 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
51390 insrdi. Make better use of reg selection to speed exit slightly.
51391 Schedule entry path a little better. Remove useless "are we done"
51392 checks on entry to main loop. Handle wrapping around zero address.
51393 Correct main loop count. Handle single left-over word from main
51394 loop inline rather than by using loop_small. Remove extra word
51395 case in loop_small caused by wrong loop count. Add little-endian
51396 support.
51397 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
51398 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
51399 cache hint.
51400 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
51401 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
51402 support. Avoid rlwimi.
51403 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
51404
51405 2013-10-04 Alan Modra <amodra@gmail.com>
51406
51407 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
51408 insrdi. Formatting.
51409 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
51410 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
51411 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
51412 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
51413 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
51414 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
51415
51416 2013-10-04 Alan Modra <amodra@gmail.com>
51417
51418 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
51419 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51420 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
51421 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
51422 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
51423 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51424 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51425 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51426 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
51427 use of regs. Use power7 mtocrf. Tidy function tails.
51428
51429 2013-10-04 Alan Modra <amodra@gmail.com>
51430
51431 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
51432 Formatting. Consistently use rXXX register defines or rN defines.
51433 Use early exit labels that avoid restoring unused non-volatile regs.
51434 Make cr field use more consistent with rWORDn compares. Rename
51435 regs used as shift registers for unaligned loop, using rN defines
51436 for short lifetime/multiple use regs.
51437 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51438 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
51439 addi 1,1,64 to pop stack frame. Simplify return value code.
51440 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51441
51442 2013-10-04 Alan Modra <amodra@gmail.com>
51443
51444 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
51445 support. Correct typos, formatting. Optimize tail. Use insrdi
51446 rather than rlwimi.
51447 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
51448 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
51449 little-endian support. Correct typos.
51450 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
51451 rather than rlwimi.
51452 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
51453 in loop and entry code to keep "and." results.
51454 (strchr): Add little-endian support. Comment. Move cntlzd
51455 earlier in tail.
51456 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
51457
51458 2013-10-04 Alan Modra <amodra@gmail.com>
51459
51460 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
51461 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
51462 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
51463 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
51464
51465 2013-10-04 Alan Modra <amodra@gmail.com>
51466
51467 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
51468 (rTMP): Define as r11.
51469 (strcmp): Add little-endian support. Optimise tail.
51470 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
51471 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51472 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
51473 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51474 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
51475 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51476 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51477
51478 2013-10-04 Alan Modra <amodra@gmail.com>
51479
51480 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
51481 little-endian support. Remove unnecessary "are we done" tests.
51482 Handle "s" wrapping around zero and extremely large "size".
51483 Correct main loop count. Handle single left-over word from main
51484 loop inline rather than by using small_loop. Correct comments.
51485 Delete "zero" tail, use "end_max" instead.
51486 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
51487
51488 2013-10-04 Alan Modra <amodra@gmail.com>
51489
51490 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
51491 support. Don't branch over align.
51492 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
51493 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
51494 support. Rearrange tmp reg use to suit. Comment.
51495 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
51496
51497 2013-10-04 Alan Modra <amodra@gmail.com>
51498
51499 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
51500
51501 2013-10-04 Alan Modra <amodra@gmail.com>
51502
51503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
51504 conditional form of branch and link when obtaining pc.
51505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
51506
51507 2013-10-04 Alan Modra <amodra@gmail.com>
51508
51509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
51510 HIWORD/LOWORD.
51511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
51512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
51513
51514 2013-10-04 Alan Modra <amodra@gmail.com>
51515
51516 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
51517 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
51518 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
51519 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
51520 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
51521 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
51522 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
51523 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51524 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
51525 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
51526
51527 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
51528 Alistair Popple <alistair@ozlabs.au.ibm.com>
51529 Alan Modra <amodra@gmail.com>
51530
51531 [BZ #15723]
51532 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
51533 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
51534 _dl_hwcap access for little-endian.
51535 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
51536 destroy vmx regs when saving unaligned.
51537 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
51538 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
51539 destroy vmx regs when saving unaligned.
51540
51541 2013-10-04 Alan Modra <amodra@gmail.com>
51542
51543 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
51544 Don't use a union to pack hi/low value.
51545
51546 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
51547
51548 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
51549 for little-endian.
51550 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
51551 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
51552 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
51553 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
51554 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
51555
51556 2013-10-04 Alan Modra <amodra@gmail.com>
51557
51558 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
51559 constants to usual value for .cst8 section, and remove redundant
51560 high address load.
51561 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
51562 constant for 0x1p52. Load little-endian words of double from
51563 correct stack offsets.
51564
51565 2013-10-04 Alan Modra <amodra@gmail.com>
51566
51567 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
51568 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
51569 words of double from correct stack offsets.
51570 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
51571 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
51572 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
51573 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
51574 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
51575 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
51576 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
51577 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
51578 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
51579 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
51580 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
51581 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
51582 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51583 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51584 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51585 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
51586 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
51587
51588 2013-10-04 Alan Modra <amodra@gmail.com>
51589
51590 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
51591 64-bit int/double union.
51592 (_FPU_SETCW): Likewise.
51593 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
51594 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
51595
51596 2013-10-04 Alan Modra <amodra@gmail.com>
51597
51598 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
51599 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
51600
51601 2013-10-04 Alan Modra <amodra@gmail.com>
51602
51603 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
51604 use vector int constants.
51605 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
51606
51607 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
51608
51609 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
51610 array with long long.
51611 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
51612 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
51613 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
51614 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
51615 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
51616 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
51617 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
51618 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
51619 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
51620 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
51621 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
51622 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
51623 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
51624
51625 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
51626
51627 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
51628 (__signbit): Likewise. Correct for little-endian.
51629 (__signbitl): Call __signbit.
51630 (lrint): Correct for little-endian.
51631 (lrintf): Call lrint.
51632
51633 2013-10-04 Alan Modra <amodra@gmail.com>
51634
51635 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
51636 union 32-bit int array member with 64-bit int array.
51637 (t515, tm256): Double rather than long double.
51638 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
51639
51640 2013-10-04 Alan Modra <amodra@gmail.com>
51641
51642 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
51643 Delete.
51644 (IEEE854_LONG_DOUBLE_BIAS): Delete.
51645 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
51646 version of math_ldbl.h.
51647
51648 2013-10-04 Alan Modra <amodra@gmail.com>
51649
51650 [BZ #15734], [BZ #15735]
51651 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
51652 all uses of ieee875 long double macros and unions. Simplify test
51653 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
51654 ldbl_extract_mantissa value for ix,iy exponents. Properly
51655 normalize after ldbl_extract_mantissa, and don't add hidden bit
51656 already handled. Don't treat low word of ieee854 mantissa like
51657 low word of IBM long double and mask off bit when testing for
51658 zero.
51659 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
51660 all uses of ieee875 long double macros and unions. Simplify tests
51661 for 0.0L and inf. Correct double adjustment of k. Delete dead code
51662 adjusting ha,hb. Simplify code setting kld. Delete two600 and
51663 two1022, instead use their values. Recognise that tests for large
51664 "a" and small "b" are mutually exclusive. Rename vars. Comment.
51665 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
51666 Rewrite all uses of ieee875 long double macros and unions. Simplify
51667 test for 0.0L and nan. Correct negation.
51668 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
51669 ieee875 long double macros and unions. Correct output for large
51670 magnitude x. Correct absolute value calculation.
51671 (__erfcl): Likewise.
51672 * math/libm-test.inc: Add tests for errors discovered in IBM long
51673 double versions of fmodl, remainderl, erfl and erfcl.
51674
51675 2013-10-04 Alan Modra <amodra@gmail.com>
51676
51677 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
51678 all uses of ieee854 long double macros and unions. Simplify tests
51679 for long doubles that are fully specified by the high double.
51680 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
51681 Likewise.
51682 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
51683 Remove dead code too.
51684 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
51685 (__ieee754_ynl): Likewise.
51686 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
51687 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
51688 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
51689 Remove dead code too.
51690 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
51691 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
51692 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
51693 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
51694 Simplify.
51695 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
51696 Simplify.
51697 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
51698 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
51699 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
51700 Comment on variable precision.
51701 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
51702 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51703 Likewise.
51704 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
51705 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51706 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51707 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
51708 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
51709
51710 2013-10-04 Alan Modra <amodra@gmail.com>
51711
51712 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
51713 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
51714 all uses of ieee854 long double macros and unions.
51715 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
51716 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51717 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
51718 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
51719 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
51720 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
51721 Likewise.
51722 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
51723 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51724 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
51725 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51726 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
51727 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
51728 Simplify sign and nan test too.
51729 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
51730 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
51731 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
51732 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
51733 Likewise.
51734 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
51735 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
51736 Likewise.
51737 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51738 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
51739 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
51740 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
51741 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
51742 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
51743
51744 2013-10-04 Alan Modra <amodra@gmail.com>
51745
51746 * stdio-common/printf_size.c (__printf_size): Don't use
51747 union ieee854_long_double in fpnum union.
51748 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
51749 signbit macro to retrieve sign from long double.
51750 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
51751 retrieve sign from long double.
51752 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
51753 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
51754 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
51755 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51756 * math/test-misc.c (main): Don't use union ieee854_long_double.
51757
51758 2013-10-04 Alan Modra <amodra@gmail.com>
51759
51760 [BZ #15680]
51761 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
51762 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
51763 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
51764 calculation. Remove unnecessary test for denormal exponent.
51765 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
51766 Correct handling of denormals. Avoid undefined shift behaviour.
51767 Correct normalisation of low mantissa when low double is denormal.
51768 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
51769 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
51770 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
51771 Correct normalisation of low mantissa. Test for overflow of high
51772 mantissa and normalise.
51773 (ldbl_nearbyint): Use more readable constant for two52.
51774 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
51775 (__mpn_construct_long_double): Fix test for overflow of high
51776 mantissa and correct normalisation. Avoid undefined shift.
51777
51778 2013-10-04 Alan Modra <amodra@gmail.com>
51779
51780 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
51781 (union ibm_extended_long_double): Define as an array of ieee754_double.
51782 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
51783 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
51784 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
51785 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51786 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51787 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
51788 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51789 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
51790 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
51791 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
51792 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
51793
51794 2013-10-03 Joseph Myers <joseph@codesourcery.com>
51795
51796 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
51797 page size instead of calling getpagesize.
51798
51799 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
51800 (LOCFILE_ALIGN_MASK): Likewise.
51801 (LOCFILE_ALIGN_UP): Likewise.
51802 (LOCFILE_ALIGNED_P): Likewise.
51803 * locale/programs/ld-collate.c (collate_output): Use the new
51804 macros instead of __alignof__ (int32_t).
51805 * locale/weight.h (findidx): Likewise.
51806
51807 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
51808
51809 [BZ #431]
51810 * manual/string.texi: Fix strncat and wcsncat.
51811
51812 2013-10-03 Brooks Moses <bmoses@google.com>
51813
51814 [BZ #15915]
51815 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
51816 * Makerules: ...here, and adjust associated comments.
51817
51818 2013-10-02 Will Newton <will.newton@linaro.org>
51819
51820 * malloc/Makefile: Add tst-pvalloc.
51821 * malloc/tst-pvalloc.c: New file.
51822
51823 2013-10-02 Will Newton <will.newton@linaro.org>
51824
51825 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
51826 improve test coverage.
51827
51828 2013-10-02 Will Newton <will.newton@linaro.org>
51829
51830 * malloc/Makefile: Add tst-posix_memalign.
51831 * malloc/tst-posix_memalign.c: New file.
51832
51833 2013-10-01 Eric Blake <eblake@redhat.com>
51834
51835 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
51836 Use __THROWNL rather than __THROW on static functions.
51837
51838 2013-09-30 Petr Machata <pmachata@redhat.com>
51839
51840 * elf/elf.h (R_AARCH64_ABS16): New macro.
51841 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
51842 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
51843 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
51844 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
51845 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
51846 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
51847 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
51848 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
51849 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
51850 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
51851 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
51852 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
51853 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
51854 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
51855 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
51856 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
51857 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
51858 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
51859 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
51860 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
51861 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
51862 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
51863 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
51864 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
51865 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
51866 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
51867 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
51868 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
51869 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
51870 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
51871 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
51872 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
51873 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
51874 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
51875 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
51876 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
51877 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
51878 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
51879 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
51880 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
51881 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
51882 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
51883 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
51884 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
51885 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
51886 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
51887 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
51888 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
51889 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
51890 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
51891 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
51892 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
51893 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
51894 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
51895 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
51896 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
51897 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
51898 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
51899 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
51900 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
51901 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
51902 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
51903 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
51904 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
51905 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
51906 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
51907 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
51908 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
51909 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
51910 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
51911 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
51912 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
51913 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
51914 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
51915 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
51916 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
51917 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
51918 (R_AARCH64_TLSDESC_LDR): Likewise.
51919 (R_AARCH64_TLSDESC_ADD): Likewise.
51920 (R_AARCH64_TLSDESC_CALL): Likewise.
51921
51922 2013-09-30 Andreas Schwab <schwab@suse.de>
51923
51924 [BZ #15048]
51925 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
51926 the nss database lookup.
51927 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51928 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51929
51930 2013-09-28 Mike Frysinger <vapier@gentoo.org>
51931
51932 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
51933
51934 2013-09-28 P. J. McDermott <pj@pehjota.net>
51935
51936 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
51937 ${Bash-specific parameter/pattern/string} parameter expansion.
51938 * sysdeps/unix/make-syscalls.sh: Likewise.
51939
51940 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
51941
51942 * sysdeps/sh/stackguard-macros.h: New file.
51943
51944 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
51945
51946 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
51947 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
51948 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
51949 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
51950 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51951 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
51952
51953 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51954
51955 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
51956 Fix thread ID register.
51957
51958 2013-09-25 Joseph Myers <joseph@codesourcery.com>
51959
51960 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
51961 [POSIX || UNIX98]: Require rather than permitting all symbols from
51962 <time.h>.
51963 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
51964 element of struct sched_param.
51965 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
51966 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
51967 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
51968 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
51969 constant.
51970
51971 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
51972
51973 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
51974 argument calculation.
51975
51976 2013-09-24 Joseph Myers <joseph@codesourcery.com>
51977
51978 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
51979 Expect macro.
51980 [POSIX] (pthread_attr_t): Do not require type.
51981 [POSIX] (pthread_cond_t): Likewise.
51982 [POSIX] (pthread_condattr_t): Likewise.
51983 [POSIX] (pthread_key_t): Likewise.
51984 [POSIX] (pthread_mutex_t): Likewise.
51985 [POSIX] (pthread_mutexattr_t): Likewise.
51986 [POSIX] (pthread_once_t): Likewise.
51987 [POSIX] (pthread_t): Likewise.
51988 [POSIX-based standards] (pthread_atfork): Expect function.
51989
51990 2013-09-24 Joseph Myers <joseph@codesourcery.com>
51991 Richard Sandiford <richard@codesourcery.com>
51992
51993 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
51994 (swap_endianness_p): New extern variable.
51995 (set_big_endian): New inline function.
51996 (maybe_swap_uint32): Likewise.
51997 (maybe_swap_uint32_array): Likewise.
51998 (maybe_swap_uint32_obstack): Likewise.
51999 * locale/programs/locfile.c: Include <stdbool.h>.
52000 (swap_endianness_p): New variable.
52001 (add_locale_uint32): Call maybe_swap_uint32.
52002 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
52003 (write_locale_data): Call maybe_swap_uint32_array.
52004 * locale/programs/ld-collate.c (obstack_int32_grow): Call
52005 maybe_swap_uint32.
52006 (obstack_int32_grow_fast): Likewise.
52007 (output_weightwc): Call maybe_swap_uint32_obstack.
52008 (collate_output): Likewise.
52009 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
52010 (OPT_LITTLE_ENDIAN): Likewise.
52011 (options): Add --little-endian and --big-endian options.
52012 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
52013 * locale/programs/locarchive.c: Include "locfile.h".
52014 (GET): New macro.
52015 (SET): Likewise.
52016 (INC): Likewise.
52017 (create_archive): Use the new macros to access fields of
52018 structures directly mapped from or written to locale archives.
52019 (oldlocrecentcmp): Likewise.
52020 (enlarge_archive): Likewise.
52021 (insert_name): Likewise.
52022 (add_alias): Likewise.
52023 (add_locale): Likewise.
52024 (delete_locales_from_archive): Likewise.
52025 (show_archive_content): Likewise.
52026 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
52027 locale data.
52028
52029 2013-09-24 Roland McGrath <roland@hack.frob.com>
52030
52031 * manual/freemanuals.texi: Updated from (newly) canonical copy at
52032 http://www.gnu.org/doc/freemanuals.texi.
52033 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
52034
52035 2013-09-24 Will Newton <will.newton@linaro.org>
52036
52037 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
52038 macro.
52039
52040 2013-09-23 Joseph Myers <joseph@codesourcery.com>
52041
52042 * locale/hashval.h (compute_hashval): Interpret bytes of key as
52043 unsigned char.
52044
52045 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
52046
52047 * manual/threads.texi (POSIX Threads): Fix a typo.
52048
52049 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
52050
52051 [BZ #14547]
52052 * string/tst-strcoll-overflow.c: New test case.
52053 * string/Makefile (xtests): Add tst-strcoll-overflow.
52054 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
52055 cache if string sizes may cause integer overflow.
52056
52057 [BZ #14547]
52058 * string/strcoll_l.c (coll_seq): New members rule, idx,
52059 save_idx and back_us.
52060 (get_next_seq_nocache): New function.
52061 (do_compare_nocache): New function.
52062 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
52063 when malloc fails.
52064
52065 2013-09-23 Carlos O'Donell <carlos@redhat.com>
52066
52067 [BZ #15754]
52068 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
52069 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
52070 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
52071
52072 [BZ #15754]
52073 * elf/Makefile (tests): Add tst-ptrguard1.
52074 (tests-static): Add tst-ptrguard1-static.
52075 (tst-ptrguard1-ARGS): Define.
52076 (tst-ptrguard1-static-ARGS): Define.
52077 * elf/tst-ptrguard1.c: New file.
52078 * elf/tst-ptrguard1-static.c: New file.
52079 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
52080 * sysdeps/i386/stackguard-macros.h: Likewise.
52081 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52082 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52083 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52084 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52085 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52086 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52087
52088 2013-09-23 Hector Marco <hecmargi@upv.es>
52089 Ismael Ripoll <iripoll@disca.upv.es>
52090 Carlos O'Donell <carlos@redhat.com>
52091
52092 [BZ #15754]
52093 * sysdeps/generic/stackguard-macros.h: Define
52094 __pointer_chk_guard_local and POINTER_CHK_GUARD.
52095 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
52096 Define __pointer_chk_guard_local.
52097 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
52098 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
52099
52100 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
52101
52102 [BZ #15859]
52103 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
52104
52105 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
52106
52107 * include/string.h (__ffs): Declare as hidden.
52108 * string/ffs.c (__ffs): Define as hidden.
52109 * sysdeps/i386/ffs.c (__ffs): Likewise.
52110 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
52111 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
52112 * sysdeps/s390/ffs.c (__ffs): Likewise.
52113 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
52114
52115 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
52116
52117 * NEWS: Mention malloc probes.
52118
52119 * malloc/arena.c (new_heap): New memory_heap_new probe.
52120 (grow_heap): New memory_heap_more probe.
52121 (shrink_heap): New memory_heap_less probe.
52122 (heap_trim): New memory_heap_free probe.
52123 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
52124 (systrim): New memory_sbrk_less probe.
52125 * manual/probes.texi: Document them.
52126
52127 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
52128 * manual/probes.texi: Document it.
52129
52130 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
52131 (__libc_realloc): Add memory_realloc_retry probe.
52132 (__libc_memalign): Add memory_memalign_retry probe.
52133 (__libc_valloc): Add memory_valloc_retry probe.
52134 (__libc_pvalloc): Add memory_pvalloc_retry probe.
52135 (__libc_calloc): Add memory_calloc_retry probe.
52136 * manual/probes.texi: Document them.
52137
52138 * malloc/arena.c (get_free_list): Add probe
52139 memory_arena_reuse_free_list.
52140 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
52141 and memory_arena_reuse.
52142 (arena_get2) [!PER_THREAD]: Likewise.
52143 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
52144 memory_arena_reuse_realloc.
52145 * manual/probes.texi: Document them.
52146
52147 * malloc/malloc.c (__libc_free): Add
52148 memory_mallopt_free_dyn_thresholds probe.
52149 (__libc_mallopt): Add multiple memory_mallopt probes.
52150 * manual/probes.texi: Document them.
52151
52152 * malloc/malloc.c: Include stap-probe.h.
52153 (__libc_mallopt): Add memory_mallopt probe.
52154 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
52155 * manual/probes.texi: New.
52156 * manual/Makefile (chapters): Add probes.
52157 * manual/threads.texi: Set next node.
52158
52159 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
52160
52161 [BZ #15963, #13985]
52162 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
52163 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
52164 Add `Chinese' to `nan' entry name.
52165
52166 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
52167
52168 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
52169 (POLYNOMIAL): Likewise.
52170 (TAYLOR_SINCOS): Likewise.
52171 (TAYLOR_SLOW): Likewise.
52172 (__sin): Use TAYLOR_SINCOS.
52173 (__cos): Likewise.
52174 (slow): Use TAYLOR_SLOW.
52175 (sloww): Likewise.
52176 (bsloww): Likewise.
52177 (csloww): Likewise.
52178
52179 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52180
52181 * stdlib/strtod_l.c: Fix buffer overrun.
52182
52183 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
52184
52185 * benchtests/Makefile (bench): Add sincos.
52186 * benchtests/bench-sincos.c: New file.
52187
52188 * math/libm-test.inc (cos_test_data): New test inputs.
52189 (sin_test_data): Likewise.
52190
52191 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
52192 macro.
52193 (__sin): Use it.
52194 (__cos): Likewise.
52195 (slow1): Likewise.
52196 (slow2): Likewise.
52197 (sloww1): Likewise.
52198 (sloww2): Likewise.
52199 (bsloww1): Likewise.
52200 (bsloww2): Likewise.
52201 (cslow2): Likewise.
52202 (csloww1): Likewise.
52203 (csloww2): Likewise.
52204
52205 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
52206 function.
52207 (__sin): Use it.
52208 (__cos): Likewise.
52209
52210 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
52211 gotos.
52212 (__cos): Likewise.
52213
52214 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
52215
52216 * config.h.in (HAVE_MIPS_NAN2008): New macro.
52217 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
52218 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
52219 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
52220 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
52221 * elf/cache.c (print_entry): Handle the new cache flags.
52222
52223 2013-09-18 Joseph Myers <joseph@codesourcery.com>
52224 Aldy Hernandez <aldyh@redhat.com>
52225
52226 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
52227 Change condition to [_SOFT_FLOAT].
52228 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
52229 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
52230 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
52231 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
52232 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
52233 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
52234 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
52235 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
52236 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
52237 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
52238 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
52239 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
52240 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
52241 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
52242 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
52243 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
52244 declaration.
52245
52246 2013-09-18 Joseph Myers <joseph@codesourcery.com>
52247
52248 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
52249 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52250 (__longjmp): Use LOAD_GP to load saved GPRs.
52251 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
52252 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52253 (__sigsetjmp): Use SAVE_GP to save GPRs.
52254
52255 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
52256 Do not append -msoft-float.
52257 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
52258
52259 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
52260
52261 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
52262
52263 2013-09-17 Joseph Myers <joseph@codesourcery.com>
52264
52265 [BZ #15966]
52266 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
52267 (_FPU_GETCW): Use initial "__" on variable and field names but not
52268 on macro parameter name.
52269 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
52270 parentheses around reference to macro parameter.
52271
52272 2013-09-13 Richard Sandiford <richard@codesourcery.com>
52273
52274 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
52275 prototype.
52276 (ctype_startup): Use uint32_t in cast and sizeof for
52277 ctype->charnames.
52278
52279 2013-09-11 Jia Liu <proljc@gmail.com>
52280
52281 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
52282 __daddr_t_defined.
52283 [__FreeBSD__]: Likewise.
52284
52285 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
52286
52287 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
52288 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
52289 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
52290 (strchr): Remove __strchr_sse42 ifunc selection.
52291 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
52292 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
52293
52294 2013-09-11 Will Newton <will.newton@linaro.org>
52295
52296 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
52297 parameter to RES. Remove hardcoded 1000 value.
52298 * benchtests/bench-skeleton.c (main): Pass RES parameter
52299 to TIMING_INIT and multiply result by 1000.
52300
52301 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52302
52303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52304
52305 2013-09-11 Andreas Schwab <schwab@suse.de>
52306
52307 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
52308 if not defined.
52309 (O_TMPFILE) [__USE_GNU]: Define.
52310 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
52311 Define.
52312
52313 2013-09-11 Will Newton <will.newton@linaro.org>
52314
52315 [BZ #15857]
52316 * malloc/malloc.c (__libc_memalign): Check the value of bytes
52317 does not overflow.
52318
52319 2013-09-11 Will Newton <will.newton@linaro.org>
52320
52321 [BZ #15856]
52322 * malloc/malloc.c (__libc_valloc): Check the value of bytes
52323 does not overflow.
52324
52325 2013-09-11 Will Newton <will.newton@linaro.org>
52326
52327 [BZ #15855]
52328 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
52329 does not overflow.
52330
52331 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
52332
52333 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
52334 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52335 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52336 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52337 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52338
52339 2013-09-10 Allan McRae <allan@archlinux.org>
52340
52341 [BZ #15748]
52342 * manual/arith.texi (Parsing of Floats): Clarify
52343 cross-reference.
52344
52345 [BZ #15849]
52346 * manual/install.texi (Running make install): Mention
52347 --enable-pt-chown.
52348 * INSTALL: Regenerated.
52349
52350 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
52351
52352 * csu/init-first.c (_init): Remove the !SHARED condition around
52353 FPU control word initialization.
52354 * elf/dl-support.c (_dl_fpu_control): New variable.
52355 (_dl_aux_init) <AT_FPUCW>: Initialize it.
52356 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
52357 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
52358 * math/test-fpucw-static.c: New file.
52359 * math/test-fpucw-ieee.c: New file.
52360 * math/test-fpucw-ieee-static.c: New file.
52361 * math/Makefile (tests): Add `test-fpucw-ieee' and
52362 `$(tests-static)'.
52363 (tests-static): New variable.
52364 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
52365 dependency to...
52366 [($(build-shared),yes)]
52367 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
52368 ... this.
52369 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
52370 New dependency.
52371
52372 2013-09-09 Allan McRae <allan@archlinux.org>
52373
52374 [BZ #15939]
52375 * manual/string.texi (Collation Functions): Fix typo in
52376 strcoll example.
52377 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
52378
52379 [BZ #15893]
52380 * stdlib/isomac.c (get_null_defines): Fix memory leak.
52381
52382 [BZ #15892]
52383 * libio/memstream.c (open_memstream): Fix memory leak.
52384 * libio/wmemstream.c (open_wmemstream): Likewise.
52385
52386 [BZ #15895]
52387 * nscd/netgroupcache.c: Fix nesting of ifdefs.
52388
52389 2013-09-09 Will Newton <will.newton@linaro.org>
52390
52391 * malloc/Makefile: Add tst-realloc to tests.
52392 * malloc/tst-realloc.c: New file.
52393
52394 2013-09-09 Allan McRae <allan@archlinux.org>
52395
52396 [BZ #15844]
52397 * COPYING: Update from GNU website to fix FSF address.
52398 * COPYING.LIB: Likewise.
52399
52400 2013-09-06 David S. Miller <davem@davemloft.net>
52401
52402 * po/zh_TW.po: Update Chinese (traditional) translation from
52403 translation project.
52404
52405 2013-09-06 Richard Sandiford <richard@codesourcery.com>
52406 Joseph Myers <joseph@codesourcery.com>
52407
52408 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
52409 "localeinfo.h".
52410 (obstack_chunk_alloc): New macro.
52411 (obstack_chunk_free): Likewise.
52412 (record_offset): New function.
52413 (init_locale_data): Likewise.
52414 (align_locale_data): Likewise.
52415 (add_locale_empty): Likewise.
52416 (add_locale_raw_data): Likewise.
52417 (add_locale_raw_obstack): Likewise.
52418 (add_locale_string): Likewise.
52419 (add_locale_wstring): Likewise.
52420 (add_locale_uint32): Likewise.
52421 (add_locale_uint32_array): Likewise.
52422 (add_locale_char): Likewise.
52423 (start_locale_structure): Likewise.
52424 (end_locale_structure): Likewise.
52425 (start_locale_prelude): Likewise.
52426 (end_locale_prelude): Likewise.
52427 (write_locale_data): Take locale_file structure rather than an
52428 iovec.
52429 * locale/programs/locfile.h: Include "obstack.h".
52430 (struct locale_file): Change to store locale file contents instead
52431 of header.
52432 (init_locale_data): New prototype.
52433 (align_locale_data): Likewise.
52434 (add_locale_empty): Likewise.
52435 (add_locale_raw_data): Likewise.
52436 (add_locale_raw_obstack): Likewise.
52437 (add_locale_string): Likewise.
52438 (add_locale_wstring): Likewise.
52439 (add_locale_uint32): Likewise.
52440 (add_locale_uint32_array): Likewise.
52441 (add_locale_char): Likewise.
52442 (start_locale_structure): Likewise.
52443 (end_locale_structure): Likewise.
52444 (start_locale_prelude): Likewise.
52445 (end_locale_prelude): Likewise.
52446 (write_locale_data): Update prototype.
52447 * locale/programs/3level.h (struct TABLE): Remove result field.
52448 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
52449 Use new locale_file interface.
52450 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
52451 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
52452 * locale/programs/ld-address.c (address_output): Use new
52453 locale_file interface.
52454 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
52455 NO_ADD_LOCALE.
52456 (collate_finish): Don't call collseq_table_finalize.
52457 (collate_output): Use new locale_file interface.
52458 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
52459 in file.
52460 (NO_FINALIZE): Change to NO_ADD_LOCALE.
52461 (TABLE): Move defines earlier in file.
52462 (ELEMENT): Likewise.
52463 (DEFAULT): Likewise.
52464 (wctrans_table_add): Move macro and inline function earlier in
52465 file.
52466 (struct wctype_table): Move type earlier in file.
52467 (add_locale_wctype_table): New static prototype.
52468 (struct locale_ctype_t): Use logical types instead of struct iovec
52469 pointers for members.
52470 (ctype_output): Use new locale_file interface.
52471 (wctype_table_finalize): Change to add_locale_wctype_table. Use
52472 new locale_file interface.
52473 (allocate_arrays): Update for use of new locale_file interface.
52474 * locale/programs/ld-identification.c (identification_output): Use
52475 new locale_file interface.
52476 * locale/programs/ld-measurement.c (measurement_output): Likewise.
52477 * locale/programs/ld-messages.c (messages_output): Likewise.
52478 * locale/programs/ld-monetary.c (monetary_output): Likewise.
52479 * locale/programs/ld-name.c (name_output): Likewise.
52480 * locale/programs/ld-numeric.c (numeric_output): Likewise.
52481 * locale/programs/ld-paper.c (paper_output): Likewise.
52482 * locale/programs/ld-telephone.c (telephone_output): Likewise.
52483 * locale/programs/ld-time.c (time_output): Likewise.
52484
52485 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52486
52487 * benchtests/Makefile: Add memrchr benchmark.
52488 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
52489 benchmark as memrchr.
52490 * benchtests/bench-memrchr-ifunc.c: New file.
52491 * benchtests/bench-memrchr.c: New file.
52492
52493 2013-09-06 Will Newton <will.newton@linaro.org>
52494
52495 * benchtests/Makefile (string-bench): Add memcpy.
52496
52497 2013-09-05 Carlos O'Donell <carlos@redhat.com>
52498 Cong Wang <amwang@redhat.com>
52499
52500 [BZ #15850]
52501 * sysdeps/unix/sysv/linux/bits/in.h
52502 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
52503 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
52504 before __USE_KERNEL_IPV6_DEFS uses.
52505 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
52506 IPPROTO_BEETPH.
52507 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
52508 sockaddr_in6, or ipv6_mreq.
52509
52510 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52511
52512 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
52513 memory access for final bytes in some large inputs.
52514 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
52515
52516 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52517
52518 * string/test-memrchr.c: New file.
52519 * string/test-memrchr-ifunc.c: New file.
52520 * string/Makefile: Add new memrchr testcase.
52521
52522 2013-09-05 Mike Frysinger <vapier@gentoo.org>
52523
52524 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
52525 fanotify_init returns EPERM.
52526
52527 2013-09-04 Joseph Myers <joseph@codesourcery.com>
52528
52529 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
52530 errors.
52531 (top level): Treat second token from macro or constant entries for
52532 allowed headers as allowed.
52533 * include/complex.h: Condition internal declarations on
52534 [!_ISOMAC].
52535 * include/fenv.h: Condition include of <stdbool.h> and internal
52536 declarations on [!_ISOMAC].
52537
52538 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
52539
52540 [BZ #15923]
52541 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
52542
52543 2013-09-04 Joseph Myers <joseph@codesourcery.com>
52544
52545 * configure.in (--enable-versioning): Remove configure option.
52546 (libc_cv_asm_symver_directive): Remove configure test.
52547 (libc_cv_ld_version_script_option): Likewise.
52548 (VERSIONING): Remove variable and AC_SUBST.
52549 (DO_VERSIONING): Remove AC_DEFINE.
52550 * configure: Regenerated.
52551 * config.h.in (DO_VERSIONING): Remove macro.
52552 * Makerules [$(versioning) = yes]: Change conditionals to
52553 [$(build-shared) = yes].
52554 * config.make.in (versioning): Remove variable.
52555 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
52556 [$(build-shared) = yes].
52557 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
52558 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
52559 * elf/Makefile [$(versioning) = yes]: Change conditionals to
52560 [$(build-shared) = yes].
52561 * extra-lib.mk [$(versioning) = yes]: Likewise.
52562 * hurd/Makefile [$(versioning) = yes]: Likewise.
52563 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
52564 [SHARED].
52565 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
52566 [SHARED].
52567 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
52568 [SHARED && !NO_HIDDEN].
52569 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
52570 [SHARED].
52571 [SHARED && DO_VERSIONING]: Likewise..
52572 * libio/Makefile [$(versioning) = yes]: Change conditionals to
52573 [$(build-shared) = yes].
52574 * manual/install.texi (--disable-versioning): Remove
52575 documentation.
52576 * INSTALL: Regenerated.
52577 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
52578 to [SHARED].
52579 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
52580 [$(build-shared) = yes].
52581 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
52582 * sysdeps/i386/i686/multiarch/strstr-c.c
52583 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
52584 [SHARED && !NO_HIDDEN].
52585 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
52586 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
52587 * sysdeps/powerpc/powerpc32/dl-machine.c
52588 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
52589 * sysdeps/powerpc/powerpc32/sysdep.h
52590 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
52591 to [SHARED && PIC && !NO_HIDDEN].
52592 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
52593 conditional to [SHARED].
52594
52595 2013-09-04 Will Newton <will.newton@linaro.org>
52596
52597 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
52598 * benchtests/bench-string.h: Include bench-timing.h instead
52599 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
52600 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
52601 call to HP_TIMING_DIFF_INIT.
52602 * benchtests/bench-memccpy.c: Use bench-timing.h macros
52603 instead of hp-timing.h macros.
52604 * benchtests/bench-memchr.c: Likewise.
52605 * benchtests/bench-memcmp.c: Likewise.
52606 * benchtests/bench-memcpy.c: Likewise.
52607 * benchtests/bench-memmem.c: Likewise.
52608 * benchtests/bench-memmove.c: Likewise.
52609 * benchtests/bench-memset.c: Likewise.
52610 * benchtests/bench-rawmemchr.c: Likewise.
52611 * benchtests/bench-strcasecmp.c: Likewise.
52612 * benchtests/bench-strcasestr.c: Likewise.
52613 * benchtests/bench-strcat.c: Likewise.
52614 * benchtests/bench-strchr.c: Likewise.
52615 * benchtests/bench-strcmp.c: Likewise.
52616 * benchtests/bench-strcpy.c: Likewise.
52617 * benchtests/bench-strcpy_chk.c: Likewise.
52618 * benchtests/bench-strlen.c: Likewise.
52619 * benchtests/bench-strncasecmp.c: Likewise.
52620 * benchtests/bench-strncat.c: Likewise.
52621 * benchtests/bench-strncmp.c: Likewise.
52622 * benchtests/bench-strncpy.c: Likewise.
52623 * benchtests/bench-strnlen.c: Likewise.
52624 * benchtests/bench-strpbrk.c: Likewise.
52625 * benchtests/bench-strrchr.c: Likewise.
52626 * benchtests/bench-strspn.c: Likewise.
52627 * benchtests/bench-strstr.c: Likewise.
52628
52629 2013-09-04 Will Newton <will.newton@linaro.org>
52630
52631 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
52632
52633 2013-09-03 Joseph Myers <joseph@codesourcery.com>
52634
52635 [BZ #15427]
52636 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
52637 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
52638 * math/libm-test.inc (lgamma_test_data): Add more tests.
52639 * sysdeps/i386/fpu/libm-test-ulps: Update.
52640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52641
52642 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
52643
52644 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
52645 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52646 Add ifunc.
52647 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52648 Add strcmp-sse2-unaligned
52649 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
52650
52651 2013-09-02 Mike Frysinger <vapier@gentoo.org>
52652
52653 * Versions.def (libc): Add GLIBC_2.19.
52654
52655 2013-09-02 Mike Frysinger <vapier@gentoo.org>
52656
52657 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
52658 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
52659
52660 2013-09-02 Joseph Myers <joseph@codesourcery.com>
52661
52662 [BZ #14155]
52663 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
52664 intermediate calculations in recurrence.
52665 (__ieee754_ynf): Likewise.
52666 * math/libm-test.inc (jn_test_data): Do not allow spurious
52667 underflow exception. Add more tests.
52668 (yn_test_data): Add more tests.
52669 * sysdeps/i386/fpu/libm-test-ulps: Update.
52670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52671
52672 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
52673
52674 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
52675
52676 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
52677
52678 * csu/init-first.c: Fix then/than typos.
52679 * locale/programs/ld-collate.c: Likewise.
52680 * locale/programs/linereader.h: Likewise.
52681 * manual/charset.texi: Likewise.
52682 * manual/filesys.texi: Likewise.
52683 * manual/stdio.texi: Likewise.
52684 * manual/string.texi: Likewise.
52685 * stdlib/fmtmsg.c: Likewise.
52686 * sysdeps/i386/stpncpy.S: Likewise.
52687 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52688 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
52689 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52690 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
52691
52692 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
52693
52694 * elf/dl-open.c: Fix typos.
52695 * iconvdata/gbbig5.c: Likewise.
52696 * iconvdata/iso-2022-jp.c: Likewise.
52697 * iconv/gconv_int.h: Likewise.
52698 * iconv/loop.c: Likewise.
52699 * nis/rpcsvc/nis.h: Likewise.
52700 * resolv/ns_name.c: Likewise.
52701 * stdio-common/vfscanf.c: Likewise.
52702 * streams/stropts.h: Likewise.
52703 * sunrpc/rpc_thread.c: Likewise.
52704 * sysdeps/i386/strpbrk.S: Likewise.
52705 * sysdeps/ieee754/k_standard.c: Likewise.
52706 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52707 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52708 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
52709 * sysdeps/mach/hurd/profil.c: Likewise.
52710 * sysdeps/s390/dl-procinfo.h: Likewise.
52711 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
52712 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
52713 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
52714 * sysdeps/x86_64/dl-trampoline.S: Likewise.
52715 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52716
52717 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
52718
52719 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
52720 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
52721
52722 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
52723
52724 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
52725 aix specific files.
52726 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
52727 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
52728 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
52729 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
52730 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
52731 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
52732 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
52733 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
52734
52735 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
52736 Roland McGrath <roland@hack.frob.com>
52737
52738 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
52739 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
52740
52741 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
52742
52743 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
52744 __executable_start symbol instead of _start.
52745
52746 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
52747
52748 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
52749 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
52750 Move macros to...
52751 * sysdeps/gnu/ldsodefs.h: ... this new file.
52752
52753 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
52754 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
52755 instead of ELFOSABI_LINUX.
52756
52757 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
52758 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
52759 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
52760 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
52761 Likewise.
52762 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
52763 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
52764 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
52765 Likewise.
52766 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
52767 (ibm_extended_long_double): Add ieee_nan member.
52768 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
52769 (do_test): New function.
52770
52771 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
52772 TEST_TRUNC.
52773 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
52774 functions, renamed from truncdfsf_test, trunctfsf_test,
52775 trunctfdf_test.
52776 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
52777 functions.
52778 (do_test): Run all these.
52779
52780 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
52781
52782 * argp/argp-help.c: Fix typos.
52783 * argp/argp-parse.c: Likewise.
52784 * debug/backtracesyms.c: Likewise.
52785 * elf/elf.h: Likewise.
52786 * malloc/malloc.c: Likewise.
52787 * nis/nis_print.c: Likewise.
52788 * resolv/res_comp.c: Likewise.
52789 * stdlib/stdlib.h: Likewise.
52790 * sunrpc/clnt_tcp.c: Likewise.
52791 * sunrpc/clnt_udp.c: Likewise.
52792 * sunrpc/clnt_unix.c: Likewise.
52793 * sysdeps/unix/bsd/ptsname.c: Likewise.
52794 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
52795 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
52796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
52797 Likewise.
52798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
52799 Likewise.
52800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
52801 Likewise.
52802 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52803
52804 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
52805
52806 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
52807 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52808
52809 2013-08-27 Mike Frysinger <vapier@gentoo.org>
52810
52811 [BZ #15897]
52812 * dlfcn/Makefile (tests): Add bug-dl-leaf.
52813 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
52814 ($(objpfx)bug-dl-leaf): New rule.
52815 ($(objpfx)bug-dl-leaf.so): Likewise.
52816 ($(objpfx)bug-dl-leaf.out): Likewise.
52817 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
52818 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
52819 * dlfcn/bug-dl-leaf.c: New test.
52820 * dlfcn/bug-dl-leaf-lib.c: Likewise.
52821 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
52822 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
52823 (dlclose): Likewise.
52824 (dlmopen): Likewise.
52825
52826 2013-08-27 Roland McGrath <roland@hack.frob.com>
52827
52828 * include/netdb.h [!_ISOMAC]:
52829 Don't include <tls.h>.
52830 (h_errno, __libc_h_errno): Move declaration and macros out of
52831 [_LIBC_REENTRANT].
52832
52833 * include/resolv.h [_RESOLV_H_]:
52834 Don't include <tls.h>.
52835 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
52836 * resolv/res_libc.c: Don't include <tls.h>.
52837 (_res): Use __attribute__ ((nocommon)) in place of
52838 __attribute__ ((section (".bss"))).
52839
52840 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
52841 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
52842
52843 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
52844
52845 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
52846 only under [SIOCGIFCONF && SIOCGIFNETMASK].
52847
52848 * resolv/res_mkquery.c: Include <sys/time.h>.
52849
52850 * inet/ifreq.c: Moved to ...
52851 * sysdeps/unix/ifreq.c: ... here.
52852 * inet/ifreq.c: New file, true stub version.
52853
52854 * socket/sa_len.c: New file.
52855 * socket/Makefile (aux): Add it.
52856 * sysdeps/unix/sysv/linux/Makefile
52857 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
52858 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
52859 and #include <socket/sa_len.c>.
52860 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
52861 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
52862
52863 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
52864 * bits/socket.h: ... here.
52865
52866 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
52867 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
52868 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
52869
52870 2013-08-27 Andreas Schwab <schwab@suse.de>
52871
52872 [BZ #15736]
52873 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
52874 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
52875 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
52876 * string/test-strcasecmp.c (test_main): Run tests in several
52877 locales.
52878 * string/test-strncasecmp.c (test_main): Likewise.
52879
52880 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
52881 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
52882 to __strcasecmp_nonascii and __strncasecmp_nonascii.
52883 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
52884 (__strncasecmp_ssse3) [PIC]: Likewise.
52885
52886 2013-08-26 Roland McGrath <roland@hack.frob.com>
52887
52888 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
52889
52890 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
52891 instead of explicitly declaring xdecrypt.
52892 * nis/nss_nis/nis-publickey.c: Likewise.
52893
52894 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
52895
52896 [BZ #15890]
52897 * nscd/aicache.c: Include res_hconf.h.
52898 (addhstaiX): Initialize res_hconf.
52899
52900 2013-08-26 Andreas Schwab <schwab@suse.de>
52901
52902 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
52903 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
52904
52905 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
52906
52907 * nscd/aicache.c (addhstaiX): Fix indentation.
52908
52909 2013-08-25 Mike Frysinger <vapier@gentoo.org>
52910
52911 * configure.ac: Quote $build_pt_chown test.
52912 * configure: Regenerated.
52913
52914 2013-08-23 Joseph Myers <joseph@codesourcery.com>
52915
52916 [BZ #15532]
52917 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
52918 * math/s_cexpf.c (__cexpf): Likewise.
52919 * math/s_cexpl.c (__cexpl): Likewise.
52920 * math/libm-test.inc (cexp_test_data): Correct expected return
52921 value for NaN + i0. Add another test.
52922
52923 2013-08-22 David S. Miller <davem@davemloft.net>
52924
52925 * po/ca.po: Update Catalan translation from translation project.
52926 * po/uk.po: Add Ukrainian translations from translation project.
52927
52928 2013-08-21 Joseph Myers <joseph@codesourcery.com>
52929
52930 [BZ #15797]
52931 * math/s_fdim.c (__fdim): Check for infinite arguments if result
52932 is infinite, not alongside NaN test.
52933 * math/s_fdimf.c (__fdimf): Likewise.
52934 * math/s_fdiml.c (__fdiml): Likewise.
52935 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
52936 errno is unchanged.
52937
52938 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
52939
52940 * argp/argp-help.c: Fix typos.
52941 * crypt/speeds.c: Likewise.
52942 * csu/check_fds.c: Likewise.
52943 * elf/dl-load.c: Likewise.
52944 * elf/dl-open.c: Likewise.
52945 * elf/reldep3.c: Likewise.
52946 * elf/reldep.c: Likewise.
52947 * elf/sprof.c: Likewise.
52948 * iconv/iconv_charmap.c: Likewise.
52949 * iconv/skeleton.c: Likewise.
52950 * iconv/strtab.c: Likewise.
52951 * io/lockf64.c: Likewise.
52952 * libio/libioP.h: Likewise.
52953 * resolv/gai_notify.c: Likewise.
52954 * resolv/ns_name.c: Likewise.
52955 * resolv/ns_samedomain.c: Likewise.
52956 * resolv/res_send.c: Likewise.
52957 * stdlib/random.c: Likewise.
52958 * sunrpc/rpc/xdr.h: Likewise.
52959 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
52960 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
52961 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
52962 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
52963 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
52964 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
52965 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
52966 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
52967 * sysdeps/mach/hurd/check_fds.c: Likewise.
52968 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
52969 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
52970 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52971 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
52972 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52973 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
52974 * sysdeps/pthread/aio_notify.c: Likewise.
52975 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
52976 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
52977 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
52978 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52979 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
52980
52981 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52982
52983 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
52984 version if bit_Slow_SSE4_2 is set.
52985 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52986 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52987
52988 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52989
52990 [BZ #15867]
52991 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
52992 trampoline stack frame information.
52993 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
52994 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
52995 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
52996 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
52997 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
52998 * sysdeps/unix/sysv/linux/powerpc/init-first.c
52999 (_libc_vdso_platform_setup): Initialize the signal trampolines.
53000 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
53001 sa_flags value.
53002 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
53003 interrupting a syscall and set with option SA_SIGINFO.
53004
53005 2013-08-20 Joseph Myers <joseph@codesourcery.com>
53006
53007 [BZ #15531]
53008 * math/s_cproj.c (__cproj): Only return an infinity if one part of
53009 argument is infinite.
53010 * math/s_cprojf.c (__cprojf): Likewise.
53011 * math/s_cprojl.c (__cprojl): Likewise.
53012 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
53013 * math/libm-test.inc (cproj_test_data): Add more tests.
53014
53015 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
53016
53017 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
53018 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
53019 size. Use __ffs to determine corresponding shift.
53020
53021 2013-08-20 Joseph Myers <joseph@codesourcery.com>
53022 Roland McGrath <roland@hack.frob.com>
53023
53024 * Makefile (INSTALL): Remove trailing blank lines from output of
53025 makeinfo.
53026
53027 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53028
53029 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
53030 Align 32 bit compat elf_greg to 8 bytes.
53031
53032 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
53033
53034 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
53035
53036 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
53037
53038 * string/strcoll_l.c (coll_seq): New structure.
53039 (get_next_seq_cached): New function.
53040 (get_next_seq): New function.
53041 (do_compare): New function.
53042 (STRCOLL): Use GNU style definition. Simplify implementation
53043 by using get_next_seq, get_next_seq_cached and do_compare.
53044
53045 2013-08-16 Florian Weimer <fweimer@redhat.com>
53046
53047 [BZ #14699]
53048 CVE-2013-4237
53049 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
53050 member.
53051 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
53052 member.
53053 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
53054 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
53055 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
53056 conditional.
53057 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
53058 GETDENTS_64BIT_ALIGNED.
53059 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53060 * manual/filesys.texi (Reading/Closing Directory): Document
53061 ENAMETOOLONG return value of readdir_r. Recommend readdir more
53062 strongly.
53063 * manual/conf.texi (Limits for Files): Add portability note to
53064 NAME_MAX, PATH_MAX.
53065 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
53066
53067 2013-08-13 Andreas Schwab <schwab@suse.de>
53068
53069 [BZ #15749]
53070 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
53071 of fabs.
53072 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
53073 LDBL_MAX_EXP >= 16384]: Add tests for it.
53074
53075 2013-08-12 David S. Miller <davem@davemloft.net>
53076
53077 * version.h (RELEASE): Set to "development".
53078 (VERSION): Set to "2.18.90".
53079 * NEWS: Add 2.19 section.
53080
53081 2013-08-03 David S. Miller <davem@davemloft.net>
53082
53083 * po/ko.po: Update Korean translation from translation project.
53084
53085 2013-08-01 David S. Miller <davem@davemloft.net>
53086
53087 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
53088 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
53089 Bilka.
53090
53091 2013-07-30 David S. Miller <davem@davemloft.net>
53092
53093 * po/fr.po: Update French translation from translation project.
53094
53095 2013-07-28 David S. Miller <davem@davemloft.net>
53096
53097 * po/cs.po: Update Czech translation from translation project.
53098
53099 * po/sv.po: Update Swedish translation from translation project.
53100
53101 2013-07-27 David S. Miller <davem@davemloft.net>
53102
53103 * po/eo.po: Update Esperanto translation from translation project.
53104
53105 * po/vi.po: Update Vietnamese translation from translation project.
53106
53107 * po/de.po: Update German translation from translation project.
53108
53109 2013-07-26 David S. Miller <davem@davemloft.net>
53110
53111 * po/bg.po: Update Bulgarian translation from translation project.
53112
53113 * po/nl.po: Update Dutch translation from translation project.
53114 * po/pl.po: Update Polish translation from translation project.
53115 * po/ru.po: Update Russian translation from translation project.
53116
53117 2013-07-24 David S. Miller <davem@davemloft.net>
53118
53119 * po/libc.pot: Update.
53120
53121 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53122
53123 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
53124 variable page size.
53125 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
53126 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
53127 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
53128
53129 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53130
53131 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
53132
53133 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
53134 Andreas Schwab <schwab@suse.de>
53135 Roland McGrath <roland@hack.frob.com>
53136 Joseph Myers <joseph@codesourcery.com>
53137 Carlos O'Donell <carlos@redhat.com>
53138
53139 [BZ #15755]
53140 * config.h.in: Define HAVE_PT_CHOWN.
53141 * config.make.in (build-pt-chown): New variable.
53142 * configure.in (--enable-pt_chown): New configure option.
53143 * configure: Regenerate.
53144 * login/Makefile: Include Makeconfig. Build pt_chown only if
53145 build-pt-chown is enabled.
53146 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
53147 pt_chown to fix pty ownership.
53148 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
53149 CLOSE_ALL_FDS.
53150 * manual/install.texi (Configuring and compiling): Mention
53151 --enable-pt_chown. Add @findex for grantpt.
53152 * INSTALL: Regenerate.
53153
53154 2013-07-20 David S. Miller <davem@davemloft.net>
53155
53156 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
53157 difference between 32-bit and 64-bit.
53158
53159 2013-07-15 Carlos O'Donell <carlos@redhat.com>
53160
53161 [BZ #15711]
53162 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
53163 Avoid system header dependency with -ffreestanding.
53164 ($(objpfx)bits/syscall%d): Likewise.
53165
53166 2013-07-13 David S. Miller <davem@davemloft.net>
53167
53168 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
53169 underflows from atanl/atan2l due to bug 15319.
53170 (casinh_test_data): Likewise.
53171
53172 2013-07-07 David S. Miller <davem@davemloft.net>
53173
53174 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
53175
53176 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
53177
53178 * sysdeps/i386/fpu/libm-test-ulps: Update.
53179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53180
53181 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
53182
53183 * configure.in (--enable-lock-elision): Fix message text.
53184 * INSTALL: Regenerate.
53185 * configure: Regenerate.
53186
53187 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53188
53189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53190
53191 2013-07-03 Andreas Jaeger <aj@suse.de>
53192
53193 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
53194 define.
53195 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
53196 (ptrace_peeksiginfo_args): Add.
53197 (__ptrace_peeksiginfo_flags): Add.
53198 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53199 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53200 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53201
53202 2013-07-03 Allan McRae <allan@archlinux.org>
53203
53204 * sysdeps/i386/fpu/libm-test-ulps: Update.
53205
53206 2013-07-02 David S. Miller <davem@davemloft.net>
53207
53208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53209
53210 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
53211
53212 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53213
53214 2013-07-02 Joseph Myers <joseph@codesourcery.com>
53215
53216 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
53217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53218
53219 2013-07-02 Andi Kleen <ak@linux.intel.com>
53220
53221 * config.h.in (ENABLE_LOCK_ELISION): Add.
53222 * configure.in (--enable-lock-elision): Add option.
53223 * manual/install.texi: Document --enable lock elision.
53224 * configure: Regenerate
53225 * INSTALL: Regenerate.
53226
53227 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
53228
53229 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
53230 SSE4.2 strcasecmp for libc.a.
53231 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
53232
53233 2013-07-02 Joseph Myers <joseph@codesourcery.com>
53234
53235 [BZ #13304]
53236 * soft-fp/op-common.h (_FP_FMA): New macro.
53237 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
53238 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
53239 (_FP_MUL_MEAT_1_imm): ... here.
53240 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
53241 (_FP_MUL_MEAT_1_wide): ... here.
53242 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
53243 (_FP_MUL_MEAT_1_hard): ... here.
53244 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
53245 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
53246 (_FP_MUL_MEAT_2_wide): ... here.
53247 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
53248 (_FP_MUL_MEAT_2_wide_3mul): ... here.
53249 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
53250 (_FP_MUL_MEAT_2_gmp): ... here.
53251 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
53252 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
53253 (_FP_MUL_MEAT_4_wide): ... here.
53254 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
53255 (_FP_MUL_MEAT_4_gmp): ... here.
53256 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
53257 (_FP_WFRACBITS_DW_S): Likewise.
53258 (_FP_WFRACXBITS_DW_S): Likewise.
53259 (_FP_HIGHBIT_DW_S): Likewise.
53260 (FP_FMA_S): Likewise.
53261 (_FP_FRAC_HIGH_DW_S): Likewise.
53262 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
53263 (_FP_WFRACBITS_DW_D): Likewise.
53264 (_FP_WFRACXBITS_DW_D): Likewise.
53265 (_FP_HIGHBIT_DW_D): Likewise.
53266 (FP_FMA_D): Likewise.
53267 (_FP_FRAC_HIGH_DW_D): Likewise.
53268 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
53269 (_FP_WFRACBITS_DW_E): Likewise.
53270 (_FP_WFRACXBITS_DW_E): Likewise.
53271 (_FP_HIGHBIT_DW_E): Likewise.
53272 (FP_FMA_E): Likewise.
53273 (_FP_FRAC_HIGH_DW_E): Likewise.
53274 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
53275 (_FP_WFRACBITS_DW_Q): Likewise.
53276 (_FP_WFRACXBITS_DW_Q): Likewise.
53277 (_FP_HIGHBIT_DW_Q): Likewise.
53278 (FP_FMA_Q): Likewise.
53279 (_FP_FRAC_HIGH_DW_Q): Likewise.
53280 * soft-fp/fmasf4.c: New file.
53281 * soft-fp/fmadf4.c: Likewise.
53282 * soft-fp/fmatf4.c: Likewise.
53283
53284 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53285
53286 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53287 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
53288 Silvermont.
53289 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
53290 macro.
53291 (index_Slow_SSE4_2): Likewise.
53292 (index_Prefer_PMINUB_for_stringop): Likewise.
53293 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
53294 bit_Slow_SSE4_2 is set.
53295 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53296 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53297
53298 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53299
53300 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
53301 rtld_global._dl_hwcap2.
53302 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
53303 POWER8.
53304 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
53305 POWER8 feature descriptions defined in _dl_hwcap2.
53306 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
53307 string handling for POWER8 feature bits.
53308 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
53309 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
53310 _dl_powerpc_cap_flags.
53311 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
53312 * sysdeps/powerpc/rtld-global-offsets.sym
53313 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
53314 _dl_hwcap2 in the rtld_global_ro structure.
53315
53316 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53317
53318 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
53319 hardware capabilities in support of AT_HWCAP2.
53320 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
53321 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
53322 GLRO(dl_hwcap2).
53323 (_dl_show_auxv): Add support for calling _dl_procinfo to display
53324 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
53325 explicitly the unknown a_type display mechanism is used.
53326 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
53327 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
53328 struct member.
53329 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
53330 to macro prototype for AT_HWCAP2 support.
53331 * sysdeps/i386/dl-procinfo.h: Likewise.
53332 * sysdeps/s390/dl-procinfo.h: Likewise.
53333 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
53334 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
53335 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
53336 return -1 for unknown a_type display fallback.
53337 * sysdeps/sparc/dl-procinfo.h: Likewise.
53338 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
53339 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
53340
53341 2013-06-28 Joseph Myers <joseph@codesourcery.com>
53342
53343 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
53344 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
53345
53346 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
53347
53348 [BZ #12492]
53349 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
53350 mprotect making __stack_prot writable.
53351
53352 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
53353 Joseph Myers <joseph@codesourcery.com>
53354
53355 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
53356 as being properly aligned.
53357
53358 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
53359
53360 * dlfcn/modstatic5.c: New file.
53361 * dlfcn/tststatic5.c: New file.
53362 * dlfcn/Makefile (tests): Add tststatic5.
53363 (tests-static): Likewise.
53364 (modules-names): Add modstatic5.
53365 (tststatic5-ENV): New variable.
53366 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
53367
53368 [BZ #15022]
53369 * elf/dl-support.c (_dl_main_map): New variable.
53370 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
53371 (_dl_nns, _dl_load_adds): Set to 1.
53372 (_dl_initial_searchlist): Refer to _dl_main_map.
53373 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
53374 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
53375 call to _dl_get_origin.
53376 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
53377 around call_map.
53378 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
53379 * dlfcn/modstatic3.c: New file.
53380 * dlfcn/tststatic3.c: New file.
53381 * dlfcn/tststatic4.c: New file.
53382 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
53383 (tests-static): Likewise.
53384 (modules-names): Add modstatic3.
53385 (tststatic3-ENV, tststatic4-ENV): New variables.
53386 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
53387 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
53388
53389 2013-06-26 Joseph Myers <joseph@codesourcery.com>
53390
53391 * configure.in (CC): Require GCC version 4.4 or later.
53392 * configure: Regenerated.
53393 * manual/install.texi (Tools for Compilation): Update GCC version
53394 requirement.
53395 * INSTALL: Regenerated.
53396
53397 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53398
53399 [BZ #15674]
53400 * string/test-memcmp.c (check2): New.
53401 (main): Call check2.
53402
53403 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
53404
53405 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
53406
53407 [BZ #15022]
53408 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
53409 over to...
53410 (dl_open_worker) [!SHARED]: ... here.
53411
53412 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53413
53414 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
53415
53416 2013-06-25 Richard Henderson <rth@redhat.com>
53417
53418 * locale/programs/locarchive.c: Include <libc-internal.h>
53419
53420 2013-06-25 Joseph Myers <joseph@codesourcery.com>
53421
53422 * manual/texinfo.tex: Update to version 2013-06-21.17, with
53423 trailing whitespace removed.
53424
53425 2013-06-24 Mike Frysinger <vapier@gentoo.org>
53426
53427 [BZ #10283]
53428 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
53429 * locale/programs/locarchive.c: Include libc-mmap.h.
53430 (prepare_address_space): Take two new outputs (the mmap base and len).
53431 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
53432 values.
53433 (create_archive): Declare new mmap base and len values for
53434 prepare_address_space, and store the result in ah.
53435 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
53436 (enlarge_archive): If ah->mmap_base is not NULL, use that and
53437 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
53438 Declare new mmap base and len values for
53439 prepare_address_space, and store the result in new_ah.
53440 (open_archive): Declare new mmap base and len values for
53441 prepare_address_space, and store the result in ah.
53442 (close_archive): If ah->mmap_base is not NULL, use that and
53443 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
53444 * sysdeps/generic/libc-mmap.h: New file.
53445
53446 2013-06-24 Mike Frysinger <vapier@gentoo.org>
53447
53448 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
53449 (ALIGN_UP): Likewise.
53450 (PTR_ALIGN_DOWN): Likewise.
53451 (PTR_ALIGN_UP): Likewise.
53452
53453 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53454
53455 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
53456 entry mapped to PPC_PLATFORM_POWER8.
53457 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
53458 POWER8.
53459 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
53460 (_dl_string_platform): Add case for exporting platform position for
53461 POWER8.
53462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
53463 search path to sysdeps/powerpc/powerpc32/power8 directory.
53464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
53465 search path to sysdeps/powerpc/powerpc64/power8 directory.
53466 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
53467 power7 directories.
53468 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
53469 power7 directories.
53470
53471 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
53472
53473 * INSTALL: Regenerate.
53474
53475 * nscd/connections.c (nscd_init): Fix comment.
53476
53477 2013-06-22 Joseph Myers <joseph@codesourcery.com>
53478
53479 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
53480
53481 [BZ #15667]
53482 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
53483 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
53484
53485 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
53486
53487 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
53488 DL_DST_REQ_STATIC.
53489 (DL_DST_REQ_STATIC): Remove macro.
53490
53491 2013-06-21 Joseph Myers <joseph@codesourcery.com>
53492
53493 [BZ #7006]
53494 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
53495 with a shift of 0 bits.
53496
53497 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
53498
53499 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
53500 $(tststatic-ENV).
53501
53502 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
53503
53504 [BZ #15655]
53505 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
53506
53507 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53508
53509 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
53510 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
53511 accepts -fno-tree-loop-distribute-patterns.
53512 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
53513 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
53514 recursive call.
53515 * string/memset.c (memset): Likewise.
53516 * string/test-memmove.c (simple_memmove): Disable loop transformation
53517 to library calls.
53518 * string/test-memset.c (simple_memset): Likewise.
53519 * benchtests/bench-memmove.c (simple_memmove): Likewise.
53520 * benchtests/bench-memset.c (simple_memset): Likewise.
53521 * configure: Regenerated.
53522
53523 2013-06-20 Joseph Myers <joseph@codesourcery.com>
53524
53525 * math/test-misc.c (main): Ignore fesetround failure when failures
53526 of subsequent rounding tests would be ignored.
53527
53528 [BZ #15654]
53529 * math/fedisblxcpt.c (fedisableexcept): Return 0.
53530 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
53531 * math/fegetenv.c (__fegetenv): Return 0.
53532 * math/fegetexcept.c (fegetexcept): Return 0.
53533 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
53534 FE_TONEAREST.
53535 * math/feholdexcpt.c (feholdexcept): Return 0.
53536 * math/fesetenv.c (__fesetenv): Return 0.
53537 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
53538 argument FE_TONEAREST.
53539 * math/feupdateenv.c (__feupdateenv): Return 0.
53540 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
53541
53542 2013-06-18 Roland McGrath <roland@hack.frob.com>
53543
53544 * elf/rtld-Rules (rtld-compile-command.S): New variable.
53545 (rtld-compile-command.s, rtld-compile-command.c): New variables.
53546 ($(objpfx)rtld-%.os rules): Use them.
53547
53548 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53549
53550 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
53551 fields.
53552
53553 2013-06-17 Roland McGrath <roland@hack.frob.com>
53554
53555 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
53556 length of target pattern, then descending length of dependency pattern.
53557 * configure.in (AWK): Require gawk 3.1.2 or newer.
53558 * manual/install.texi (Tools for Compilation): Say that we do.
53559 * configure: Regenerated.
53560
53561 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
53562 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
53563 * scripts/sysd-rules.awk: ... this new script.
53564 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
53565 than a glob-style pattern.
53566
53567 2013-06-17 Joseph Myers <joseph@codesourcery.com>
53568
53569 * math/test-misc.c (main): Do not treat incorrectly rounded
53570 conversions as failure unless ROUNDING_TESTS passes.
53571
53572 2013-06-15 Joseph Myers <joseph@codesourcery.com>
53573
53574 [BZ #15631]
53575 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
53576 restore exception state around main square root computation, then
53577 check for inexactness explicitly.
53578
53579 * math/libm-test.inc (fma_test_data): Add another test.
53580
53581 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
53582
53583 * manual/threads.texi (Non-POSIX Extensions): New document
53584 node. Document pthread_getattr_default_np and
53585 pthread_setattr_default_np.
53586
53587 * Versions.def (libpthread): Add GLIBC_2.18.
53588 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
53589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
53590 Likewise.
53591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53592 Likewise.
53593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53594 Likewise.
53595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53596 Likewise.
53597 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
53598 Likewise.
53599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53600 Likewise.
53601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53602 Likewise.
53603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
53604 Likewise.
53605 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
53606 Likewise.
53607
53608 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53609
53610 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53611 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
53612
53613 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
53614 H.J. Lu <hjl.tools@gmail.com>
53615
53616 [BZ #15627]
53617 * sysdeps/x86_64/rtld-memset.c: Remove file.
53618 * sysdeps/x86_64/rtld-memset.S: New file.
53619
53620 2013-06-14 Joseph Myers <joseph@codesourcery.com>
53621
53622 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
53623 (test_in_one_mode): Take arguments for whether the rounding mode
53624 is supported for each floating-point type.
53625 (do_test): Pass new arguments to test_in_one_mode using
53626 ROUNDING_TESTS.
53627
53628 2013-06-13 Roland McGrath <roland@hack.frob.com>
53629
53630 * posix/tst-waitid.c (do_test): Distinguish different instances of
53631 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
53632 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
53633 before entering the kernel for waitpid.
53634
53635 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
53636
53637 * NEWS: Fix note on clock function precision. Text by Roland
53638 McGrath.
53639
53640 2013-06-13 Roland McGrath <roland@hack.frob.com>
53641
53642 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
53643 it into place only when and if the sanity check passes.
53644
53645 2013-06-13 Joseph Myers <joseph@codesourcery.com>
53646
53647 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
53648 output for whether conversion result is exact. Take argument
53649 indicating whether type is IBM long double.
53650 (round_for_all): Change need_exact field to ibm_ld.
53651 * stdlib/tst-strtod-round.c (struct exactness): New type.
53652 (struct test): Change bool ld_ok field to struct exactness exact.
53653 (TEST): Update all definitions for change to field.
53654 (tests): Regenerate array contents.
53655 (test_in_one_mode): Take pointer to new field instead of old ld_ok
53656 field value. Check for IBM long double here.
53657 (do_test): Update calls to test_in_one_mode.
53658
53659 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
53660
53661 [BZ #12515]
53662 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
53663 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
53664
53665 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53666
53667 [BZ #15605]
53668 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
53669 generated by the compiler on loop optimizations.
53670 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
53671 general definitions.
53672
53673 2013-06-12 Joseph Myers <joseph@codesourcery.com>
53674
53675 * math/bug-nextafter.c: Include <math-tests.h>.
53676 (main): Only test for exceptions if EXCEPTION_TESTS is true for
53677 the relevant type.
53678 * math/bug-nexttoward.c: Include <math-tests.h>.
53679 (main): Only test for exceptions if EXCEPTION_TESTS is true for
53680 the relevant type.
53681 * math/test-misc.c: Include <math-tests.h>.
53682 (main): Only test for exceptions if EXCEPTION_TESTS is true for
53683 the relevant type.
53684
53685 2013-06-12 Andreas Jaeger <aj@suse.de>
53686
53687 * po/ia.po: Update Interlingua translation from translation
53688 project.
53689
53690 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
53691
53692 * include/fenv.h: Include stdbool.h.
53693 (struct rm_ctx): New structure.
53694 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
53695 Define macro.
53696 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
53697 (SET_RESTORE_ROUNDF): Likewise.
53698 (SET_RESTORE_ROUNDL): Likewise.
53699 (SET_RESTORE_ROUND_NOEX): Likewise.
53700 (SET_RESTORE_ROUND_NOEXF): Likewise.
53701 (SET_RESTORE_ROUND_NOEXL): Likewise.
53702 (SET_RESTORE_ROUND_53BIT): Likewise.
53703 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
53704 (libc_feresetround_noexf_ctx): Likewise.
53705 (libc_feresetround_noexl_ctx): Likewise.
53706 (libc_feholdsetround_53bit_ctx): Likewise.
53707 (libc_feresetround_53bit_ctx): Likewise.
53708 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
53709 (libc_feholdexcept_setround_sse_ctx): New function.
53710 (libc_fesetenv_sse_ctx): Likewise.
53711 (libc_feupdateenv_sse_ctx): Likewise.
53712 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
53713 (libc_feholdexcept_setround_387_ctx): Likewise.
53714 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
53715 (libc_feholdsetround_387_prec_ctx): Likewise.
53716 (libc_feholdsetround_387_ctx): Likewise.
53717 (libc_feholdsetround_387_53bit_ctx): Likewise.
53718 (libc_feholdsetround_sse_ctx): Likewise.
53719 (libc_feresetround_sse_ctx): Likewise.
53720 (libc_feresetround_387_ctx): Likewise.
53721 (libc_feupdateenv_387_ctx): Likewise.
53722 (libc_feholdexcept_setroundf_ctx): Define macro.
53723 (libc_fesetenvf_ctx): Likewise.
53724 (libc_feupdateenvf_ctx): Likewise.
53725 (libc_feholdsetroundf_ctx): Likewise.
53726 (libc_feresetroundf_ctx): Likewise.
53727 (libc_feholdexcept_setround_ctx): Likewise.
53728 (libc_fesetenv_ctx): Likewise.
53729 (libc_feupdateenv_ctx): Likewise.
53730 (libc_feholdsetround_ctx): Likewise.
53731 (libc_feresetround_ctx): Likewise.
53732 (libc_feholdexcept_setroundl_ctx): Likewise.
53733 (libc_feupdateenvl_ctx): Likewise.
53734 (libc_feholdsetroundl_ctx): Likewise.
53735 (libc_feresetroundl_ctx): Likewise.
53736 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
53737 (libc_feresetround_53bit_ctx): Likewise.
53738
53739 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
53740
53741 * locale/iso-639.def: Convert to UTF-8.
53742
53743 2013-06-11 Joseph Myers <joseph@codesourcery.com>
53744
53745 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
53746 (EXCEPTION_TESTS_double): Likewise.
53747 (EXCEPTION_TESTS_long_double): Likewise.
53748 (EXCEPTION_TESTS): Likewise.
53749 * math/libm-test.inc (test_exceptions): Only test exceptions if
53750 EXCEPTION_TESTS (FLOAT).
53751
53752 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
53753
53754 * benchtests/Makefile (string-bench): Add strcpy_chk and
53755 stpcpy_chk.
53756 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
53757 * benchtests/bench-stpcpy_chk.c: New file.
53758 * benchtests/bench-strcpy_chk-ifunc.c: New file.
53759 * benchtests/bench-strcpy_chk.c: New file.
53760 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
53761 code.
53762 (do_test): Likewise.
53763
53764 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53765
53766 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
53767 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
53768 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
53769 with tabs where appropriate.
53770 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
53771 dl-procinfo.h.
53772 [PPC_PLATFORM_PPC440]: Likewise.
53773 [PPC_PLATFORM_PPC464]: Likewise.
53774 [PPC_PLATFORM_PPC476]: Likewise.
53775 (_dl_string_platform): Add support for detecting ppc405, ppc440,
53776 ppc464, and ppc476 platform strings merging from ports/
53777 dl-procinfo.h.
53778
53779 2013-06-11 Andreas Schwab <schwab@suse.de>
53780
53781 [BZ #14991]
53782 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
53783 (from_ucs4_idx): Regenerate.
53784 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
53785 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
53786 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
53787 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
53788 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
53789 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
53790 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
53791 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
53792 from FROM_LOOP and TO_LOOP specific macros.
53793 (BODY): Handle combining characters.
53794 * iconvdata/BIG5HKSCS.irreversible: Update.
53795 * iconvdata/BIG5HKSCS.precomposed: New file.
53796 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
53797 characters.
53798 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
53799
53800 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
53801
53802 * include/sys/time.h: Fix indentation and add copyright header.
53803
53804 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
53805 (do_test): Likewise.
53806 * string/test-memchr.c (do_one_test): Likewise.
53807 (do_test): Likewise.
53808 * string/test-memcmp.c (do_one_test): Likewise.
53809 (do_test): Likewise.
53810 * string/test-memcpy.c (do_one_test): Likewise.
53811 (do_test): Likewise.
53812 * string/test-memmem.c (do_one_test): Likewise.
53813 (do_test): Likewise.
53814 (do_random_tests): Likewise.
53815 * string/test-memmove.c (do_one_test): Likewise.
53816 (do_test): Likewise.
53817 * string/test-memset.c (do_one_test): Likewise.
53818 (do_test): Likewise.
53819 * string/test-rawmemchr.c (do_one_test): Likewise.
53820 (do_test): Likewise.
53821 * string/test-strcasecmp.c (do_one_test): Likewise.
53822 (do_test): Likewise.
53823 * string/test-strcasestr.c (do_one_test): Likewise.
53824 (do_test): Likewise.
53825 * string/test-strcat.c (do_one_test): Likewise.
53826 (do_test): Likewise.
53827 * string/test-strchr.c (do_one_test): Likewise.
53828 (do_test): Likewise.
53829 * string/test-strcmp.c (do_one_test): Likewise.
53830 (do_test): Likewise.
53831 * string/test-strcpy.c (do_one_test): Likewise.
53832 (do_test): Likewise.
53833 * string/test-string.h: Likewise.
53834 (test_init): Likewise.
53835 * string/test-strlen.c (do_one_test): Likewise.
53836 (do_test): Likewise.
53837 * string/test-strncasecmp.c (do_one_test): Likewise.
53838 (do_test): Likewise.
53839 * string/test-strncat.c (do_one_test): Likewise.
53840 (do_test): Likewise.
53841 * string/test-strncmp.c (do_one_test): Likewise.
53842 (do_test_limit): Likewise.
53843 (do_test): Likewise.
53844 * string/test-strncpy.c (do_one_test): Likewise.
53845 (do_test): Likewise.
53846 * string/test-strnlen.c (do_one_test): Likewise.
53847 (do_test): Likewise.
53848 * string/test-strpbrk.c (do_one_test): Likewise.
53849 (do_test): Likewise.
53850 * string/test-strrchr.c (do_one_test): Likewise.
53851 (do_test): Likewise.
53852 * string/test-strspn.c (do_one_test): Likewise.
53853 (do_test): Likewise.
53854 * string/test-strstr.c (do_one_test): Likewise.
53855 (do_test): Likewise.
53856
53857 * benchtests/Makefile (string-bench): Add string benchmarks.
53858 * benchtests/bench-bcopy-ifunc.c: New file.
53859 * benchtests/bench-bcopy.c: New file.
53860 * benchtests/bench-bzero-ifunc.c: New file.
53861 * benchtests/bench-bzero.c: New file.
53862 * benchtests/bench-memccpy-ifunc.c: New file.
53863 * benchtests/bench-memccpy.c: New file.
53864 * benchtests/bench-memchr-ifunc.c: New file.
53865 * benchtests/bench-memchr.c: New file.
53866 * benchtests/bench-memcmp-ifunc.c: New file.
53867 * benchtests/bench-memcmp.c: New file.
53868 * benchtests/bench-memmem-ifunc.c: New file.
53869 * benchtests/bench-memmem.c: New file.
53870 * benchtests/bench-memmove-ifunc.c: New file.
53871 * benchtests/bench-memmove.c: New file.
53872 * benchtests/bench-mempcpy-ifunc.c: New file.
53873 * benchtests/bench-mempcpy.c: New file.
53874 * benchtests/bench-memset-ifunc.c: New file.
53875 * benchtests/bench-memset.c: New file.
53876 * benchtests/bench-rawmemchr-ifunc.c: New file.
53877 * benchtests/bench-rawmemchr.c: New file.
53878 * benchtests/bench-stpcpy-ifunc.c: New file.
53879 * benchtests/bench-stpcpy.c: New file.
53880 * benchtests/bench-stpncpy-ifunc.c: New file.
53881 * benchtests/bench-stpncpy.c: New file.
53882 * benchtests/bench-strcasecmp-ifunc.c: New file.
53883 * benchtests/bench-strcasecmp.c: New file.
53884 * benchtests/bench-strcasestr-ifunc.c: New file.
53885 * benchtests/bench-strcasestr.c: New file.
53886 * benchtests/bench-strcat-ifunc.c: New file.
53887 * benchtests/bench-strcat.c: New file.
53888 * benchtests/bench-strchr-ifunc.c: New file.
53889 * benchtests/bench-strchr.c: New file.
53890 * benchtests/bench-strchrnul-ifunc.c: New file.
53891 * benchtests/bench-strchrnul.c: New file.
53892 * benchtests/bench-strcmp-ifunc.c: New file.
53893 * benchtests/bench-strcmp.c: New file.
53894 * benchtests/bench-strcpy-ifunc.c: New file.
53895 * benchtests/bench-strcpy.c: New file.
53896 * benchtests/bench-strcspn-ifunc.c: New file.
53897 * benchtests/bench-strcspn.c: New file.
53898 * benchtests/bench-strlen-ifunc.c: New file.
53899 * benchtests/bench-strlen.c: New file.
53900 * benchtests/bench-strncasecmp-ifunc.c: New file.
53901 * benchtests/bench-strncasecmp.c: New file.
53902 * benchtests/bench-strncat-ifunc.c: New file.
53903 * benchtests/bench-strncat.c: New file.
53904 * benchtests/bench-strncmp-ifunc.c: New file.
53905 * benchtests/bench-strncmp.c: New file.
53906 * benchtests/bench-strncpy-ifunc.c: New file.
53907 * benchtests/bench-strncpy.c: New file.
53908 * benchtests/bench-strnlen-ifunc.c: New file.
53909 * benchtests/bench-strnlen.c: New file.
53910 * benchtests/bench-strpbrk-ifunc.c: New file.
53911 * benchtests/bench-strpbrk.c: New file.
53912 * benchtests/bench-strrchr-ifunc.c: New file.
53913 * benchtests/bench-strrchr.c: New file.
53914 * benchtests/bench-strspn-ifunc.c: New file.
53915 * benchtests/bench-strspn.c: New file.
53916 * benchtests/bench-strstr-ifunc.c: New file.
53917 * benchtests/bench-strstr.c: New file.
53918
53919 * benchtests/Makefile: Disable parallel execution of targets.
53920 (string-bench): Add memcpy.
53921 (benchset): New variable to store a list of benchmark sets.
53922 (bench-func): Renamed from bench.
53923 (bench-set): New target.
53924 (bench): Depend on bench-func and bench-set.
53925 * benchtests/README: Add section on benchmark sets.
53926 * benchtests/bench-memcpy-ifunc.c: New file.
53927 * benchtests/bench-memcpy.c: New file.
53928 * benchtests/bench-string.h: New file.
53929
53930 2013-06-11 Andreas Schwab <schwab@suse.de>
53931
53932 [BZ #15577]
53933 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
53934 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
53935 values in the triple.
53936 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
53937 terminator in the group key.
53938
53939 2013-06-11 Andreas Jaeger <aj@suse.de>
53940
53941 * po/zh_TW.po: Update Chinese (traditional) translation from
53942 translation project.
53943
53944 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
53945
53946 * include/time.h (__clock_gettime): Add libc_hidden_proto.
53947 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
53948 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
53949 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53950 (clock_getcpuclockid): Likewise.
53951 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
53952 Add weak_alias and libc_hidden_def.
53953 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
53954 * rt/clock_gettime.c (clock_gettime): Rename to
53955 __clock_gettime. Add weak_alias and libc_hidden_def.
53956 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
53957 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
53958 __clock_nanosleep. Add weak_alias and libc_hidden_def.
53959 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
53960 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
53961 Likewise.
53962 * rt/clock_settime.c (clock_settime): Rename to
53963 __clock_settime. Add weak_alias and libc_hidden_def.
53964 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
53965
53966 2013-06-10 Joseph Myers <joseph@codesourcery.com>
53967
53968 * mach/err_boot.sub: Remove trailing whitespace.
53969 * mach/err_ipc.sub: Likewise.
53970 * mach/err_mach.sub: Likewise.
53971
53972 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
53973 (ROUNDING_TESTS_double): Likewise.
53974 (ROUNDING_TESTS_long_double): Likewise.
53975 (ROUNDING_TESTS): Likewise.
53976 * math/libm-test.inc: Include <math-tests.h>.
53977 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
53978 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
53979 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
53980 (IF_ROUND_INIT_FE_UPWARD): Likewise.
53981
53982 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
53983
53984 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
53985 of assigning.
53986
53987 2013-06-08 Joseph Myers <joseph@codesourcery.com>
53988
53989 * sysdeps/gnu/errlist.awk: Do not generate space at end of
53990 otherwise empty TRANS lines.
53991 * sysdeps/gnu/errlist.c: Regenerated.
53992
53993 * catgets/gencat.c (error_print): Use (void) in function
53994 definition.
53995 * crypt/crypt_util.c (__init_des): Likewise.
53996 * crypt/speeds.c (Stop): Likewise.
53997 (main): Likewise.
53998 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
53999 * inet/ruserpass.c (token): Likewise.
54000 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
54001 * intl/localealias.c (extend_alias_table): Likewise.
54002 * intl/plural-exp.c (init_germanic_plural): Likewise.
54003 * libio/fcloseall.c (__fcloseall): Likewise.
54004 * libio/genops.c (_IO_flush_all): Likewise.
54005 (_IO_flush_all_linebuffered): Likewise.
54006 (_IO_cleanup): Likewise.
54007 (_IO_iter_begin): Likewise.
54008 (_IO_iter_end): Likewise.
54009 (_IO_list_lock): Likewise.
54010 (_IO_list_unlock): Likewise.
54011 (_IO_list_resetlock): Likewise.
54012 * libio/getchar.c (getchar): Likewise.
54013 * libio/getchar_u.c (getchar_unlocked): Likewise.
54014 * libio/getwchar.c (getwchar): Likewise.
54015 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
54016 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
54017 * login/getpt.c (__getpt): Likewise.
54018 * login/tst-utmp.c (main): Likewise.
54019 * malloc/hooks.c (__malloc_check_init): Likewise.
54020 * malloc/malloc.c (__malloc_stats): Likewise.
54021 * malloc/mtrace.c (tr_break): Likewise.
54022 (mtrace): Likewise.
54023 (muntrace): Likewise.
54024 * misc/fstab.c (endfsent): Likewise.
54025 * misc/getclktck.c (__getclktck): Likewise.
54026 * misc/getdtsz.c (__getdtablesize): Likewise.
54027 * misc/gethostid.c (gethostid): Likewise.
54028 * misc/getpagesize.c (__getpagesize): Likewise.
54029 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
54030 (__get_nprocs): Likewise.
54031 (__get_phys_pages): Likewise.
54032 (__get_avphys_pages): Likewise.
54033 * misc/getttyent.c (getttyent): Likewise.
54034 (setttyent): Likewise.
54035 (endttyent): Likewise.
54036 * misc/getusershell.c (getusershell): Likewise.
54037 (endusershell): Likewise.
54038 (setusershell): Likewise.
54039 (initshells): Likewise.
54040 * misc/hsearch.c (__hdestroy): Likewise.
54041 * misc/sync.c (sync): Likewise.
54042 * misc/syslog.c (closelog_internal): Likewise.
54043 (closelog): Likewise.
54044 * misc/ttyslot.c (ttyslot): Likewise.
54045 * misc/vhangup.c (vhangup): Likewise.
54046 * posix/fork.c (__fork): Likewise.
54047 * posix/getegid.c (__getegid): Likewise.
54048 * posix/geteuid.c (__geteuid): Likewise.
54049 * posix/getgid.c (__getgid): Likewise.
54050 * posix/getpid.c (__getpid): Likewise.
54051 * posix/getppid.c (__getppid): Likewise.
54052 * posix/getuid.c (__getuid): Likewise.
54053 * posix/pause.c (pause): Likewise.
54054 * posix/setpgrp.c (setpgrp): Likewise.
54055 * posix/setsid.c (__setsid): Likewise.
54056 * posix/test-vfork.c (noop): Likewise.
54057 * resolv/gethnamaddr.c (_endhtent): Likewise.
54058 (_gethtent): Likewise.
54059 (ht_endhostent): Likewise.
54060 (gethostent): Likewise.
54061 (dns_service): Likewise.
54062 * stdlib/drand48.c (drand48): Likewise.
54063 * stdlib/lrand48.c (lrand48): Likewise.
54064 * stdlib/mrand48.c (mrand48): Likewise.
54065 * stdlib/rand.c (rand): Likewise.
54066 * stdlib/random.c (__random): Likewise.
54067 * stdlib/setenv.c (clearenv): Likewise.
54068 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
54069 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
54070 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
54071 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
54072 (__get_nprocs): Likewise.
54073 (__get_phys_pages): Likewise.
54074 (__get_avphys_pages): Likewise.
54075 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
54076 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
54077 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
54078 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
54079 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
54080 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
54081 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
54082 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
54083 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
54084 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
54085 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
54086 * sysdeps/mach/hurd/sync.c (sync): Likewise.
54087 * sysdeps/posix/clock.c (clock): Likewise.
54088 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
54089 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
54090 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
54091 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
54092 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
54093 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
54094 (__get_nprocs_conf): Likewise.
54095 (__get_phys_pages): Likewise.
54096 (__get_avphys_pages): Likewise.
54097 * time/clock.c (clock): Likewise.
54098 * time/tzset.c (__tzname_max): Likewise.
54099
54100 2013-06-07 Joseph Myers <joseph@codesourcery.com>
54101
54102 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
54103 (__bswap_32): Do not use "register".
54104 * crypt/crypt.c (_ufc_doit_r): Likewise.
54105 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
54106 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
54107 * gmon/gmon.c (__monstartup): Likewise.
54108 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
54109 * hurd/hurdmalloc.c (more_memory): Likewise.
54110 (malloc): Likewise.
54111 (free): Likewise.
54112 (realloc): Likewise.
54113 (malloc_fork_prepare): Likewise.
54114 (malloc_fork_parent): Likewise.
54115 (malloc_fork_child): Likewise.
54116 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
54117 (_svcauth_des): Likewise.
54118 * inet/inet_lnaof.c (inet_lnaof): Likewise.
54119 * inet/inet_net.c (inet_network): Likewise.
54120 * inet/inet_netof.c (inet_netof): Likewise.
54121 * inet/rcmd.c (__validuser2_sa): Likewise.
54122 * io/fts.c (fts_open): Likewise.
54123 (fts_load): Likewise.
54124 (fts_close): Likewise.
54125 (fts_read): Likewise.
54126 (fts_children): Likewise.
54127 (fts_build): Likewise.
54128 (fts_stat): Likewise.
54129 (fts_sort): Likewise.
54130 (fts_alloc): Likewise.
54131 (fts_lfree): Likewise.
54132 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
54133 (_IO_file_xsgetn): Likewise.
54134 (_IO_file_xsgetn_mmap): Likewise.
54135 * libio/iofopncook.c (_IO_cookie_read): Likewise.
54136 (_IO_cookie_write): Likewise.
54137 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
54138 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
54139 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
54140 * malloc/obstack.c (_obstack_begin): Likewise.
54141 (_obstack_begin_1): Likewise.
54142 (_obstack_newchunk): Likewise.
54143 (_obstack_allocated_p): Likewise.
54144 (obstack_free): Likewise.
54145 (_obstack_memory_used): Likewise.
54146 * misc/getttyent.c (getttynam): Likewise.
54147 (getttyent): Likewise.
54148 (skip): Likewise.
54149 (value): Likewise.
54150 * misc/getusershell.c (initshells): Likewise.
54151 * misc/syslog.c (__vsyslog_chk): Likewise.
54152 * misc/ttyslot.c (ttyslot): Likewise.
54153 * nis/nis_hash.c (__nis_hash): Likewise.
54154 * posix/fnmatch_loop.c (FCT): Likewise.
54155 * posix/getconf.c (print_all): Likewise.
54156 (main): Likewise.
54157 * posix/getopt.c (exchange): Likewise.
54158 * posix/glob.c (globfree): Likewise.
54159 (prefix_array): Likewise.
54160 (__glob_pattern_type): Likewise.
54161 * resolv/arpa/nameser.h (NS_GET16): Likewise.
54162 (NS_GET32): Likewise.
54163 (NS_PUT16): Likewise.
54164 (NS_PUT32): Likewise.
54165 * resolv/gethnamaddr.c (getanswer): Likewise.
54166 (gethostbyname2): Likewise.
54167 (gethostbyaddr): Likewise.
54168 (_gethtent): Likewise.
54169 (_gethtbyname2): Likewise.
54170 (_gethtbyaddr): Likewise.
54171 * resolv/ns_print.c (dst_s_get_int16): Likewise.
54172 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
54173 * resolv/res_init.c (__res_vinit): Likewise.
54174 (net_mask): Likewise.
54175 * resolv/res_mkquery.c (outchar): Likewise.
54176 (PRINT): Likewise.
54177 * stdio-common/printf_fp.c (outchar): Likewise.
54178 (PRINT): Likewise.
54179 * stdio-common/printf_fphex.c (outchar): Likewise.
54180 (PRINT): Likewise.
54181 * stdio-common/printf_size.c (outchar): Likewise.
54182 (PRINT): Likewise.
54183 * stdio-common/test_rdwr.c (main): Likewise.
54184 * stdio-common/tfformat.c (matches): Likewise.
54185 * stdio-common/vfprintf.c (outchar): Likewise.
54186 (printf_unknown): Likewise.
54187 (buffered_vfprintf): Likewise.
54188 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
54189 * stdio-common/xbug.c (AppendToBuffer): Likewise.
54190 (ReadFile): Likewise.
54191 * stdlib/qsort.c (SWAP): Likewise.
54192 (_quicksort): Likewise.
54193 * stdlib/setenv.c (__add_to_environ): Likewise.
54194 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
54195 * stdlib/strtol_l.c (__strtol_l): Likewise.
54196 * stdlib/tst-strtod.c (main): Likewise.
54197 * stdlib/tst-strtol.c (main): Likewise.
54198 * stdlib/tst-strtoll.c (main): Likewise.
54199 * string/bits/string2.h (__strcmp_cc): Likewise.
54200 (__strcmp_cg): Likewise.
54201 (__strcspn_c1): Likewise.
54202 (__strcspn_c2): Likewise.
54203 (__strcspn_c3): Likewise.
54204 (__strspn_c1): Likewise.
54205 (__strspn_c2): Likewise.
54206 (__strspn_c3): Likewise.
54207 (__strsep_1c): Likewise.
54208 (__strsep_2c): Likewise.
54209 (__strsep_3c): Likewise.
54210 * string/memccpy.c (__memccpy): Likewise.
54211 * string/stpcpy.c (__stpcpy): Likewise.
54212 * string/strcmp.c (strcmp): Likewise.
54213 * string/strrchr.c (strrchr): Likewise.
54214 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
54215 Likewise.
54216 * sysdeps/mach/hurd/getcwd.c
54217 (_hurd_canonicalize_directory_name_internal): Likewise.
54218 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
54219 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
54220 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
54221 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
54222 Likewise, in both definitions.
54223 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
54224 definitions.
54225 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
54226 64] (__bswap_64): Likewise.
54227 * time/test_time.c (main): Likewise.
54228 * time/tzfile.c (__tzfile_read): Likewise.
54229 (__tzfile_compute): Likewise.
54230 * time/tzset.c (__tzset_parse_tz): Likewise.
54231 (tzset_internal): Likewise.
54232 (compute_change): Likewise.
54233 * wcsmbs/wcscat.c (__wcscat): Likewise.
54234 * wcsmbs/wcschr.c (wcschr): Likewise.
54235 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
54236 * wcsmbs/wcscspn.c (wcscspn): Likewise.
54237 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
54238 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
54239 * wcsmbs/wcsspn.c (wcsspn): Likewise.
54240 * wcsmbs/wcsstr.c (wcsstr): Likewise.
54241 * wcsmbs/wmemchr.c (wmemchr): Likewise.
54242 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54243 * wcsmbs/wmemset.c (wmemset): Likewise.
54244
54245 2013-06-06 Joseph Myers <joseph@codesourcery.com>
54246
54247 * scripts/config.guess: Update to version 2013-05-16.
54248 * scripts/config.sub: Update to version 2013-04-24.
54249 * scripts/install-sh: Update to version 2011-11-20.07.
54250 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
54251 * scripts/move-if-change: Update to version 2012-01-06 07:23.
54252
54253 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
54254
54255 * debug/fgetws_u_chk.c: Fix leading whitespaces.
54256 * elf/sln.c: Likewise.
54257 * hurd/hurd/ioctl.h: Likewise.
54258 * hurd/hurdmalloc.c: Likewise.
54259 * hurd/xattr.c: Likewise.
54260 * include/shlib-compat.h: Likewise.
54261 * inet/ruserpass.c: Likewise.
54262 * libio/iofgets_u.c: Likewise.
54263 * libio/iofgetws_u.c: Likewise.
54264 * locale/programs/ld-identification.c: Likewise.
54265 * locale/programs/ld-time.c: Likewise.
54266 * mach/msg-destroy.c: Likewise.
54267 * nss/nss_files/files-netgrp.c: Likewise.
54268 * resolv/res_data.c: Likewise.
54269 * soft-fp/op-1.h: Likewise.
54270 * soft-fp/op-2.h: Likewise.
54271 * soft-fp/op-4.h: Likewise.
54272 * soft-fp/op-common.h: Likewise.
54273 * stdio-common/printf_fphex.c: Likewise.
54274 * stdlib/strtod_l.c: Likewise.
54275 * sunrpc/rpc/clnt.h: Likewise.
54276 * sysdeps/generic/framestate.c: Likewise.
54277 * sysdeps/i386/bsd-_setjmp.S: Likewise.
54278 * sysdeps/i386/bsd-setjmp.S: Likewise.
54279 * sysdeps/i386/__longjmp.S: Likewise.
54280 * sysdeps/i386/setjmp.S: Likewise.
54281 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54282 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54283 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54284 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54285 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54286 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54287 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54288 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54289 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54290 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54291 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54292 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54293 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54294 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54295 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54296 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54297 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54298 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
54299 * sysdeps/ieee754/support.c: Likewise.
54300 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54301 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
54302 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
54303 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
54304 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
54305 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
54306 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
54307 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
54308 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
54309 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
54310 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
54311 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
54312 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
54313 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
54314 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
54315 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
54316 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
54317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
54318
54319 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
54320
54321 * posix/transbug.c: Remove executable mode.
54322
54323 2013-06-05 Joseph Myers <joseph@codesourcery.com>
54324
54325 * crypt/speeds.c: Remove trailing whitespace.
54326 * dlfcn/default.c: Likewise.
54327 * elf/ifuncdep2.c: Likewise.
54328 * elf/ifuncmain1.c: Likewise.
54329 * elf/ifuncmain1vis.c: Likewise.
54330 * elf/testobj.h: Likewise.
54331 * elf/tst-stackguard1.c: Likewise.
54332 * gmon/sys/gmon.h: Likewise.
54333 * hurd/hurdmsg.c: Likewise.
54334 * hurd/new-fd.c: Likewise.
54335 * hurd/ports-get.c: Likewise.
54336 * iconvdata/ibm1008_420.c: Likewise.
54337 * inet/tst-getni1.c: Likewise.
54338 * inet/tst-getni2.c: Likewise.
54339 * libio/ioungetc.c: Likewise.
54340 * libio/wfiledoalloc.c: Likewise.
54341 * manual/libm-err-tab.pl: Likewise.
54342 * math/w_dremf.c: Likewise.
54343 * misc/ftruncate.c: Likewise.
54344 * posix/bug-glob2.c: Likewise.
54345 * posix/tst-pcre.c: Likewise.
54346 * posix/wait4.c: Likewise.
54347 * resolv/README: Likewise.
54348 * resolv/res_debug.h: Likewise.
54349 * resolv/tst-inet_ntop.c: Likewise.
54350 * setjmp/bug269-setjmp.c: Likewise.
54351 * soft-fp/extended.h: Likewise.
54352 * soft-fp/op-1.h: Likewise.
54353 * soft-fp/op-2.h: Likewise.
54354 * soft-fp/op-4.h: Likewise.
54355 * soft-fp/op-8.h: Likewise.
54356 * soft-fp/testit.c: Likewise.
54357 * stdio-common/bug16.c: Likewise.
54358 * stdlib/random.c: Likewise.
54359 * sunrpc/rpcsvc/rquota.x: Likewise.
54360 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
54361 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54362 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54363 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54364 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54365 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54366 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54367 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54368 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54369 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54370 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54371 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54372 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54373 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54374 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54375 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54376 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54377 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54378 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54379 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54380 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54381 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54382 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
54383 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54384 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54385 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54386 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54387 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54388 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54389 * sysdeps/ieee754/s_lib_version.c: Likewise.
54390 * sysdeps/mach/hurd/check_fds.c: Likewise.
54391 * sysdeps/mach/hurd/getsockname.c: Likewise.
54392 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
54393 * sysdeps/mach/hurd/recvfrom.c: Likewise.
54394 * sysdeps/powerpc/bits/link.h: Likewise.
54395 * sysdeps/powerpc/dl-procinfo.c: Likewise.
54396 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
54397 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
54398 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
54399 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54400 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54401 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
54402 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54403 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
54404 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54405 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
54406 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
54407 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
54408 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54409 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54410 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54411 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
54412 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
54413 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54414 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54415 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54416 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
54417 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54418 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
54419 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
54420 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
54421 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
54422 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54423 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54424 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
54425 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
54426 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
54427 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54428 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54429 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
54430 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54431 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
54432 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
54433 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
54434 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
54435 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
54436 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
54437 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
54438 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
54439 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
54440 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
54441 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
54442 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
54443 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
54444 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
54445 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54446 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54447 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54448 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54449 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
54450 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
54451 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
54452 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54453 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
54454 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
54455 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
54456 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
54457 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
54458 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54459 * sysdeps/powerpc/sysdep.h: Likewise.
54460 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54461 * sysdeps/s390/s390-64/sub_n.S: Likewise.
54462 * sysdeps/sh/dl-trampoline.S: Likewise.
54463 * sysdeps/sh/memset.S: Likewise.
54464 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
54465 * sysdeps/sh/strlen.S: Likewise.
54466 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
54467 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
54468 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
54469 * sysdeps/sparc/sparc32/rem.S: Likewise.
54470 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
54471 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
54472 * sysdeps/sparc/sparc32/strchr.S: Likewise.
54473 * sysdeps/sparc/sparc32/udiv.S: Likewise.
54474 * sysdeps/sparc/sparc32/urem.S: Likewise.
54475 * sysdeps/sparc/sparc64/add_n.S: Likewise.
54476 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54477 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
54478 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
54479 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
54480 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
54481 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
54482 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
54483 * sysdeps/unix/bsd/times.c: Likewise.
54484 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
54485 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
54486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
54487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
54488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
54489 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
54490 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
54491 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
54492 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
54493 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
54494 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
54495 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54496 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
54497 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54498 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54499 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
54500 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
54501 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
54502 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
54503 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
54504 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
54505 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
54506 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
54507 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
54508 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
54509 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
54510 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
54511 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54512 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
54513 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
54514 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
54515 * sysdeps/x86_64/strcspn.S: Likewise.
54516
54517 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54518
54519 * locale/C-translit.h: Revert #include <stdint.h> because this is a
54520 generated file. Regenerate properly from gen-translit.pl.
54521 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
54522 locale/C-translit.h.
54523
54524 2013-06-05 Andreas Schwab <schwab@suse.de>
54525
54526 [BZ #15100]
54527 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
54528 week as 6 instead of -1.
54529 * time/tst-strptime.c (day_tests): Add test case.
54530
54531 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
54532
54533 * sysdeps/generic/math_private.h
54534 (libc_feholdexcept_setround_53bit): Replace with
54535 libc_feholdsetround_53bit.
54536 (libc_feupdateenv_53bit): Replace with
54537 libc_feresetround_53bit.
54538 (SET_RESTORE_ROUND_53BIT): Adjust.
54539
54540 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
54541
54542 * string/test-strchrnul.c: Add copyright header.
54543
54544 * posix/tst-getaddrinfo4.c: Increase test timeout.
54545
54546 2013-06-03 Carlos O'Donell <carlos@redhat.com>
54547
54548 [BZ #15536]
54549 * math/libm-test.inc (MAX_EXP): Remove
54550 (MIN_EXP): Define.
54551 (ulp): Use MIN_EXP - MANT_DIG.
54552 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
54553
54554 2013-05-31 Carlos O'Donell <carlos@redhat.com>
54555
54556 * po/be.po: Revert last change.
54557 * po/zh_CN.po: Likewise.
54558 * po/header.pot: Likewise.
54559
54560 2013-05-31 Joseph Myers <joseph@codesourcery.com>
54561
54562 * Makefile ($(common-objpfx)linkobj/libc.so): Define
54563 link-libc-deps to empty as target-specific variable.
54564 * Makerules (link-libc-args): New variable.
54565 (libc-for-link): Likewise.
54566 (link-libc-deps): Likewise.
54567 (lib%.so): Depend on $(link-libc-deps). Link with
54568 $(link-libc-args).
54569 (build-module): Link with $(link-libc-args).
54570 (build-module-asneeded): Likewise.
54571 (build-module-helper-objlist): Filter out $(link-libc-deps) from
54572 list of objects.
54573 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
54574 target-specific variable.
54575 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
54576 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
54577 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
54578 libc.
54579 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
54580 libc and ld.so.
54581 ($(objpfx)libpcprofile.so): Likewise.
54582 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
54583 libc_nonshared.a.
54584 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
54585 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
54586 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
54587 $(link-libc-deps).
54588 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
54589 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
54590 * login/Makefile ($(objpfx)libutil.so): Likewise.
54591 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
54592 * math/Makefile ($(objpfx)libm.so): Likewise.
54593 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
54594 $(objpfx)libnsl.so): Define libc-for-link as target-specific
54595 variable instead of depending directly on libc.
54596 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
54597 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
54598 $(link-libc-deps).
54599 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
54600 libc.
54601 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
54602 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
54603 ($(objpfx)libanl.so): Likewise.
54604 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
54605 ld.so.
54606 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
54607 $(link-libc-deps).
54608 * sysdeps/i386/fpu/Makefile: Remove file.
54609 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
54610 ($(objpfx)libm.so): Remove dependency on ld.so.
54611
54612 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
54613
54614 [BZ # 15553]
54615 * nis/yp_xdr.c (XDRMAXNAME): Define.
54616 (XDRMAXRECORD): Define.
54617 (xdr_domainname): Use XDRMAXNAME.
54618 (xdr_mapname): Likewise.
54619 (xdr_peername): Likewise.
54620 (xdr_keydat): Use XDRMAXRECORD.
54621 (xdr_valdat): Likewise.
54622
54623 2013-05-30 Jeff Law <law@redhat.com>
54624
54625 [BZ #14256]
54626 * manual/errno.texi (ESTALE): Update to account for more than
54627 just NFS file systems.
54628 * sysdeps/gnu/errlist.c: Regenerated.
54629
54630 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
54631
54632 [BZ #15465]
54633 * elf/Makefile (tests): Add tst-null-argv.
54634 (modules-names): Add tst-null-argv-lib.
54635 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
54636 (tst-null-argv-ENV): Set environment for tst-null-argv.
54637 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
54638 (RTLD_PROGNAME): New macro.
54639 * elf/tst-null-argv.c: New test case.
54640 * elf/tst-null-argv-lib.c: Library for test case.
54641 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
54642 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
54643 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
54644 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
54645 * elf/dl-init.c (call_init): Likewise.
54646 (_dl_init): Likewise.
54647 * elf/dl-load.c (print_search_path): Likewise.
54648 (_dl_map_object): Likewise.
54649 * elf/dl-lookup.c (do_lookup_x): Likewise.
54650 (add_dependency): Likewise.
54651 (_dl_lookup_symbol_x): Likewise.
54652 (_dl_debug_bindings): Likewise.
54653 * elf/dl-open.c (_dl_show_scope): Likewise.
54654 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
54655 * elf/dl-version.c (match_symbol): Likewise.
54656 (_dl_check_map_versions): Likewise.
54657 * elf/rtld.c (dl_main): Likewise.
54658 (print_unresolved): Use RTLD_PROGNAME.
54659 (print_missing_version): Likewise.
54660 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
54661 (elf_machine_rela): Likewise.
54662 * sysdeps/powerpc/powerpc32/dl-machine.c
54663 (__process_machine_rela): Likewise.
54664 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54665 Likewise.
54666 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
54667 Likewise.
54668 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
54669 Likewise.
54670 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54671 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
54672 Likewise.
54673 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
54674 Likewise.
54675 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
54676
54677 2013-05-28 Carlos O'Donell <carlos@redhat.com>
54678
54679 * po/be.po: Add descriptive title.
54680 * po/zh_CN.po: Likewise.
54681 * po/header.pot: Likewise.
54682
54683 2013-05-28 Mike Frysinger <vapier@gentoo.org>
54684
54685 * locale/programs/locarchive.c (create_archive): Inlucde fname in
54686 error message.
54687 (enlarge_archive): Likewise.
54688
54689 2013-05-28 Ben North <ben@redfrontdoor.org>
54690
54691 * manual/arith.texi (frexp): It is the magnitude of the return
54692 value which lies in [0.5, 1), not the return value itself.
54693
54694 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54695
54696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54697
54698 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
54699
54700 * stdio-common/bug26.c (main): Correct fscanf template.
54701
54702 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
54703 declare _dl_skip_args.
54704
54705 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
54706 Don't declare.
54707
54708 * manual/platform.texi: Add missing @end deftypefun.
54709
54710 2013-05-24 Joseph Myers <joseph@codesourcery.com>
54711
54712 [BZ #15529]
54713 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
54714 bit of mantissa of 2^16382.
54715 * math/libm-test.inc (hypot_test_data): Add more tests.
54716
54717 * math/libm-test.inc: Add drem and pow10 to list of tested
54718 functions.
54719 (pow10_test): New function.
54720 (drem_test): Likewise.
54721 (drem_test_tonearest): Likewise.
54722 (drem_test_towardzero): Likewise.
54723 (drem_test_downward): Likewise.
54724 (drem_test_upward): Likewise.
54725 (main): Call the new functions.
54726
54727 * math/libm-test.inc (finite_test_data): Remove.
54728 (finite_test): Run tests from isfinite_test_data.
54729 (gamma_test_data): Remove.
54730 (gamma_test): Run tests from lgamma_test_data.
54731 * sysdeps/i386/fpu/libm-test-ulps: Update.
54732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54733
54734 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54735
54736 * manual/platform.texi: Add PowerPC PPR function set documentation.
54737 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
54738 implementation.
54739
54740 2013-05-24 Carlos O'Donell <carlos@redhat.com>
54741
54742 * math/libm-test.inc (MAX_EXP): Define.
54743 (ULPDIFF): Define.
54744 (ulp): New function.
54745 (check_float_internal): Use ULPDIFF.
54746 (cpow_test): Disable failing test.
54747 (check_ulp): Test ulp() implementation.
54748 (main): Call check_ulp before starting tests.
54749
54750 2013-05-24 Joseph Myers <joseph@codesourcery.com>
54751
54752 * math/gen-libm-test.pl (generate_testfile): Do not handle
54753 START_DATA and END_DATA.
54754 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
54755 END_DATA.
54756 (acos_tonearest_test_data): Likewise.
54757 (acos_towardzero_test_data): Likewise.
54758 (acos_downward_test_data): Likewise.
54759 (acos_upward_test_data): Likewise.
54760 (acosh_test_data): Likewise.
54761 (asin_test_data): Likewise.
54762 (asin_tonearest_test_data): Likewise.
54763 (asin_towardzero_test_data): Likewise.
54764 (asin_downward_test_data): Likewise.
54765 (asin_upward_test_data): Likewise.
54766 (asinh_test_data): Likewise.
54767 (atan_test_data): Likewise.
54768 (atanh_test_data): Likewise.
54769 (atan2_test_data): Likewise.
54770 (cabs_test_data): Likewise.
54771 (cacos_test_data): Likewise.
54772 (cacosh_test_data): Likewise.
54773 (carg_test_data): Likewise.
54774 (casin_test_data): Likewise.
54775 (casinh_test_data): Likewise.
54776 (catan_test_data): Likewise.
54777 (catanh_test_data): Likewise.
54778 (cbrt_test_data): Likewise.
54779 (ccos_test_data): Likewise.
54780 (ccosh_test_data): Likewise.
54781 (ceil_test_data): Likewise.
54782 (cexp_test_data): Likewise.
54783 (cimag_test_data): Likewise.
54784 (clog_test_data): Likewise.
54785 (clog10_test_data): Likewise.
54786 (conj_test_data): Likewise.
54787 (copysign_test_data): Likewise.
54788 (cos_test_data): Likewise.
54789 (cos_tonearest_test_data): Likewise.
54790 (cos_towardzero_test_data): Likewise.
54791 (cos_downward_test_data): Likewise.
54792 (cos_upward_test_data): Likewise.
54793 (cosh_test_data): Likewise.
54794 (cosh_tonearest_test_data): Likewise.
54795 (cosh_towardzero_test_data): Likewise.
54796 (cosh_downward_test_data): Likewise.
54797 (cosh_upward_test_data): Likewise.
54798 (cpow_test_data): Likewise.
54799 (cproj_test_data): Likewise.
54800 (creal_test_data): Likewise.
54801 (csin_test_data): Likewise.
54802 (csinh_test_data): Likewise.
54803 (csqrt_test_data): Likewise.
54804 (ctan_test_data): Likewise.
54805 (ctan_tonearest_test_data): Likewise.
54806 (ctan_towardzero_test_data): Likewise.
54807 (ctan_downward_test_data): Likewise.
54808 (ctan_upward_test_data): Likewise.
54809 (ctanh_test_data): Likewise.
54810 (ctanh_tonearest_test_data): Likewise.
54811 (ctanh_towardzero_test_data): Likewise.
54812 (ctanh_downward_test_data): Likewise.
54813 (ctanh_upward_test_data): Likewise.
54814 (erf_test_data): Likewise.
54815 (erfc_test_data): Likewise.
54816 (exp_test_data): Likewise.
54817 (exp_tonearest_test_data): Likewise.
54818 (exp_towardzero_test_data): Likewise.
54819 (exp_downward_test_data): Likewise.
54820 (exp_upward_test_data): Likewise.
54821 (exp10_test_data): Likewise.
54822 (exp2_test_data): Likewise.
54823 (expm1_test_data): Likewise.
54824 (fabs_test_data): Likewise.
54825 (fdim_test_data): Likewise.
54826 (finite_test_data): Likewise.
54827 (floor_test_data): Likewise.
54828 (fma_test_data): Likewise.
54829 (fma_towardzero_test_data): Likewise.
54830 (fma_downward_test_data): Likewise.
54831 (fma_upward_test_data): Likewise.
54832 (fmax_test_data): Likewise.
54833 (fmin_test_data): Likewise.
54834 (fmod_test_data): Likewise.
54835 (fpclassify_test_data): Likewise.
54836 (frexp_test_data): Likewise.
54837 (gamma_test_data): Likewise.
54838 (hypot_test_data): Likewise.
54839 (ilogb_test_data): Likewise.
54840 (isfinite_test_data): Likewise.
54841 (isgreater_test_data): Likewise.
54842 (isgreaterequal_test_data): Likewise.
54843 (isinf_test_data): Likewise.
54844 (isless_test_data): Likewise.
54845 (islessequal_test_data): Likewise.
54846 (islessgreater_test_data): Likewise.
54847 (isnan_test_data): Likewise.
54848 (isnormal_test_data): Likewise.
54849 (issignaling_test_data): Likewise.
54850 (isunordered_test_data): Likewise.
54851 (j0_test_data): Likewise.
54852 (j1_test_data): Likewise.
54853 (jn_test_data): Likewise.
54854 (ldexp_test_data): Likewise.
54855 (lgamma_test_data): Likewise.
54856 (lrint_test_data): Likewise.
54857 (lrint_tonearest_test_data): Likewise.
54858 (lrint_towardzero_test_data): Likewise.
54859 (lrint_downward_test_data): Likewise.
54860 (lrint_upward_test_data): Likewise.
54861 (llrint_test_data): Likewise.
54862 (llrint_tonearest_test_data): Likewise.
54863 (llrint_towardzero_test_data): Likewise.
54864 (llrint_downward_test_data): Likewise.
54865 (llrint_upward_test_data): Likewise.
54866 (log_test_data): Likewise.
54867 (log10_test_data): Likewise.
54868 (log1p_test_data): Likewise.
54869 (log2_test_data): Likewise.
54870 (logb_test_data): Likewise.
54871 (logb_downward_test_data): Likewise.
54872 (lround_test_data): Likewise.
54873 (llround_test_data): Likewise.
54874 (modf_test_data): Likewise.
54875 (nearbyint_test_data): Likewise.
54876 (nextafter_test_data): Likewise.
54877 (nexttoward_test_data): Likewise.
54878 (pow_test_data): Likewise.
54879 (pow_tonearest_test_data): Likewise.
54880 (pow_towardzero_test_data): Likewise.
54881 (pow_downward_test_data): Likewise.
54882 (pow_upward_test_data): Likewise.
54883 (remainder_test_data): Likewise.
54884 (remainder_tonearest_test_data): Likewise.
54885 (remainder_towardzero_test_data): Likewise.
54886 (remainder_downward_test_data): Likewise.
54887 (remainder_upward_test_data): Likewise.
54888 (remquo_test_data): Likewise.
54889 (rint_test_data): Likewise.
54890 (rint_tonearest_test_data): Likewise.
54891 (rint_towardzero_test_data): Likewise.
54892 (rint_downward_test_data): Likewise.
54893 (rint_upward_test_data): Likewise.
54894 (round_test_data): Likewise.
54895 (scalb_test_data): Likewise.
54896 (scalbn_test_data): Likewise.
54897 (scalbln_test_data): Likewise.
54898 (signbit_test_data): Likewise.
54899 (sin_test_data): Likewise.
54900 (sin_tonearest_test_data): Likewise.
54901 (sin_towardzero_test_data): Likewise.
54902 (sin_downward_test_data): Likewise.
54903 (sin_upward_test_data): Likewise.
54904 (sincos_test_data): Likewise.
54905 (sinh_test_data): Likewise.
54906 (sinh_tonearest_test_data): Likewise.
54907 (sinh_towardzero_test_data): Likewise.
54908 (sinh_downward_test_data): Likewise.
54909 (sinh_upward_test_data): Likewise.
54910 (sqrt_test_data): Likewise.
54911 (tan_test_data): Likewise.
54912 (tan_tonearest_test_data): Likewise.
54913 (tan_towardzero_test_data): Likewise.
54914 (tan_downward_test_data): Likewise.
54915 (tan_upward_test_data): Likewise.
54916 (tanh_test_data): Likewise.
54917 (tgamma_test_data): Likewise.
54918 (trunc_test_data): Likewise.
54919 (y0_test_data): Likewise.
54920 (y1_test_data): Likewise.
54921 (yn_test_data): Likewise.
54922 (significand_test_data): Likewise.
54923
54924 * math/gen-libm-test.pl (@functions): Remove variable.
54925 (generate_testfile): Don't handle START and END lines.
54926 * math/libm-test.inc (START): New macro.
54927 (END): Likewise.
54928 (END_COMPLEX): Likewise.
54929 (acos_test): Use END macro without arguments.
54930 (acos_test_tonearest): Likewise.
54931 (acos_test_towardzero): Likewise.
54932 (acos_test_downward): Likewise.
54933 (acos_test_upward): Likewise.
54934 (acosh_test): Likewise.
54935 (asin_test): Likewise.
54936 (asin_test_tonearest): Likewise.
54937 (asin_test_towardzero): Likewise.
54938 (asin_test_downward): Likewise.
54939 (asin_test_upward): Likewise.
54940 (asinh_test): Likewise.
54941 (atan_test): Likewise.
54942 (atanh_test): Likewise.
54943 (atan2_test): Likewise.
54944 (cabs_test): Likewise.
54945 (cacos_test): Use END_COMPLEX macro without arguments.
54946 (cacosh_test): Likewise.
54947 (carg_test): Use END macro without arguments.
54948 (casin_test): Use END_COMPLEX macro without arguments.
54949 (casinh_test): Likewise.
54950 (catan_test): Likewise.
54951 (catanh_test): Likewise.
54952 (cbrt_test): Use END macro without arguments.
54953 (ccos_test): Use END_COMPLEX macro without arguments.
54954 (ccosh_test): Likewise.
54955 (ceil_test): Use END macro without arguments.
54956 (cexp_test): Use END_COMPLEX macro without arguments.
54957 (cimag_test): Use END macro without arguments.
54958 (clog_test): Use END_COMPLEX macro without arguments.
54959 (clog10_test): Likewise.
54960 (conj_test): Likewise.
54961 (copysign_test): Use END macro without arguments.
54962 (cos_test): Likewise.
54963 (cos_test_tonearest): Likewise.
54964 (cos_test_towardzero): Likewise.
54965 (cos_test_downward): Likewise.
54966 (cos_test_upward): Likewise.
54967 (cosh_test): Likewise.
54968 (cosh_test_tonearest): Likewise.
54969 (cosh_test_towardzero): Likewise.
54970 (cosh_test_downward): Likewise.
54971 (cosh_test_upward): Likewise.
54972 (cpow_test): Use END_COMPLEX macro without arguments.
54973 (cproj_test): Likewise.
54974 (creal_test): Use END macro without arguments.
54975 (csin_test): Use END_COMPLEX macro without arguments.
54976 (csinh_test): Likewise.
54977 (csqrt_test): Likewise.
54978 (ctan_test): Likewise.
54979 (ctan_test_tonearest): Likewise.
54980 (ctan_test_towardzero): Likewise.
54981 (ctan_test_downward): Likewise.
54982 (ctan_test_upward): Likewise.
54983 (ctanh_test): Likewise.
54984 (ctanh_test_tonearest): Likewise.
54985 (ctanh_test_towardzero): Likewise.
54986 (ctanh_test_downward): Likewise.
54987 (ctanh_test_upward): Likewise.
54988 (erf_test): Use END macro without arguments.
54989 (erfc_test): Likewise.
54990 (exp_test): Likewise.
54991 (exp_test_tonearest): Likewise.
54992 (exp_test_towardzero): Likewise.
54993 (exp_test_downward): Likewise.
54994 (exp_test_upward): Likewise.
54995 (exp10_test): Likewise.
54996 (exp2_test): Likewise.
54997 (expm1_test): Likewise.
54998 (fabs_test): Likewise.
54999 (fdim_test): Likewise.
55000 (finite_test): Likewise.
55001 (floor_test): Likewise.
55002 (fma_test): Likewise.
55003 (fma_test_towardzero): Likewise.
55004 (fma_test_downward): Likewise.
55005 (fma_test_upward): Likewise.
55006 (fmax_test): Likewise.
55007 (fmin_test): Likewise.
55008 (fmod_test): Likewise.
55009 (fpclassify_test): Likewise.
55010 (frexp_test): Likewise.
55011 (gamma_test): Likewise.
55012 (hypot_test): Likewise.
55013 (ilogb_test): Likewise.
55014 (isfinite_test): Likewise.
55015 (isgreater_test): Likewise.
55016 (isgreaterequal_test): Likewise.
55017 (isinf_test): Likewise.
55018 (isless_test): Likewise.
55019 (islessequal_test): Likewise.
55020 (islessgreater_test): Likewise.
55021 (isnan_test): Likewise.
55022 (isnormal_test): Likewise.
55023 (issignaling_test): Likewise.
55024 (isunordered_test): Likewise.
55025 (j0_test): Likewise.
55026 (j1_test): Likewise.
55027 (jn_test): Likewise.
55028 (ldexp_test): Likewise.
55029 (lgamma_test): Likewise.
55030 (lrint_test): Likewise.
55031 (lrint_test_tonearest): Likewise.
55032 (lrint_test_towardzero): Likewise.
55033 (lrint_test_downward): Likewise.
55034 (lrint_test_upward): Likewise.
55035 (llrint_test): Likewise.
55036 (llrint_test_tonearest): Likewise.
55037 (llrint_test_towardzero): Likewise.
55038 (llrint_test_downward): Likewise.
55039 (llrint_test_upward): Likewise.
55040 (log_test): Likewise.
55041 (log10_test): Likewise.
55042 (log1p_test): Likewise.
55043 (log2_test): Likewise.
55044 (logb_test): Likewise.
55045 (logb_test_downward): Likewise.
55046 (lround_test): Likewise.
55047 (llround_test): Likewise.
55048 (modf_test): Likewise.
55049 (nearbyint_test): Likewise.
55050 (nextafter_test): Likewise.
55051 (nexttoward_test): Likewise.
55052 (pow_test): Likewise.
55053 (pow_test_tonearest): Likewise.
55054 (pow_test_towardzero): Likewise.
55055 (pow_test_downward): Likewise.
55056 (pow_test_upward): Likewise.
55057 (remainder_test): Likewise.
55058 (remainder_test_tonearest): Likewise.
55059 (remainder_test_towardzero): Likewise.
55060 (remainder_test_downward): Likewise.
55061 (remainder_test_upward): Likewise.
55062 (remquo_test): Likewise.
55063 (rint_test): Likewise.
55064 (rint_test_tonearest): Likewise.
55065 (rint_test_towardzero): Likewise.
55066 (rint_test_downward): Likewise.
55067 (rint_test_upward): Likewise.
55068 (round_test): Likewise.
55069 (scalb_test): Likewise.
55070 (scalbn_test): Likewise.
55071 (scalbln_test): Likewise.
55072 (signbit_test): Likewise.
55073 (sin_test): Likewise.
55074 (sin_test_tonearest): Likewise.
55075 (sin_test_towardzero): Likewise.
55076 (sin_test_downward): Likewise.
55077 (sin_test_upward): Likewise.
55078 (sincos_test): Likewise.
55079 (sinh_test): Likewise.
55080 (sinh_test_tonearest): Likewise.
55081 (sinh_test_towardzero): Likewise.
55082 (sinh_test_downward): Likewise.
55083 (sinh_test_upward): Likewise.
55084 (sqrt_test): Likewise.
55085 (tan_test): Likewise.
55086 (tan_test_tonearest): Likewise.
55087 (tan_test_towardzero): Likewise.
55088 (tan_test_downward): Likewise.
55089 (tan_test_upward): Likewise.
55090 (tanh_test): Likewise.
55091 (tgamma_test): Likewise.
55092 (trunc_test): Likewise.
55093 (y0_test): Likewise.
55094 (y1_test): Likewise.
55095 (yn_test): Likewise.
55096 (significand_test): Likewise.
55097
55098 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
55099
55100 [BZ #15381]
55101 * libio/genops.c (_IO_no_init): Initialize wide struct info.
55102
55103 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
55104
55105 [BZ #14894]
55106 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
55107 __ppc_mdoio and __ppc_mdoom.
55108 * manual/platform.texi: Document new functions __ppc_yield,
55109 __ppc_mdoio and __ppc_mdoom.
55110
55111 2013-05-22 Carlos O'Donell <carlos@redhat.com>
55112
55113 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
55114 (main): Mention "tls" pseudo-hwcap is legacy.
55115 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
55116
55117 2013-05-22 Joseph Myers <joseph@codesourcery.com>
55118
55119 * math/gen-libm-test.pl (parse_args): Output only string of
55120 arguments as text for test name, not full call or descriptions of
55121 tests for extra outputs.
55122 (generate_testfile): Do not pass function name to parse_args.
55123 Generate this_func variable from START.
55124 * math/libm-test.inc (struct test_f_f_data): Rename test_name
55125 field to arg_str.
55126 (struct test_ff_f_data): Likewise.
55127 (test_ff_f_data_nexttoward): Likewise.
55128 (struct test_fi_f_data): Likewise.
55129 (struct test_fl_f_data): Likewise.
55130 (struct test_if_f_data): Likewise.
55131 (struct test_fff_f_data): Likewise.
55132 (struct test_c_f_data): Likewise.
55133 (struct test_f_f1_data): Likewise. Remove field extra_name.
55134 (struct test_fF_f1_data): Likewise.
55135 (struct test_ffI_f1_data): Likewise.
55136 (struct test_c_c_data): Rename test_name field to arg_str.
55137 (struct test_cc_c_data): Likewise.
55138 (struct test_f_i_data): Likewise.
55139 (struct test_ff_i_data): Likewise.
55140 (struct test_f_l_data): Likewise.
55141 (struct test_f_L_data): Likewise.
55142 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
55143 and extra2_name.
55144 (COMMON_TEST_SETUP): New macro.
55145 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
55146 (COMMON_TEST_CLEANUP): Likewise.
55147 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
55148 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
55149 macros.
55150 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
55151 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
55152 macros.
55153 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
55154 (RUN_TEST_fff_f): Take argument string. Call new setup and
55155 cleanup macros.
55156 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
55157 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
55158 macros.
55159 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
55160 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
55161 macros.
55162 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55163 (RUN_TEST_fF_f1): Take argument string. Call new setup and
55164 cleanup macros.
55165 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55166 (RUN_TEST_fI_f1): Take argument string. Call new setup and
55167 cleanup macros.
55168 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55169 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
55170 cleanup macros.
55171 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55172 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
55173 macros.
55174 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
55175 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
55176 macros.
55177 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
55178 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
55179 macros.
55180 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
55181 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
55182 cleanup macros.
55183 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
55184 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
55185 cleanup macros.
55186 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
55187 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
55188 macros.
55189 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
55190 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
55191 cleanup macros.
55192 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
55193 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
55194 macros.
55195 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
55196 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
55197 macros.
55198 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
55199 (RUN_TEST_fFF_11): Take argument string. Call new setup and
55200 cleanup macros.
55201 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
55202
55203 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
55204
55205 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
55206 to _sifields.sigfault.
55207 (si_addr_lsb): Define new macro.
55208 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
55209 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55210 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
55211
55212 2013-05-03 Carlos O'Donell <carlos at redhat.com>
55213
55214 [BZ #15441]
55215 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
55216 returns -1.
55217 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
55218 null return -1.
55219 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
55220 loading the domain.
55221
55222 2013-05-22 Joseph Myers <joseph@codesourcery.com>
55223
55224 * math/gen-libm-test.pl (parse_args): Do not include expected
55225 result in test name.
55226 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
55227 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55228 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55229 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55230 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55232
55233 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
55234
55235 * benchtests/Makefile: Sort function entries.
55236
55237 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
55238 tanh, asinh, acosh, atanh.
55239 * benchtests/acos-inputs: New file.
55240 * benchtests/acosh-inputs: New file.
55241 * benchtests/asin-inputs: New file.
55242 * benchtests/asinh-inputs: New file.
55243 * benchtests/atanh-inputs: New file.
55244 * benchtests/cosh-inputs: New file.
55245 * benchtests/log-inputs: New file.
55246 * benchtests/sinh-inputs: New file.
55247 * benchtests/tanh-inputs: New file.
55248
55249 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
55250
55251 [BZ #15339]
55252 * posix/tst-getaddrinfo4.c: New test.
55253 * posix/Makefile (tests): Add it.
55254
55255 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
55256
55257 [BZ #15339]
55258 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
55259 when no services were used.
55260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
55261 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
55262
55263 2013-05-21 Andreas Schwab <schwab@suse.de>
55264
55265 [BZ #15014]
55266 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
55267 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
55268 successful.
55269 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
55270 redundant variable declarations and reallocation of buffer when
55271 parsing as IPv6 address. Always set NSS status when called from
55272 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
55273 buffer too small. Correct computation of needed size.
55274 * nss/Makefile (tests): Add test-digits-dots.
55275 * nss/test-digits-dots.c: New test.
55276
55277 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
55278
55279 * benchtests/Makefile: Remove instructions for adding
55280 benchmark tests.
55281 * benchtests/README: New file to explain how to execute and
55282 enhance the benchmark tests.
55283
55284 2013-05-21 Andreas Schwab <schwab@suse.de>
55285
55286 [BZ #15493]
55287 * setjmp/Makefile (tests): Add tst-sigsetjmp.
55288 * setjmp/tst-sigsetjmp.c: New test.
55289
55290 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
55291
55292 * sysdeps/x86_64/memset.S (memset): New implementation.
55293 (__bzero): Likewise.
55294 (__memset_tail): New function.
55295
55296 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
55297
55298 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
55299 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
55300 __memcpy_sse2_unaligned ifunc selection.
55301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55302 Add memcpy-sse2-unaligned.S.
55303 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55304 Add: __memcpy_sse2_unaligned.
55305
55306 2013-05-19 Joseph Myers <joseph@codesourcery.com>
55307
55308 [BZ #15490]
55309 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55310 math_force_eval before restoring floating-point envrionment.
55311 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
55312 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
55313 Likewise.
55314 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
55315 <math_private.h>.
55316 (__nearbyintl): Use math_force_eval before restoring
55317 floating-point environment.
55318 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
55319
55320 * math/gen-libm-test.pl (special_functions): Remove.
55321 (parse_args): Don't handle TEST_extra. Handle functions with no
55322 return value.
55323 * math/libm-test.inc (struct test_sincos_data): Replace with
55324 struct test_fFF_11_data.
55325 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
55326 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
55327 (sincos_test_data): Change element type to struct
55328 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
55329 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
55330 RUN_TEST_LOOP_sincos.
55331 * math/README.libm-test: Don't mention special handling of
55332 individual functions.
55333 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
55334 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55335 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55336 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55337 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55339
55340 * math/gen-libm-test.pl (get_variable): Remove function.
55341 (parse_args): Don't show pointer parameters to call in test
55342 names. Use "extra output N" in test names for extra outputs
55343 rather than naming variables.
55344
55345 2013-05-18 Joseph Myers <joseph@codesourcery.com>
55346
55347 [BZ #15488]
55348 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
55349 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
55350 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
55351 double tests.
55352 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
55353 disable.
55354 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
55355 check_long_double.
55356
55357 * math/gen-libm-test.pl (@tests): Remove variable.
55358 ($count): Likewise.
55359 (new_test): Remove function.
55360 (show_exceptions): New function.
55361 (special_functions): Use show_exceptions instead of new_test.
55362 (parse_args): Likewise.
55363 (generate_testfile): Pass only function name in generated call to
55364 print_max_error or print_complex_max_error.
55365 (get_ulps): Do not handle complex tests specially.
55366 (output_test): Rename to ...
55367 (get_all_ulps_for_test): ... this. Return a string rather than
55368 printing to a file. Require ulps to be present.
55369 (output_ulps): Generate arrays rather than #defines.
55370 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
55371 (struct ulp_data): New type.
55372 (BUILD_COMPLEX_ULP): Remove macro.
55373 (compare_ulp_data): New function.
55374 (find_ulps): Likewise.
55375 (find_test_ulps): Likewise.
55376 (find_function_ulps): Likewise.
55377 (find_complex_function_ulps): Likewise.
55378 (print_max_error): Determine allowed ulps using
55379 find_function_ulps.
55380 (print_complex_max_error): Determine allowed ulps using
55381 find_complex_function_ulps.
55382 (check_float_internal): Determine max ulps using find_test_ulps.
55383 (check_float): Do not take max_ulp parameter. Update call to
55384 check_float_internal.
55385 (check_complex): Likewise.
55386 (check_int): Do not take max_ulp parameter.
55387 (check_long): Likewise.
55388 (check_bool): Likewise.
55389 (check_longlong): Likewise.
55390 (struct test_f_f_data): Remove max_ulp field.
55391 (struct test_ff_f_data): Likewise.
55392 (struct test_ff_f_data_nexttoward): Likewise.
55393 (struct test_fi_f_data): Likewise.
55394 (struct test_fl_f_data): Likewise.
55395 (struct test_if_f_data): Likewise.
55396 (struct test_fff_f_data): Likewise.
55397 (struct test_c_f_data): Likewise.
55398 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
55399 (struct test_fF_f1_data): Likewise.
55400 (struct test_ffI_f1_data): Likewise.
55401 (struct test_c_c_data): Remove max_ulp field.
55402 (struct test_cc_c_data): Likewise.
55403 (struct test_f_i_data): Likewise.
55404 (struct test_ff_i_data): Likewise.
55405 (struct test_f_l_data): Likewise.
55406 (struct test_f_L_data): Likewise.
55407 (struct test_sincos_data): Likewise.
55408 (RUN_TEST_f_f): Do not handle ulps.
55409 (RUN_TEST_LOOP_f_f): Likewise.
55410 (RUN_TEST_2_f): Likewise.
55411 (RUN_TEST_LOOP_2_f): Likewise.
55412 (RUN_TEST_fff_f): Likewise.
55413 (RUN_TEST_LOOP_fff_f): Likewise.
55414 (RUN_TEST_c_f): Likewise.
55415 (RUN_TEST_LOOP_c_f): Likewise.
55416 (RUN_TEST_f_f1): Likewise.
55417 (RUN_TEST_LOOP_f_f1): Likewise.
55418 (RUN_TEST_fF_f1): Likewise.
55419 (RUN_TEST_LOOP_fF_f1): Likewise.
55420 (RUN_TEST_fI_f1): Likewise.
55421 (RUN_TEST_LOOP_fI_f1): Likewise.
55422 (RUN_TEST_ffI_f1): Likewise.
55423 (RUN_TEST_LOOP_ffI_f1): Likewise.
55424 (RUN_TEST_c_c): Likewise.
55425 (RUN_TEST_LOOP_c_c): Likewise.
55426 (RUN_TEST_cc_c): Likewise.
55427 (RUN_TEST_LOOP_cc_c): Likewise.
55428 (RUN_TEST_f_i): Likewise.
55429 (RUN_TEST_LOOP_f_i): Likewise.
55430 (RUN_TEST_f_i_tg): Likewise.
55431 (RUN_TEST_LOOP_f_i_tg): Likewise.
55432 (RUN_TEST_ff_i_tg): Likewise.
55433 (RUN_TEST_LOOP_ff_i_tg): Likewise.
55434 (RUN_TEST_f_b): Likewise.
55435 (RUN_TEST_LOOP_f_b): Likewise.
55436 (RUN_TEST_f_b_tg): Likewise.
55437 (RUN_TEST_LOOP_f_b_tg): Likewise.
55438 (RUN_TEST_f_l): Likewise.
55439 (RUN_TEST_LOOP_f_l): Likewise.
55440 (RUN_TEST_f_L): Likewise.
55441 (RUN_TEST_LOOP_f_L): Likewise.
55442 (RUN_TEST_sincos): Likewise.
55443 (RUN_TEST_LOOP_sincos): Likewise.
55444
55445 2013-05-17 Joseph Myers <joseph@codesourcery.com>
55446
55447 [BZ #15480]
55448 [BZ #15485]
55449 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
55450 main case of finite arguments, set rounding mode to FE_TONEAREST
55451 and discard exceptions.
55452 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
55453 exceptions.
55454 (remainder_tonearest_test_data): New variable.
55455 (remainder_test_tonearest): New function.
55456 (remainder_towardzero_test_data): New variable.
55457 (remainder_test_towardzero): New function.
55458 (remainder_downward_test_data): New variable.
55459 (remainder_test_downward): New function.
55460 (remainder_upward_test_data): New variable.
55461 (remainder_test_upward): New function.
55462 (main): Call the new test functions.
55463
55464 * math/libm-test.inc (struct test_f_f1_data): Remove field
55465 extra_init.
55466 (struct test_fF_f1_data): Likewise.
55467 (struct test_ffI_f1_data): Likewise.
55468 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
55469 based on value of EXTRA_EXPECTED.
55470 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55471 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
55472 EXTRA_VAR based on value of EXTRA_EXPECTED.
55473 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55474 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
55475 EXTRA_VAR based on value of EXTRA_EXPECTED.
55476 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55477 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
55478 EXTRA_VAR based on value of EXTRA_EXPECTED.
55479 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55480 * math/gen-libm-test.pl (parse_args): Don't output initializers
55481 for extra output values.
55482
55483 * math/libm-test.inc (check_int): Expect result to be exactly
55484 equal to expected value and do not handle ulps.
55485 (check_long): Likewise.
55486 (check_longlong): Likewise.
55487
55488 * math/libm-test.inc (ceil_test_data): Test for "inexact"
55489 exceptions.
55490 (cimag_test_data): Likewise.
55491 (conj_test_data): Likewise.
55492 (copysign_test_data): Likewise.
55493 (cproj_test_data): Likewise.
55494 (creal_test_data): Likewise.
55495 (fabs_test_data): Likewise.
55496 (fdim_test_data): Likewise.
55497 (finite_test_data): Likewise.
55498 (floor_test_data): Likewise.
55499 (fmax_test_data): Likewise.
55500 (fmin_test_data): Likewise.
55501 (fmod_test_data): Likewise.
55502 (fpclassify_test_data): Likewise.
55503 (frexp_test_data): Likewise.
55504 (ilogb_test_data): Likewise.
55505 (isfinite_test_data): Likewise.
55506 (isgreater_test_data): Likewise.
55507 (isgreaterequal_test_data): Likewise.
55508 (isinf_test_data): Likewise.
55509 (isless_test_data): Likewise.
55510 (islessequal_test_data): Likewise.
55511 (islessgreater_test_data): Likewise.
55512 (isnan_test_data): Likewise.
55513 (isnormal_test_data): Likewise.
55514 (issignaling_test_data): Likewise.
55515 (isunordered_test_data): Likewise.
55516 (ldexp_test_data): Likewise.
55517 (lrint_test_data): Likewise.
55518 (lrint_test_data) [TEST_FLOAT]: Disable one test.
55519 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
55520 (lrint_tonearest_test_data): Test for "inexact" exceptions.
55521 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
55522 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
55523 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
55524 test input.
55525 (lrint_towardzero_test_data): Test for "inexact" exceptions.
55526 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
55527 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
55528 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
55529 that test input.
55530 (lrint_downward_test_data): Test for "inexact" exceptions.
55531 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
55532 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
55533 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
55534 test input.
55535 (lrint_upward_test_data): Test for "inexact" exceptions.
55536 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
55537 test input.
55538 (llrint_test_data): Test for "inexact" exceptions.
55539 (llrint_test_data) [TEST_FLOAT]: Disable one test.
55540 (llrint_tonearest_test_data): Test for "inexact" exceptions.
55541 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
55542 (llrint_towardzero_test_data): Test for "inexact" exceptions.
55543 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
55544 (llrint_downward_test_data): Test for "inexact" exceptions.
55545 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
55546 (llrint_upward_test_data): Test for "inexact" exceptions.
55547 (logb_test_data): Likewise.
55548 (logb_downward_test_data): Likewise.
55549 (nextafter_test_data): Likewise.
55550 (nexttoward_test_data): Likewise.
55551 (remainder_test_data): Likewise.
55552 (remquo_test_data): Likewise.
55553 (scalbn_test_data): Likewise.
55554 (scalbln_test_data): Likewise.
55555 (signbit_test_data): Likewise.
55556 (sqrt_test_data): Likewise.
55557 (significand_test_data): Likewise.
55558
55559 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
55560
55561 [BZ #15424]
55562 * benchtests/bench-modf.c (struct args): Mark arg0 as
55563 volatile.
55564 * scripts/bench.pl: Mark members of struct args as volatile.
55565
55566 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55567
55568 [BZ # 15497]
55569 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
55570 negative infinity on POWER6 or lower.
55571 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
55572
55573 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
55574
55575 [BZ #15442]
55576 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
55577 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
55578 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
55579 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
55580 (_FP_SETQNAN): New macro.
55581 (_FP_SETQNAN_SEMIRAW): Likewise.
55582 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
55583 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
55584 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
55585 (FP_EXTEND): Use _FP_FRAC_SNANP.
55586 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
55587 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
55588 into account.
55589 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
55590 New macro.
55591 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
55592 Likewise.
55593
55594 2013-05-16 Joseph Myers <joseph@codesourcery.com>
55595
55596 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
55597 with DIVIDE_BY_ZERO_EXCEPTION.
55598 (gamma_test_data): Likewise.
55599 (lgamma_test_data): Likewise.
55600 (log_test_data): Likewise.
55601 (log10_test_data): Likewise.
55602 (log2_test_data): Likewise.
55603 (tgamma_test_data): Likewise.
55604
55605 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
55606 (acos_test_tonearest): Likewise.
55607 (acos_test_towardzero): Likewise.
55608 (acos_test_downward): Likewise.
55609 (acos_test_upward): Likewise.
55610 (acosh_test): Likewise.
55611 (asin_test): Likewise.
55612 (asin_test_tonearest): Likewise.
55613 (asin_test_towardzero): Likewise.
55614 (asin_test_downward): Likewise.
55615 (asin_test_upward): Likewise.
55616 (asinh_test): Likewise.
55617 (atan_test): Likewise.
55618 (atanh_test): Likewise.
55619 (atan2_test): Likewise.
55620 (cabs_test): Likewise.
55621 (cacos_test): Likewise.
55622 (cacosh_test): Likewise.
55623 (casin_test): Likewise.
55624 (casinh_test): Likewise.
55625 (catan_test): Likewise.
55626 (catanh_test): Likewise.
55627 (cbrt_test): Likewise.
55628 (ccos_test): Likewise.
55629 (ccosh_test): Likewise.
55630 (cexp_test): Likewise.
55631 (clog_test): Likewise.
55632 (clog10_test): Likewise.
55633 (cos_test): Likewise.
55634 (cos_test_tonearest): Likewise.
55635 (cos_test_towardzero): Likewise.
55636 (cos_test_downward): Likewise.
55637 (cos_test_upward): Likewise.
55638 (cosh_test): Likewise.
55639 (cosh_test_tonearest): Likewise.
55640 (cosh_test_towardzero): Likewise.
55641 (cosh_test_downward): Likewise.
55642 (cosh_test_upward): Likewise.
55643 (cpow_test): Likewise.
55644 (csin_test): Likewise.
55645 (csinh_test): Likewise.
55646 (csqrt_test): Likewise.
55647 (ctan_test): Likewise.
55648 (ctan_test_tonearest): Likewise.
55649 (ctan_test_towardzero): Likewise.
55650 (ctan_test_downward): Likewise.
55651 (ctan_test_upward): Likewise.
55652 (ctanh_test): Likewise.
55653 (ctanh_test_tonearest): Likewise.
55654 (ctanh_test_towardzero): Likewise.
55655 (ctanh_test_downward): Likewise.
55656 (ctanh_test_upward): Likewise.
55657 (erf_test): Likewise.
55658 (erfc_test): Likewise.
55659 (exp_test): Likewise.
55660 (exp_test_tonearest): Likewise.
55661 (exp_test_towardzero): Likewise.
55662 (exp_test_downward): Likewise.
55663 (exp_test_upward): Likewise.
55664 (exp10_test): Likewise.
55665 (exp2_test): Likewise.
55666 (expm1_test): Likewise.
55667 (fmod_test): Likewise.
55668 (gamma_test): Likewise.
55669 (hypot_test): Likewise.
55670 (j0_test): Likewise.
55671 (j1_test): Likewise.
55672 (jn_test): Likewise.
55673 (lgamma_test): Likewise.
55674 (log_test): Likewise.
55675 (log10_test): Likewise.
55676 (log1p_test): Likewise.
55677 (log2_test): Likewise.
55678 (logb_test_downward): Likewise.
55679 (pow_test): Likewise.
55680 (pow_test_tonearest): Likewise.
55681 (pow_test_towardzero): Likewise.
55682 (pow_test_downward): Likewise.
55683 (pow_test_upward): Likewise.
55684 (remainder_test): Likewise.
55685 (remquo_test): Likewise.
55686 (sin_test): Likewise.
55687 (sin_test_tonearest): Likewise.
55688 (sin_test_towardzero): Likewise.
55689 (sin_test_downward): Likewise.
55690 (sin_test_upward): Likewise.
55691 (sincos_test): Likewise.
55692 (sinh_test): Likewise.
55693 (sinh_test_tonearest): Likewise.
55694 (sinh_test_towardzero): Likewise.
55695 (sinh_test_downward): Likewise.
55696 (sinh_test_upward): Likewise.
55697 (sqrt_test): Likewise.
55698 (tan_test): Likewise.
55699 (tan_test_tonearest): Likewise.
55700 (tan_test_towardzero): Likewise.
55701 (tan_test_downward): Likewise.
55702 (tan_test_upward): Likewise.
55703 (tanh_test): Likewise.
55704 (tgamma_test): Likewise.
55705 (y0_test): Likewise.
55706 (y1_test): Likewise.
55707 (yn_test): Likewise.
55708
55709 * math/gen-libm-test.pl (adjust_arg): Remove function.
55710 (special_function): Remove argument $in_func. Only handle
55711 generating output for tables of tests, not inside functions.
55712 (parse_args): Likewise.
55713 (generate_testfile): Remove variable $in_func. Update call to
55714 parse_args.
55715 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
55716 (MINUS_ZERO_INIT): Rename macro to minus_zero.
55717 (PLUS_INFTY_INIT): Rename macro to plus_infty.
55718 (MINUS_INFTY_INIT): Rename macro to minus_infty.
55719 (QNAN_VALUE_INIT): Rename macro to qnan_value.
55720 (MAX_VALUE_INIT): Rename macro to max_value.
55721 (MIN_VALUE_INIT): Rename macro to min_value.
55722 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
55723 (plus_zero): Remove variable.
55724 (minus_zero): Likewise.
55725 (plus_infty): Likewise.
55726 (minus_infty): Likewise.
55727 (qnan_value): Likewise.
55728 (max_value): Likewise.
55729 (min_value): Likewise.
55730 (min_subnorm_value): Likewise.
55731
55732 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
55733
55734 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
55735 uint64_t or uint32_t usage.
55736 * crypt/sha256-block.c: Likewise.
55737 * crypt/sha256-crypt.c: Likewise.
55738 * crypt/sha256.c: Likewise.
55739 * crypt/sha512-block.c: Likewise.
55740 * crypt/sha512-crypt.c: Likewise.
55741 * crypt/sha512.c: Likewise.
55742 * debug/backtrace-tst.c: Likewise.
55743 * debug/pcprofiledump.c: Likewise.
55744 * elf/cache.c: Likewise.
55745 * elf/dl-cache.c: Likewise.
55746 * elf/dl-misc.c: Likewise.
55747 * elf/dl-profile.c: Likewise.
55748 * elf/dl-support.c: Likewise.
55749 * elf/ldconfig.c: Likewise.
55750 * elf/sprof.c: Likewise.
55751 * iconv/dummy-repertoire.c: Likewise.
55752 * iconv/iconv_charmap.c: Likewise.
55753 * iconv/skeleton.c: Likewise.
55754 * iconvdata/8bit-generic.c: Likewise.
55755 * iconvdata/cp737.h: Likewise.
55756 * iconvdata/cp775.h: Likewise.
55757 * iconvdata/ibm1008.h: Likewise.
55758 * iconvdata/ibm1025.h: Likewise.
55759 * iconvdata/ibm1046.h: Likewise.
55760 * iconvdata/ibm1097.h: Likewise.
55761 * iconvdata/ibm1112.h: Likewise.
55762 * iconvdata/ibm1122.h: Likewise.
55763 * iconvdata/ibm1123.h: Likewise.
55764 * iconvdata/ibm1124.h: Likewise.
55765 * iconvdata/ibm1129.h: Likewise.
55766 * iconvdata/ibm1130.h: Likewise.
55767 * iconvdata/ibm1132.h: Likewise.
55768 * iconvdata/ibm1133.h: Likewise.
55769 * iconvdata/ibm1137.h: Likewise.
55770 * iconvdata/ibm1140.h: Likewise.
55771 * iconvdata/ibm1141.h: Likewise.
55772 * iconvdata/ibm1142.h: Likewise.
55773 * iconvdata/ibm1143.h: Likewise.
55774 * iconvdata/ibm1144.h: Likewise.
55775 * iconvdata/ibm1145.h: Likewise.
55776 * iconvdata/ibm1146.h: Likewise.
55777 * iconvdata/ibm1147.h: Likewise.
55778 * iconvdata/ibm1148.h: Likewise.
55779 * iconvdata/ibm1149.h: Likewise.
55780 * iconvdata/ibm1153.h: Likewise.
55781 * iconvdata/ibm1154.h: Likewise.
55782 * iconvdata/ibm1155.h: Likewise.
55783 * iconvdata/ibm1156.h: Likewise.
55784 * iconvdata/ibm1157.h: Likewise.
55785 * iconvdata/ibm1158.h: Likewise.
55786 * iconvdata/ibm1160.h: Likewise.
55787 * iconvdata/ibm1161.h: Likewise.
55788 * iconvdata/ibm1162.h: Likewise.
55789 * iconvdata/ibm1163.h: Likewise.
55790 * iconvdata/ibm1164.h: Likewise.
55791 * iconvdata/ibm1166.h: Likewise.
55792 * iconvdata/ibm1167.h: Likewise.
55793 * iconvdata/ibm12712.h: Likewise.
55794 * iconvdata/ibm1390.h: Likewise.
55795 * iconvdata/ibm1399.h: Likewise.
55796 * iconvdata/ibm16804.h: Likewise.
55797 * iconvdata/ibm4517.h: Likewise.
55798 * iconvdata/ibm4899.h: Likewise.
55799 * iconvdata/ibm4909.h: Likewise.
55800 * iconvdata/ibm4971.h: Likewise.
55801 * iconvdata/ibm5347.h: Likewise.
55802 * iconvdata/ibm803.h: Likewise.
55803 * iconvdata/ibm856.h: Likewise.
55804 * iconvdata/ibm901.h: Likewise.
55805 * iconvdata/ibm902.h: Likewise.
55806 * iconvdata/ibm9030.h: Likewise.
55807 * iconvdata/ibm9066.h: Likewise.
55808 * iconvdata/ibm921.h: Likewise.
55809 * iconvdata/ibm922.h: Likewise.
55810 * iconvdata/ibm9448.h: Likewise.
55811 * iconvdata/isiri-3342.h: Likewise.
55812 * iconvdata/jis0201.h: Likewise.
55813 * include/link.h: Likewise.
55814 * include/netdb.h: Likewise.
55815 * inet/check_native.c: Likewise.
55816 * inet/check_pf.c: Likewise.
55817 * inet/getipv4sourcefilter.c: Likewise.
55818 * inet/getnameinfo.c: Likewise.
55819 * inet/getsourcefilter.c: Likewise.
55820 * inet/htonl.c: Likewise.
55821 * inet/setipv4sourcefilter.c: Likewise.
55822 * inet/setsourcefilter.c: Likewise.
55823 * inet/test-inet6_opt.c: Likewise.
55824 * inet/tst-network.c: Likewise.
55825 * locale/C-collate.c: Likewise.
55826 * locale/C-ctype.c: Likewise.
55827 * locale/C-time.c: Likewise.
55828 * locale/C-translit.h: Likewise.
55829 * locale/loadarchive.c: Likewise.
55830 * locale/programs/3level.h: Likewise.
55831 * locale/programs/charmap.c: Likewise.
55832 * locale/programs/charmap.h: Likewise.
55833 * locale/programs/ld-address.c: Likewise.
55834 * locale/programs/ld-collate.c: Likewise.
55835 * locale/programs/ld-ctype.c: Likewise.
55836 * locale/programs/ld-identification.c: Likewise.
55837 * locale/programs/ld-measurement.c: Likewise.
55838 * locale/programs/ld-messages.c: Likewise.
55839 * locale/programs/ld-monetary.c: Likewise.
55840 * locale/programs/ld-name.c: Likewise.
55841 * locale/programs/ld-numeric.c: Likewise.
55842 * locale/programs/ld-paper.c: Likewise.
55843 * locale/programs/ld-telephone.c: Likewise.
55844 * locale/programs/ld-time.c: Likewise.
55845 * locale/programs/linereader.c: Likewise.
55846 * locale/programs/locale.c: Likewise.
55847 * locale/programs/locarchive.c: Likewise.
55848 * locale/programs/locfile.h: Likewise.
55849 * locale/programs/repertoire.c: Likewise.
55850 * locale/programs/simple-hash.c: Likewise.
55851 * locale/programs/simple-hash.h: Likewise.
55852 * malloc/memusage.c: Likewise.
55853 * malloc/memusagestat.c: Likewise.
55854 * nis/nis_defaults.c: Likewise.
55855 * nis/nis_hash.c: Likewise.
55856 * nis/nis_print.c: Likewise.
55857 * nis/nis_xdr.c: Likewise.
55858 * nscd/connections.c: Likewise.
55859 * nscd/hstcache.c: Likewise.
55860 * nscd/nscd_gethst_r.c: Likewise.
55861 * nscd/nscd_getserv_r.c: Likewise.
55862 * nscd/nscd_helper.c: Likewise.
55863 * nscd/servicescache.c: Likewise.
55864 * nss/makedb.c: Likewise.
55865 * nss/nss_db/db-XXX.c: Likewise.
55866 * nss/nss_db/db-initgroups.c: Likewise.
55867 * nss/nss_db/db-netgrp.c: Likewise.
55868 * nss/nss_files/files-network.c: Likewise.
55869 * nss/nss_files/files-parse.c: Likewise.
55870 * posix/bug-regex5.c: Likewise.
55871 * posix/fnmatch_loop.c: Likewise.
55872 * posix/regcomp.c: Likewise.
55873 * posix/regexec.c: Likewise.
55874 * posix/tst-rfc3484-2.c: Likewise.
55875 * posix/tst-rfc3484-3.c: Likewise.
55876 * posix/tst-rfc3484.c: Likewise.
55877 * resolv/nss_dns/dns-canon.c: Likewise.
55878 * resolv/nss_dns/dns-network.c: Likewise.
55879 * resolv/res_init.c: Likewise.
55880 * resolv/res_mkquery.c: Likewise.
55881 * resolv/tst-aton.c: Likewise.
55882 * stdlib/cxa_atexit.c: Likewise.
55883 * stdlib/cxa_finalize.c: Likewise.
55884 * stdlib/gen-fpioconst.c: Likewise.
55885 * stdlib/strtol_l.c: Likewise.
55886 * string/tst-endian.c: Likewise.
55887 * sunrpc/auth_des.c: Likewise.
55888 * sunrpc/clnt_udp.c: Likewise.
55889 * sunrpc/rtime.c: Likewise.
55890 * sunrpc/svcauth_des.c: Likewise.
55891 * sunrpc/xdr.c: Likewise.
55892 * sunrpc/xdr_intXX_t.c: Likewise.
55893 * sunrpc/xdr_rec.c: Likewise.
55894 * sysdeps/generic/ldconfig.h: Likewise.
55895 * sysdeps/generic/ldsodefs.h: Likewise.
55896 * sysdeps/generic/memusage.h: Likewise.
55897 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55898 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
55899 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
55900 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55901 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55902 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55903 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55904 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55905 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55906 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55907 * sysdeps/posix/getaddrinfo.c: Likewise.
55908 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55909 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55910 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55911 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55912 * sysdeps/powerpc/test-gettimebase.c: Likewise.
55913 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
55914 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
55915 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
55916 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
55917 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
55918 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55919 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55920 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
55921 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
55922 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
55923 * sysdeps/x86_64/dl-tls.h: Likewise.
55924 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
55925 * time/alt_digit.c: Likewise.
55926 * time/era.c: Likewise.
55927 * wcsmbs/tst-c16c32-1.c: Likewise.
55928
55929 2013-05-16 Joseph Myers <joseph@codesourcery.com>
55930
55931 * math/libm-test.inc (struct test_sincos_data): New type.
55932 (RUN_TEST_LOOP_sincos): New macro.
55933 (sincos_test_data): New variable.
55934 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
55935
55936 2013-05-16 Richard Henderson <rth@redhat.com>
55937
55938 * math/atest-exp2.c (LIMB64): New macro.
55939 (CONSTSZ): New macro.
55940 (mp_exp1, mp_exp_m1, mp_log2): New variables.
55941 (hexdig): Move ...
55942 (print_mpn_fp): ... to function scope.
55943 (read_mpn_hex): Remove.
55944 (get_log2): Remove.
55945 (exp2_mpn): Use mp_log2.
55946 (main): Use mp_exp1.
55947
55948 2013-05-16 Joseph Myers <joseph@codesourcery.com>
55949
55950 * math/libm-test.inc: Remove comment about not testing "inexact"
55951 exceptions.
55952 (INEXACT_EXCEPTION): New macro.
55953 (NO_INEXACT_EXCEPTION): Likewise.
55954 (INVALID_EXCEPTION_OK): Update value.
55955 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55956 (OVERFLOW_EXCEPTION_OK): Likewise.
55957 (UNDERFLOW_EXCEPTION_OK): Likewise.
55958 (IGNORE_ZERO_INF_SIGN): Likewise.
55959 (ERRNO_UNCHANGED): Likewise.
55960 (ERRNO_EDOM): Likewise.
55961 (ERRNO_ERANGE): Likewise.
55962 (test_exceptions): Handle testing "inexact" exceptions.
55963 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
55964 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
55965 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
55966 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
55967 INEXACT_EXCEPTION.
55968 (rint_towardzero_test_data): Likewise.
55969 (rint_downward_test_data): Likewise.
55970 (rint_upward_test_data): Likewise.
55971
55972 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
55973 with OVERFLOW_EXCEPTION.
55974 (exp10_test_data): Likewise.
55975 (exp2_test_data): Likewise.
55976 (expm1_test_data): Likewise.
55977 (lgamma_test_data): Likewise.
55978 (pow_test_data): Likewise.
55979 (tgamma_test_data): Likewise.
55980 (yn_test_data): Remove duplicate test of overflow.
55981
55982 * math/libm-test.inc (struct test_cc_c_data): New type.
55983 (RUN_TEST_LOOP_cc_c): New macro.
55984 (cpow_test_data): New variable.
55985 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
55986
55987 * math/libm-test.inc (struct test_f_L_data): New type.
55988 (RUN_TEST_LOOP_f_L): New macro.
55989 (llrint_test_data): New variable.
55990 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
55991 (llrint_tonearest_test_data): New variable.
55992 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
55993 (llrint_towardzero_test_data): New variable.
55994 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
55995 (llrint_downward_test_data): New variable.
55996 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
55997 (llrint_upward_test_data): New variable.
55998 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
55999 (llround_test_data): New variable.
56000 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
56001
56002 2013-05-13 Peter Collingbourne <pcc@google.com>
56003
56004 * math/atest-exp2.c (get_log2): Remove const attribute.
56005
56006 2013-05-15 Joseph Myers <joseph@codesourcery.com>
56007
56008 * math/libm-test.inc (struct test_f_l_data): New type.
56009 (RUN_TEST_LOOP_f_l): New macro.
56010 (lrint_test_data): New variable.
56011 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
56012 (lrint_tonearest_test_data): New variable.
56013 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
56014 (lrint_towardzero_test_data): New variable.
56015 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
56016 (lrint_downward_test_data): New variable.
56017 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
56018 (lrint_upward_test_data): New variable.
56019 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
56020 (lround_test_data): New variable.
56021 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
56022
56023 2013-05-15 Peter Collingbourne <pcc@google.com>
56024
56025 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
56026 (EXTRACT_WORDS64) Use where appropriate.
56027 (INSERT_WORDS64) Likewise.
56028
56029 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
56030 constraints with x constraints.
56031 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
56032
56033 * malloc/obstack.c (_obstack_compat): Add initializer.
56034
56035 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
56036
56037 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
56038 si_trapno and add si_addr_lsb to _sifields.sigfault.
56039 (si_trapno): Remove macro.
56040 (si_addr_lsb): Define new macro.
56041 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56042
56043 2013-05-15 Joseph Myers <joseph@codesourcery.com>
56044
56045 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
56046 instead of TEST_f_l.
56047 (llrint_test_tonearest): Likewise.
56048 (llrint_test_towardzero): Likewise.
56049 (llrint_test_downward): Likewise.
56050 (llrint_test_upward): Likewise.
56051 (llround_test): Likewise.
56052
56053 * math/libm-test.inc (struct test_f_i_data): Add comment.
56054 (RUN_TEST_LOOP_f_b): New macro.
56055 (RUN_TEST_LOOP_f_b_tg): Likewise.
56056 (finite_test_data): New variable.
56057 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
56058 (isfinite_test_data): New variable.
56059 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56060 (isinf_test_data): New variable.
56061 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56062 (isnan_test_data): New variable.
56063 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56064 (isnormal_test_data): New variable.
56065 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56066 (issignaling_test_data): New variable.
56067 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56068 (signbit_test_data): New variable.
56069 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56070
56071 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
56072 with INVALID_EXCEPTION.
56073 (acosh_test_data): Likewise.
56074 (asin_test_data): Likewise.
56075 (atanh_test_data): Likewise.
56076 (fmod_test_data): Likewise.
56077 (log_test_data): Likewise.
56078 (log10_test_data): Likewise.
56079 (log2_test_data): Likewise.
56080 (pow_test_data): Likewise.
56081 (sqrt_test_data): Likewise.
56082 (y0_test_data): Likewise.
56083 (y1_test_data): Likewise.
56084 (yn_test_data): Likewise.
56085
56086 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
56087 function contents.
56088
56089 * math/libm-test.inc (struct test_ff_i_data): New type.
56090 (RUN_TEST_LOOP_ff_i_tg): New macro.
56091 (isgreater_test_data): New variable.
56092 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56093 (isgreaterequal_test_data): New variable.
56094 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56095 (isless_test_data): New variable.
56096 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56097 (islessequal_test_data): New variable.
56098 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56099 (islessgreater_test_data): New variable.
56100 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56101 (isunordered_test_data): New variable.
56102 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56103
56104 2013-05-14 David S. Miller <davem@davemloft.net>
56105
56106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56107
56108 2013-05-14 Joseph Myers <joseph@codesourcery.com>
56109
56110 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
56111
56112 * math/libm-test.inc (struct test_fF_f1_data): Change type of
56113 extra_test to int.
56114 (struct test_f_i_data): Change type of max_ulp to int.
56115
56116 * math/libm-test.inc (test_ffI_f1_data): New type.
56117 (RUN_TEST_LOOP_ffI_f1): New macro.
56118 (remquo_test_data): New variable.
56119 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
56120
56121 * setjmp/tst-setjmp-fp.c: New file.
56122 * setjmp/Makefile (tests): Add tst-setjmp-fp.
56123 (link-libm): New variable.
56124 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
56125
56126 * math/libm-test.inc (struct test_f_i_data): New type.
56127 (RUN_TEST_LOOP_f_i): New macro.
56128 (RUN_TEST_LOOP_f_i_tg): Likewise.
56129 (fpclassify_test_data): New variable.
56130 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
56131 (ilogb_test_data): New variable.
56132 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
56133
56134 * math/libm-test.inc (scalbln_test): Correct function name in END
56135 call.
56136
56137 * math/libm-test.inc (struct test_f_f1_data): Add comment.
56138 (RUN_TEST_LOOP_fI_f1): New macro.
56139 (frexp_test_data): New variable.
56140 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
56141
56142 * math/libm-test.inc (struct test_fF_f1_data): New type.
56143 (RUN_TEST_LOOP_fF_f1): New macro.
56144 (modf_test_data): New variable.
56145 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
56146
56147 * math/libm-test.inc (struct test_f_f1_data): New type.
56148 (RUN_TEST_LOOP_f_f1): New macro.
56149 (gamma_test_data): New variable.
56150 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56151 (lgamma_test_data): New variable.
56152 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56153
56154 2013-05-13 Carlos O'Donell <carlos@redhat.com>
56155
56156 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
56157 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
56158 (main): Comment "tls" pseudo-hwcap.
56159
56160 2013-05-13 Joseph Myers <joseph@codesourcery.com>
56161
56162 * math/libm-test.inc (struct test_fl_f_data): New type.
56163 (RUN_TEST_LOOP_fl_f): New variable.
56164 (scalbln_test_data): New variable.
56165 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
56166
56167 * math/libm-test.inc (struct test_fi_f_data): New type.
56168 (RUN_TEST_LOOP_fi_f): New macro.
56169 (ldexp_test_data): New variable.
56170 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
56171 (scalbn_test_data): New variable.
56172 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
56173
56174 * math/libm-test.inc (struct test_c_f_data): New type.
56175 (RUN_TEST_LOOP_c_f): New macro.
56176 (cabs_test_data): New variable.
56177 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
56178 (carg_test_data): New variable.
56179 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
56180 (cimag_test_data): New variable.
56181 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
56182 (creal_test_data): New variable.
56183 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
56184
56185 * math/libm-test.inc (struct test_if_f_data): New type.
56186 (RUN_TEST_LOOP_if_f): New macro.
56187 (jn_test_data): New variable.
56188 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
56189 (yn_test_data): New variable.
56190 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
56191
56192 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
56193
56194 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56195
56196 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
56197 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
56198
56199 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
56200
56201 * benchtests/Makefile (CPPFLAGS-nonlib): Add
56202 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
56203 (bench-deps): Add bench-timing.h.
56204 * benchtests-bench-skeleton.c: Include bench-timing.h.
56205 (main): Use TIMING_* macros instead of clock_gettime.
56206 * benchtests/bench-timing.h: New file.
56207
56208 [BZ #14582]
56209 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
56210 Renamed from _LIB_VERSION.
56211 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
56212
56213 2013-05-12 Joseph Myers <joseph@codesourcery.com>
56214
56215 * math/libm-test.inc (struct test_fff_f_data): New type.
56216 (RUN_TEST_LOOP_fff_f): New macro.
56217 (fma_test_data): New variable.
56218 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
56219 (fma_towardzero_test_data): New variable.
56220 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
56221 (fma_downward_test_data): New variable.
56222 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
56223 (fma_upward_test_data): New variable.
56224 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
56225
56226 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
56227 (struct test_c_c_data): New type.
56228 (RUN_TEST_LOOP_c_c): New macro.
56229 (cacos_test_data): New variable.
56230 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
56231 (cacosh_test_data): New variable.
56232 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
56233 (casin_test_data): New variable.
56234 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
56235 (casinh_test_data): New variable.
56236 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
56237 (catan_test_data): New variable.
56238 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
56239 (catanh_test_data): New variable.
56240 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
56241 (ccos_test_data): New variable.
56242 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
56243 (ccosh_test_data): New variable.
56244 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
56245 (cexp_test_data): New variable.
56246 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
56247 (clog_test_data): New variable.
56248 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
56249 (clog10_test_data): New variable.
56250 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
56251 (conj_test_data): New variable.
56252 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
56253 (cproj_test_data): New variable.
56254 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
56255 (csin_test_data): New variable.
56256 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
56257 (csinh_test_data): New variable.
56258 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
56259 (csqrt_test_data): New variable.
56260 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
56261 (ctan_test_data): New variable.
56262 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
56263 (ctan_tonearest_test_data): New variable.
56264 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56265 (ctan_towardzero_test_data): New variable.
56266 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56267 (ctan_downward_test_data): New variable.
56268 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56269 (ctan_upward_test_data): New variable.
56270 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56271 (ctanh_test_data): New variable.
56272 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
56273 (ctanh_tonearest_test_data): New variable.
56274 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56275 (ctanh_towardzero_test_data): New variable.
56276 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56277 (ctanh_downward_test_data): New variable.
56278 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56279 (ctanh_upward_test_data): New variable.
56280 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56281 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
56282 of BUILD_COMPLEX.
56283
56284 * math/libm-test.inc (struct test_ff_f_data): New type.
56285 (struct test_ff_f_data_nexttoward): Likewise.
56286 (RUN_TEST_LOOP_2_f): New macro.
56287 (RUN_TEST_LOOP_ff_f): Likewise.
56288 (atan2_test_data): New variable.
56289 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
56290 (copysign_test_data): New variable.
56291 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
56292 (fdim_test_data): New variable.
56293 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
56294 (fmax_test_data): New variable.
56295 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
56296 (fmin_test_data): New variable.
56297 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
56298 (fmod_test_data): New variable.
56299 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
56300 (hypot_test_data): New variable.
56301 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
56302 (nextafter_test_data): New variable.
56303 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
56304 (nexttoward_test_data): New variable.
56305 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
56306 (pow_test_data): New variable.
56307 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
56308 (pow_tonearest_test_data): New variable.
56309 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
56310 (pow_towardzero_test_data): New variable.
56311 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
56312 (pow_downward_test_data): New variable.
56313 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
56314 (pow_upward_test_data): New variable.
56315 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
56316 (remainder_test_data): New variable.
56317 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
56318 (scalb_test_data): New variable.
56319 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
56320 * sysdeps/i386/fpu/libm-test-ulps: Update.
56321
56322 2013-05-11 Joseph Myers <joseph@codesourcery.com>
56323
56324 * math/libm-test.inc (fma_test): Use max_value instead of local
56325 variable fltmax.
56326 (nextafter_test): Likewise.
56327
56328 * math/libm-test.inc (acos_towardzero_test_data): New variable.
56329 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56330 (acos_downward_test_data): New variable.
56331 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56332 (acos_upward_test_data): New variable.
56333 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56334 (acosh_test_data): New variable.
56335 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
56336 (asin_test_data): New variable.
56337 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
56338 (asin_tonearest_test_data): New variable.
56339 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56340 (asin_towardzero_test_data): New variable.
56341 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56342 (asin_downward_test_data): New variable.
56343 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56344 (asin_upward_test_data): New variable.
56345 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56346 (asinh_test_data): New variable.
56347 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
56348 (atan_test_data): New variable.
56349 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
56350 (atanh_test_data): New variable.
56351 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
56352 (cbrt_test_data): New variable.
56353 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
56354 (ceil_test_data): New variable.
56355 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
56356 (cos_test_data): New variable.
56357 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
56358 (cos_tonearest_test_data): New variable.
56359 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56360 (cos_towardzero_test_data): New variable.
56361 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56362 (cos_downward_test_data): New variable.
56363 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56364 (cos_upward_test_data): New variable.
56365 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56366 (cosh_test_data): New variable.
56367 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
56368 (cosh_tonearest_test_data): New variable.
56369 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56370 (cosh_towardzero_test_data): New variable.
56371 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56372 (cosh_downward_test_data): New variable.
56373 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56374 (cosh_upward_test_data): New variable.
56375 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56376 (erf_test_data): New variable.
56377 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
56378 (erfc_test_data): New variable.
56379 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
56380 (exp_test_data): New variable.
56381 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
56382 (exp_tonearest_test_data): New variable.
56383 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56384 (exp_towardzero_test_data): New variable.
56385 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56386 (exp_downward_test_data): New variable.
56387 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56388 (exp_upward_test_data): New variable.
56389 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56390 (exp10_test_data): New variable.
56391 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
56392 (exp2_test_data): New variable.
56393 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
56394 (expm1_test_data): New variable.
56395 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
56396 (fabs_test_data): New variable.
56397 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
56398 (floor_test_data): New variable.
56399 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
56400 (j0_test_data): New variable.
56401 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
56402 (j1_test_data): New variable.
56403 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
56404 (log_test_data): New variable.
56405 (log_test): Run tests with RUN_TEST_LOOP_f_f.
56406 (log10_test_data): New variable.
56407 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
56408 (log1p_test_data): New variable.
56409 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
56410 (log2_test_data): New variable.
56411 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
56412 (logb_test_data): New variable.
56413 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
56414 (logb_downward_test_data): New variable.
56415 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56416 (nearbyint_test_data): New variable.
56417 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
56418 (rint_test_data): New variable.
56419 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
56420 (rint_tonearest_test_data): New variable.
56421 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56422 (rint_towardzero_test_data): New variable.
56423 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56424 (rint_downward_test_data): New variable.
56425 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56426 (rint_upward_test_data): New variable.
56427 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56428 (round_test_data): New variable.
56429 (round_test): Run tests with RUN_TEST_LOOP_f_f.
56430 (sin_test_data): New variable.
56431 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
56432 (sin_tonearest_test_data): New variable.
56433 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56434 (sin_towardzero_test_data): New variable.
56435 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56436 (sin_downward_test_data): New variable.
56437 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56438 (sin_upward_test_data): New variable.
56439 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56440 (sinh_test_data): New variable.
56441 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
56442 (sinh_tonearest_test_data): New variable.
56443 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56444 (sinh_towardzero_test_data): New variable.
56445 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56446 (sinh_downward_test_data): New variable.
56447 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56448 (sinh_upward_test_data): New variable.
56449 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56450 (sqrt_test_data): New variable.
56451 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
56452 (tan_test_data): New variable.
56453 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
56454 (tan_tonearest_test_data): New variable.
56455 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56456 (tan_towardzero_test_data): New variable.
56457 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56458 (tan_downward_test_data): New variable.
56459 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56460 (tan_upward_test_data): New variable.
56461 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56462 (tanh_test_data): New variable.
56463 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
56464 (tgamma_test_data): New variable.
56465 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
56466 (trunc_test_data): New variable.
56467 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
56468 (y0_test_data): New variable.
56469 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
56470 (y1_test_data): New variable.
56471 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
56472 (significand_test_data): New variable.
56473 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
56474
56475 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
56476
56477 [BZ #12387]
56478 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
56479
56480 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
56481
56482 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
56483
56484 2013-05-10 Andreas Jaeger <aj@suse.de>
56485
56486 [BZ #15448]
56487 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
56488 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
56489
56490 2013-05-10 Joseph Myers <joseph@codesourcery.com>
56491
56492 * math/gen-libm-test.pl (adjust_arg): New function.
56493 (special_functions): Handle generating output in both functions
56494 and arrays.
56495 (parse_args): Likewise.
56496 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
56497 $in_func argument to parse_args.
56498 * math/libm-test.inc (struct test_f_f_data): New type.
56499 (IF_ROUND_INIT_): New macro.
56500 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
56501 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
56502 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
56503 (IF_ROUND_INIT_FE_UPWARD): Likewise.
56504 (ROUND_RESTORE_): Likewise.
56505 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
56506 (ROUND_RESTORE_FE_TONEAREST): Likewise.
56507 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
56508 (ROUND_RESTORE_FE_UPWARD): Likewise.
56509 (RUN_TEST_LOOP_f_f): New macro.
56510 (acos_test_data): New variable.
56511 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
56512 (acos_tonearest_test_data): New variable.
56513 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56514
56515 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
56516
56517 * benchtests/bench-skeleton.c (startup): Fix coding style.
56518
56519 2013-05-10 Joseph Myers <joseph@codesourcery.com>
56520
56521 [BZ #6809]
56522 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
56523 negative infinity argument.
56524 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
56525 negative infinity argument.
56526 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
56527 negative infinity argument.
56528 * math/libm-test.inc (tgamma_test): Expect errno to be set for
56529 domain errors.
56530
56531 2013-05-10 Florian Weimer <fweimer@redhat.com>
56532
56533 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
56534 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
56535 * iconv/iconv_prog.c (main): Likewise.
56536 * locale/programs/charmap-dir.c (charmap_readdir)
56537 (fopen_uncompressed): Likewise.
56538 * locale/programs/locfile.c (siblings_uncached)
56539 (write_locale_data): Use lstat64 instead of lstat.
56540 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
56541 stat.
56542
56543 2013-05-10 Andreas Jaeger <aj@suse.de>
56544
56545 [BZ #15395]
56546 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
56547 localization.
56548 Include <locale.h>.
56549
56550 2013-05-09 Carlos O'Donell <carlos@redhat.com>
56551
56552 * elf/dl-close.c (_dl_close_worker): Add comments.
56553
56554 2013-05-09 Joseph Myers <joseph@codesourcery.com>
56555
56556 [BZ #15359]
56557 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
56558 high part of pi/2.
56559 (__ieee754_rem_pio2l): Update comments.
56560
56561 [BZ #15429]
56562 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
56563 high part of pi/2.
56564 (__ieee754_rem_pio2l): Update comments.
56565
56566 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
56567 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
56568
56569 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
56570 M_PI_4l.
56571
56572 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
56573 (M_PI_34_LOG10El): Likewise.
56574 (M_PI2_LOG10El): Likewise.
56575 (M_PI4_LOG10El): Likewise.
56576 (M_PI_LOG10El): Likewise.
56577
56578 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56579
56580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56581
56582 2013-05-08 Joseph Myers <joseph@codesourcery.com>
56583
56584 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
56585 (MINUS_ZERO_INIT): Likewise.
56586 (PLUS_INFTY_INIT): Likewise.
56587 (MINUS_INFTY_INIT): Likewise.
56588 (QNAN_VALUE_INIT): Likewise.
56589 (MAX_VALUE_INIT): Likewise.
56590 (MIN_VALUE_INIT): Likewise.
56591 (MIN_SUBNORM_VALUE_INIT): Likewise.
56592 (plus_zero): Initialize with PLUS_ZERO_INIT.
56593 (minus_zero): Initialize with MINUS_ZERO_INIT.
56594 (plus_infty): Initialize with PLUS_INFTY_INIT.
56595 (minus_infty): Initialize with MINUS_INFTY_INIT.
56596 (qnan_value): Initialize with QNAN_VALUE_INIT.
56597 (max_value): Initialize with MAX_VALUE_INIT.
56598 (min_value): Initialize with MIN_VALUE_INIT.
56599 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
56600
56601 * math/libm-test.inc (RUN_TEST_if_f): New macro.
56602 (jn_test): Use TEST_if_f instead of TEST_ff_f.
56603 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
56604 (yn_test): Use TEST_if_f instead of TEST_ff_f.
56605
56606 * math/libm-test.inc (RUN_TEST_f_f): New macro.
56607 (RUN_TEST_2_f): Likewise.
56608 (RUN_TEST_ff_f): Likewise.
56609 (RUN_TEST_fi_f): Likewise.
56610 (RUN_TEST_fl_f): Likewise.
56611 (RUN_TEST_fff_f): Likewise.
56612 (RUN_TEST_c_f): Likewise.
56613 (RUN_TEST_f_f1): Likewise.
56614 (RUN_TEST_fF_f1): Likewise.
56615 (RUN_TEST_fI_f1): Likewise.
56616 (RUN_TEST_ffI_f1): Likewise.
56617 (RUN_TEST_c_c): Likewise.
56618 (RUN_TEST_cc_c): Likewise.
56619 (RUN_TEST_f_i): Likewise.
56620 (RUN_TEST_f_i_tg): Likewise.
56621 (RUN_TEST_ff_i_tg): Likewise.
56622 (RUN_TEST_f_b): Likewise.
56623 (RUN_TEST_f_b_tg): Likewise.
56624 (RUN_TEST_f_l): Likewise.
56625 (RUN_TEST_f_L): Likewise.
56626 (RUN_TEST_sincos): Likewise.
56627 * math/gen-libm-test.pl (new_test): Take new argument to indicate
56628 whether to show exceptions. Do not include ");\n" in return
56629 value.
56630 (special_functions): Output call to RUN_TEST_sincos instead of
56631 check_float calls. Update calls to new_test.
56632 (parse_args): Output call to single RUN_TEST_* macro instead of
56633 check_* calls and other assignments. Update calls to new_test.
56634
56635 [BZ #2546]
56636 [BZ #2560]
56637 [BZ #5159]
56638 [BZ #15426]
56639 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
56640 input to result for tgamma overflow.
56641 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
56642 (gamma_coeff): New variable.
56643 (NCOEFF): New macro.
56644 (gamma_positive): New function.
56645 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
56646 underflow here. Use gamma_positive instead of exp (lgamma) for
56647 other arguments.
56648 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
56649 (gamma_coeff): New variable.
56650 (NCOEFF): New macro.
56651 (gammaf_positive): New function.
56652 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
56653 underflow here. Use gamma_positive instead of exp (lgamma) for
56654 other arguments.
56655 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
56656 (gamma_coeff): New variable.
56657 (NCOEFF): New macro.
56658 (gammal_positive): New function.
56659 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
56660 underflow here. Use gamma_positive instead of exp (lgamma) for
56661 other arguments.
56662 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
56663 (gamma_coeff): New variable.
56664 (NCOEFF): New macro.
56665 (gammal_positive): New function.
56666 (__ieee754_gammal_r): Handle positive infinity, overflow and
56667 underflow here. Handle NaN the same as positive infinity. Remove
56668 check x < 0xffffffff for negative integers. Use gamma_positive
56669 instead of exp (lgamma) for other arguments.
56670 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
56671 (gamma_coeff): New variable.
56672 (NCOEFF): New macro.
56673 (gammal_positive): New function.
56674 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
56675 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
56676 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
56677 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
56678 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
56679 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
56680 * sysdeps/generic/math_private.h (__gamma_productf): New
56681 prototype.
56682 (__gamma_product): Likewise.
56683 (__gamma_productl): Likewise.
56684 * math/Makefile (libm-calls): Add gamma_product.
56685 * math/libm-test.inc (tgamma_test): Add more tests.
56686 * sysdeps/i386/fpu/libm-test-ulps: Update.
56687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56688
56689 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
56690
56691 * benchtests/bench-skeleton.c (main): Preheat CPU.
56692
56693 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
56694
56695 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
56696
56697 2013-05-07 Roland McGrath <roland@hack.frob.com>
56698
56699 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
56700 and _dl_skip_args_internal.
56701
56702 2013-05-07 Carlos O'Donell <carlos@redhat.com>
56703
56704 * manual/message.texi (Message Translation): Talk about users.
56705 Message to key mapping impacts design.
56706
56707 2013-05-06 Roland McGrath <roland@hack.frob.com>
56708
56709 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
56710
56711 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
56712
56713 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
56714 * sysdeps/wordsize-64/glob64.c: ... here.
56715
56716 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
56717 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
56718 New macros.
56719
56720 * debug/getlogin_r_chk.c: Moved to ...
56721 * login/getlogin_r_chk.c: ... here.
56722 * debug/Makefile (routines): Move getlogin_r_chk to ...
56723 * login/Makefile (routines): ... here.
56724 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
56725 * login/Versions (libc: GLIBC_2.4): ... here.
56726
56727 * io/poll.c (__poll): Renamed from poll.
56728 Add libc_hidden_def.
56729 (poll): Define as weak alias.
56730
56731 * debug/ptsname_r_chk.c: Moved to ...
56732 * login/ptsname_r_chk.c: ... here.
56733 * debug/Makefile (routines): Move ptsname_r_chk to ...
56734 * login/Makefile (routines): ... here.
56735 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
56736 * login/Versions (libc: GLIBC_2.4): ... here.
56737
56738 * posix/getlogin.c: Moved to ...
56739 * login/getlogin.c: ... here.
56740 * posix/getlogin_r.c: Moved to ...
56741 * login/getlogin_r.c: ... here.
56742 * posix/getlogin_r.c: Moved to ...
56743 * login/getlogin_r.c: ... here.
56744 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
56745 * login/Makefile (routines): ... here.
56746 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
56747 * login/Versions (libc: GLIBC_2.0): ... here.
56748
56749 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
56750 (setrlimit): Define as weak alias.
56751
56752 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
56753 Call __ names for open, ftruncate, and close.
56754 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
56755 (truncate): Define as weak alias.
56756
56757 2013-05-06 Joseph Myers <joseph@codesourcery.com>
56758
56759 * math/gen-libm-test.pl (parse_args): Initialize x before each
56760 test of frexp, modf and remquo.
56761
56762 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
56763 test signgam value.
56764
56765 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56766
56767 [BZ #15418]
56768 [BZ #15419]
56769 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
56770 internal tests.
56771 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56772
56773 2013-05-06 Roland McGrath <roland@hack.frob.com>
56774
56775 * elf/dl-writev.h: New file.
56776 * elf/dl-misc.c: Include it.
56777 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
56778 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
56779
56780 2013-05-04 Joseph Myers <joseph@codesourcery.com>
56781
56782 * math/libm-test.inc (noXFails): Remove variable.
56783 (noXPasses): Likewise.
56784 (BUILD_COMPLEX_INT): Remove macro.
56785 (print_screen): Remove xfail argument.
56786 (print_screen_max_error): Likewise.
56787 (update_stats): Likewise.
56788 (print_max_error): Likewise. Update calls to other affected
56789 functions.
56790 (print_complex_max_error): Likewise.
56791 (test_single_exception): Update calls to print_screen.
56792 (test_single_errno): Likewise.
56793 (check_float_internal): Remove xfail argument. Update calls to
56794 other affected functions.
56795 (check_float): Likewise.
56796 (check_complex): Likewise.
56797 (check_int): Likewise.
56798 (check_long): Likewise.
56799 (check_bool): Likewise.
56800 (check_longlong): Likewise.
56801 (main): Don't print noXFails and noXPasses.
56802 * math/gen-libm-test.pl (top level): Don't mention expected
56803 failure handling in comment.
56804 (new_test): Don't handle expected failures.
56805 (parse_args): Don't mention expected failure handling in comment.
56806 (generate_testfile): Don't handle expected failures.
56807 (parse_ulps): Likewise.
56808 (print_ulps_file): Likewise.
56809 (get_failure): Remove function.
56810 (output_test): Don't handle expected failures.
56811 * make/README.libm-test: Don't mention expected failure handling.
56812
56813 * math/libm-test.inc (plus_zero): Make const. Add initializer.
56814 (minus_zero): Likewise.
56815 (plus_infty): Likewise.
56816 (minus_infty): Likewise.
56817 (qnan_value): Likewise.
56818 (max_value): Likewise.
56819 (min_value): Likewise.
56820 (min_subnorm_value): Likewise.
56821 (initialize): Do not initialize those variables dynamically.
56822
56823 2013-05-03 Roland McGrath <roland@hack.frob.com>
56824
56825 * io/open.c (__open_2): Moved to ...
56826 * io/open_2.c: ... this new file.
56827 * io/open64.c (__open64_2): Moved to ...
56828 * io/open64_2.c: ... this new file.
56829 * io/openat.c (__openat_2): Moved to ...
56830 * io/openat_2.c: ... this new file.
56831 * io/openat64.c (__openat64_2): Moved to ...
56832 * io/openat64_2.c: ... this new file.
56833 * io/Makefile (routines): Add them.
56834 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
56835 * sysdeps/unix/sysv/linux/open_2.c: File removed.
56836 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
56837 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
56838 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
56839 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
56840 (__openat64): Add hidden_ver.
56841 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
56842 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
56843
56844 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
56845 Separately conditionalize setting of GLRO(dl_sysinfo) so
56846 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
56847 as well, but the actual setting is only under [NEED_DL_SYSINFO].
56848
56849 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56850
56851 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
56852 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
56853 definition.
56854 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
56855 * sysdeps/unix/sysv/linux/powerpc/init-first.c
56856 (_libc_vdso_platform_setup): Add __vdso_time initialization.
56857 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
56858 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
56859
56860 2013-05-03 Joseph Myers <joseph@codesourcery.com>
56861
56862 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
56863 test signgam value.
56864
56865 * math/libm-test.inc (hypot_test): Do not use
56866 IGNORE_ZERO_INF_SIGN.
56867
56868 2013-05-03 Andreas Jaeger <aj@suse.de>
56869
56870 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
56871 Linux 3.9.
56872 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
56873 (PF_MAX): Adjust for VSOCK change.
56874
56875 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56876
56877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56878
56879 2013-05-02 Carlos O'Donell <carlos@redhat.com>
56880
56881 [BZ #15264]
56882 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
56883 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
56884 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
56885
56886 2013-05-02 David S. Miller <davem@davemloft.net>
56887
56888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56889
56890 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
56891
56892 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
56893
56894 2013-05-01 Roland McGrath <roland@hack.frob.com>
56895
56896 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
56897
56898 2013-05-01 Richard Smith <richard@metafoo.co.uk>
56899
56900 [BZ #14952]
56901 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
56902 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
56903 Use __attribute__ ((__gnu_inline__)).
56904 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
56905 Don't use __attribute__ ((__gnu_inline__)).
56906
56907 2013-05-01 Joseph Myers <joseph@codesourcery.com>
56908
56909 [BZ #15423]
56910 * math/s_catan.c (__catan): Handle small real or imaginary part of
56911 input specially to avoid spurious underflow.
56912 * math/s_catanf.c (__catanf): Likewise.
56913 * math/s_catanh.c (__catanh): Likewise.
56914 * math/s_catanhf.c (__catanhf): Likewise.
56915 * math/s_catanhl.c (__catanhl): Likewise.
56916 * math/s_catanl.c (__catanl): Likewise.
56917 * math/libm-test.inc (catan_test): Add more tests.
56918 (catanh_test): Likewise.
56919 * sysdeps/i386/fpu/libm-test-ulps: Update.
56920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56921
56922 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56923
56924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56925
56926 2013-04-30 Joseph Myers <joseph@codesourcery.com>
56927
56928 [BZ #15416]
56929 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
56930 accurately for denominator in atan2.
56931 * math/s_catanf.c (__catanf): Likewise.
56932 * math/s_catanh.c (__catanh): Likewise.
56933 * math/s_catanhf.c (__catanhf): Likewise.
56934 * math/s_catanhl.c (__catanhl): Likewise.
56935 * math/s_catanl.c (__catanl): Likewise.
56936 * math/libm-test.inc (catan_test): Add more tests.
56937 (catanh_test): Likewise.
56938 * sysdeps/i386/fpu/libm-test-ulps: Update.
56939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56940
56941 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
56942
56943 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
56944
56945 * benchtests/Makefile (bench): Remove slow benchmarks.
56946 * benchtests/atan-inputs: Add slow benchmark inputs.
56947 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
56948 (BENCH_FUNC): Accept variant offset.
56949 (VARIANT): Define.
56950 * benchtests/bench-skeleton.c (main): Run benchmark for each
56951 variant.
56952 * benchtests/cos-inputs: Add slow benchmark inputs.
56953 * benchtests/exp-inputs: Likewise.
56954 * benchtests/pow-inputs: Likewise.
56955 * benchtests/sin-inputs: Likewise.
56956 * benchtests/slowatan-inputs: Remove.
56957 * benchtests/slowatan.c: Remove.
56958 * benchtests/slowcos-inputs: Remove.
56959 * benchtests/slowcos.c: Remove.
56960 * benchtests/slowexp-inputs: Remove.
56961 * benchtests/slowexp.c: Remove.
56962 * benchtests/slowpow-inputs: Remove.
56963 * benchtests/slowpow.c: Remove.
56964 * benchtests/slowsin-inputs: Remove.
56965 * benchtests/slowsin.c: Remove.
56966 * benchtests/slowtan-inputs: Remove.
56967 * benchtests/slowtan.c: Remove.
56968 * benchtests/tan-inputs: Add slow benchmark inputs.
56969 * scripts/bench.pl: Parse comments and directives.
56970
56971 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
56972 in CPPFLAGS.
56973 ($(objpfx)bench-%.c): Remove *-ITER.
56974 * benchtests/bench-modf.c: Remove definition of ITER.
56975 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
56976 (main): Loop for DURATION seconds instead of fixed number of
56977 iterations.
56978 * scripts/bench.pl: Don't expect iterations in parameters.
56979
56980 2013-04-29 Roland McGrath <roland@hack.frob.com>
56981
56982 * io/fchdir.c (__fchdir): Renamed from fchdir.
56983 (fchdir): Define as weak alias.
56984
56985 2013-04-29 Joseph Myers <joseph@codesourcery.com>
56986
56987 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
56988 (ERRNO_EDOM): Likewise.
56989 (ERRNO_ERANGE): Likewise.
56990 (noErrnoTests): New variable.
56991 (init_max_error): Set errno to 0.
56992 (test_single_errno): New function.
56993 (test_errno): Likewise.
56994 (check_float_internal): Call test_errno. Set errno to 0.
56995 (check_complex): Refer to errno tests in comment.
56996 (check_int): Call test_errno. Set errno to 0.
56997 (check_long): Likewise.
56998 (check_bool): Likewise.
56999 (check_longlong): Likewise.
57000 (cos_test): Use ERRNO_* flags for errno tests instead of
57001 check_int.
57002 (expm1_test): Likewise.
57003 (fmod_test): Likewise.
57004 (ilogb_test): Likewise.
57005 (lgamma_test): Likewise.
57006 (pow_test): Likewise.
57007 (remainder_test): Likewise.
57008 (sin_test): Likewise.
57009 (tan_test): Likewise.
57010 (yn_test): Likewise.
57011 (initialize): Set errno to 0.
57012 (main): Print number of errno tests.
57013 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
57014
57015 2013-04-29 Andreas Jaeger <aj@suse.de>
57016
57017 [BZ #15084]
57018 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
57019 and RES_USEVC.
57020
57021 [BZ #15085]
57022 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
57023 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
57024 unimplemented.
57025
57026 [BZ #15380]
57027 * stdlib/random.c (__initstate): Return NULL if
57028 __initstate fails.
57029
57030 [BZ #15086]
57031 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
57032 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
57033 RES_SNGLKUPREOP.
57034
57035 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57036
57037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57038
57039 2013-04-29 Joseph Myers <joseph@codesourcery.com>
57040
57041 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
57042 of individual tests.
57043 (casin_test): Likewise.
57044 (casinh_test): Likewise.
57045
57046 2013-04-27 Joseph Myers <joseph@codesourcery.com>
57047
57048 [BZ #15409]
57049 * math/s_catan.c (__catan): Handle arguments with large real or
57050 imaginary part separately without squaring.
57051 * math/s_catanf.c (__catanf): Likewise.
57052 * math/s_catanh.c (__catanh): Likewise.
57053 * math/s_catanhf.c (__catanhf): Likewise.
57054 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57055 and redefine.
57056 (__catanhl): Handle arguments with large real or imaginary part
57057 separately without squaring.
57058 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57059 and redefine.
57060 (__catanl): Handle arguments with large real or imaginary part
57061 separately without squaring.
57062 * math/libm-test.inc (catan_test): Add more tests.
57063 (catanh_test): Likewise.
57064 * sysdeps/i386/fpu/libm-test-ulps: Update.
57065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57066
57067 2013-04-27 Andreas Jaeger <aj@suse.de>
57068
57069 [BZ #15007]
57070 * stdlib/stdlib.h: Update guards for qecvt.
57071 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
57072 <stdlib.h>.
57073
57074 2013-04-27 Allan McRae <allan@archlinux.org>
57075
57076 * sysdeps/i386/fpu/libm-test-ulps: Update.
57077
57078 2013-04-26 Joseph Myers <joseph@codesourcery.com>
57079
57080 [BZ #15406]
57081 * math/s_catan.c: Include <float.h>.
57082 (__catan): Ensure underflow exception occurs for underflowed
57083 result.
57084 * math/s_catanf.c: Include <float.h>.
57085 (__catanf): Ensure underflow exception occurs for underflowed
57086 result.
57087 * math/s_catanh.c: Include <float.h>.
57088 (__catanh): Ensure underflow exception occurs for underflowed
57089 result.
57090 * math/s_catanhf.c: Include <float.h>.
57091 (__catanhf): Ensure underflow exception occurs for underflowed
57092 result.
57093 * math/s_catanhl.c: Include <float.h>.
57094 (__catanhl): Ensure underflow exception occurs for underflowed
57095 result.
57096 * math/s_catanl.c: Include <float.h>.
57097 (__catanl): Ensure underflow exception occurs for underflowed
57098 result.
57099 * math/libm-test.inc (catan_test): Add more tests.
57100 (catanh_test): Likewise.
57101
57102 [BZ #15405]
57103 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
57104 underflowed result.
57105 * math/s_ccoshf.c (__ccoshf): Likewise.
57106 * math/s_ccoshl.c (__ccoshl): Likewise.
57107 * math/s_csin.c (__csin): Likewise.
57108 * math/s_csinf.c (__csinf): Likewise.
57109 * math/s_csinh.c (__csinh): Likewise.
57110 * math/s_csinhf.c (__csinhf): Likewise.
57111 * math/s_csinhl.c (__csinhl): Likewise.
57112 * math/s_csinl.c (__csinl): Likewise.
57113 * math/libm-test.inc (ccos_test): Add more tests.
57114 (ccosh_test): Likewise.
57115 (csin_test): Likewise.
57116 (csinh_test): Likewise.
57117
57118 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57119
57120 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
57121 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
57122 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
57123 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
57124 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
57125 powerpc/power5+/fpu folders.
57126 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
57127
57128
57129 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
57130
57131 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57132
57133 2013-04-25 Joseph Myers <joseph@codesourcery.com>
57134
57135 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
57136 additions to variable.
57137 [$(config-machine) = x86_64] (modules-names): Likewise.
57138 ($(objpfx)tst-audit3): Remove dependency.
57139 ($(objpfx)tst-audit3.out): Likewise.
57140 ($(objpfx)tst-audit4): Likewise.
57141 ($(objpfx)tst-audit4.out): Likewise.
57142 ($(objpfx)tst-audit5): Likewise.
57143 ($(objpfx)tst-audit5.out): Likewise.
57144 ($(objpfx)tst-audit6): Likewise.
57145 ($(objpfx)tst-audit6.out): Likewise.
57146 ($(objpfx)tst-audit7): Likewise.
57147 ($(objpfx)tst-audit7.out): Likewise.
57148 (tst-audit3-ENV): Remove variable.
57149 (tst-audit4-ENV): Likewise.
57150 (tst-audit5-ENV): Likewise.
57151 (tst-audit6-ENV): Likewise.
57152 (tst-audit7-ENV): Likewise.
57153 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
57154 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
57155 addition to variable.
57156 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
57157 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
57158 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
57159 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
57160 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
57161 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
57162 tst-audit3, tst-audit4 and tst-audit5.
57163 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
57164 tst-audit6 and tst-audit7.
57165 [$(subdir) = elf] (modules-names): Add audit modules for those
57166 tests.
57167 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
57168 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
57169 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
57170 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
57171 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
57172 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
57173 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
57174 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
57175 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
57176 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
57177 [$(subdir) = elf] (tst-audit3-ENV): New variable.
57178 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
57179 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
57180 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
57181 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
57182 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
57183 Likewise.
57184 [$(subdir) = elf && $(config-cflags-avx) = yes]
57185 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
57186 [$(subdir) = elf && $(config-cflags-avx) = yes]
57187 (CFLAGS-tst-auditmod4a.c): Likewise.
57188 [$(subdir) = elf && $(config-cflags-avx) = yes]
57189 (CFLAGS-tst-auditmod4b.c): Likewise.
57190 [$(subdir) = elf && $(config-cflags-avx) = yes]
57191 (CFLAGS-tst-auditmod6b.c): Likewise.
57192 [$(subdir) = elf && $(config-cflags-avx) = yes]
57193 (CFLAGS-tst-auditmod6c.c): Likewise.
57194 [$(subdir) = elf && $(config-cflags-avx) = yes]
57195 (CFLAGS-tst-auditmod7b.c): Likewise.
57196 * elf/tst-audit3.c: Move to ...
57197 * sysdeps/x86_64/tst-audit3.c: ... here.
57198 * elf/tst-audit4.c: Move to ...
57199 * sysdeps/x86_64/tst-audit4.c: ... here.
57200 * elf/tst-audit5.c: Move to ...
57201 * sysdeps/x86_64/tst-audit5.c: ... here.
57202 * elf/tst-audit6.c: Move to ...
57203 * sysdeps/x86_64/tst-audit6.c: ... here.
57204 * elf/tst-audit7.c: Move to ...
57205 * sysdeps/x86_64/tst-audit7.c: ... here.
57206 * elf/tst-auditmod3a.c: Move to ...
57207 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
57208 * elf/tst-auditmod3b.c: Move to ...
57209 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
57210 * elf/tst-auditmod4a.c: Move to ...
57211 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
57212 * elf/tst-auditmod4b.c: Move to ...
57213 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
57214 * elf/tst-auditmod5a.c: Move to ...
57215 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
57216 * elf/tst-auditmod5b.c: Move to ...
57217 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
57218 * elf/tst-auditmod6a.c: Move to ...
57219 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
57220 * elf/tst-auditmod6b.c: Move to ...
57221 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
57222 * elf/tst-auditmod6c.c: Move to ...
57223 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
57224 * elf/tst-auditmod7a.c: Move to ...
57225 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
57226 * elf/tst-auditmod7b.c: Move to ...
57227 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
57228
57229 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
57230
57231 [BZ #15366]
57232 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
57233 define unconditionally.
57234 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
57235 define unconditionally.
57236 (INT8_C, INT16_C, etc.): Likewise.
57237
57238 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
57239
57240 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
57241 __ehdr_start with hidden visibility.
57242
57243 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
57244
57245 2013-04-24 Carlos O'Donell <carlos@redhat.com>
57246
57247 * math/libm-test.inc (cos_test): Use accurate hex constants.
57248 (sincost_test): Likewise.
57249
57250 2013-04-24 Joseph Myers <joseph@codesourcery.com>
57251
57252 * math/libm-test.inc (catan_test): Add more tests.
57253 (catanh_test): Likewise.
57254
57255 * math/s_catanf.c (__catanf): Use suffixed floating-point
57256 constants.
57257 * math/s_catanhf.c (__catanhf): Likewise.
57258 * math/s_catanhl.c (__catanhl): Likewise.
57259 * math/s_catanl.c (__catanl): Likewise.
57260
57261 [BZ #15394]
57262 * math/s_catan.c (__catan): Calculate imaginary part of result
57263 with log1p not log unless computing log of number close to 0.
57264 * math/s_catanf.c (__catanf): Likewise.
57265 * math/s_catanl.c (__catanl): Likewise.
57266 * math/s_catanh.c (__catanh): Calculate real part of result with
57267 log1p not log unless computing log of number close to 0.
57268 * math/s_catanhf.c (__catanhf): Likewise.
57269 * math/s_catanhl.c (__catanhl): Likewise.
57270 * math/libm-test.inc (catan_test): Add more tests.
57271 (catanh_test): Likewise.
57272 * sysdeps/i386/fpu/libm-test-ulps: Update.
57273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57274
57275 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
57276
57277 * benchtests/Makefile: Mention files in which fast and slow
57278 paths of math functions are implemented.
57279
57280 2013-04-23 Roland McGrath <roland@hack.frob.com>
57281
57282 * sysdeps/posix/timespec_get.c: New file.
57283
57284 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57285
57286 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
57287 POWER.
57288 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
57289 for POWER.
57290 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
57291 powerpc/power5/fpu folders.
57292 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
57293 * benchtests/Makefile: Add modf testcase.
57294 * benchtests/bench-modf.c: New file: Benchmark test for mo
57295
57296 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
57297
57298 [BZ #14888]
57299 * time/Makefile (tests): Add tst-strptime-whitespace.
57300 * time/strptime_l.c (get_number): Use ISSPACE.
57301 (__strptime_internal): Likewise.
57302 * time/tst-strptime-whitespace.c: New test case.
57303
57304 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
57305
57306 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
57307 member.
57308 (_nss_files_init): Set it here.
57309
57310 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
57311
57312 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
57313 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
57314 unsigned.
57315
57316 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
57317
57318 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
57319
57320 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
57321
57322 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
57323 size just once.
57324
57325 2013-04-21 David S. Miller <davem@davemloft.net>
57326
57327 * po/ru.po: Update Russion translation from translation project.
57328
57329 2013-04-17 Adam Conrad <adconrad@0c3.net>
57330
57331 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
57332 and setfsgid.
57333
57334 2013-04-17 Carlos O'Donell <carlos@redhat.com>
57335
57336 * configure.in: Remove i386 configure warning. Remove i386 case.
57337 * configure: Regenerate.
57338 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
57339 Add example to error message.
57340 * sysdeps/i386/configure: Regenerate.
57341
57342 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
57343
57344 * benchtests/Makefile (bench): Add cos, tan, slowcos and
57345 slowtan.
57346 * benchtests/cos-inputs: New file.
57347 * benchtests/slowcos-inputs: New file.
57348 * benchtests/slowcos.c: New file.
57349 * benchtests/slowtan-inputs: New file.
57350 * benchtests/slowtan.c: New file.
57351 * benchtests/tan-inputs: New file.
57352
57353 2013-04-16 Roland McGrath <roland@hack.frob.com>
57354
57355 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
57356 considered kosher.
57357
57358 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
57359
57360 * benchtests/Makefile: Include cppflags-iterator.mk to add
57361 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
57362
57363 * Makefile.in (bench-clean): New target.
57364 * benchtests/Makefile (bench-clean): Likewise.
57365
57366 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
57367
57368 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
57369
57370 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
57371
57372 * stdio-common/tstdiomisc.c: Fix coding-style violation.
57373
57374 2013-04-15 Andreas Schwab <schwab@suse.de>
57375
57376 * nscd/grpcache.c (cache_addgr): Properly check for short write.
57377 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57378 * nscd/pwdcache.c (cache_addpw): Likewise.
57379 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
57380 more than recsize.
57381
57382 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
57383
57384 * benchtests/Makefile (bench): Write all output to
57385 bench-out.tmp together.
57386
57387 2013-04-15 Andreas Schwab <schwab@suse.de>
57388
57389 * nscd/nscd.c (main): Don't fork again after closing files.
57390
57391 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
57392
57393 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
57394
57395 * benchtests/Rules (bench-deps): Collect dependencies into a
57396 single variable. Add Makefile to dependencies.
57397 ($(objpfx)bench-%.c): Depend on bench-deps.
57398
57399 2013-04-12 Roland McGrath <roland@hack.frob.com>
57400 Xavier Roche <roche+kml2@exalead.com>
57401
57402 [BZ #15361]
57403 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
57404 just that it's a file descriptor.
57405 * manual/llio.texi (Synchronizing AIO Operations): Update description
57406 for EBADF error from aio_fsync.
57407
57408 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
57409
57410 * Rules (bench): Move target definition...
57411 * benchtests/Makefile: ... here.
57412
57413 2013-04-11 Carlos O'Donell <carlos@redhat.com>
57414
57415 * math/libm-test.inc (cos_test): Fix PI/2 test.
57416 (sincos_test): Likewise.
57417 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
57418 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
57419
57420 2013-04-11 Andreas Schwab <schwab@suse.de>
57421
57422 [BZ #13988]
57423 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
57424 accept exponent character only when digits were seen.
57425 * stdio-common/Makefile (tests): Add bug26.
57426 * stdio-common/bug26.c: New file.
57427
57428 [BZ #14293]
57429 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
57430 non-freeable.
57431
57432 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
57433
57434 * Makeconfig (rtld-prefix): Define built linker prefix.
57435 * Rules (run-bench): Use it.
57436 * math/Makefile (run-regen-ulps): Likewise.
57437
57438 * Rules (bench): Remove eval.
57439
57440 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
57441 Roland McGrath <roland@hack.frob.com>
57442 Ondrej Bilka <neleai@seznam.cz>
57443
57444 [BZ #15346]
57445 * time/getdate.c: Include ctype.h and alloca.h.
57446 (__getdate_r): Trim leading and trailing spaces of input.
57447 * time/tst-getdate.c (tests): Add tests with leading and
57448 trailing spaces.
57449
57450 2013-04-08 Roland McGrath <roland@hack.frob.com>
57451
57452 [BZ #14280]
57453 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
57454 when computing value.
57455
57456 2013-04-06 Carlos O'Donell <carlos@redhat.com>
57457
57458 * math/README.libm-test (How can I generate "libm-test-ulps"?):
57459 Use testrun.sh to run libm tests.
57460
57461 [BZ #15309]
57462 * elf/dl-open.c (dl_open_worker): memset all of seen array.
57463
57464 2013-04-06 Marko Myllynen <myllynen@redhat.com>
57465
57466 [BZ #15264]
57467 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
57468
57469 2013-04-06 Carlos O'Donell <carlos@redhat.com>
57470
57471 * Makefile.in (regen-ulps): New target.
57472 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
57473 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
57474 [ifneq (no,$(PERL)] (regen-ulps): New target.
57475 [ifeq (no,$(PERL)] (regen-ulps): New target.
57476 * math/libm-test.inc (ulps_file_name): Define.
57477 (output_dir): New variable.
57478 (options): Add "output-dir" option.
57479 (parse_opt): Handle 'o' case.
57480 (main): If output_dir is non-NULL use it as a prefix
57481 otherwise use "".
57482 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
57483
57484 2013-04-06 Carlos O'Donell <carlos@redhat.com>
57485
57486 [BZ #10060, #10062]
57487 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
57488 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
57489 fail configure if __sync_val_compare_and_swap is not inlined.
57490 * sysdeps/i386/configure: Regenerate.
57491 * configure.in: Build for i686 when configured for i386.
57492 * configure: Regenerate.
57493 * README: Remove i386 reference.
57494
57495 2013-04-06 Carlos O'Donell <carlos@redhat.com>
57496
57497 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
57498 * sysdeps/s390/s390-64/sysdep.h: Likewise.
57499
57500 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
57501
57502 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
57503 (lmsnanval): New variables.
57504 (F): Add conversion tests.
57505 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
57506 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
57507
57508 * stdio-common/tstdiomisc.c (F): Properly collect individual
57509 tests' results.
57510
57511 [BZ #14686, #15336]
57512 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
57513 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
57514 Instead, use input NaN values or generate a qNaN by arithmetic
57515 operation. Also fix bugs to comply with the standard.
57516 * math/libm-test.inc (remainder_test): Add more tests.
57517
57518 [BZ #15335, #15342]
57519 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
57520 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
57521 input NaN values or generate a qNaN by arithmetic operation.
57522
57523 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
57524 unreachable code.
57525
57526 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
57527 definitions.
57528
57529 2013-04-03 Joseph Myers <joseph@codesourcery.com>
57530
57531 [BZ #14478]
57532 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
57533 underflowed result.
57534 * math/s_cexpf.c (__cexpf): Likewise.
57535 * math/s_cexpl.c (__cexpl): Likewise.
57536 * math/libm-test.inc (cexp_test): Add more tests.
57537
57538 2013-04-03 Andreas Schwab <schwab@suse.de>
57539
57540 [BZ #15330]
57541 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
57542 order arrays from heap if bigger than alloca cutoff.
57543
57544 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
57545
57546 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
57547 (SNAN_TESTS_double): Refer to GCC PR56831.
57548 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
57549 GCC PR56828.
57550
57551 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
57552
57553 * Rules (bench): Move bench.out after the run is complete.
57554
57555 * Rules (bench): Echo currently running benchmark.
57556
57557 * benchtests/Makefile (bench): Add atan and slowatan.
57558 * benchtests/atan-inputs: New file.
57559 * benchtests/slowatan-inputs: New file.
57560 * benchtests/slowatan.c: New file.
57561
57562 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
57563 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
57564 its value.
57565
57566 [BZ #15305]
57567 * sysdeps/unix/sysv/linux/kernel-features.h
57568 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
57569 __ASSUME_XFS_RESTRICTED_CHOWN.
57570 * sysdeps/unix/sysv/linux/pathconf.c
57571 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
57572 Save and restore errno.
57573
57574 2013-04-02 Joseph Myers <joseph@codesourcery.com>
57575
57576 [BZ #15327]
57577 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
57578 arguments using __kernel_casinh.
57579 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
57580 arguments using __kernel_casinhf.
57581 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
57582 arguments using __kernel_casinhl.
57583 * math/libm-test.inc (cacosh_test): Add more tests.
57584 * sysdeps/i386/fpu/libm-test-ulps: Update.
57585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57586
57587 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
57588
57589 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
57590 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
57591
57592 * bench/Makefile (bench): Add sin and slowsin.
57593 * benchtests/sin-inputs: New file.
57594 * benchtests/slowsin-inputs: New file.
57595 * benchtests/slowsin.c: New file.
57596
57597 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
57598 (bench): Add slowexp and slowpow.
57599 (exp-ITER): Increase iterations.
57600 (pow-ITER): Likewise.
57601 * benchtests/exp-inputs: Change input.
57602 * benchtests/pow-inputs: Likewise.
57603 * benchtests/slowexp-inputs: New file.
57604 * benchtests/slowexp.c: New file.
57605 * benchtests/slowpow-inputs: New file.
57606 * benchtests/slowpow.c: New file.
57607
57608 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57609
57610 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
57611 instructions.
57612 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57613 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
57614 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
57615 * benchtests/Makefile: Add rint benchtest.
57616 * benchtests/rint-inputs: Input for rint benchtest.
57617
57618 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
57619
57620 * Versions.def (libm): Add GLIBC_2.18.
57621 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
57622 hidden libm prototypes.
57623 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
57624 * math/Makefile (libm-calls): Add s_issignaling.
57625 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
57626 __issignalingf, __issignalingl. Adjust all libm.abilist files.
57627 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
57628 declaration.
57629 * math/math.h [__USE_GNU] (issignaling): New macro.
57630 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
57631 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
57632 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
57633 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
57634 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
57635 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
57636 * manual/arith.texi (issignaling): New section.
57637 * manual/libm-err-tab.pl (@all_functions): Update comment.
57638 * math/gen-libm-test.pl (parse_args): Apply special handling for
57639 issignaling.
57640 * math/libm-test.inc (print_float, issignaling_test): New
57641 functions.
57642 (check_float_internal): Add issignaling checks.
57643 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
57644 default definition.
57645 * sysdeps/powerpc/math-tests.h: New file.
57646 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
57647 tests.
57648 * math/test-snan.c (TEST_FUNC): Likewise.
57649
57650 2013-03-30 David S. Miller <davem@davemloft.net>
57651
57652 * po/de.po: Update from translation team.
57653
57654 2013-03-30 Joseph Myers <joseph@codesourcery.com>
57655
57656 [BZ #10357]
57657 * math/k_casinh.c (__kernel_casinh): Handle arguments with
57658 imaginary part less than 1.0 and real part less than 0.5
57659 specially.
57660 * math/k_casinhf.c (__kernel_casinhf): Likewise.
57661 * math/k_casinhl.c (__kernel_casinhl): Likewise.
57662 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
57663 (cacos_test): Add more tests.
57664 (casin_test): Likewise.
57665 (casinh_test): Likewise.
57666 * sysdeps/i386/fpu/libm-test-ulps: Update.
57667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57668
57669 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
57670
57671 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
57672 ONE with its value.
57673
57674 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
57675 (__pow_mp): Replace ONE and MONE with their values.
57676 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57677 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
57678 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57679 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
57680 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57681 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57682
57683 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
57684
57685 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
57686 (__pow_mp): Replace ZERO and MZERO with their values.
57687 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
57688 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57689 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57690 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57691 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57692 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
57693 (__sqr): Likewise.
57694
57695 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
57696
57697 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
57698
57699 2013-03-28 Roland McGrath <roland@hack.frob.com>
57700
57701 * include/stdlib.h [!SHARED] (__call_tls_dtors):
57702 Declare with __attribute__ ((weak)).
57703 * stdlib/exit.c (__libc_atexit) [!SHARED]:
57704 Call __call_tls_dtors only if it's not NULL.
57705
57706 2013-03-28 Roland McGrath <roland@hack.frob.com>
57707
57708 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
57709 didn't do it already, then set _dl_phdr and _dl_phnum based on the
57710 magic __ehdr_start linker symbol if it's defined.
57711 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
57712 them up here if it was already done.
57713
57714 * elf/dl-support.c (_dl_phdr): Make pointer to const.
57715 (_dl_aux_init): Use const in cast when setting it.
57716 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
57717 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
57718 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
57719
57720 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
57721 Declare them here.
57722 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
57723 * csu/libc-tls.c: Nor here.
57724 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
57725
57726 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
57727 (__libc_message): Never call vsyslog.
57728
57729 2013-03-28 Alan Modra <amodra@gmail.com>
57730
57731 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
57732 Define as empty.
57733 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
57734 Likewise.
57735
57736 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57737
57738 [BZ #15214]
57739 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
57740 underflow.
57741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57742
57743 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
57744
57745 [BZ #15304]
57746 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57747 Don't add gid passed as argument.
57748
57749 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
57750
57751 2013-03-27 Joseph Myers <joseph@codesourcery.com>
57752
57753 [BZ #15307]
57754 * math/k_casinh.c (__kernel_casinh): Handle arguments with
57755 imaginary part between 1.0 and 1.5 and real part less than 0.5
57756 specially.
57757 * math/k_casinhf.c (__kernel_casinhf): Likewise.
57758 * math/k_casinhl.c (__kernel_casinhl): Likewise.
57759 * math/libm-test.inc (cacos_test): Add more tests.
57760 (casin_test): Likewise.
57761 (casinh_test): Likewise.
57762 * sysdeps/i386/fpu/libm-test-ulps: Update.
57763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57764
57765 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
57766
57767 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
57768 constants.
57769 (norm): Likewise.
57770 (denorm): Likewise.
57771 (__dbl_mp): Likewise.
57772 (add_magnitudes): Likewise.
57773 (sub_magnitudes): Likewise.
57774 (__add): Likewise.
57775 (__sub): Likewise.
57776 (__mul): Likewise.
57777 (__sqr): Likewise.
57778 (__inv): Likewise.
57779 (__dvd): Likewise.
57780
57781 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
57782 commented code.
57783 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
57784 (__dubcos): Likewise.
57785 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
57786 (__ieee754_acos): Likewise.
57787 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
57788 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
57789 (__exp1): Likewise.
57790 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57791 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
57792 (log1): Likewise.
57793 (my_log2): Likewise.
57794 (checkint): Likewise.
57795 * sysdeps/ieee754/dbl-64/e_remainder.c
57796 (__ieee754_remainder): Likewise.
57797 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57798 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
57799 (bsloww): Likewise.
57800 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57801
57802 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
57803 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
57804 MANTISSA_STORE_T to store computations on mantissa. Use
57805 macros for rounding and division.
57806 (denorm): Likewise.
57807 (__dbl_mp): Likewise.
57808 (add_magnitudes): Likewise.
57809 (sub_magnitudes): Likewise.
57810 (__mul): Likewise.
57811 (__sqr): Likewise.
57812 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
57813 powers of two in terms of TWOPOW macro.
57814 (mp_no): Make type of mantissa as MANTISSA_T.
57815 [!RADIXI]: Define RADIXI.
57816 [!TWO52]: Define TWO52.
57817 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
57818
57819 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57820
57821 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
57822 llroundl symbol when building for PPC32.
57823
57824 2013-03-24 Mark H Weaver <mhw@netris.org>
57825
57826 * manual/arith.texi (Normalization Functions): Fix prototypes for
57827 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
57828
57829 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57830
57831 [BZ #13889]
57832 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
57833 high value to check if expl overflow.
57834 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
57835 to check for underflow and overflow.
57836 * math/libm-test.inc: Add exp test.
57837
57838 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
57839
57840 [BZ #11120]
57841 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
57842 with NOT_IN_libc.
57843
57844 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57845
57846 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
57847 symbol.
57848
57849 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
57850
57851 * math/gen-libm-test.pl (parse_args, special_functions): Properly
57852 wrap blocks consisting of several statements.
57853
57854 * sysdeps/generic/math-tests.h: New file.
57855 * sysdeps/i386/fpu/math-tests.h: Likewise.
57856 * math/test-snan.c: Include it.
57857 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
57858
57859 2013-03-21 Joseph Myers <joseph@codesourcery.com>
57860
57861 [BZ #15285]
57862 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
57863 (__ieee754_j0l): Do not improve calculations using cos of twice
57864 input for inputs above LDBL_MAX / 2.0L.
57865 (__ieee754_y0l): Likewise.
57866 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
57867 (__ieee754_j1l): Do not improve calculations using cos of twice
57868 input for inputs above LDBL_MAX / 2.0L.
57869 (__ieee754_y1l): Likewise.
57870 * math/libm-test.inc (j0_test): Add another test.
57871 (j1_test): Likewise.
57872 (y0_test): Likewise.
57873 (y1_test): Likewise.
57874 * sysdeps/i386/fpu/libm-test-ulps: Update.
57875
57876 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
57877
57878 * Rules ($(objpfx)bench-%.c): Include code from a C source
57879 file.
57880
57881 2013-03-21 Joseph Myers <joseph@codesourcery.com>
57882
57883 [BZ #15287]
57884 * math/k_casinh.c (__kernel_casinh): Handle arguments with
57885 imaginary part 1.0 and real part less than 0.5 specially.
57886 * math/k_casinhf.c (__kernel_casinhf): Likewise.
57887 * math/k_casinhl.c (__kernel_casinhl): Likewise.
57888 * math/libm-test.inc (cacos_test): Add more tests.
57889 (casin_test): Likewise.
57890 (casinh_test): Likewise.
57891 * sysdeps/i386/fpu/libm-test-ulps: Update.
57892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57893
57894 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
57895
57896 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
57897 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
57898
57899 2013-03-20 Joseph Myers <joseph@codesourcery.com>
57900
57901 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
57902 * config.make.in (config-cflags-sse4): Remove variable.
57903 (config-cflags-avx): Likewise.
57904 (config-cflags-sse2avx): Likewise.
57905 (config-cflags-novzeroupper): Likewise.
57906 (config-asflags-i686): Likewise.
57907 (have-mfma4): Likewise.
57908 (have-as-vis3): Likewise.
57909 (MIG): Likewise.
57910 * configure.in (MIG): Do not AC_SUBST.
57911 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
57912 (libc_cv_cc_sse4): Do not AC_SUBST.
57913 (libc_cv_cc_avx): Likewise.
57914 (libc_cv_cc_sse2avx): Likewise.
57915 (libc_cv_cc_novzeroupper): Likewise.
57916 (libc_cv_cc_fma4): Likewise.
57917 (libc_cv_as_i686): Likewise.
57918 (libc_cv_sparc_as_vis3): Likewise.
57919 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
57920 LIBC_CONFIG_VAR.
57921 (config-asflags-i686): Likewise.
57922 (config-cflags-avx): Likewise.
57923 (config-cflags-sse2avx): Likewise.
57924 (have-mfma4): Likewise.
57925 (config-cflags-novzeroupper): Likewise.
57926 * sysdeps/mach/configure.in (MIG): Likewise.
57927 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
57928 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
57929 LIBC_CONFIG_VAR.
57930 (config-cflags-avx): Likewise.
57931 (config-cflags-sse2avx): Likewise.
57932 (have-mfma4): Likewise.
57933 (config-cflags-novzeroupper): Likewise.
57934 * configure: Regenerated.
57935 * sysdeps/i386/configure: Likewise.
57936 * sysdeps/mach/configure: Likewise.
57937 * sysdeps/sparc/configure: Likewise.
57938 * sysdeps/x86_64/configure: Likewise.
57939
57940 2013-03-20 Roland McGrath <roland@hack.frob.com>
57941
57942 [BZ #14812]
57943 * locale/programs/localedef.c (options): Put N_ translation marker
57944 on argument names, not just descriptions.
57945
57946 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
57947
57948 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
57949
57950 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
57951
57952 [BZ #14176]
57953 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
57954
57955 2013-03-19 Roland McGrath <roland@hack.frob.com>
57956
57957 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
57958 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
57959 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
57960 [!BEFORE_ABORT] (before_abort): New function.
57961 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
57962 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
57963 (writev_for_fatal): New function.
57964 (WRITEV_FOR_FATAL): New macro; call that.
57965 (backtrace_and_maps): New function.
57966 (BEFORE_ABORT): New macro; call that.
57967 (struct str_list): Type removed.
57968 (__libc_message, __libc_fatal): Functions removed.
57969 Include <sysdeps/posix/libc_fatal.c> instead.
57970
57971 2013-03-19 Joseph Myers <joseph@codesourcery.com>
57972
57973 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
57974 constants.
57975 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
57976 double constants.
57977
57978 2013-03-19 Andreas Schwab <schwab@suse.de>
57979
57980 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
57981 * sysdeps/gnu/configure: Regenerate.
57982
57983 * configure.in: Substitute libc_cv_rtlddir.
57984 * configure: Regenerate.
57985 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
57986 * Makeconfig (rtlddir, inst_rtlddir): New variables.
57987 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
57988 * elf/Makefile (install-others, CFLAGS-interp.c)
57989 (ldso_install, common-ldd-rewrite): Likewise.
57990 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
57991 $(inst_slibdir)/$(rtld-installed-name).
57992 * scripts/rellns-sh: Add -p option.
57993 * Makerules (make-shlib-link): Use rellns-sh to get relative name
57994 for source.
57995
57996 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
57997
57998 * manual/nptl.texi: Renamed to ...
57999 * manual/threads.texi: ... this.
58000 * manual/Makefile (chapters): Update.
58001
58002 2013-03-18 Roland McGrath <roland@hack.frob.com>
58003
58004 [BZ #14812]
58005 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
58006 on argument names, not just descriptions.
58007 * malloc/memusagestat.c (options): Likewise.
58008 * nss/getent.c (options): Likewise.
58009
58010 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
58011
58012 [BZ #14812]
58013 * iconv/iconv_prog.c (options): Put N_ translation marker
58014 on argument names, not just descriptions.
58015 * iconv/iconvconfig.c (options): Likewise.
58016
58017 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
58018
58019 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
58020 implementation which is faster on all x86_64 architectures.
58021 Tested on AMD, Intel Nehalem, SNB, IVB.
58022 * sysdeps/x86_64/strnlen.S: Likewise.
58023
58024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58025 Remove all multiarch strlen and strnlen versions.
58026 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58027 Remove strlen and strnlen related parts.
58028
58029 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
58030 Inline strlen part.
58031 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
58032
58033 * sysdeps/x86_64/multiarch/strlen.S: Remove.
58034 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
58035 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
58036 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
58037 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58038 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
58039
58040 2013-03-17 Carlos O'Donell <carlos@redhat.com>
58041
58042 * manual/memory.texi (Malloc Tunable Parameters):
58043 Sort parameters alphabetically. Add comments for missing entries.
58044
58045 2013-03-17 David S. Miller <davem@davemloft.net>
58046
58047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58048
58049 2013-03-16 Joseph Myers <joseph@codesourcery.com>
58050
58051 [BZ #15283]
58052 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
58053 for arguments at most half maximum finite value.
58054 * math/libm-test.inc (j0_test): Add more tests.
58055 (j1_test): Likewise.
58056 (y0_test): Likewise.
58057 (y1_test): Likewise.
58058 * sysdeps/i386/fpu/libm-test-ulps: Update.
58059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58060
58061 [BZ #14155]
58062 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
58063 1 / x and functions P and Q for arguments above 0x1p256L.
58064 (__ieee754_y0l): Likewise.
58065 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
58066 (__ieee754_y1l): Likewise.
58067 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
58068 (j1_test): Likewise.
58069 (y0_test): Likewise.
58070 (y1_test): Likewise.
58071
58072 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
58073
58074 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
58075 variable.
58076
58077 2013-03-15 Roland McGrath <roland@hack.frob.com>
58078
58079 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
58080 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
58081 zero since it's initialized to EXEC_PAGESIZE.
58082
58083 * sysdeps/unix/sysv/linux/ldsodefs.h
58084 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
58085 * sysdeps/generic/ldsodefs.h: ... here.
58086
58087 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
58088
58089 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
58090
58091 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
58092 math/test-snan.c.
58093 * math/test-snan.c: Renamed from
58094 sysdeps/powerpc/fpu/test-powerpc-snan.c.
58095 * math/Makefile (tests): Add test-snan.
58096 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
58097 test-powerpc-snan.
58098
58099 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
58100 SUFFIX. Initialize qNaN_var with __builtin_nan family of
58101 functions.
58102 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
58103 __builtin_nan family of functions.
58104 * math/libm-test.inc (initialize): Initialize qnan_value with
58105 __builtin_nan family of functions.
58106 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
58107 Remove variables.
58108 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
58109 Remove functions.
58110 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
58111 storage class. Initialize qNaN_var and sNaN_var with
58112 __builtin_nan and __builtin_nans families of functions,
58113 respectively.
58114
58115 * math/libm-test.inc (acosh_test): Also test with qNaN input.
58116 (sqrt_test): Remove duplicate test with qNaN input.
58117 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
58118 (round_test, signbit_test, significand_test): Note missing +/-Inf
58119 as well as qNaN tests.
58120
58121 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
58122 qNaN_var. Fix a few strings, too.
58123 * math/libm-test.inc (nan_value): Rename to qnan_value.
58124 * math/gen-libm-test.pl (%beautify): Adjust to that.
58125 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
58126 * math/test-misc.c (main): Likewise.
58127 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
58128 to __qnan_bytes, and __qnan_union, respectively.
58129 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
58130 Likewise.
58131 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
58132 and lqnanval, respectively.
58133 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
58134 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
58135 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
58136 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
58137
58138 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
58139 * math/test-misc.c (main) [__x86_64__]: Enable test for long
58140 doubles.
58141
58142 * math/test-misc.c (main): Fix copy'n'pastos.
58143 * misc/tst-efgcvt.c (special): Likewise.
58144
58145 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
58146 Remove declarations.
58147
58148 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58149
58150 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
58151 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
58152 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
58153 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
58154
58155 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58156
58157 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
58158 macro to return vdso values correctly in IFUNC implementations.
58159 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58160 Optimization by using IFUNC.
58161
58162 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58163 Richard Henderson <rth@redhat.com>
58164 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
58165
58166 * Makefile.in (bench): New target.
58167 * NEWS: Mention the benchmark framework.
58168 * Rules (bench): Likewise.
58169 (binaries-bench): Generate binaries for functions to
58170 benchmark.
58171 * benchtests/Makefile: New makefile for benchmark tests.
58172 * benchtests/bench-skeleton.c: New skeleton file for benchmark
58173 programs.
58174 * benchtests/exp-inputs: New input file for EXP function.
58175 * benchtests/pow-inputs: New input file for POW function.
58176 * scripts/bench.pl: New script to generate source files for
58177 benchmark programs.
58178
58179 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58180
58181 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58182 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
58183 computations on mantissa. Use macros for rounding and
58184 division.
58185 (denorm): Likewise.
58186 (__dbl_mp): Likewise.
58187 (add_magnitudes): Likewise.
58188 (sub_magnitudes): Likewise.
58189 (__mul): Likewise.
58190 (__sqr): Likewise.
58191 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
58192 powers of two in terms of TWOPOW macro.
58193 (mp_no): Make type of mantissa as MANTISSA_T.
58194 [!RADIXI]: Define RADIXI.
58195 [!TWO52]: Define TWO52.
58196 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58197
58198 * manual/nptl.texi (cindex): Modify threads to pthreads.
58199
58200 2013-03-15 Joseph Myers <joseph@codesourcery.com>
58201
58202 * sysdeps/x86_64/preconfigure: Regenerated.
58203
58204 2013-03-14 Joseph Myers <joseph@codesourcery.com>
58205
58206 [BZ #14155]
58207 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
58208 0x1p28 and above.
58209 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
58210 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
58211 0x1p28 and above.
58212 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
58213 * math/libm-test.inc (j0_test): Do not allow one spurious
58214 underflow exception.
58215 (y1_test): Likewise.
58216
58217 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
58218
58219 * manual/Makefile (chapters): Add nptl.
58220 * manual/debug.texi (Debugging Support): Add link to Threads
58221 chapter.
58222 * manual/nptl.texi: New file.
58223
58224 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
58225
58226 2013-03-14 Petr Baudis <pasky@ucw.cz>
58227
58228 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
58229 for non-NULL pointer before the memory validity test. Pointed
58230 out by Holger Brunck <holger.brunck@keymile.com>.
58231
58232 2013-03-13 Andreas Schwab <schwab@suse.de>
58233
58234 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
58235 instead of .os.
58236
58237 2013-03-13 Joseph Myers <joseph@codesourcery.com>
58238
58239 * timezone/zic.c: Update from tzcode 2013b.
58240
58241 2013-03-12 Carlos O'Donell <carlos@redhat.com>
58242
58243 * manual/install.texi (Configuring and compiling):
58244 Mention i686 and i586.
58245 * INSTALL: Regenerate.
58246
58247 2013-03-12 Roland McGrath <roland@hack.frob.com>
58248
58249 * sysdeps/init_array/elf-init.c: New file.
58250 * csu/elf-init.c
58251 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
58252 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
58253
58254 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
58255 __gmon_start__ as global, but as static with a .preinit_array pointer.
58256 * sysdeps/init_array/gmon-start.c: New file. Use that.
58257 * sysdeps/init_array/crti.S: New file, empty except for comments.
58258 * sysdeps/init_array/crtn.S: Likewise.
58259
58260 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
58261
58262 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
58263 definining bcopy.
58264 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58265 Remove Prefer_SSE_for_memop.
58266 * sysdeps/x86_64/multiarch/init-arch.h: Remove
58267 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
58268 HAS_PREFER_SSE_FOR_MEMOP.
58269 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
58270 memset-x86-64.
58271 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58272 Remove bzero, memset ifunc support.
58273 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
58274 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
58275 * sysdeps/x86_64/multiarch/memset.S: Likewise.
58276 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
58277
58278 2013-03-11 Andreas Schwab <schwab@suse.de>
58279
58280 [BZ #15234]
58281 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
58282 by SHLIB_COMPAT.
58283 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
58284 (GLIBC_2.16): Remove pthread_atfork.
58285
58286 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
58287
58288 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
58289 (ptestcases.h): Likewise.
58290
58291 2013-03-08 Roland McGrath <roland@hack.frob.com>
58292
58293 * Makeconfig ($(common-objpfx)config.status): Depend on
58294 sysdeps/*/preconfigure{,.in} too.
58295
58296 2013-03-08 Joseph Myers <joseph@codesourcery.com>
58297
58298 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
58299 (__free_hook): Use void * instead of __malloc_ptr_t.
58300 (__malloc_hook): Likewise.
58301 (__realloc_hook): Likewise.
58302 (__memalign_hook): Likewise.
58303 (__after_morecore_hook): Likewise.
58304 * malloc/arena.c (save_malloc_hook): Likewise.
58305 (save_free_hook): Likewise.
58306 * malloc/hooks.c (malloc_hook_ini): Likewise.
58307 (realloc_hook_ini): Likewise.
58308 (memalign_hook_ini): Likewise.
58309 * malloc/malloc.c (malloc_hook_ini): Likewise.
58310 (realloc_hook_ini): Likewise.
58311 (memalign_hook_ini): Likewise.
58312 (__free_hook): Likewise.
58313 (__malloc_hook): Likewise.
58314 (__realloc_hook): Likewise.
58315 (__memalign_hook): Likewise.
58316 (__libc_malloc): Likewise.
58317 (__libc_free): Likewise.
58318 (__libc_realloc): Likewise.
58319 (__libc_memalign): Likewise.
58320 (__libc_valloc): Likewise.
58321 (__libc_pvalloc): Likewise.
58322 (__libc_calloc): Likewise.
58323 (__posix_memalign): Likewise.
58324 * malloc/morecore.c (__sbrk): Likewise.
58325 (__default_morecore): Likewise.
58326
58327 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
58328
58329 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
58330 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
58331 __malloc_ptrdiff_t.
58332
58333 * malloc/malloc.h (__malloc_size_t): Remove macro.
58334 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
58335 __malloc_size_t.
58336 (old_memalign_hook): Likewise.
58337 (old_realloc_hook): Likewise.
58338 (struct hdr): Likewise.
58339 (flood): Likewise.
58340 (mallochook): Likewise.
58341 (memalignhook): Likewise.
58342 (reallochook): Likewise.
58343 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
58344 (tr_old_realloc_hook): Likewise.
58345 (tr_old_memalign_hook): Likewise.
58346 (tr_mallochook): Likewise.
58347 (tr_reallochook): Likewise.
58348 (tr_memalignhook): Likewise.
58349
58350 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58351
58352 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
58353 default_ldbl_pack and using as default implementation.
58354 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
58355 implementation.
58356 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
58357 redundant definition.
58358 (ldbl_insert_mantissa): Likewise.
58359 (ldbl_canonicalize): Likewise.
58360 (ldbl_nearbyint): Likewise.
58361 (ldbl_pack): Rename to ldbl_pack_ppc.
58362 (ldbl_unpack): Rename to ldbl_unpack_ppc.
58363 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
58364 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
58365
58366 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
58367
58368 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
58369 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
58370 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
58371 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
58372 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
58373 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
58374 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
58375 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
58376
58377 2013-03-07 Andreas Jaeger <aj@suse.de>
58378
58379 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58380 bits/mman-linux.h.
58381
58382 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
58383
58384 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
58385 Include mpa.h and declare __MPEXP.
58386 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
58387 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
58388 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
58389 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
58390 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
58391 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
58392 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
58393
58394 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
58395 (__slowpow): Use long double EXPL and LOGL functions to
58396 compute POW.
58397 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
58398 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
58399 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
58400 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
58401 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
58402 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
58403
58404 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
58405 intermediate variable to calculate exponent.
58406 (__sqr): Likewise.
58407 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
58408 Likewise.
58409 (__sqr): Likewise.
58410
58411 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
58412 [!NO__SQR]: Define __sqr.
58413 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
58414 and NO__SQR. Remove all code except __mul and __sqr. Include
58415 sysdeps/ieee754/dbl-64/mpa.c.
58416 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58417
58418 [BZ #12723]
58419 * posix/Makefile (tests): Add tst-pathconf.
58420 * posix/tst-pathconf.c: New test case.
58421 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
58422 _PC_PIPE_BUF.
58423 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
58424
58425 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
58426
58427 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
58428
58429 2013-03-06 Andreas Jaeger <aj@suse.de>
58430
58431 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
58432 definition via __MAP_ANONYMOUS.
58433
58434 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
58435 it's not part of Linux headers.
58436
58437 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
58438 (MAP_HUGE_MASK): Define.
58439
58440 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58441 Define.
58442 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58443 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58444 Define.
58445 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58446 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58447 Define.
58448 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58449 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
58450 Define.
58451 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58452
58453 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
58454 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
58455 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
58456 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
58457 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
58458 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
58459
58460 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
58461 Handle f2fs.
58462
58463 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58464 Handle f2fs and efivarfs.
58465
58466 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
58467 f2fs.
58468
58469 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
58470 (EFIVARFS_MAGIC): Add.
58471 (F2FS_LINK_MAX): Add.
58472
58473 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
58474
58475 * stdio-common/vfprintf.c: Replace __builtin_expect with
58476 __glibc_unlikely.
58477
58478 2013-03-06 Joseph Myers <joseph@codesourcery.com>
58479
58480 [BZ #13550]
58481 * sysdeps/generic/bp-sym.h: Remove file.
58482 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
58483 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
58484 <bp-sym.h> and <bp-asm.h>.
58485 (__longjmp): Don't use BP_SYM.
58486 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
58487 and <bp-asm.h>.
58488 (memcpy): Don't use BP_SYM.
58489 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
58490 <bp-sym.h> and <bp-asm.h>.
58491 (memcpy): Don't use BP_SYM.
58492 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
58493 <bp-asm.h>.
58494 (memcpy): Don't use BP_SYM.
58495 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
58496 <bp-asm.h>.
58497 (memset): Don't use BP_SYM.
58498 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58499 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58500 (__bzero): Don't use BP_SYM.
58501 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58502 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58503 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
58504 <bp-sym.h> and <bp-asm.h>.
58505 (memcmp): Don't use BP_SYM. Remove comment about bounded
58506 pointers.
58507 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
58508 <bp-sym.h> and <bp-asm.h>.
58509 (memcpy): Don't use BP_SYM.
58510 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
58511 <bp-sym.h> and <bp-asm.h>.
58512 (memset): Don't use BP_SYM.
58513 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58514 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58515 (__bzero): Don't use BP_SYM.
58516 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58517 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58518 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
58519 <bp-sym.h> and <bp-asm.h>.
58520 (strncmp): Don't use BP_SYM. Remove comment about bounded
58521 pointers.
58522 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
58523 <bp-sym.h> and <bp-asm.h>.
58524 (memcpy): Don't use BP_SYM.
58525 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
58526 <bp-sym.h> and <bp-asm.h>.
58527 (memset): Don't use BP_SYM.
58528 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58529 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58530 (__bzero): Don't use BP_SYM.
58531 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58532 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58533 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
58534 <bp-sym.h> and <bp-asm.h>.
58535 (__memchr): Don't use BP_SYM.
58536 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
58537 <bp-sym.h> and <bp-asm.h>.
58538 (memcmp): Don't use BP_SYM. Remove comment about bounded
58539 pointers.
58540 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
58541 <bp-sym.h> and <bp-asm.h>.
58542 (memcpy): Don't use BP_SYM.
58543 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
58544 <bp-sym.h> and <bp-asm.h>.
58545 (__mempcpy): Don't use BP_SYM.
58546 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
58547 <bp-sym.h> and <bp-asm.h>.
58548 (__memrchr): Don't use BP_SYM.
58549 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
58550 <bp-sym.h> and <bp-asm.h>.
58551 (memset): Don't use BP_SYM.
58552 (__bzero): Likewise.
58553 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
58554 <bp-sym.h> and <bp-asm.h>.
58555 (__rawmemchr): Don't use BP_SYM.
58556 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
58557 <bp-sym.h> and <bp-asm.h>.
58558 (__STRCMP): Don't use BP_SYM.
58559 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
58560 <bp-sym.h> and <bp-asm.h>.
58561 (strchr): Don't use BP_SYM.
58562 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
58563 <bp-sym.h> and <bp-asm.h>.
58564 (__strchrnul): Don't use BP_SYM.
58565 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
58566 <bp-sym.h> and <bp-asm.h>.
58567 (strlen): Don't use BP_SYM.
58568 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
58569 <bp-sym.h> and <bp-asm.h>.
58570 (strncmp): Don't use BP_SYM. Remove comment about bounded
58571 pointers.
58572 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
58573 <bp-sym.h> and <bp-asm.h>.
58574 (__strnlen): Don't use BP_SYM.
58575 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
58576 <bp-sym.h> and <bp-asm.h>.
58577 (__GI__setjmp): Don't use BP_SYM.
58578 (_setjmp): Likewise.
58579 (__sigsetjmp): Likewise.
58580 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
58581 (L(start_addresses)): Don't use BP_SYM.
58582 (_start): Likewise.
58583 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
58584 <bp-asm.h>.
58585 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
58586 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
58587 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58588 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58589 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
58590 <bp-asm.h>.
58591 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
58592 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
58593 about bounded pointers.
58594 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58595 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58596 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
58597 <bp-asm.h>.
58598 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
58599 about bounded pointers. Remove GKM FIXME comments.
58600 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58601 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
58602 <bp-asm.h>.
58603 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
58604 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
58605 Remove GKM FIXME comments.
58606 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58607 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58608 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
58609 <bp-asm.h>.
58610 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
58611 about bounded pointers. Remove GKM FIXME comment.
58612 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
58613 and <bp-asm.h>.
58614 (strncmp): Don't use BP_SYM. Remove comment about bounded
58615 pointers.
58616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
58617 <bp-sym.h> and <bp-asm.h>.
58618 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
58619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
58620 <bp-sym.h> and <bp-asm.h>.
58621 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
58622 comment.
58623
58624 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58625
58626 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
58627 call free(NULL).
58628
58629 2013-03-05 David S. Miller <davem@davemloft.net>
58630
58631 * po/es.po: Update from translation team.
58632
58633 2013-03-05 Andreas Jaeger <aj@suse.de>
58634
58635 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
58636 <bits/mman-linux.h>.
58637 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58638 is fine.
58639 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
58640 <bits/mman-linux.h> to end of file.
58641 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58642 is fine.
58643 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
58644 <bits/mman-linux.h> to end of file.
58645 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58646 is fine.
58647 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
58648 <bits/mman-linux.h> to end of file.
58649
58650 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
58651 (MCL_CURRENT, MCL_FUTURE): Define here.
58652
58653 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58654
58655 [BZ #15232]
58656 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
58657 attribute_hidden.
58658 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58659
58660 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58661
58662 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
58663 fourth parameter needed for rt_sigprocmask syscall.
58664 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
58665 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
58666 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
58667 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
58668 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
58669 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
58670
58671 2013-03-04 Joseph Myers <joseph@codesourcery.com>
58672
58673 [BZ #13550]
58674 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
58675 comment about bounded pointers.
58676 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
58677 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
58678
58679 2013-03-04 Andreas Jaeger <aj@suse.de>
58680
58681 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
58682 common definitions.
58683
58684 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
58685 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
58686 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
58687 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58688 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58689 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58690
58691 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58692
58693 [BZ #15055]
58694 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
58695 __ieee754_sqrl instead of __sqrl.
58696
58697 2013-03-01 Joseph Myers <joseph@codesourcery.com>
58698
58699 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
58700 * sysdeps/powerpc/fpu_control.h: ... here.
58701 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
58702 * sysdeps/powerpc/bits/fenvinline.h: ... here.
58703 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
58704 * sysdeps/powerpc/bits/mathinline.h: ... here.
58705
58706 2013-03-01 Roland McGrath <roland@hack.frob.com>
58707
58708 * elf/dl-hwcaps.c (_dl_important_hwcaps):
58709 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
58710 to just [NEED_DL_SYSINFO_DSO].
58711 * elf/dl-support.c: Likewise.
58712 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
58713 * elf/rtld.c (dl_main): Likewise.
58714 * elf/setup-vdso.h (setup_vdso): Likewise.
58715 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
58716 * sysdeps/unix/sysv/linux/dl-sysdep.c
58717 (_dl_discover_osversion): Likewise.
58718
58719 2013-03-01 Carlos O'Donell <carlos@redhat.com>
58720
58721 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
58722 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
58723
58724 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
58725
58726 * NEWS: Mention libm performance improvements and non-x86 PI
58727 futex support.
58728
58729 * csu/libc-start.c (__pthread_initialize_minimal): Change
58730 function arguments.
58731 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
58732
58733 2013-02-28 Joseph Myers <joseph@codesourcery.com>
58734
58735 [BZ #13550]
58736 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
58737 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
58738 <bp-sym.h> and <bp-asm.h>.
58739 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58740 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
58741 and <bp-asm.h>.
58742 (memcpy): Don't use BP_SYM.
58743 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
58744 <bp-asm.h>.
58745 (__mpn_add_n): Don't use BP_SYM.
58746 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
58747 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
58748 and <bp-asm.h>.
58749 (__mpn_addmul_1): Don't use BP_SYM.
58750 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58751 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
58752 <bp-sym.h>.
58753 (_setjmp): Don't use BP_SYM.
58754 (__novmx_setjmp): Likewise.
58755 (__GI__setjmp): Likewise.
58756 (__vmx_setjmp): Likewise.
58757 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
58758 <bp-sym.h>.
58759 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
58760 (__bzero): Don't use BP_SYM.
58761 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58762 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58763 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
58764 <bp-sym.h> and <bp-asm.h>.
58765 (memcpy): Don't use BP_SYM.
58766 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
58767 <bp-sym.h> and <bp-asm.h>.
58768 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58769 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
58770 <bp-sym.h> and <bp-asm.h>.
58771 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58772 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
58773 <bp-asm.h>.
58774 (__mpn_lshift): Don't use BP_SYM.
58775 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58776 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
58777 <bp-asm.h>.
58778 (memset): Don't use BP_SYM.
58779 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58780 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58781 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
58782 <bp-asm.h>.
58783 (__mpn_mul_1): Don't use BP_SYM.
58784 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58785 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
58786 <bp-sym.h> and <bp-asm.h>.
58787 (memcmp): Don't use BP_SYM.
58788 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
58789 <bp-sym.h> and <bp-asm.h>.
58790 (memcpy): Don't use BP_SYM.
58791 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
58792 <bp-sym.h> and <bp-asm.h>.
58793 (memset): Don't use BP_SYM.
58794 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
58795 <bp-sym.h> and <bp-asm.h>.
58796 (strncmp): Don't use BP_SYM.
58797 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
58798 <bp-sym.h> and <bp-asm.h>.
58799 (memcpy): Don't use BP_SYM.
58800 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
58801 <bp-sym.h> and <bp-asm.h>.
58802 (memset): Don't use BP_SYM.
58803 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
58804 <bp-sym.h> and <bp-asm.h>.
58805 (__memchr): Don't use BP_SYM.
58806 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
58807 <bp-sym.h> and <bp-asm.h>.
58808 (memcmp): Don't use BP_SYM.
58809 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
58810 <bp-sym.h> and <bp-asm.h>.
58811 (memcpy): Don't use BP_SYM.
58812 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
58813 <bp-sym.h> and <bp-asm.h>.
58814 (__mempcpy): Don't use BP_SYM.
58815 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
58816 <bp-sym.h> and <bp-asm.h>.
58817 (__memrchr): Don't use BP_SYM.
58818 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
58819 <bp-sym.h> and <bp-asm.h>.
58820 (memset): Don't use BP_SYM.
58821 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
58822 <bp-sym.h> and <bp-asm.h>.
58823 (__rawmemchr): Don't use BP_SYM.
58824 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
58825 <bp-sym.h> and <bp-asm.h>.
58826 (__STRCMP): Don't use BP_SYM.
58827 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
58828 <bp-sym.h> and <bp-asm.h>.
58829 (strchr): Don't use BP_SYM.
58830 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
58831 <bp-sym.h> and <bp-asm.h>.
58832 (__strchrnul): Don't use BP_SYM.
58833 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
58834 <bp-sym.h> and <bp-asm.h>.
58835 (strlen): Don't use BP_SYM.
58836 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
58837 <bp-sym.h> and <bp-asm.h>.
58838 (strncmp): Don't use BP_SYM.
58839 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
58840 <bp-sym.h> and <bp-asm.h>.
58841 (__strnlen): Don't use BP_SYM.
58842 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
58843 <bp-asm.h>.
58844 (__mpn_rshift): Don't use BP_SYM.
58845 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58846 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
58847 <bp-sym.h> and <bp-asm.h>.
58848 (__sigsetjmp): Don't use BP_SYM.
58849 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
58850 (L(start_addresses)): Don't use BP_SYM.
58851 (_start): Likewise.
58852 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
58853 <bp-asm.h>.
58854 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
58855 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58856 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58857 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
58858 <bp-asm.h>.
58859 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
58860 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58861 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58862 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
58863 <bp-asm.h>.
58864 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
58865 comments.
58866 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58867 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
58868 <bp-asm.h>.
58869 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
58870 FIXME comments.
58871 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58872 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58873 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
58874 <bp-asm.h>.
58875 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
58876 comment.
58877 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
58878 and <bp-asm.h>.
58879 (strncmp): Don't use BP_SYM,
58880 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
58881 <bp-asm.h>.
58882 (__mpn_sub_n): Don't use BP_SYM.
58883 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58884 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
58885 and <bp-asm.h>.
58886 (__mpn_submul_1): Don't use BP_SYM.
58887 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
58889 <bp-sym.h> and <bp-asm.h>.
58890 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
58891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
58892 <bp-sym.h> and <bp-asm.h>.
58893 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
58894 comment.
58895
58896 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
58897
58898 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
58899 Use ZK to minimize writes to Z.
58900 (sub_magnitudes): Simplify code a bit.
58901 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
58902 Use ZK to minimize writes to Z.
58903 (sub_magnitudes): Simplify code a bit.
58904
58905 2013-02-27 Roland McGrath <roland@hack.frob.com>
58906
58907 * csu/gmon-start.c: Add special exception to license text.
58908
58909 2013-02-27 Richard Henderson <rth@redhat.com>
58910
58911 * scripts/config.guess: Update from config.git.
58912 * scripts/config.sub: Likewise.
58913
58914 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
58915
58916 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
58917
58918 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
58919
58920 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
58921
58922 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
58923
58924 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
58925
58926 2013-02-26 Roland McGrath <roland@hack.frob.com>
58927
58928 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
58929 [$(build-shared = yes].
58930
58931 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
58932
58933 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
58934 (__mul): Reduce iterations for calculating mantissa.
58935
58936 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
58937 MPTWO.
58938 (__mpranred): Likewise.
58939
58940 [BZ #15160]
58941 * malloc/memusagestat.c (main): Draw graphs for heap and stack
58942 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
58943
58944 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
58945
58946 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
58947 Define __attribute__.
58948
58949 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
58950
58951 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
58952 unused.
58953 * posix/regex_internal.h (__attribute): Remove.
58954 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
58955 (re_string_context_at): Likewise.
58956 (bitset_not): Use __attribute__ and mark function as possibly
58957 unused.
58958 (bitset_merge): Likewise.
58959 (bitset_mask): Likewise.
58960 (re_string_char_size_at): Likewise.
58961 (re_string_wchar_at): Likewise.
58962 (re_string_elem_size_at): Likewise.
58963
58964 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
58965
58966 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
58967 code.
58968 (cc32): Likewise.
58969
58970 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
58971 (__acr): Likewise.
58972 (__cpy): Likewise.
58973 (norm): Likewise.
58974 (denorm): Likewise.
58975 (__dbl_mp): Likewise.
58976 (add_magnitudes): Likewise.
58977 (sub_magnitudes): Likewise.
58978 (__mul): Likewise.
58979 (__inv): Likewise.
58980
58981 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
58982 style.
58983
58984 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
58985 style.
58986
58987 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
58988 code.
58989
58990 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
58991 up changes with default code.
58992 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
58993 Likewise.
58994
58995 2013-02-24 Allan McRae <allan@archlinux.org>
58996
58997 * manual/socket.texi (The Internet Namespace): Order menu items
58998 to match that in the file.
58999
59000 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
59001 node listing of the info page menu.
59002
59003 2013-02-21 Joseph Myers <joseph@codesourcery.com>
59004
59005 [BZ #13550]
59006 * sysdeps/i386/bp-asm.h: Remove file.
59007 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59008 (PARMS): Do not use macros from bp-asm.h.
59009 (S1): Likewise.
59010 (S2): Likewise.
59011 (SIZE): Likewise.
59012 (__mpn_add_n): Do not use BP_SYM
59013 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
59014 "bp-asm.h".
59015 (PARMS): Do not use macros from bp-asm.h.
59016 (S1): Likewise.
59017 (SIZE): Likewise.
59018 (__mpn_addmul_1): Do not use BP_SYM
59019 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
59020 "bp-asm.h".
59021 (PARMS): Do not use macros from bp-asm.h.
59022 (SIGMSK): Likewise.
59023 (_setjmp): Likewise. Do not use BP_SYM.
59024 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
59025 "bp-asm.h".
59026 (PARMS): Do not use macros from bp-asm.h.
59027 (SIGMSK): Likewise.
59028 (setjmp): Likewise. Do not use BP_SYM.
59029 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
59030 "bp-asm.h".
59031 (PARMS): Do not use macros from bp-asm.h.
59032 (__frexp): Do not use BP_SYM.
59033 (frexp): Likewise.
59034 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
59035 "bp-asm.h".
59036 (PARMS): Do not use macros from bp-asm.h.
59037 (__frexpf): Do not use BP_SYM.
59038 (frexpf): Likewise.
59039 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
59040 "bp-asm.h".
59041 (PARMS): Do not use macros from bp-asm.h.
59042 (__frexpl): Do not use BP_SYM.
59043 (frexpl): Likewise.
59044 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
59045 "bp-asm.h".
59046 (PARMS): Do not use macros from bp-asm.h.
59047 (__remquo): Do not use BP_SYM.
59048 (remquo): Likewise.
59049 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
59050 "bp-asm.h".
59051 (PARMS): Do not use macros from bp-asm.h.
59052 (__remquof): Do not use BP_SYM.
59053 (remquof): Likewise.
59054 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
59055 "bp-asm.h".
59056 (PARMS): Do not use macros from bp-asm.h.
59057 (__remquol): Do not use BP_SYM.
59058 (remquol): Likewise.
59059 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
59060 "bp-asm.h".
59061 (PARMS): Do not use macros from bp-asm.h.
59062 (DEST): Likewise.
59063 (SRC): Likewise.
59064 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
59065 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
59066 "bp-asm.h".
59067 (PARMS): Do not use macros from bp-asm.h.
59068 (strlen): Do not use BP_SYM.
59069 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
59070 "bp-asm.h".
59071 (PARMS): Do not use macros from bp-asm.h.
59072 (S1): Likewise.
59073 (S2): Likewise.
59074 (SIZE): Likewise.
59075 (__mpn_add_n): Do not use BP_SYM.
59076 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
59077 "bp-asm.h".
59078 (PARMS): Do not use macros from bp-asm.h.
59079 (S1): Likewise.
59080 (SIZE): Likewise.
59081 (__mpn_addmul_1): Do not use BP_SYM.
59082 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
59083 weak_alias.
59084 (bzero): Likewise.
59085 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
59086 "bp-asm.h".
59087 (PARMS): Do not use macros from bp-asm.h.
59088 (S): Likewise.
59089 (SIZE): Likewise.
59090 (__mpn_lshift): Do not use BP_SYM.
59091 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
59092 "bp-asm.h".
59093 (PARMS): Do not use macros from bp-asm.h.
59094 (DEST): Likewise.
59095 (SRC): Likewise.
59096 (LEN): Likewise.
59097 (memcpy): Likewise. Do not use BP_SYM.
59098 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
59099 libc_hidden_def and weak_alias.
59100 (mempcpy): Do not use BP_SYM in weak_alias.
59101 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
59102 "bp-asm.h".
59103 (PARMS): Do not use macros from bp-asm.h.
59104 (DEST): Likewise.
59105 (LEN): Likewise.
59106 [!BZERO_P] (CHR): Likewise.
59107 (memset): Likewise. Do not use BP_SYM.
59108 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
59109 "bp-asm.h".
59110 (PARMS): Do not use macros from bp-asm.h.
59111 (S1): Likewise.
59112 (SIZE): Likewise.
59113 (__mpn_mul_1): Do not use BP_SYM.
59114 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
59115 "bp-asm.h".
59116 (PARMS): Do not use macros from bp-asm.h.
59117 (S): Likewise.
59118 (SIZE): Likewise.
59119 (__mpn_rshift): Do not use BP_SYM.
59120 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
59121 "bp-asm.h".
59122 (PARMS): Do not use macros from bp-asm.h.
59123 (STR): Likewise.
59124 (CHR): Likewise.
59125 (strchr): Likewise. Do not use BP_SYM.
59126 (index): Do not use BP_SYM in weak_alias.
59127 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
59128 "bp-asm.h".
59129 (PARMS): Do not use macros from bp-asm.h.
59130 (DEST): Likewise.
59131 (SRC): Likewise.
59132 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
59133 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
59134 "bp-asm.h".
59135 (PARMS): Do not use macros from bp-asm.h.
59136 (strlen): Do not use BP_SYM.
59137 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
59138 "bp-asm.h".
59139 (PARMS): Do not use macros from bp-asm.h.
59140 (S1): Likewise.
59141 (S2): Likewise.
59142 (SIZE): Likewise.
59143 (__mpn_sub_n): Do not use BP_SYM.
59144 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
59145 "bp-asm.h".
59146 (PARMS): Do not use macros from bp-asm.h.
59147 (S1): Likewise.
59148 (SIZE): Likewise.
59149 (__mpn_submul_1): Do not use BP_SYM.
59150 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
59151 "bp-asm.h".
59152 (PARMS): Do not use macros from bp-asm.h.
59153 (S1): Likewise.
59154 (S2): Likewise.
59155 (SIZE): Likewise.
59156 (__mpn_add_n): Do not use BP_SYM.
59157 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
59158 weak_alias.
59159 (bzero): Likewise.
59160 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
59161 "bp-asm.h".
59162 (PARMS): Do not use macros from bp-asm.h.
59163 (BLK2): Likewise.
59164 (LEN): Likewise.
59165 (memcmp): Do not use BP_SYM.
59166 (bcmp): Do not use BP_SYM in weak_alias.
59167 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
59168 "bp-asm.h".
59169 (PARMS): Do not use macros from bp-asm.h.
59170 (DEST): Likewise.
59171 (SRC): Likewise.
59172 (LEN): Likewise.
59173 (memcpy): Likewise. Do not use BP_SYM.
59174 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
59175 "bp-asm.h".
59176 (PARMS): Do not use macros from bp-asm.h.
59177 (DEST): Likewise.
59178 (SRC): Likewise.
59179 (LEN): Likewise.
59180 (memmove): Likewise. Do not use BP_SYM.
59181 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
59182 "bp-asm.h".
59183 (PARMS): Do not use macros from bp-asm.h.
59184 (DEST): Likewise.
59185 (SRC): Likewise.
59186 (LEN): Likewise.
59187 (__mempcpy): Likewise. Do not use BP_SYM.
59188 (mempcpy): Do not use BP_SYM in weak_alias.
59189 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
59190 "bp-asm.h".
59191 (PARMS): Do not use macros from bp-asm.h.
59192 (DEST): Likewise.
59193 (LEN): Likewise.
59194 [!BZERO_P] (CHR): Likewise.
59195 (memset): Likewise. Do not use BP_SYM.
59196 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
59197 "bp-asm.h".
59198 (PARMS): Do not use macros from bp-asm.h.
59199 (STR2): Likewise.
59200 (strcmp): Do not use BP_SYM.
59201 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
59202 "bp-asm.h".
59203 (PARMS): Do not use macros from bp-asm.h.
59204 (STR): Likewise.
59205 (DELIM): Likewise.
59206 [USE_AS_STRTOK_R] (SAVE): Likewise.
59207 (FUNCTION): Likewise. Do not use BP_SYM.
59208 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
59209 aliases.
59210 (strtok_r): Likewise.
59211 (__GI___strtok_r): Likewise.
59212 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59213 (PARMS): Do not use macros from bp-asm.h.
59214 (S): Likewise.
59215 (SIZE): Likewise.
59216 (__mpn_lshift): Do not use BP_SYM.
59217 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59218 (PARMS): Do not use macros from bp-asm.h.
59219 (STR): Likewise.
59220 (CHR): Likewise.
59221 (__memchr): Do not use BP_SYM.
59222 (memchr): Do not use BP_SYM in weak_alias.
59223 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59224 (PARMS): Do not use macros from bp-asm.h.
59225 (BLK2): Likewise.
59226 (LEN): Likewise.
59227 (memcmp): Do not use BP_SYM.
59228 (bcmp): Do not use BP_SYM in weak_alias.
59229 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
59230 (PARMS): Do not use macros from bp-asm.h.
59231 (S1): Likewise.
59232 (SIZE): Likewise.
59233 (__mpn_mul_1): Do not use BP_SYM.
59234 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
59235 "bp-asm.h".
59236 (PARMS): Do not use macros from bp-asm.h.
59237 (STR): Likewise.
59238 (CHR): Likewise.
59239 (__rawmemchr): Do not use BP_SYM.
59240 (rawmemchr): Do not use BP_SYM in weak_alias.
59241 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59242 (PARMS): Do not use macros from bp-asm.h.
59243 (S): Likewise.
59244 (SIZE): Likewise.
59245 (__mpn_rshift): Do not use BP_SYM.
59246 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59247 (PARMS): Do not use macros from bp-asm.h.
59248 (SIGMSK): Likewise.
59249 (__sigsetjmp): Likewise. Do not use BP_SYM.
59250 * sysdeps/i386/start.S: Do not include "bp-sym.h".
59251 (_start): Do not use BP_SYM.
59252 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
59253 (PARMS): Do not use macros from bp-asm.h.
59254 (DEST): Likewise.
59255 (SRC): Likewise.
59256 (__stpcpy): Likewise. Do not use BP_SYM.
59257 (stpcpy): Do not use BP_SYM in weak_alias.
59258 * sysdeps/i386/stpncpy.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 (SRC): Likewise.
59263 (LEN): Likewise.
59264 (__stpncpy): Likewise. Do not use BP_SYM.
59265 (stpncpy): Do not use BP_SYM in weak_alias.
59266 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59267 (PARMS): Do not use macros from bp-asm.h.
59268 (STR): Likewise.
59269 (CHR): Likewise.
59270 (strchr): Likewise. Do not use BP_SYM.
59271 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
59272 "bp-asm.h".
59273 (PARMS): Do not use macros from bp-asm.h.
59274 (STR): Likewise.
59275 (CHR): Likewise.
59276 (__strchrnul): Likewise. Do not use BP_SYM.
59277 (strchrnul): Do not use BP_SYM in weak_alias.
59278 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
59279 "bp-asm.h".
59280 (PARMS): Do not use macros from bp-asm.h.
59281 (STOP): Likewise.
59282 (strcspn): Do not use BP_SYM.
59283 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
59284 "bp-asm.h".
59285 (PARMS): Do not use macros from bp-asm.h.
59286 (STR): Likewise.
59287 (STOP): Likewise.
59288 (strpbrk): Likewise. Do not use BP_SYM.
59289 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
59290 "bp-asm.h".
59291 (PARMS): Do not use macros from bp-asm.h.
59292 (STR): Likewise.
59293 (CHR): Likewise.
59294 (strrchr): Likewise. Do not use BP_SYM.
59295 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
59296 (PARMS): Do not use macros from bp-asm.h.
59297 (SKIP): Likewise.
59298 (strspn): Do not use BP_SYM.
59299 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
59300 (PARMS): Do not use macros from bp-asm.h.
59301 (STR): Likewise.
59302 (DELIM): Likewise.
59303 (SAVE): Likewise.
59304 (FUNCTION): Likewise. Do not use BP_SYM.
59305 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
59306 aliases.
59307 (strtok_r): Likewise.
59308 (__GI___strtok_r): Likewise.
59309 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59310 (PARMS): Do not use macros from bp-asm.h.
59311 (S1): Likewise.
59312 (S2): Likewise.
59313 (SIZE): Likewise.
59314 (__mpn_sub_n): Do not use BP_SYM.
59315 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
59316 "bp-asm.h".
59317 (PARMS): Do not use macros from bp-asm.h.
59318 (S1): Likewise.
59319 (SIZE): Likewise.
59320 (__mpn_submul_1): Do not use BP_SYM.
59321 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
59322 <bp-sym.h>.
59323 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
59324 and <bp-asm.h>.
59325 (PARMS): Do not use macros from bp-asm.h.
59326 (FLAGS): Likewise.
59327 (PTID): Likewise.
59328 (TLS): Likewise.
59329 (CTID): Likewise.
59330 (__clone): Do not use BP_SYM.
59331 (clone): Do not use BP_SYM in weak_alias.
59332 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
59333 and <bp-asm.h>.
59334 (PARMS): Do not use macros from bp-asm.h.
59335 (LEN): Likewise.
59336 (__mmap64): Do not use BP_SYM.
59337 (mmap64): Do not use BP_SYM in weak_alias.
59338 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59339 <bp-sym.h> and <bp-asm.h>.
59340 (PARMS): Do not use macros from bp-asm.h.
59341 (__posix_fadvise64_l64): Do not use BP_SYM.
59342 * sysdeps/unix/sysv/linux/i386/semtimedop.S
59343 (PARMS): Do not use macros from bp-asm.h.
59344 (NSOPS): Likewise.
59345 (semtimedop): Do not use BP_SYM.
59346 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
59347 and <bp-asm.h>.
59348
59349 2013-02-21 Allan McRae <allan@archlinux.org>
59350
59351 * manual/message.texi (Charset conversion in gettext):
59352 Move @end statement to beginning of line.
59353
59354 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
59355
59356 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
59357 static.
59358 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
59359 Likewise.
59360
59361 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
59362 (denorm): Likewise.
59363 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
59364 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
59365
59366 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59367
59368 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
59369 tail-call to the resolved function if pltexit isn't needed.
59370
59371 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
59372
59373 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
59374 or Y being zero as being unlikely.
59375 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
59376 Likewise.
59377
59378 2013-02-20 Carlos O'Donell <carlos@redhat.com>
59379
59380 * manual/nss.texi (System Databases and Name Service Switch):
59381 Remove frobnicate @pxref.
59382
59383 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
59384
59385 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
59386 __attribute__ ((unused)) to __attribute__ ((__unused__)).
59387
59388 2013-02-20 Petr Machata <pmachata@redhat.com>
59389
59390 * elf/elf.h (R_ARM_TARGET1): New macro.
59391 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
59392 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
59393 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
59394 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
59395 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
59396 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
59397 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
59398 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
59399 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
59400 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
59401 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
59402 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
59403 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
59404 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
59405 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
59406 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
59407 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
59408 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
59409 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
59410 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
59411 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
59412 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
59413 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
59414 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
59415 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
59416 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
59417 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
59418 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
59419 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
59420 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
59421 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
59422 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
59423 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
59424 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
59425 (R_ARM_THM_GOT_BREL12): Likewise.
59426 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
59427 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
59428 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
59429 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
59430 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
59431 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
59432 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
59433 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
59434 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
59435
59436 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
59437
59438 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
59439 __attribute_used__ to __attribute__ ((unused)).
59440
59441 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
59442
59443 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
59444 powerpc mpa.c.
59445 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
59446 comment formatting.
59447 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
59448
59449 2013-02-19 Joseph Myers <joseph@codesourcery.com>
59450
59451 [BZ #13550]
59452 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
59453 Remove macro.
59454 (ENTER): Remove both macro definitions.
59455 (LEAVE): Likewise.
59456 (CHECK_BOUNDS_LOW): Likewise.
59457 (CHECK_BOUNDS_HIGH): Likewise.
59458 (CHECK_BOUNDS_BOTH): Likewise.
59459 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
59460 (RETURN_BOUNDED_POINTER): Likewise.
59461 (RETURN_NULL_BOUNDED_POINTER): Likewise.
59462 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
59463 (POP_ERRNO_LOCATION_RETURN): Likewise.
59464 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
59465 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59466 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
59467 macros.
59468 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59469 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
59470 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
59471 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
59472 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
59473 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
59474 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
59475 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
59476 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
59477 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
59478 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
59479 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
59480 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59481 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
59482 removed macros.
59483 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59484 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
59485 macros.
59486 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59487 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
59488 * sysdeps/i386/i586/memset.S (memset): Likewise.
59489 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
59490 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59491 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
59492 macros.
59493 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59494 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
59495 Change uses of L(2) to L(out).
59496 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
59497 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
59498 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
59499 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59500 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
59501 removed macros.
59502 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59503 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
59504 macros.
59505 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59506 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
59507 (RETURN): Do not use macro LEAVE.
59508 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
59509 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
59510 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
59511 * sysdeps/i386/i686/memset.S (memset): Likewise.
59512 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
59513 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
59514 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59515 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
59516 Likewise.
59517 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59518 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
59519 L(1_2) and L(1_3) into L(1).
59520 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
59521 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
59522 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59523 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
59524 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59525 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
59526 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
59527 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59528 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
59529 macros.
59530 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
59531 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59532 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
59533 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
59534 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
59535 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59536 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
59537 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
59538 * sysdeps/i386/strcspn.S (strcspn): Likewise.
59539 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
59540 * sysdeps/i386/strrchr.S (strrchr): Likewise.
59541 * sysdeps/i386/strspn.S (strspn): Likewise.
59542 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
59543 conditional code.
59544 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59545 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
59546 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
59547 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
59548 L(1_3) into L(1_1).
59549 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
59550 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59551 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
59552 macros.
59553 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59554
59555 2013-02-19 Jakub Jelinek <jakub@redhat.com>
59556
59557 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
59558 macro.
59559
59560 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
59561
59562 * math/atest-exp.c (exp_mpn): Remove ROUND.
59563 * math/atest-exp2.c (exp_mpn): Likewise.
59564 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
59565
59566 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
59567 * stdlib/tst-tls-atexit-lib.c: Likewise.
59568 * stdlib/tst-tls-atexit.c: Likewise.
59569
59570 2013-02-18 Mike Frysinger <vapier@gentoo.org>
59571
59572 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
59573 and __attribute_alloc_size__.
59574
59575 2013-02-18 Mike Frysinger <vapier@gentoo.org>
59576
59577 * include/programs/xmalloc.h: Change __attribute_alloc_size to
59578 __attribute_alloc_size__.
59579 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
59580 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
59581
59582 2013-02-18 Mike Frysinger <vapier@gentoo.org>
59583
59584 * include/programs/xmalloc.h: New file.
59585 * catgets/gencat.c: Include it.
59586 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
59587 * elf/pldd.c: Likewise.
59588 * iconv/iconv_charmap.c: Likewise.
59589 * iconv/iconvconfig.c: Likewise.
59590 * iconv/strtab.c: Likewise.
59591 * locale/programs/locale.c: Likewise.
59592 * locale/programs/localedef.h: Likewise.
59593 * locale/programs/simple-hash.c: Likewise.
59594 * nscd/nscd.h: Likewise.
59595 * nss/makedb.c: Likewise.
59596 * sysdeps/generic/ldconfig.h: Likewise.
59597
59598 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
59599
59600 * Versions.def: Add GLIBC_2.18.
59601 * include/link.h (struct link_map): New member l_tls_dtor_count.
59602 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
59603 (__call_tls_dtors): Likewise.
59604 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
59605 __cxa_thread_atexit_impl.
59606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59607 Likewise.
59608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59609 Likewise.
59610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
59611 Likewise.
59612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
59613 Likewise.
59614 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
59616 Likewise.
59617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
59618 Likewise.
59619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59620 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
59621 Likewise.
59622 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
59623 (tests): Add test case tst-tls-atexit.
59624 (modules-names): Add shared library for tst-tls-atexit.
59625 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
59626 (GLIBC_PRIVATE): Add __call_tls_dtors.
59627 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
59628 for libstdc++.
59629 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
59630 * stdlib/tst-tls-atexit.c: New test case.
59631 * stdlib/tst-tls-atexit-lib.c: New test case.
59632
59633 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
59634
59635 * elf/Versions (ld): Add _dl_find_dso_for_object.
59636 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
59637 * elf/dl-open.c (_dl_find_dso_for_object): New function.
59638 (dl_open_worker): Use _dl_find_dso_for_object.
59639 * elf/dl-sym.c (do_sym): Likewise.
59640 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
59641
59642 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59643
59644 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
59645 Syntactic changes only.
59646 (_dl_runtime_profile): Do a tail-call to the resolved function.
59647
59648 2013-02-17 Joseph Myers <joseph@codesourcery.com>
59649
59650 [BZ #13550]
59651 * sysdeps/x86_64/bp-asm.h: Remove file.
59652 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
59653 <bp-sym.h> and <bp-asm.h>.
59654 (__clone): Do not use BP_SYM.
59655 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
59656 <bp-sym.h> and <bp-asm.h>.
59657 * sysdeps/unix/x86_64/sysdep.S: Likewise.
59658 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
59659 "bp-asm.h".
59660 (_setjmp): Do not use BP_SYM.
59661 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
59662 "bp-asm.h".
59663 (setjmp): Do not use BP_SYM.
59664 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
59665 libc_hidden_def.
59666 (mempcpy): Do not use BP_SYM in weak_alias.
59667 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
59668 "bp-asm.h".
59669 (strchr): Do not use BP_SYM.
59670 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
59671 "bp-asm.h".
59672 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
59673 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
59674 (_start): Do not use BP_SYM.
59675 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
59676 "bp-asm.h".
59677 (strcat): Do not use BP_SYM.
59678 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
59679 "bp-asm.h".
59680 (STRCMP): Do not use BP_SYM.
59681 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
59682 "bp-asm.h".
59683 (STRCPY): Do not use BP_SYM.
59684 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
59685 "bp-asm.h".
59686 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
59687 "bp-asm.h".
59688 (FUNCTION): Do not use BP_SYM.
59689 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
59690 weak_alias.
59691 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
59692
59693 2013-02-17 Andreas Jaeger <aj@suse.de>
59694
59695 * time/Versions: Sort entries.
59696 * string/Versions: Likewise.
59697 * resolv/Versions: Likewise.
59698 * posix/Versions: Likewise.
59699 * iconv/Versions: Likewise.
59700 * elf/Versions: Likewise.
59701 * wcsmbs/Versions: Likewise.
59702
59703 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
59704
59705 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
59706 loop termination condition.
59707
59708 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
59709 variable to calculate EZ.
59710 (__sqr): Likewise.
59711
59712 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
59713 the lower precision input.
59714
59715 2013-02-15 Joseph Myers <joseph@codesourcery.com>
59716
59717 [BZ #13550]
59718 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
59719 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
59720 (run-via-rtld-prefix): Do not handle %-bp tests.
59721 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
59722 (all-object-suffixes): Remove .ob.
59723 (bppfx): Remove variable.
59724 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
59725 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
59726 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
59727 [$(build-bounded) = yes] (libtype.ob): Likewise.
59728 * Makerules (elide-routines.ob): Remove variable.
59729 (do-tests-clean): Do not handle *-bp.out.
59730 (common-mostlyclean): Do not handle *-bp and *-bp.out.
59731 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
59732 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
59733 (tests): Do not include $(tests-bp.out).
59734 (xtests): Do not include $(xtests-bp.out).
59735 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
59736 [$(build-bounded) = yes] ($(addprefix
59737 $(objpfx),$(binaries-bounded))): Remove rule.
59738 ($(objpfx)%-bp.out): Remove rule.
59739 * config.make.in (build-bounded): Remove variable.
59740 * crypt/Makefile [$(build-bounded) = yes]
59741 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
59742 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
59743 append to variable.
59744 [$(build-bounded) = yes] (install-lib): Likewise.
59745 [$(build-bounded) = yes] (generated): Likewise.
59746 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
59747 Remove rule.
59748 * intl/Makefile [$(build-bounded) = yes]
59749 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
59750 * math/Makefile [$(build-bounded) = yes]
59751 ($(tests:%=$(objpfx)%-bp): Likewise.
59752 * misc/Makefile [$(build-bounded) = yes]
59753 ($(objpfx)tst-tsearch-bp): Likewise.
59754 * nptl/Makeconfig (bounded-thread-library): Remove variable.
59755 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
59756 Remove dependency.
59757 * string/Makefile (o-objects.ob): Remove variable.
59758 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
59759 (CFLAGS-.ob): Remove variable.
59760 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
59761 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
59762 both definitions of variable.
59763 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
59764 (ASFLAGS-.ob): Remove variable.
59765
59766 2013-02-14 Joseph Myers <joseph@codesourcery.com>
59767
59768 [BZ #13550]
59769 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
59770 Remove __BOUNDED_POINTERS__ from condition.
59771 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
59772 * string/bits/string2.h [!__NO_STRING_INLINES &&
59773 !__BOUNDED_POINTERS__]: Likewise.
59774 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
59775 Likewise.
59776 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
59777 Remove conditional code.
59778 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
59779 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
59780 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
59781 condition.
59782
59783 [BZ #13550]
59784 * csu/libc-start.c: Do not include <bp-sym.h>.
59785 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
59786 * elf/dl-open.c: Do not include <bp-sym.h>.
59787 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
59788 * math/fegetenv.c: Do not include <bp-sym.h>.
59789 (fegetenv): Do not use BP_SYM in versioned symbols.
59790 * nptl/sysdeps/pthread/bits/libc-lockP.h
59791 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
59792 <bp-sym.h>.
59793 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59794 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
59795 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59796 (__pthread_mutex_destroy): Likewise.
59797 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59798 (__pthread_mutex_lock): Likewise.
59799 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59800 (__pthread_mutex_trylock): Likewise.
59801 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59802 (__pthread_mutex_unlock): Likewise.
59803 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59804 (__pthread_mutexattr_init): Likewise.
59805 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59806 (__pthread_mutexattr_destroy): Likewise.
59807 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59808 (__pthread_mutexattr_settype): Likewise.
59809 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59810 (__pthread_rwlock_init): Likewise.
59811 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59812 (__pthread_rwlock_destroy): Likewise.
59813 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59814 (__pthread_rwlock_rdlock): Likewise.
59815 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59816 (__pthread_rwlock_tryrdlock): Likewise.
59817 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59818 (__pthread_rwlock_wrlock): Likewise.
59819 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59820 (__pthread_rwlock_trywrlock): Likewise.
59821 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59822 (__pthread_rwlock_unlock): Likewise.
59823 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59824 (__pthread_key_create): Likewise.
59825 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59826 (__pthread_setspecific): Likewise.
59827 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59828 (__pthread_getspecific): Likewise.
59829 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
59830 Likewise.
59831 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59832 (_pthread_cleanup_push_defer): Likewise.
59833 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59834 (_pthread_cleanup_pop_restore): Likewise.
59835 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59836 (pthread_setcancelstate): Likewise.
59837 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
59838 <bp-sym.h>.
59839 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
59840 (memchr): Do not use BP_SYM in weak_alias.
59841 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
59842 (fegetenv): Do not use BP_SYM in versioned symbols.
59843 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
59844 (fesetenv): Do not use BP_SYM in versioned symbols.
59845 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
59846 (feupdateenv): Do not use BP_SYM in versioned symbols.
59847 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
59848 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
59849 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
59850 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
59851 (open64): Do not use BP_SYM in weak_alias.
59852 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
59853 (fegetenv): Do not use BP_SYM in versioned symbols.
59854 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
59855 (fesetenv): Do not use BP_SYM in versioned symbols.
59856 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
59857 (feupdateenv): Do not use BP_SYM in versioned symbols.
59858 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
59859 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
59860 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
59861 (feraiseexcept): Do not use BP_SYM in versioned symbols.
59862 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
59863 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
59864 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
59865 <bp-sym.h>.
59866 (__libc_start_main): Do not use BP_SYM.
59867
59868 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
59869
59870 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
59871 redundant return line.
59872 (norm): Likewise.
59873 (denorm): Likewise.
59874 (dbl_mp): Likewise.
59875 (sub_magnitudes): Likewise.
59876 (__add): Likewise.
59877 (__sub): Likewise.
59878 (__mul): Likewise.
59879 (__inv): Likewise.
59880 (__dvd): Likewise.
59881 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
59882 (norm): Likewise.
59883 (denorm): Likewise.
59884 (dbl_mp): Likewise.
59885 (sub_magnitudes): Likewise.
59886 (__add): Likewise.
59887 (__sub): Likewise.
59888 (__mul): Likewise.
59889 (__inv): Likewise.
59890 (__dvd): Likewise.
59891
59892 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
59893 instead of __mul.
59894 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59895 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
59896 (cc32): Likewise.
59897
59898 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
59899 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
59900 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
59901 of __mul for squares.
59902 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
59903 function
59904 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
59905 Likewise.
59906 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
59907 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59908
59909 2013-02-13 Joseph Myers <joseph@codesourcery.com>
59910
59911 [BZ #13550]
59912 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
59913 code.
59914 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
59915 prototype or function definition. Rename ubp_* variables and
59916 parameters. Remove argv definitions conditional on
59917 [__BOUNDED_POINTERS__].
59918 * debug/backtrace.c (__backtrace): Do not use __unbounded.
59919 * elf/dl-runtime.c (_dl_fixup): Likewise.
59920 * include/set-hooks.h (RUN_HOOK): Likewise.
59921 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
59922 definition.
59923 * string/strcpy.c (strcpy): Do not use __unbounded.
59924 * sysdeps/generic/frame.h (struct layout): Likewise.
59925 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
59926 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
59927 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
59928 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
59929 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
59930 (__backtrace): Likewise.
59931 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
59932 use __ptrvalue.
59933 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
59934 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
59935 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
59936 Likewise.
59937 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
59938 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
59939 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
59940 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
59941 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
59942 Do not use __unbounded.
59943 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
59944 Rename __unboundedrlimits parameter to rlimits in prototype.
59945 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
59946 Do not use __unbounded.
59947 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
59948 not use __ptrvalue.
59949 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
59950 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
59951 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
59952 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
59953 __ptrvalue or __unbounded.
59954 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
59955 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
59956 use __unbounded.
59957 (__new_msgctl): Do not use __ptrvalue.
59958 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
59959 __unbounded.
59960 (__libc_msgrcv): Do not use __ptrvalue.
59961 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
59962 startup_info): Do not use __unbounded.
59963 (__libc_start_main): Likewise. Rename ubp_* variables and
59964 parameters. Remove argv definitions conditional on
59965 [__BOUNDED_POINTERS__].
59966 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
59967 __ptrvalue.
59968 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
59969 use __unbounded.
59970 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
59971 or __ptrvalue.
59972 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
59973 use __unbounded.
59974 (__new_shmctl): Do not use __ptrvalue.
59975 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
59976 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
59977 Likewise.
59978 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
59979 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
59980 (__libc_sigaction): Likewise.
59981 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
59982 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
59983 Likewise.
59984 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
59985
59986 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
59987
59988 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
59989
59990 * string/mempcpy.c: Implement by calling memcpy.
59991
59992 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
59993
59994 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
59995
59996 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
59997 evaluation.
59998
59999 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
60000 values in the mantissa.
60001
60002 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
60003 minimize writes to Z.
60004 (sub_magnitudes): Simplify code a bit.
60005
60006 2013-02-12 Roland McGrath <roland@hack.frob.com>
60007
60008 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
60009 from the message. The linker prefixes all warnings with that already.
60010
60011 2013-02-12 Andreas Schwab <schwab@suse.de>
60012
60013 [BZ #15078]
60014 * posix/regexec.c (extend_buffers): Add parameter min_len.
60015 (check_matching): Pass minimum needed length.
60016 (clean_state_log_if_needed): Likewise.
60017 (get_subexp): Likewise.
60018 * posix/Makefile (tests): Add bug-regex34.
60019 (bug-regex34-ENV): Define.
60020 * posix/bug-regex34.c: New file.
60021
60022 [BZ #11561]
60023 * posix/regcomp.c (parse_bracket_exp): When looking up collating
60024 elements compare against the byte sequence of it, not its name.
60025 * posix/Makefile (tests): Add bug-regex35.
60026 (bug-regex35-ENV): Define.
60027 * posix/bug-regex35.c: New file.
60028
60029 2013-02-11 Tom de Vries <tom@codesourcery.com>
60030
60031 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
60032 comment.
60033 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
60034 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
60035 (CHECK_EOL): Add undef.
60036
60037 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
60038
60039 * bits/stdlib-bsearch.h: New file.
60040 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
60041 * stdlib/stdlib.h: Likewise.
60042
60043 2013-02-11 Roland McGrath <roland@hack.frob.com>
60044
60045 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
60046 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
60047 declaration.
60048 * manual/search.texi (Array Search Function): Add missing const in
60049 lfind prototype.
60050 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
60051 declaration to use rlim_t.
60052 (Basic Scheduling Functions): Remove erroneous const from
60053 sched_getparam prototype. Remove erroneous * from
60054 sched_get_priority_max and sched_get_priority_min prototypes.
60055 (Resource Usage): Fix summary @comment on vtimes to refer to
60056 sys/vtimes.h rather than vtimes.h.
60057 Add missing *s in vtimes prototype.
60058 (Limits on Resources): Fix ulimit prototype to return long int.
60059 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
60060 prototypes to use long int rather than double.
60061 (BSD Random): Fix initstate and setstate to use char *, not void *.
60062 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
60063 prototype to make second argument 'struct aiocb64 *const[]'.
60064 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
60065 (Status of AIO Operations): Remove erroneous const in aio_return and
60066 aio_return64 prototypes.
60067 (Synchronizing I/O): Fix sync prototype to return void.
60068 * manual/startup.texi (Suboptions): Remove an erroneous const in
60069 getsubopt prototype.
60070 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
60071 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
60072 use size_t rather than int.
60073 (Scanning All Users): Likewise for getpwent_r.
60074 (Setting Groups): Add missing const to setgroups prototype.
60075 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
60076 * manual/socket.texi (Host Names): Fix gethostbyaddr and
60077 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
60078 'const void *' rather than 'const char *'.
60079 (Host Address Functions): Likewise for inet_ntop.
60080 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
60081 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
60082 ssize_t for return value.
60083 (Sending Data): Likewise for send, sendto, sendmsg.
60084 (Socket Option Functions): Add a missing const in setsockopt prototype.
60085 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
60086 use wchar_t for the argument.
60087 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
60088 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
60089 take no arguments.
60090 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
60091 double/float/long double for second argument.
60092 Fix return types of significand, significandf, significandl.
60093 * manual/filesys.texi (Setting Permissions): Use mode_t for second
60094 argument in fchmod prototype.
60095 (File Owner): Use uid_t and gid_t in fchown prototype.
60096 (File Times): Add const to utimes, futimes, and lutimes prototypes.
60097 (Making Special Files): Use mode_t and dev_t in mknod prototype.
60098 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
60099 use 'const struct dirent **' as argument types to CMP function pointer
60100 argument.
60101 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
60102 (File Times): Fix summary magic @comment for struct utimbuf and utime
60103 to refer to utime.h, not time.h.
60104 * manual/string.texi (Argz Functions): Add missing const in
60105 argz_extract and argz_next prototypes.
60106 (Finding Tokens in a String): Likewise for basename.
60107 (String/Array Comparison): Fix typo in wcscasecmp prototype.
60108 (Copying and Concatenation): Fix typo in wmemmove prototype.
60109 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
60110 (Signal Stack): Remove erroneous const in sigstack prototype.
60111 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
60112 prototype.
60113 (Simple Calendar Time): Likewise for stime.
60114 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
60115 prototype.
60116 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
60117 say sys/sysctl.h instead.
60118 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
60119 and vsyslog prototypes.
60120
60121 2013-02-11 Tom de Vries <tom@codesourcery.com>
60122
60123 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
60124 Remove.
60125
60126 2013-02-11 Roland McGrath <roland@hack.frob.com>
60127
60128 * misc/sys/mman.h: Fix typo in mremap comment.
60129
60130 2013-02-08 Roland McGrath <roland@hack.frob.com>
60131
60132 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
60133 the '\0' terminator.
60134
60135 2013-02-08 Joseph Myers <joseph@codesourcery.com>
60136
60137 [BZ #13550]
60138 * debug/segfault.c: Don't include <bp-checks.h>.
60139 * sysdeps/generic/bp-checks.h: Remove file.
60140 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
60141 (__GETDENTS): Don't use CHECK_N.
60142 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
60143 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
60144 (__getgroups): Don't use CHECK_N.
60145 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
60146 (setgroups): Don't use CHECK_N.
60147 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
60148 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
60149 (__libc_msgrcv): Don't use CHECK_N.
60150 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
60151 (__libc_msgsnd): Don't use CHECK_N.
60152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
60153 <bp-checks.h>.
60154 (__libc_pread): Don't use CHECK_N.
60155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
60156 include <bp-checks.h>.
60157 (__libc_pread64): Don't use CHECK_N.
60158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
60159 include <bp-checks.h>.
60160 (__libc_pwrite): Don't use CHECK_N.
60161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
60162 include <bp-checks.h>.
60163 (__libc_pwrite64): Don't use CHECK_N.
60164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
60165 <bp-checks.h>.
60166 (__libc_pread): Don't use CHECK_N.
60167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
60168 include <bp-checks.h>.
60169 (__libc_pread64): Don't use CHECK_N.
60170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
60171 include <bp-checks.h>.
60172 (__libc_pwrite): Don't use CHECK_N.
60173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
60174 include <bp-checks.h>.
60175 (__libc_pwrite64): Don't use CHECK_N.
60176 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
60177 (do_pread): Don't use CHECK_N.
60178 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
60179 (do_pread64): Don't use CHECK_N.
60180 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
60181 (do_pwrite): Don't use CHECK_N.
60182 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
60183 (do_pwrite64): Don't use CHECK_N.
60184 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
60185 (__libc_readv): Don't use CHECK_N.
60186 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
60187 (semop): Don't use CHECK_N.
60188 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
60189 <bp-checks.h>.
60190 (semtimedop): Don't use CHECK_N.
60191 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
60192 (__libc_pread): Don't use CHECK_N.
60193 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
60194 <bp-checks.h>.
60195 (__libc_pread64): Don't use CHECK_N.
60196 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
60197 <bp-checks.h>.
60198 (__libc_pwrite): Don't use CHECK_N.
60199 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
60200 <bp-checks.h>.
60201 (__libc_pwrite64): Don't use CHECK_N.
60202 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
60203 <bp-checks.h>.
60204 (__libc_msgrcv): Don't use CHECK_N.
60205 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
60206 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
60207 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
60208 (__libc_writev): Don't use CHECK_N.
60209
60210 2013-02-08 Roland McGrath <roland@hack.frob.com>
60211
60212 * string/strcpy.c: Removed unused variable.
60213
60214 * Makeconfig (+sysdep-includes): Define with := rather than =.
60215 Use an existing include/ subdir of each sysdeps dir before it.
60216
60217 2013-02-08 Carlos O'Donell <carlos@redhat.com>
60218
60219 * nscd/connection.c (register_traced_file): Comment function.
60220 [HAVE_INOTIFY] (union __inev): Define.
60221 [HAVE_INOTIFY] (inotify_check_files): New function.
60222 [HAVE_INOTIFY] (clear_db_cache): Likewise.
60223 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
60224 clear_db_cache.
60225 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
60226
60227 2013-02-08 Carlos O'Donell <carlos@redhat.com>
60228
60229 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
60230 loaded if not already and that a failure is permanent.
60231
60232 2013-02-08 Carlos O'Donell <carlos@redhat.com>
60233
60234 [BZ #15006]
60235 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
60236 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
60237
60238 2013-02-08 Joseph Myers <joseph@codesourcery.com>
60239
60240 [BZ #13550]
60241 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
60242 (CHECK_1_NULL_OK): Likewise.
60243 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
60244 (__fxstat): Do not use CHECK_1.
60245 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
60246 <bp-checks.h>.
60247 (___fxstat64): Do not use CHECK_1.
60248 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
60249 <bp-checks.h>.
60250 (__fxstatat): Do not use CHECK_1.
60251 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
60252 <bp-checks.h>.
60253 (__fxstatat64): Do not use CHECK_1.
60254 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
60255 <bp-checks.h>.
60256 (__fxstat): Do not use CHECK_1.
60257 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
60258 <bp-checks.h>.
60259 (__fxstatat): Do not use CHECK_1.
60260 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
60261 <bp-checks.h>.
60262 (__getresgid): Do not use CHECK_1.
60263 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
60264 <bp-checks.h>.
60265 (__getresuid): Do not use CHECK_1.
60266 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
60267 <bp-checks.h>.
60268 (__lxstat): Do not use CHECK_1.
60269 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
60270 <bp-checks.h>.
60271 (__old_msgctl): Do not use CHECK_1.
60272 (__new_msgctl): Likewise.
60273 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
60274 <bp-checks.h>.
60275 (__new_setrlimit): Do not use CHECK_1.
60276 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
60277 <bp-checks.h>.
60278 (__old_shmctl): Do not use CHECK_1.
60279 (__new_shmctl): Likewise.
60280 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
60281 <bp-checks.h>.
60282 (__xstat): Do not use CHECK_1.
60283 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
60284 (__lxstat): Do not use CHECK_1.
60285 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
60286 <bp-checks.h>.
60287 (___lxstat64): Do not use CHECK_1.
60288 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
60289 (__old_msgctl): Do not use CHECK_1.
60290 (__new_msgctl): Likewise.
60291 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
60292 <bp-checks.h>.
60293 (__gettimeofday): Do not use CHECK_1.
60294 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
60295 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
60296 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
60297 <bp-checks.h>.
60298 (__gettimeofday): Do not use CHECK_1.
60299 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
60300 (__old_shmctl): Do not use CHECK_1_NULL_OK.
60301 (__new_shmctl): Do not use CHECK_1.
60302 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
60303 <bp-checks.h>.
60304 (do_sigtimedwait): Do not use CHECK_1.
60305 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
60306 <bp-checks.h>.
60307 (do_sigwaitinfo): Do not use CHECK_1.
60308 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
60309 <bp-checks.h>.
60310 (msgctl): Do not use CHECK_1.
60311 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
60312 <bp-checks.h>.
60313 (shmctl): Do not use CHECK_1.
60314 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
60315 (ustat): Do not use CHECK_1.
60316 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
60317 <bp-checks.h>.
60318 (__fxstat): Do not use CHECK_1.
60319 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
60320 <bp-checks.h>.
60321 (__fxstatat): Do not use CHECK_1.
60322 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
60323 <bp-checks.h>.
60324 (__lxstat): Do not use CHECK_1.
60325 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
60326 <bp-checks.h>.
60327 (__xstat): Do not use CHECK_1.
60328 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
60329 (__xstat): Do not use CHECK_1.
60330 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
60331 (___xstat64): Do not use CHECK_1.
60332
60333 [BZ #13550]
60334 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
60335 definitions.
60336 (CHECK_BOUNDS_HIGH): Likewise.
60337 * string/strcpy.c: Do not include <bp-checks.h>.
60338 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
60339
60340 2013-02-07 Roland McGrath <roland@hack.frob.com>
60341
60342 * nscd/nscd-client.h (__nscd_drop_map_ref):
60343 Add __attribute__ ((unused)).
60344 * nis/nss-nisplus.h (niserr2nss): Likewise.
60345
60346 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
60347 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
60348
60349 * csu/libc-tls.c (init_static_tls, init_slotinfo):
60350 Remove inline keyword.
60351 * include/rounding-mode.h (round_away): Likewise.
60352 * libio/wfileops.c (adjust_wide_data): Likewise.
60353 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
60354 (__m128i_strloadu_tolower): Likewise.
60355 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
60356 (__m128i_strloadu_tolower): Likewise.
60357 * time/mktime.c (ydhms_diff): Likewise.
60358 * locale/elem-hash.h (elem_hash): Likewise.
60359 * locale/setlocale.c (setdata): Likewise.
60360 * posix/regex_internal.h (re_string_char_size_at): Likewise.
60361 (re_string_wchar_at): Likewise.
60362 (bitset_not, bitset_merge, bitset_mask): Likewise.
60363 [!(__GNUC__ > 3)] (inline): Remove macro.
60364 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
60365 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
60366 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
60367 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
60368 * string/memcmp.c (memcmp_bytes): Likewise.
60369 * locale/programs/locarchive.c (compute_hashval): Likewise.
60370 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
60371 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
60372 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
60373 * nss/getent.c (print_rpc, print_protocols): Likewise.
60374 (print_passwd, print_group, print_aliases): Likewise.
60375 * nis/nss-nisplus.h (niserr2nss): Likewise.
60376 * nscd/connections.c (restart_p): Likewise.
60377 Change return type to bool.
60378
60379 2013-02-05 Roland McGrath <roland@hack.frob.com>
60380
60381 * Makeconfig (all-Depend-files): Add existing
60382 $(sorted-subdirs:=/Depend) files.
60383 (all-subdirs): Remove nss.
60384 * sysdeps/unix/inet/Subdirs: Add it here instead.
60385 * hesiod/Depend: New file.
60386
60387 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
60388 instead of calling alloca.
60389
60390 * io/lseek.c (__lseek): Rename to __libc_lseek.
60391 Define __lseek as an alias.
60392
60393 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
60394
60395 2013-02-04 Carlos O'Donell <carlos@redhat.com>
60396
60397 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
60398 else clause and remove check for non-standard endianness.
60399
60400 2013-02-04 David S. Miller <davem@davemloft.net>
60401
60402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60403
60404 2013-02-04 Joseph Myers <joseph@codesourcery.com>
60405
60406 [BZ #13550]
60407 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
60408 (__ubp_memchr): Remove prototype.
60409 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
60410 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
60411 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
60412 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
60413 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
60414 Remove alias.
60415 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
60416 (__ubp_memchr): Likewise.
60417 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
60418 (__ubp_memchr): Likewise.
60419 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
60420 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
60421 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
60422 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
60423 CHECK_STRING.
60424 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
60425 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
60426 (__getcwd): Do not use CHECK_STRING.
60427 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
60428 <bp-checks.h>.
60429 (__real_chown): Do not use CHECK_STRING.
60430 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
60431 <bp-checks.h>.
60432 (fchownat): Do not use CHECK_STRING.
60433 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
60434 CHECK_STRING.
60435 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
60436 <bp-checks.h>.
60437 (__lchown): Do not use CHECK_STRING.
60438 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
60439 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60440 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60441 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
60442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
60443 include <bp-checks.h>.
60444 (truncate64): Do not use CHECK_STRING.
60445 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
60446 <bp-checks.h>.
60447 (__real_chown): Do not use CHECK_STRING.
60448 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
60449 <bp-checks.h>.
60450 (__lchown): Do not use CHECK_STRING.
60451 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
60452 <bp-checks.h>.
60453 (__chown): Do not use CHECK_STRING.
60454 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
60455 <bp-checks.h>.
60456 (truncate64): Do not use CHECK_STRING.
60457 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
60458 Likewise.
60459 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
60460 (__xmknod): Do not use CHECK_STRING.
60461 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
60462 <bp-checks.h>.
60463 (__xmknodat): Do not use CHECK_STRING.
60464 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60465 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
60466
60467 2013-02-04 Andreas Schwab <schwab@suse.de>
60468
60469 [BZ #14142]
60470 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
60471 * include/netdb.h: Likewise for h_errno.
60472 * elf/tst-stackguard1.c: Include <tls.h>.
60473
60474 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
60475
60476 * elf/link.h (struct link_map): Extend the l_addr comment.
60477 * include/link.h (struct link_map): Likewise.
60478
60479 2013-02-01 Joseph Myers <joseph@codesourcery.com>
60480
60481 [BZ #13550]
60482 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
60483 (BOUNDED_1): Remove macro.
60484 * debug/backtrace.c: Don't include <bp-checks.h>.
60485 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
60486 (__backtrace): Likewise.
60487 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
60488 <bp-checks.h>.
60489 (__backtrace): Don't use BOUNDED_1.
60490 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
60491 <bp-checks.h>.
60492 (__backtrace): Don't use BOUNDED_1.
60493 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
60494 (__backtrace): Don't use BOUNDED_1.
60495 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
60496 (shmat): Don't use BOUNDED_N.
60497
60498 2013-01-31 Joseph Myers <joseph@codesourcery.com>
60499
60500 [BZ #13550]
60501 * sysdeps/generic/bp-start.h: Remove file.
60502 * csu/libc-start.c: Don't include <bp-start.h>.
60503 (LIBC_START_MAIN): Set up __environ directly instead of using
60504 INIT_ARGV_and_ENVIRON.
60505 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
60506 <bp-start.h>.
60507
60508 [BZ #13550]
60509 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
60510 definitions.
60511 (CHECK_FCNTL): Likewise.
60512 (CHECK_N_PAGES): Likewise.
60513
60514 [BZ #13550]
60515 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
60516 definitions.
60517 (CHECK_SIGSET_NULL_OK): Likewise.
60518 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
60519 <bp-checks.h>.
60520 (sigpending): Don't use CHECK_SIGSET.
60521 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
60522 <bp-checks.h>.
60523 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60524 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
60525 <bp-checks.h>.
60526 (do_sigsuspend): Don't use CHECK_SIGSET.
60527 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
60528 use CHECK_SIGSET.
60529 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
60530 (do_sigwait): Don't use CHECK_SIGSET.
60531 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
60532 use CHECK_SIGSET.
60533 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
60534 include <bp-checks.h>.
60535 (sigpending): Don't use CHECK_SIGSET.
60536 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
60537 include <bp-checks.h>.
60538 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60539 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
60540 <bp-checks.h>.
60541 (sigpending): Don't use CHECK_SIGSET.
60542 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
60543 <bp-checks.h>.
60544 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60545
60546 [BZ #13550]
60547 * sysdeps/generic/bp-semctl.h: Remove file.
60548 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
60549 <bp-checks.h> and <bp-semctl.h>.
60550 (__old_semctl): Don't use CHECK_SEMCTL.
60551 (__new_semctl): Likewise.
60552 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
60553 and <bp-semctl.h>.
60554 (__old_semctl): Don't use CHECK_SEMCTL.
60555 (__new_semctl): Likewise.
60556 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
60557 <bp-checks.h> and <bp-semctl.h>.
60558 (__old_semctl): Don't use CHECK_SEMCTL.
60559 (__new_semctl): Likewise.
60560 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
60561 <bp-checks.h> and <bp-semctl.h>.
60562 (semctl): Don't use CHECK_SEMCTL.
60563
60564 [BZ #13550]
60565 * Makerules (elide-bp-thunks): Remove variable.
60566 (elide-routines.oS): Don't use $(elide-bp-thunks).
60567 (elide-routines.os): Likewise.
60568 (elide-routines.o): Likewise.
60569 (elide-routines.op): Likewise.
60570 (elide-routines.og): Likewise.
60571 (objects): Don't use $(bp-thunks).
60572 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
60573 include.
60574 (common-generated): Do not add s-proto-bp.d.
60575 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
60576 (int): Likewise.
60577 (typ): Likewise.
60578 Do not generate makefile rules for bounded-pointer thunks.
60579 * sysdeps/generic/bp-thunks.h: Remove file.
60580 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
60581 * sysdeps/unix/s-proto-bp.S: Likewise.
60582
60583 [BZ #15062]
60584 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
60585 parts of result separately when argument is not close to line from
60586 -i to i and one part of argument is small.
60587 * math/k_casinhf.c (__kernel_casinhf): Likewise.
60588 * math/k_casinhl.c (__kernel_casinhl): Likewise.
60589 * math/libm-test.inc (cacos_test): Add more tests.
60590 (casin_test): Likewise.
60591 (casinh_test): Likewise.
60592 * sysdeps/i386/fpu/libm-test-ulps: Update.
60593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60594
60595 2013-01-31 David S. Miller <davem@davemloft.net>
60596
60597 * po/de.po: Update from translation team.
60598
60599 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
60600
60601 * time/tzfile.c: Include stdint.h for SIZE_MAX.
60602
60603 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
60604
60605 * configure.in (_AC_PROG_CC_C89): New definition.
60606 * configure: Regenerate.
60607
60608 * configure.in (AC_PROG_CPP): New definition.
60609 * configure: Regenerate.
60610
60611 2013-01-23 Joseph Myers <joseph@codesourcery.com>
60612
60613 * debug/tst-backtrace.h: New file.
60614 * debug/tst-backtrace2.c: Include tst-backtrace.h.
60615 (ret): Remove variable.
60616 (x): Likewise.
60617 (FAIL): Remove macro.
60618 (NO_INLINE): Likewise.
60619 (fn1): Use match function instead of strstr.
60620 * debug/tst-backtrace3.c: Include tst-backtrace.h.
60621 (ret): Remove variable.
60622 (x): Likewise.
60623 (FAIL): Remove macro.
60624 (NO_INLINE): Likewise.
60625 (fn): Use match function instead of strstr.
60626 * debug/tst-backtrace4.c: Include tst-backtrace.h.
60627 (ret): Remove variable.
60628 (x): Likewise.
60629 (FAIL): Remove macro.
60630 (NO_INLINE): Likewise.
60631 (handle_signal): Use match function instead of strstr.
60632 * debug/tst-backtrace5.c: Include tst-backtrace.h.
60633 (ret): Remove variable.
60634 (x): Likewise.
60635 (FAIL): Remove macro.
60636 (NO_INLINE): Likewise.
60637 (handle_signal): Use match function instead of strstr.
60638
60639 2013-01-23 Roland McGrath <roland@hack.frob.com>
60640
60641 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
60642
60643 2013-01-23 David S. Miller <davem@davemloft.net>
60644
60645 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
60646 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
60647 argument of CAS if possible.
60648 * sysdeps/sparc/sparc64/bits/atomic.h
60649 (__arch_compare_and_exchange_val_32_acq): Likewise.
60650 (__arch_compare_and_exchange_val_64_acq): Likewise.
60651
60652 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
60653
60654 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
60655 * sysdeps/posix/ulimit.c: ... this.
60656 Include <limits.h>.
60657 * sysdeps/unix/bsd/ulimit.c: Remove file.
60658
60659 2013-01-23 Adam Conrad <adconrad@0c3.net>
60660
60661 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
60662 (LDFLAGS-tst-array5): Likewise.
60663
60664 2013-01-23 Joseph Myers <joseph@codesourcery.com>
60665
60666 [BZ #15036]
60667 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
60668 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
60669 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
60670 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
60671
60672 2013-01-21 David S. Miller <davem@davemloft.net>
60673
60674 * sysdeps/sparc/backtrace.c: New file.
60675 * sysdeps/sparc/sparc32/backtrace.h: New file.
60676 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
60677 * sysdeps/sparc/sparc64/backtrace.h: New file.
60678 * sysdeps/sparc/sparc64/backtrace.c: Delete.
60679 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
60680 -funwind-tables.
60681
60682 2013-01-21 Andreas Schwab <schwab@suse.de>
60683
60684 [BZ #15020]
60685 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
60686 closed its stdout.
60687
60688 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
60689
60690 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
60691 "mpa2.h".
60692 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60693
60694 2013-01-18 Joseph Myers <joseph@codesourcery.com>
60695 Mark Mitchell <mark@codesourcery.com>
60696 Tom de Vries <tom@codesourcery.com>
60697 Paul Pluzhnikov <ppluzhnikov@google.com>
60698
60699 * debug/tst-backtrace2.c: New file.
60700 * debug/tst-backtrace3.c: Likewise.
60701 * debug/tst-backtrace4.c: Likewise.
60702 * debug/tst-backtrace5.c: Likewise.
60703 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
60704 (CFLAGS-tst-backtrace3.c): Likewise.
60705 (CFLAGS-tst-backtrace4.c): Likewise.
60706 (CFLAGS-tst-backtrace5.c): Likewise.
60707 (LDFLAGS-tst-backtrace2): Likewise.
60708 (LDFLAGS-tst-backtrace3): Likewise.
60709 (LDFLAGS-tst-backtrace4): Likewise.
60710 (LDFLAGS-tst-backtrace5): Likewise.
60711 (tests): Add new tests tst-backtrace2, tst-backtrace3,
60712 tst-backtrace4 and tst-backtrace5.
60713
60714 2013-01-18 Anton Blanchard <anton@samba.org>
60715 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
60716
60717 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
60718 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
60719 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
60720 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
60721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
60722 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
60723 "+r" and remove output regs list as redundant. Add explicit inline
60724 asm to specify register of return val to work around compiler codegen
60725 bug. Remove (int) cast on return value. Add return type parameter to
60726 use in macro so that this macro does not truncate return value for
60727 64-bit values.
60728 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
60729 pass to INTERNAL_VSYSCALL_NCS.
60730 (INLINE_VSYSCALL): Add 'long int' as return type to
60731 INTERNAL_VSYSCALL_NCS macro invocation.
60732 (INTERNAL_VSYSCALL): Add 'long int' as return type to
60733 INTERNAL_VSYSCALL_NCS macro invocation.
60734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
60735
60736 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
60737
60738 [BZ #14496]
60739 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
60740 Fix application of SIMD FP exception mask.
60741
60742 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
60743 mp_no from a power of two.
60744 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
60745 __mpexp_twomm1. Use __pow_mp.
60746
60747 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
60748 multiplication.
60749
60750 2013-01-17 David S. Miller <davem@davemloft.net>
60751
60752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60753
60754 2013-01-17 Joseph Myers <joseph@codesourcery.com>
60755
60756 [BZ #15023]
60757 * include/complex.h: Condition contents on [!_COMPLEX_H].
60758 (__kernel_casinhf): New prototype.
60759 (__kernel_casinh): Likewise.
60760 (__kernel_casinhl): Likewise.
60761 * math/Makefile (libm_calls): Add k_casinh.
60762 * math/k_casinh.c: New file.
60763 * math/k_casinhf.c: Likewise.
60764 * math/k_casinhl.c: Likewise.
60765 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
60766 finite nonzero arguments.
60767 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
60768 finite nonzero arguments.
60769 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
60770 finite nonzero arguments.
60771 * math/s_casinh.c: Do not include <float.h>.
60772 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
60773 * math/s_casinhf.c: Do not include <float.h>.
60774 (__casinhf): Move code for finite nonzero arguments to
60775 k_casinhf.c.
60776 * math/s_casinhl.c: Do not include <float.h>.
60777 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
60778 redefine.
60779 (__casinhl): Move code for finite nonzero arguments to
60780 k_casinhl.c.
60781 * math/libm-test.inc (cacos_test): Add more tests.
60782 * sysdeps/i386/fpu/libm-test-ulps: Update.
60783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60784
60785 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
60786
60787 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
60788 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
60789 [!HAVE_MREMAP]: Remove [defined linux] case.
60790 * malloc/arena.c: Do not include <malloc-sysdep.h>.
60791
60792 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
60793
60794 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
60795
60796 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
60797
60798 * elf/elf.h (R_386_SIZE32): New relocation.
60799 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
60800 R_386_SIZE32.
60801 (elf_machine_rela): Likewise.
60802 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
60803 R_X86_64_SIZE64 and R_X86_64_SIZE32.
60804
60805 2013-01-17 Joseph Myers <joseph@codesourcery.com>
60806
60807 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
60808 (FP_FAST_FMA): Do not define.
60809 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
60810 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
60811 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
60812 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
60813 !_SOFT_FLOAT]: Likewise.
60814 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
60815 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
60816 value.
60817 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
60818 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
60819 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
60820 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
60821 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
60822 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
60823 file.
60824
60825 2013-01-16 Andreas Schwab <schwab@suse.de>
60826
60827 [BZ #14327]
60828 * include/stdlib.h (__mktemp): Add declaration.
60829 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
60830 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
60831
60832 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
60833
60834 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
60835 definitions.
60836 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
60837 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
60838 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
60839 definitions here.
60840 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
60841 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
60842 definitions.
60843 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
60844 and ONE.
60845 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
60846 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
60847 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
60848 definitions.
60849 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
60850 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
60851 definitions.
60852 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
60853
60854 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
60855
60856 2013-01-15 David S. Miller <davem@davemloft.net>
60857
60858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60859 trunc{,f} to libm-sysdep_routes.
60860 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
60862 file.
60863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
60864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
60865 file.
60866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
60867 file.
60868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
60869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
60870 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
60871 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
60872 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
60873 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
60874 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
60875 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
60876
60877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60878 nearbyint{,f} to libm-sysdep_routes.
60879 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
60881 New file.
60882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
60883 file.
60884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
60885 New file.
60886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
60887 file.
60888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
60889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
60890 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
60891 file.
60892 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
60893 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
60894 file.
60895 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
60896 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
60897 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
60898
60899 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
60900 libc_feholdexcept and libc_fesetenv.
60901
60902 2013-01-15 Mike Frysinger <vapier@gentoo.org>
60903
60904 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
60905
60906 2013-01-14 David S. Miller <davem@davemloft.net>
60907
60908 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
60909 (SPARC_ASM_VIS2_IFUNC): Likewise.
60910 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
60911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
60912 use of 'siam' instruction.
60913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
60914 Likewise.
60915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
60916 Likewise.
60917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
60918 Likewise.
60919 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
60920 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
60921 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
60922 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
60923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
60924 file.
60925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
60926 file.
60927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
60928 file.
60929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
60930 file.
60931 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
60932 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
60933 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
60934 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
60935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
60936 new VIS2 routines.
60937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
60938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
60940 Likewise.
60941 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
60942 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
60943 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
60944 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
60945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
60946 routines to libm-sysdep_routines.
60947 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60948
60949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60950 fdim/fdimf to libm-sysdep_routines.
60951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
60952 file.
60953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
60954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
60955 file.
60956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
60957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
60958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
60959 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
60960 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
60961 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
60962 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
60963
60964 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
60965
60966 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
60967 to optimize copies.
60968
60969 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
60970 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
60971 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60972
60973 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
60974 local variable MPTWO.
60975 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
60976 Likewise.
60977
60978 2013-01-13 Mike Frysinger <vapier@gentoo.org>
60979
60980 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
60981 GLOB_NOESCAPE.
60982
60983 2013-01-13 Mike Frysinger <vapier@gentoo.org>
60984
60985 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
60986
60987 2013-01-13 Mike Frysinger <vapier@gentoo.org>
60988
60989 * manual/pattern.texi (glob_t): Document gl_flags.
60990 (glob64_t): Likewise.
60991
60992 2013-01-11 David S. Miller <davem@davemloft.net>
60993
60994 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
60995 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
60996 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
60997 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
60998 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
60999 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
61000 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
61001 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
61002 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
61003 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
61004 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
61005 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
61006 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
61007
61008 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61009 sparc V9 rather than using V8 code.
61010 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61011 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61012
61013 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61014 Move to...
61015 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
61016 Here.
61017
61018 2013-01-11 Roland McGrath <roland@hack.frob.com>
61019
61020 [BZ #14941]
61021 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
61022 not in the main loop.
61023 * configure: Regenerated.
61024
61025 2013-01-11 Joseph Myers <joseph@codesourcery.com>
61026
61027 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
61028 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
61029 to just #else.
61030 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
61031 [!__GLIBC_HAVE_LONG_LONG] case.
61032 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
61033 condition to just #else.
61034 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
61035 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
61036 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
61037 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
61038 unconditional.
61039 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
61040 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61041 #elif condition to just #else.
61042 * sysdeps/unix/sysv/linux/sys/sysmacros.h
61043 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
61044 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61045 #elif condition to just #else.
61046
61047 2013-01-11 Steve Ellcey <sellcey@mips.com>
61048
61049 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
61050 (EF_MIPS_ARCH_64): Fix value.
61051 (EF_MIPS_ARCH_32R2): New.
61052 (EF_MIPS_ARCH_64R2): New.
61053
61054 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
61055
61056 * Makeconfig (+link-pie-before-libc): New.
61057 (+link-pie-after-libc): Likewise.
61058 (+link-pie-tests): Likewise.
61059 (+link-pie): Rewritten.
61060 (link-before-libc): Remove $(config-LDFLAGS).
61061 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
61062 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
61063 (config-LDFLAGS): Renamed to ...
61064 (rtld-LDFLAGS): This.
61065 (rtld-tests-LDFLAGS): New macro.
61066 (link-libc-rpath-link): Likewise.
61067 (link-libc-tests-rpath-link): Likewise.
61068 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
61069 (link-libc): Prepand $(link-libc-rpath-link).
61070 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
61071 (test-program-prefix): New macro.
61072 (test-via-rtld-prefix): Likewise.
61073 (test-program-cmd): Likewise.
61074 (host-test-program-cmd): Likewise.
61075 * Makefile ($(common-objpfx)testrun.sh): Replace
61076 $(run-program-prefix) with $(test-program-prefix).
61077 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
61078 $(rtld-LDFLAGS).
61079 ($(common-objpfx)shlib.lds): Likewise.
61080 (build-module-helper): Likewise.
61081 ($(common-objpfx)format.lds): Likewise.
61082 * Rules (binaries-pie-tests): New.
61083 (binaries-pie-notests): Likewise.
61084 (binaries-pie): Rewritten.
61085 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
61086 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
61087 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
61088 (make-test-out): Replace $(host-built-program-cmd) with
61089 $(host-test-program-cmd).
61090 * config.make.in (build-hardcoded-path-in-tests): New variable.
61091 * configure.in (--enable-hardcoded-path-in-tests): New configure
61092 option.
61093 (hardcoded_path_in_tests): New AC_SUBST.
61094 * configure: Regenerated.
61095 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
61096 $(built-program-cmd) with $(test-program-cmd).
61097 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
61098 (test_program_cmd): This.
61099 * elf/Makefile ($(objpfx)order.out): Run test with
61100 $(test-program-prefix).
61101 ($(objpfx)order2.out): Likewise.
61102 ($(objpfx)tst-initorder.out): Likewise.
61103 ($(objpfx)tst-initorder2.out): Likewise.
61104 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
61105 $(test-program-cmd).
61106 ($(objpfx)tst-array1-static.out): Likewise.
61107 ($(objpfx)tst-array2.out): Likewise.
61108 ($(objpfx)tst-array3.out): Likewise.
61109 ($(objpfx)tst-array4.out): Likewise.
61110 ($(objpfx)tst-array5.out): Likewise.
61111 ($(objpfx)tst-array5-static.out): Likewise.
61112 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
61113 $(test-program-cmd).
61114 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
61115 $(run-program-prefix) with $(test-program-prefix).
61116 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
61117 (test_program_prefix): This.
61118 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
61119 $(run-program-prefix) with $(test-program-prefix).
61120 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
61121 (test_program_prefix): This.
61122 * iconvdata/tst-tables.sh: Likewise.
61123 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
61124 $(run-program-prefix) with $(test-program-prefix).
61125 ($(objpfx)tst-translit.out): Likewise.
61126 ($(objpfx)tst-gettext2.out): Likewise.
61127 ($(objpfx)tst-gettext4.out): Likewise.
61128 ($(objpfx)tst-gettext6.out): Likewise.
61129 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
61130 (test_program_prefix): This.
61131 * intl/tst-gettext2.sh: Likewise.
61132 * intl/tst-gettext4.sh Likewise.
61133 * intl/tst-gettext6.sh: Likewise.
61134 * intl/tst-translit.sh: Likewise.
61135 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
61136 with $(test-program-cmd).
61137 * libio/Makefile ($(objpfx)test-freopen.out): Replace
61138 $(run-program-prefix) with $(test-program-prefix).
61139 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
61140 (test_program_prefix): This.
61141 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
61142 $(run-program-prefix) with $(test-program-prefix).
61143 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
61144 (test_program_prefix): This.
61145 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
61146 * posix/Makefile ($(objpfx)globtest.out): Replace
61147 $(run-via-rtld-prefix) and $(test-wrapper) with
61148 $(test-program-prefix) and $(test-via-rtld-prefix).
61149 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
61150 $(test-program-prefix).
61151 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
61152 $(host-test-program-cmd).
61153 (tst-spawn-ARGS): Likewise.
61154 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
61155 $(test-program-prefix).
61156 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
61157 (test_via_rtld_prefix): This.
61158 (test_wrapper): Renamed to ...
61159 (test_program_prefix): This.
61160 (run_program_prefix): Replaced by test_program_prefix.
61161 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
61162 (test_program_prefix): This.
61163 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
61164 with $(host-test-program-cmd).
61165 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
61166 $(run-program-prefix) with $(test-program-prefix).
61167 ($(objpfx)tst-printf.out): Likewise.
61168 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
61169 $(test-program-cmd).
61170 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
61171 (test_program_prefix): This.
61172 * stdio-common/tst-unbputc.sh: Likewise.
61173 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
61174 $(run-program-prefix) with $(test-program-prefix).
61175 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
61176 (test_program_prefix): This.
61177 * string/Makefile ($(objpfx)tst-svc.out): Replace
61178 $(built-program-cmd) with $(test-program-cmd).
61179
61180 2013-01-11 Andreas Jaeger <aj@suse.de>
61181
61182 [BZ #15003]
61183 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
61184 value. Sync with Linux 3.7.
61185
61186 2013-01-10 David S. Miller <davem@davemloft.net>
61187
61188 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
61189 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61190 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61191
61192 2013-01-10 Roland McGrath <roland@hack.frob.com>
61193
61194 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
61195 never set.
61196 * configure: Regenerated.
61197
61198 2013-01-10 David S. Miller <davem@davemloft.net>
61199
61200 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61201 sparc V9 rather than using V8 code.
61202 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61203 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61204
61205 2013-01-10 Roland McGrath <roland@hack.frob.com>
61206
61207 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
61208 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
61209 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
61210 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
61211 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
61212 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
61213 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
61214 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
61215 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
61216 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
61217 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
61218 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
61219 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
61220 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
61221 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
61222 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
61223 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
61224 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
61225 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
61226 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
61227 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
61228 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
61229 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
61230 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
61231 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
61232 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
61233 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
61234
61235 2013-01-10 David S. Miller <davem@davemloft.net>
61236
61237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61238
61239 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
61240
61241 * posix/Makefile (tests-static): New variable.
61242 (tests): Add $(tests-static).
61243 (tst-exec-static-ARGS): New variable.
61244 (tst-spawn-static-ARGS): Likewise.
61245 * posix/tst-exec-static.c: New file.
61246 * posix/tst-spawn-static.c: Likewise.
61247 * posix/tst-exec.c: Support run directly.
61248 * posix/tst-spawn.c: Likewise.
61249
61250 2013-01-10 Joseph Myers <joseph@codesourcery.com>
61251
61252 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
61253 long.
61254 * math/bits/mathcalls.h (llrint): Likewise.
61255 (llround): Likewise.
61256 * stdlib/stdlib.h (struct drand48_data): Likewise.
61257 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
61258 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
61259 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
61260 Likewise.
61261 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
61262 Likewise.
61263 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
61264 (elf_greg_t): Likewise.
61265 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
61266 (__jmp_buf): Likewise.
61267 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
61268 definitions.
61269 (llrint): Likewise, for all definitions.
61270 (llrintl): Likewise.
61271
61272 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
61273 Remove [__GNUC__] condition.
61274 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
61275 condition to just [__USE_ISOC99].
61276 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
61277
61278 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
61279
61280 [BZ #14200]
61281 * sysdeps/unix/sysv/linux/x86/bits/environments.h
61282 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
61283 defined.
61284 (_POSIX_V6_ILP32_OFF32): Likewise.
61285 (_XBS5_ILP32_OFF32): Likewise.
61286 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
61287 (__ILP32_OFFBIG_LDFLAGS): Likewise.
61288
61289 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
61290
61291 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
61292
61293 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
61294 doubles __mpexp_twomm1. Adjust usage.
61295 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
61296 Remove.
61297
61298 2013-01-10 Andreas Schwab <schwab@suse.de>
61299
61300 [BZ #14964]
61301 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
61302 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
61303
61304 2013-01-09 David S. Miller <davem@davemloft.net>
61305
61306 [BZ #15003]
61307 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
61308 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
61309 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
61310 (TCP_FASTOPEN): Define.
61311 (tcp_repair_opt): New structure.
61312 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
61313 enum values.
61314 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
61315 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
61316 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
61317 (tcp_cookie_transactions): New structure.
61318
61319 2013-01-09 Anton Blanchard <anton@samba.org>
61320
61321 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
61322 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
61323 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
61324 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
61325
61326 2013-01-09 Joseph Myers <joseph@codesourcery.com>
61327
61328 * include/features.h (__USE_ANSI): Remove.
61329
61330 2013-01-09 Roland McGrath <roland@hack.frob.com>
61331
61332 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
61333
61334 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
61335
61336 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
61337
61338 * sysdeps/s390/fpu/libm-test-ulps: Update.
61339
61340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61341
61342 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
61343 (__acr): Likewise.
61344 (__cpy): Likewise.
61345 (norm): Likewise.
61346 (denorm): Likewise.
61347 (__mp_dbl): Likewise.
61348 (__dbl_mp): Likewise.
61349 (add_magnitudes): Likewise.
61350 (sub_magnitudes): Likewise.
61351 (__add): Likewise.
61352 (__sub): Likewise.
61353 (__mul): Likewise.
61354 (__inv): Likewise.
61355 (__dvd): Likewise.
61356 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
61357 (__acr): Likewise.
61358 (__cpy): Likewise.
61359 (norm): Likewise.
61360 (denorm): Likewise.
61361 (__mp_dbl): Likewise.
61362 (__dbl_mp): Likewise.
61363 (add_magnitudes): Likewise.
61364 (sub_magnitudes): Likewise.
61365 (__add): Likewise.
61366 (__sub): Likewise.
61367 (__mul): Likewise.
61368 (__inv): Likewise.
61369 (__dvd): Likewise.
61370 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
61371 (__acr): Likewise.
61372 (__cpy): Likewise.
61373 (norm): Likewise.
61374 (denorm): Likewise.
61375 (__mp_dbl): Likewise.
61376 (__dbl_mp): Likewise.
61377 (add_magnitudes): Likewise.
61378 (sub_magnitudes): Likewise.
61379 (__add): Likewise.
61380 (__sub): Likewise.
61381 (__mul): Likewise.
61382 (__inv): Likewise.
61383 (__dvd): Likewise.
61384
61385 2013-01-08 Joseph Myers <joseph@codesourcery.com>
61386
61387 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
61388 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
61389 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
61390 2 && __USE_EXTERN_INLINES]: Likewise.
61391
61392 2013-01-08 Andreas Jaeger <aj@suse.de>
61393
61394 [BZ# 14985]
61395 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
61396 Remove.
61397 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
61398 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
61399
61400 2013-01-07 Anton Blanchard <anton@samba.org>
61401
61402 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
61403 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
61404 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
61405 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
61406 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
61407 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61408 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
61409 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
61410 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61411 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61412 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
61413 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
61414 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
61415 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61416 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
61417 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
61418 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
61419 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61420 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
61421 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
61422 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
61423 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
61424 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61425 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
61426 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
61427 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
61428 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
61429 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
61430 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
61431 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
61432 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
61433 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61434 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61435 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
61436 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
61437 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61438 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61439 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61440 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
61441 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
61442 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
61443 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61444 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
61445
61446 2013-01-07 Joseph Myers <joseph@codesourcery.com>
61447
61448 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
61449 (__MALLOC_PMT): Likewise.
61450 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
61451 [__GNUC__], only on [_LIBC].
61452 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
61453 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
61454 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
61455 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
61456 forward declaration.
61457 (realloc_hook_ini): Likewise.
61458 (memalign_hook_ini): Likewise.
61459 (__libc_memalign): Do not use __MALLOC_PMT in variable
61460 declaration.
61461 (__libc_valloc): Likewise.
61462 (__libc_pvalloc): Likewise.
61463 (__libc_calloc): Likewise.
61464 (__posix_memalign): Likewise.
61465
61466 [BZ #14996]
61467 * math/s_casinh.c: Include <float.h>.
61468 (__casinh): Do not do computation with squaring and square root
61469 for large arguments.
61470 * math/s_casinhf.c: Include <float.h>.
61471 (__casinhf): Do not do computation with squaring and square root
61472 for large arguments.
61473 * math/s_casinhl.c: Include <float.h>.
61474 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
61475 (__casinhl): Do not do computation with squaring and square root
61476 for large arguments.
61477 * math/libm-test.inc (casin_test): Add more tests.
61478 (casinh_test): Likewise.
61479 * sysdeps/i386/fpu/libm-test-ulps: Update.
61480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61481
61482 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
61483
61484 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
61485 (__x86_64_raw_data_cache_size): Likewise.
61486 (__x86_64_data_cache_size_half): Likewise.
61487 (__x86_64_raw_data_cache_size_half): Likewise.
61488 (__x86_64_shared_cache_size): Likewise.
61489 (__x86_64_raw_shared_cache_size): Likewise.
61490 (__x86_64_shared_cache_size_half): Likewise.
61491 (__x86_64_raw_shared_cache_size_half): Likewise.
61492 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
61493 to ...
61494 (__x86_data_cache_size): This.
61495 (__x86_64_raw_data_cache_size): Renamed to ...
61496 (__x86_raw_data_cache_size): This.
61497 (__x86_64_data_cache_size_half): Renamed to ...
61498 (__x86_data_cache_size_half): This.
61499 (__x86_64_raw_data_cache_size_half): Renamed to ...
61500 (__x86_raw_data_cache_size_half): This.
61501 (__x86_64_shared_cache_size): Renamed to ...
61502 (__x86_shared_cache_size): This.
61503 (__x86_64_raw_shared_cache_size): Renamed to ...
61504 (__x86_raw_shared_cache_size): This.
61505 (__x86_64_shared_cache_size_half): Renamed to ...
61506 (__x86_shared_cache_size_half): This.
61507 (__x86_64_raw_shared_cache_size_half): Renamed to ...
61508 (__x86_raw_shared_cache_size_half): This.
61509 * sysdeps/x86_64/memcpy.S: Updated.
61510 * sysdeps/x86_64/memset.S: Likewise.
61511 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
61512 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61513 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61514
61515 2013-01-04 David S. Miller <davem@davemloft.net>
61516
61517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61518
61519 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
61520
61521 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
61522 1 to avoid redefinition warning.
61523 (__USE_GNU): Don't define.
61524 (init_signaling_nan): Protoize.
61525
61526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61527
61528 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
61529
61530 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
61531 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
61532 (__cpymn): Likewise.
61533 (norm): Remove commented code.
61534 (denorm): Likewise.
61535 (__mp_dbl): Likewise.
61536 (__inv): Likewise.
61537 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
61538 (__cpymn): Likewise.
61539 (norm): Remove commented code.
61540 (denorm): Likewise.
61541 (__mp_dbl): Likewise.
61542 (__inv): Likewise.
61543
61544 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
61545 mp_no value for 1.0 and 2.0.
61546 (norm): Use RADIXI instead of radixi.d.
61547 (denorm): Likewise.
61548 (__mul): Use 0.0 instead of zero.d.
61549 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
61550 mp_no value for 1.0 and 2.0.
61551 (norm): Use RADIXI instead of radixi.d.
61552 (denorm): Likewise.
61553 (__mul): Use 0.0 instead of zero.d.
61554
61555 2013-01-04 Joseph Myers <joseph@codesourcery.com>
61556
61557 [BZ #14994]
61558 * math/s_casinh.c (__casinh): Reduce finite argument to first
61559 quadrant then set signs of results at the end.
61560 * math/s_casinhf.c (__casinhf): Likewise.
61561 * math/s_casinhl.c (__casinhl): Likewise.
61562 * math/libm-test.inc (casin_test): Add more tests.
61563 (casinh_test): Likewise.
61564 * sysdeps/i386/fpu/libm-test-ulps: Update.
61565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61566
61567 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
61568
61569 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
61570
61571 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
61572
61573 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
61574 declarations.
61575 (denorm): Likewise.
61576 (__mp_dbl): Likewise.
61577 (__inv): Likewise.
61578
61579 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
61580 and adjust the header comment.
61581
61582 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
61583 variable name from declaration.
61584
61585 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
61586
61587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61588 Initialize COMMON_CPUID_INDEX_7 element.
61589 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
61590 (CPUID_RTM): Likewise.
61591 (HAS_RTM): Likewise.
61592 (COMMON_CPUID_INDEX_7): New enum.
61593
61594 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
61595
61596 [BZ #14981]
61597 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
61598 size is zero, record memory as freed.
61599
61600 2013-01-03 Andreas Jaeger <aj@suse.de>
61601
61602 * po/ia.po: Add new Interlingua translation.
61603
61604 2012-01-03 Allan McRae <allan@archlinux.org>
61605
61606 * locale/programs/localedef.c: Fix description of '--posix' flag.
61607
61608 2013-01-02 Joseph Myers <joseph@codesourcery.com>
61609
61610 * NEWS: Update dates in second copyright notice.
61611 * README: Update copyright dates in example.
61612 * manual/libc.texinfo: Update copyright dates.
61613 * scripts/test-installation.pl: Update copyright date in --version
61614 output.
61615
61616 * hurd/ctty-input.c: Fix copyright notice formatting.
61617 * hurd/ctty-output.c: Likewise.
61618 * hurd/dtable.c: Likewise.
61619 * hurd/hurd-raise.c: Likewise.
61620 * hurd/hurdprio.c: Likewise.
61621 * hurd/msgportdemux.c: Likewise.
61622 * misc/sys/file.h: Likewise.
61623 * misc/sys/ioctl.h: Likewise.
61624 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
61625 * sysdeps/mach/hurd/chdir.c: Likewise.
61626 * sysdeps/mach/hurd/fchdir.c: Likewise.
61627 * sysdeps/mach/hurd/rename.c: Likewise.
61628 * sysdeps/mach/hurd/rmdir.c: Likewise.
61629 * sysdeps/mach/hurd/seekdir.c: Likewise.
61630 * sysdeps/mach/hurd/setsid.c: Likewise.
61631 * sysdeps/posix/wait3.c: Likewise.
61632
61633 * All files with FSF copyright notices: Update copyright dates
61634 using scripts/update-copyrights.
61635 * intl/plural.c: Regenerated.
61636 * locale/programs/charmap-kw.h: Likewise.
61637 * locale/programs/locfile-kw.h: Likewise.
61638
61639 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
61640
61641 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
61642 four values.
61643
61644 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
61645 calculation loop and add branch prediction.
61646
61647 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
61648 check access beyond bounds of m1np.
61649
61650 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
61651 MPTWO.
61652 (__inv): Remove local variable MPTWO to use the global
61653 constant.
61654 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
61655 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
61656 variable MPTWO.
61657 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
61658 MP3HALFS static const.
61659
61660 2013-01-01 David S. Miller <davem@davemloft.net>
61661
61662 * po/ca.po: Update from translation team.
61663
61664 2013-01-01 Joseph Myers <joseph@codesourcery.com>
61665
61666 * scripts/update-copyrights: New file.
61667 * Makeconfig: Reformat copyright notice.
61668 * ctype/ctype.h: Likewise.
61669 * debug/swprintf_chk.c: Likewise.
61670 * elf/dl-cache.c: Likewise.
61671 * elf/dl-debug.c: Likewise.
61672 * elf/dl-object.c: Likewise.
61673 * grp/initgroups.c: Likewise.
61674 * hurd/Makefile: Likewise.
61675 * hurd/hurd/signal.h: Likewise.
61676 * hurd/hurdfault.c: Likewise.
61677 * hurd/hurdioctl.c: Likewise.
61678 * hurd/hurdlookup.c: Likewise.
61679 * hurd/intr-msg.c: Likewise.
61680 * iconv/gconv_open.c: Likewise.
61681 * libio/swprintf.c: Likewise.
61682 * locale/lc-ctype.c: Likewise.
61683 * locale/nl_langinfo.c: Likewise.
61684 * mach/Machrules: Likewise.
61685 * mach/Makefile: Likewise.
61686 * malloc/obstack.h: Likewise.
61687 * manual/Makefile: Likewise.
61688 * manual/tsort.awk: Likewise.
61689 * misc/bits/stab.def: Likewise.
61690 * nis/nis_print_group_entry.c: Likewise.
61691 * nis/nis_table.c: Likewise.
61692 * nis/nss_compat/compat-pwd.c: Likewise.
61693 * nis/nss_compat/compat-spwd.c: Likewise.
61694 * po/Makefile: Likewise.
61695 * posix/fnmatch.c: Likewise.
61696 * posix/regex.h: Likewise.
61697 * resolv/Makefile: Likewise.
61698 * resolv/nss_dns/dns-network.c: Likewise.
61699 * resolv/res_hconf.c: Likewise.
61700 * scripts/gen-sorted.awk: Likewise.
61701 * soft-fp/soft-fp.h: Likewise.
61702 * stdio-common/printf.h: Likewise.
61703 * stdlib/monetary.h: Likewise.
61704 * stdlib/random.c: Likewise.
61705 * stdlib/random_r.c: Likewise.
61706 * sysdeps/generic/Makefile: Likewise.
61707 * sysdeps/gnu/Makefile: Likewise.
61708 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
61709 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61710 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61711 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61712 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61713 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61714 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61715 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61716 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61717 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61718 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61719 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61720 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
61721 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
61722 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
61723 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
61724 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61725 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61726 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61727 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61728 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
61729 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
61730 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
61731 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
61732 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
61733 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
61734 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
61735 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
61736 * sysdeps/mach/hurd/errnos.awk: Likewise.
61737 * sysdeps/mach/hurd/fork.c: Likewise.
61738 * sysdeps/mach/hurd/getcwd.c: Likewise.
61739 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
61740 * sysdeps/mach/hurd/mmap.c: Likewise.
61741 * sysdeps/mach/hurd/utimes.c: Likewise.
61742 * sysdeps/mach/hurd/xmknod.c: Likewise.
61743 * sysdeps/posix/profil.c: Likewise.
61744 * sysdeps/posix/readdir_r.c: Likewise.
61745 * sysdeps/powerpc/bits/mathdef.h: Likewise.
61746 * sysdeps/powerpc/bits/setjmp.h: Likewise.
61747 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
61748 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
61749 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61750 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
61751 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61752 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61753 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61754 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
61755 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61756 * sysdeps/pthread/lio_listio.c: Likewise.
61757 * sysdeps/sparc/dl-procinfo.h: Likewise.
61758 * sysdeps/unix/i386/sysdep.S: Likewise.
61759 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
61760 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
61761 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
61762 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
61763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61764 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
61765 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
61766 * sysdeps/unix/sysv/linux/speed.c: Likewise.
61767 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
61768 * sysdeps/wordsize-32/divdi3.c: Likewise.
61769 * time/sys/time.h: Likewise.
61770 * wcsmbs/Makefile: Likewise.
61771
61772 2013-01-01 David S. Miller <davem@davemloft.net>
61773
61774 * po/fr.po: Update from translation team.
61775
61776 * catgets/gencat.c: Update copyright year.
61777 * csu/version.c: Likewise.
61778 * debug/catchsegv.sh: Likewise.
61779 * debug/pcprofiledump.c: Likewise.
61780 * debug/xtrace.sh: Likewise.
61781 * elf/ldconfig.c: Likewise.
61782 * elf/ldd.bash.in: Likewise.
61783 * elf/pldd.c: Likewise.
61784 * elf/sotruss.ksh: Likewise.
61785 * elf/sprof.c: Likewise.
61786 * iconv/iconv_prog.c: Likewise.
61787 * iconv/iconvconfig.c: Likewise.
61788 * locale/programs/locale.c: Likewise.
61789 * locale/programs/localedef.c: Likewise.
61790 * login/programs/pt_chown.c: Likewise.
61791 * malloc/memusage.sh: Likewise.
61792 * malloc/memusagestat.c: Likewise.
61793 * malloc/mtrace.pl: Likewise.
61794 * nscd/nscd.c: Likewise.
61795 * nss/getent.c: Likewise.
61796 * nss/makedb.c: Likewise.
61797 * posix/getconf.c: Likewise.
61798
61799 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
61800
61801 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
61802 numbers.
61803
61804 2012-12-30 Mike Frysinger <vapier@gentoo.org>
61805
61806 * math/bits/mathcalls.h (modf): Use __nonnull.
61807
61808 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
61809
61810 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
61811 (split): Use macro CN instead of the bare value.
61812 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
61813 could be used.
61814 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
61815 instead of the bare value.
61816 (power1): Likewise.
61817
61818 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61819
61820 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
61821 __ATAN_TWOM.
61822 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61823
61824 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
61825 their values.
61826 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
61827 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61828 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
61829 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
61830
61831 2012-12-28 Andreas Jaeger <aj@suse.de>
61832
61833 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
61834 values are from Linux 3.7.
61835
61836 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
61837 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
61838
61839 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61840
61841 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
61842 TRUE case.
61843
61844 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
61845 (norm): Likewise.
61846 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
61847 variables with preprocessor constants.
61848 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61849 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
61850 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
61851
61852 2012-12-27 Bruno Haible <bruno@clisp.org>
61853
61854 [BZ #14317]
61855 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
61856 only if needed.
61857
61858 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
61859
61860 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
61861 and use variable directly.
61862 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
61863
61864 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
61865 MPONE.
61866 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
61867 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
61868 variable MPONE.
61869 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61870 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
61871 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
61872 include directive. Remove local variable MPONE.
61873 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
61874 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
61875 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
61876
61877 2012-12-25 David S. Miller <davem@davemloft.net>
61878
61879 * version.h (RELEASE): Set to "development".
61880 (VERSION): Set to "2.17.90".
61881 * NEWS: Add 2.18 section.
61882
61883 2012-12-21 David S. Miller <davem@davemloft.net>
61884
61885 * po/hr.po: Update from translation team.
61886
61887 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61888
61889 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
61890
61891 2012-12-19 Steve Ellcey <sellcey@mips.com>
61892
61893 * NEWS: Mention new memcpy for MIPS.
61894
61895 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61896
61897 * manual/contrib.texi (Contributors): Spelling correction.
61898
61899 2012-12-15 David S. Miller <davem@davemloft.net>
61900
61901 * po/ru.po: Update from translation team.
61902
61903 2012-12-13 David S. Miller <davem@davemloft.net>
61904
61905 * NEWS: Mention IFUNC testsuite enhancements.
61906
61907 * po/pl.po: Update from translation team.
61908 * po/bg.po: Likewise.
61909
61910 * manual/contrib.texi (Contributors): Update entries for Hongjiu
61911 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
61912
61913 2012-12-11 David S. Miller <davem@davemloft.net>
61914
61915 * po/sv.po: Update from translation team.
61916
61917 * po/vi.po: Update from translation team.
61918
61919 * po/cs.po: Update from translation team.
61920
61921 * po/de.po: Update from translation team.
61922 * po/eo.po: Likewise.
61923 * po/nl.po: Likewise.
61924
61925 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
61926
61927 [BZ #14246]
61928 * manual/argp.texi (Argp Helper Functions): Move node to follow
61929 Argp Parsing State.
61930
61931 [BZ #14872]
61932 * manual/conf.texi (Limits on File System Capacity): Mention if
61933 terminating null is included in the max size.
61934
61935 2012-12-10 Andreas Jaeger <aj@suse.de>
61936
61937 * po/cs.po: Update from translation team.
61938
61939 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
61940
61941 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
61942 void pointer and cast to uintptr_t.
61943 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
61944 path.
61945 * sysdeps/s390/s390-64/memcpy.S: Likewise.
61946 * sysdeps/s390/s390-64/memset.S: Likewise.
61947
61948 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
61949
61950 [BZ #14833]
61951 * menual/message.texi (Message Translation): Fix typos.
61952 (Helper programs for gettext): Likewise.
61953
61954 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
61955
61956 [BZ #14898]
61957 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
61958 Change to -1.
61959
61960 2012-12-07 David S. Miller <davem@davemloft.net>
61961
61962 * po/libc.pot: Update.
61963
61964 2012-12-07 Richard Henderson <rth@redhat.com>
61965
61966 [BZ #10114]
61967 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
61968 normal/normal case to before the switch.
61969 (_FP_DIV): Likewise.
61970
61971 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
61972 Mike Frysinger <vapier@gentoo.org>
61973
61974 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
61975 check for __NR_fadvise64_64.
61976
61977 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
61978
61979 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
61980 0, not just to plain "0" as a statement.
61981 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
61982 with cw.
61983
61984 2012-12-06 Joseph Myers <joseph@codesourcery.com>
61985
61986 * NEWS: Use sourceware.org in Bugzilla URL.
61987
61988 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
61989
61990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
61991 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
61992
61993 * stdio-common/tst-put-error.c (do_test): Add newline to the
61994 padded test to ensure flush.
61995
61996 2012-12-05 Jeff Law <law@redhat.com>
61997
61998 * sunrpc/etc.rpc (fedfs_admin): Add entry.
61999
62000 2012-12-05 Joseph Myers <joseph@codesourcery.com>
62001
62002 * README: Don't refer to ports add-on as distributed separately.
62003 Mention AArch64 in list of systems supported in the ports add-on.
62004
62005 * LICENSES: Add more non-FSF copyright and license notices.
62006
62007 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
62008 ((unused)).
62009
62010 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
62011
62012 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
62013 10000 as width of padded output.
62014
62015 2012-12-04 Joseph Myers <joseph@codesourcery.com>
62016
62017 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
62018
62019 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
62020 variable LX with __attribute__ ((unused)).
62021 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62022 Likewise.
62023 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62024 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62025 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
62026 with __attribute__ ((unused)).
62027
62028 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
62029
62030 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
62031
62032 2012-12-04 Joseph Myers <joseph@codesourcery.com>
62033
62034 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
62035 (CFLAGS-nldbl-acos.c): New variable.
62036 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
62037 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
62038 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
62039 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
62040 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
62041 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
62042 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
62043 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
62044 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
62045 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
62046 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
62047 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
62048 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
62049 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
62050 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
62051 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
62052 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
62053 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
62054 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
62055 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
62056 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
62057 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
62058 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
62059 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
62060 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
62061 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
62062 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
62063 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
62064 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
62065 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
62066 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
62067 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
62068 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
62069 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
62070 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
62071 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
62072 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
62073 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
62074 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
62075 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
62076 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
62077 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
62078 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
62079 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
62080 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
62081 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
62082 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
62083 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
62084 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
62085 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
62086 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
62087 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
62088 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
62089 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
62090 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
62091 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
62092 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
62093 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
62094 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
62095 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
62096 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
62097 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
62098 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
62099 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
62100 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
62101 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
62102 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
62103 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
62104 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
62105 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
62106 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
62107 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
62108 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
62109 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
62110 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
62111 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
62112 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
62113 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
62114 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
62115 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
62116 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
62117 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
62118 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
62119 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
62120 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
62121 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
62122 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
62123 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
62124 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
62125 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
62126 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
62127 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
62128 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
62129 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
62130 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
62131 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
62132 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
62133
62134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
62135 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62136
62137 [BZ #14914]
62138 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
62139 whole low double instead of just low 47 bits when splitting values
62140 into two parts.
62141
62142 2012-12-03 Allan McRae <allan@archlinux.org>
62143
62144 * manual/stdio.texi (Predefined Printf Handlers): Remove
62145 @hsep and @vsep usage.
62146
62147 2012-12-03 Mike Frysinger <vapier@gentoo.org>
62148
62149 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
62150 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
62151
62152 2012-12-03 Jeff Law <law@redhat.com>
62153
62154 * time/sys/time.h (settimeofday): Do not mark TV argument
62155 as __nonnull.
62156
62157 2012-12-01 Mike Frysinger <vapier@gentoo.org>
62158
62159 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
62160 when currently writing and seek to current position when not.
62161 * libio/Makefile (tests): Remove bug-fclose1.
62162 * libio/bug-fclose1.c: Delete.
62163
62164 2012-12-01 Joseph Myers <joseph@codesourcery.com>
62165
62166 * manual/arith.texi (feenableexcept): Fix typo.
62167 (fedisableexcept): Likewise.
62168
62169 2012-11-30 Roland McGrath <roland@hack.frob.com>
62170
62171 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
62172 second, differently-typed declaration, rather than a cast.
62173
62174 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
62175
62176 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
62177 * include/rpc/svc.h: ... here.
62178
62179 2012-11-30 Aurelien Jarno <aurel32@debian.org>
62180
62181 [BZ #13013]
62182 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
62183 depending n and resplen2 to catch cases where answer
62184 equals answerp2.
62185
62186 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
62187
62188 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
62189 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
62190
62191 2012-11-29 Mike Frysinger <vapier@gentoo.org>
62192
62193 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
62194
62195 2012-11-29 Roland McGrath <roland@hack.frob.com>
62196
62197 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
62198
62199 2012-11-28 Jeff Law <law@redhat.com>
62200
62201 [BZ #13761]
62202 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
62203 dataset_temporary. Track alloca usage into alloca_used.
62204 If dataset is large allocate and release it via malloc/free.
62205
62206 2012-06-04 Florian Weimer <fweimer@redhat.com>
62207
62208 [BZ #14197]
62209 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
62210
62211 2012-11-28 David S. Miller <davem@davemloft.net>
62212
62213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62214
62215 2012-11-28 Joseph Myers <joseph@codesourcery.com>
62216
62217 [BZ #14803]
62218 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
62219 of pi/2 rounded to nearest to 64 bits.
62220 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
62221 nearest to 64 bits.
62222 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
62223 bits.
62224
62225 2012-11-28 Jeff Law <law@redhat.com>
62226 Martin Osvald <mosvald@redhat.com>
62227
62228 [BZ #14889]
62229 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
62230 * sunrpc/svc.c: Include time.h.
62231 (__svc_accept_failed): New function.
62232 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
62233 any reason other than EINTR, call __svc_accept_failed.
62234 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
62235 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
62236
62237 2012-11-28 Andreas Schwab <schwab@suse.de>
62238
62239 * scripts/abilist.awk: Also handle indirect functions in .opd
62240 section.
62241
62242 2012-11-28 Joseph Myers <joseph@codesourcery.com>
62243
62244 [BZ #13881]
62245 * sysdeps/x86/fpu/powl_helper.c: New file.
62246 * sysdeps/x86/fpu/Makefile: Likewise.
62247 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
62248 (p3): New object.
62249 (__ieee754_powl): Use __powl_helper for finite arguments except
62250 integer exponents below 8.
62251 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
62252 (p3): New object.
62253 (__ieee754_powl): Use __powl_helper for finite arguments except
62254 integer exponents below 8.
62255 * math/libm-test.inc (pow_test): Add more tests and enable some
62256 previously disabled tests.
62257 * sysdeps/i386/fpu/libm-test-ulps: Update.
62258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62259
62260 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62261 Carlos O'Donell <carlos_odonell@mentor.com>
62262
62263 * nss/makedb.c (is_prime): Assert that input is odd and greater
62264 than 4. Note that fact in a comment too.
62265 (next_prime): Add 4 to input.
62266
62267 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
62268
62269 [BZ #11741]
62270 * libio/Makefile (tests): Add test case tst-fwrite-error.
62271 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
62272 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
62273 * libio/tst-fwrite-error.c: New test case.
62274
62275 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
62276
62277 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
62278 before casting to void *.
62279 * include/libc-internal.h (__pointer_type): New macro.
62280 (__integer_if_pointer_type_sub): Likewise.
62281 (__integer_if_pointer_type): Likewise.
62282 (cast_to_integer): Likewise.
62283 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
62284 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
62285 before casting to atomic64_t.
62286 (atomic_exchange_acq): Likewise.
62287 (__arch_exchange_and_add_body): Likewise.
62288 (__arch_add_body): Likewise.
62289 (atomic_add_negative): Likewise.
62290 (atomic_add_zero): Likewise.
62291
62292 2012-11-26 Joseph Myers <joseph@codesourcery.com>
62293
62294 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
62295 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
62296 (add_fdes): Likewise.
62297 (linear_search_fdes): Likewise.
62298 (binary_search_unencoded_fdes): Likewise.
62299
62300 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
62301
62302 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
62303
62304 2012-11-24 Adam Conrad <adconrad@0c3.net>
62305
62306 * configure.in: Autodetect C++ header directories.
62307 * configure: Regenerated.
62308
62309 2012-11-23 Mike Frysinger <vapier@gentoo.org>
62310
62311 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
62312
62313 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
62314
62315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62316
62317 2012-11-22 Joseph Myers <joseph@codesourcery.com>
62318
62319 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
62320 LDBL_MANT_DIG == 106]: Disable some tests.
62321 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62322 Likewise.
62323 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62324 Likewise.
62325
62326 [BZ #14871]
62327 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
62328 input for small inputs. Return +/- pi/2 for large inputs.
62329 * math/libm-test.inc (atan_test): Add more tests.
62330
62331 * sysdeps/generic/unwind-dw2-fde-glibc.c
62332 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
62333 __attribute__ ((unused)).
62334
62335 [BZ #14645]
62336 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
62337 x * y if x and y are nonzero and z is zero.
62338
62339 [BZ #14811]
62340 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
62341 nonzero exponents with absolute value below 0x1p-117 to +/-
62342 0x1p-117.
62343
62344 [BZ #14869]
62345 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
62346 up arguments below 2**-450, not just those below 2**-500.
62347 * math/libm-test.inc (hypot_test): Add another test.
62348
62349 [BZ #14868]
62350 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
62351 Return a+b for ratio over 2**120, not 2**60.
62352 * math/libm-test.inc (hypot_test): Add another test.
62353
62354 * math/libm-test.inc (clog_test): Use
62355 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
62356 (clog10_test): Likewise.
62357
62358 [BZ #6778]
62359 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
62360
62361 2012-11-22 Andreas Schwab <schwab@suse.de>
62362
62363 * sysdeps/i386/fpu/libm-test-ulps: Update.
62364
62365 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
62366
62367 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
62368 printf output with newline.
62369
62370 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
62371
62372 [BZ #14865]
62373 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
62374 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
62375 -z nodlopen, -z initfirst and -z execstack support.
62376 * configure: Regenerated.
62377
62378 * elf/elf.h (DF_1_NODIRECT): New macro.
62379 (DF_1_IGNMULDEF): Likewise.
62380 (DF_1_NOKSYMS): Likewise.
62381 (DF_1_NOHDR): Likewise.
62382 (DF_1_EDITED): Likewise.
62383 (DF_1_NORELOC): Likewise.
62384 (DF_1_SYMINTPOSE): Likewise.
62385 (DF_1_GLOBAUDIT): Likewise.
62386 (DF_1_SINGLETON): Likewise.
62387 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
62388 DT_1_SUPPORTED_MASK bits.
62389 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
62390
62391 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
62392
62393 * sysdeps/unix/make-syscalls.sh: Document prefixes.
62394
62395 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
62396
62397 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
62398 macro.
62399
62400 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
62401 (sendmmsg): Move declarations...
62402 * socket/sys/socket.h: ... here.
62403 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
62404 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
62405 include it from...
62406 * socket/recvmmsg.c: ... this new file.
62407 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
62408 (sendmmsg): Rename to __sendmmsg, create weak alias and make
62409 definition of __sendmmsg hidden.
62410 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
62411 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
62412 Move ENOSYS stub into and include it from...
62413 * socket/sendmmsg.c: ... this new file.
62414 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
62415 (sysdep_routines): Move recvmmsg and sendmmsg...
62416 * socket/Makefile (routines): ... here.
62417 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
62418 (GLIBC_PRIVATE): Add __sendmmsg.
62419 * include/sys/socket.h (__sendmmsg): Add declarations.
62420 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
62421 sendmmsg.
62422
62423 2012-11-20 Joseph Myers <joseph@codesourcery.com>
62424
62425 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
62426 variable I1 with __attribute__ ((unused)).
62427 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
62428
62429 2012-11-19 Joseph Myers <joseph@codesourcery.com>
62430
62431 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
62432 DUMMY variables with __attribute__ ((unused)).
62433
62434 * bits/byteswap.h: Include <bits/types.h>.
62435 (__bswap_64): Use __uint64_t instead of unsigned long long int.
62436
62437 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
62438
62439 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
62440 string_t. Do not manually set errno.
62441 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
62442 length with __strnlen. Make sure to both set errno and return it on
62443 failure.
62444
62445 2012-11-19 David S. Miller <davem@davemloft.net>
62446
62447 With help from Joseph Myers.
62448 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
62449 very large arguments properly.
62450 * math/libm-test.inc (atan_test): New tests.
62451 (atan2_test): New tests.
62452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62453 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62454
62455 2012-11-19 Joseph Myers <joseph@codesourcery.com>
62456
62457 [BZ #14856]
62458 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
62459 Define to 3.
62460
62461 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
62462 [POSIX] (EADDRNOTAVAIL): Likewise.
62463 [POSIX] (EAFNOSUPPORT): Likewise.
62464 [POSIX] (EALREADY): Likewise.
62465 [POSIX] (ECONNABORTED): Likewise.
62466 [POSIX] (ECONNREFUSED): Likewise.
62467 [POSIX] (ECONNRESET): Likewise.
62468 [POSIX] (EDESTADDRREQ): Likewise.
62469 [POSIX] (EDQUOT): Likewise.
62470 [POSIX] (EHOSTUNREACH): Likewise.
62471 [POSIX] (EIDRM): Likewise.
62472 [POSIX] (EISCONN): Likewise.
62473 [POSIX] (ELOOP): Likewise.
62474 [POSIX] (EMULTIHOP): Likewise.
62475 [POSIX] (ENETDOWN): Likewise.
62476 [POSIX] (ENETUNREACH): Likewise.
62477 [POSIX] (ENOBUFS): Likewise.
62478 [POSIX] (ENODATA): Likewise.
62479 [POSIX] (ENOLINK): Likewise.
62480 [POSIX] (ENOMSG): Likewise.
62481 [POSIX] (ENOPROTOOPT): Likewise.
62482 [POSIX] (ENOSR): Likewise.
62483 [POSIX] (ENOSTR): Likewise.
62484 [POSIX] (ENOTCONN): Likewise.
62485 [POSIX] (ENOTSOCK): Likewise.
62486 [POSIX] (EOPNOTSUPP): Likewise.
62487 [POSIX] (EOVERFLOW): Likewise.
62488 [POSIX] (EPROTO): Likewise.
62489 [POSIX] (EPROTONOSUPPORT): Likewise.
62490 [POSIX] (EPROTOTYPE): Likewise.
62491 [POSIX] (ESTALE): Likewise.
62492 [POSIX] (ETIME): Likewise.
62493 [POSIX] (ETXTBSY): Likewise.
62494 [POSIX] (EWOULDBLOCK): Likewise.
62495 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
62496 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
62497 [POSIX] (SEEK_CUR): Likewise.
62498 [POSIX] (SEEK_END): Likewise.
62499 [POSIX || UNIX98] (mode_t): Do not require.
62500 [POSIX] (off_t): Likewise.
62501 [POSIX] (pid_t): Likewise.
62502 [POSIX] (sys/stat.h): Do not allow header.
62503 [POSIX] (unistd.h): Likewise.
62504 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
62505 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
62506 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
62507 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
62508 require.
62509 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
62510 sigevent): Specify elements.
62511 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
62512 entry.
62513 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
62514 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
62515
62516 * conform/data/cpio.h-data [POSIX]: Disable whole file.
62517 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
62518 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
62519 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
62520 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
62521 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
62522 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
62523 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
62524 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
62525 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
62526 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
62527 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
62528 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
62529 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
62530 Likewise.
62531 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
62532 Likewise.
62533 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
62534 Likewise.
62535 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
62536 Likewise.
62537 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
62538 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
62539 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
62540 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
62541 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
62542 Specify lower bound on value.
62543 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
62544 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
62545 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
62546 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
62547 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
62548 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
62549 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
62550 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
62551 value.
62552 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
62553 as optional.
62554 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
62555 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
62556 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
62557 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
62558 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
62559 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
62560 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
62561 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
62562 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
62563 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
62564 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
62565 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
62566 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
62567 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
62568 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
62569 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
62570 entry.
62571 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
62572 optional.
62573 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
62574 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
62575 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
62576 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
62577 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
62578 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
62579 Likewise.
62580 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
62581 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
62582 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
62583 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
62584 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
62585 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
62586 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
62587 as optional.
62588 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
62589 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
62590 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
62591 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
62592 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
62593 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
62594 specify as optional.
62595 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
62596 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
62597 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
62598 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
62599 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
62600 [XPG3] (NL_LANGMAX): Likewise.
62601 [POSIX || XPG3] (NL_MSGMAX): Likewise.
62602 [POSIX || XPG3] (NL_NMAX): Likewise.
62603 [POSIX || XPG3] (NL_SETMAX): Likewise.
62604 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
62605 [XPG3] (NZERO): Likewise.
62606 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
62607 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
62608 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
62609 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
62610 (REG_ERANGE): Expect.
62611 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
62612 optional-constant.
62613 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
62614 Use (void) in prototype.
62615 [POSIX] (*_t): Allow.
62616 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
62617 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
62618 (WRDE_BADVAL): Expect.
62619
62620 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
62621 expect.
62622 [XPG3 || XPG4] (O_RSYNC): Likewise.
62623 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
62624 Likewise.
62625 [XPG3 || XPG4] (pthread_sigmask): Likewise.
62626 [XPG3 || XPG4] (sigqueue): Likewise.
62627 [XPG3 || XPG4] (sigtimedwait): Likewise.
62628 [XPG3 || XPG4] (sigwaitinfo): Likewise.
62629 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
62630 [XPG3 || XPG4] (vsnprintf): Likewise.
62631 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
62632 Likewise.
62633 [XPG3 || XPG4] (blksize_t): Likewise.
62634 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
62635 Likewise.
62636 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
62637 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
62638 [XPG3 || XPG4] (struct itimerspec): Likewise.
62639 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
62640 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
62641 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
62642 [XPG3 || XPG4] (clockid_t): Likewise.
62643 [XPG3 || XPG4] (timer_t): Likewise.
62644 [XPG3 || XPG4] (clock_getres): Likewise.
62645 [XPG3 || XPG4] (clock_gettime): Likewise.
62646 [XPG3 || XPG4] (clock_settime): Likewise.
62647 [XPG3 || XPG4] (nanosleep): Likewise.
62648 [XPG3 || XPG4] (timer_create): Likewise.
62649 [XPG3 || XPG4] (timer_delete): Likewise.
62650 [XPG3 || XPG4] (timer_gettime): Likewise.
62651 [XPG3 || XPG4] (timer_getoverrun): Likewise.
62652 [XPG3 || XPG4] (timer_settime): Likewise.
62653 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
62654 [XPG3 || XPG4] (getlogin_r): Likewise.
62655 [XPG3 || XPG4] (pread): Likewise.
62656 [XPG3 || XPG4] (pthread_atfork): Likewise.
62657 [XPG3 || XPG4] (pwrite): Likewise.
62658
62659 [BZ #14835]
62660 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
62661 <bits/siginfo.h>.
62662
62663 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
62664
62665 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
62666 finalizing MALLSTREAM.
62667
62668 * sysdeps/mach/hurd/syncfs.c: New file.
62669
62670 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
62671
62672 [BZ #14719]
62673 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
62674 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
62675 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
62676 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
62677 (_nss_dns_gethostbyname4_r): Likewise.
62678 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
62679 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
62680
62681 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
62682
62683 [BZ #13763]
62684 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
62685
62686 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
62687
62688 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
62689 * elf/cache.c (print_entry): Print ",AArch64" for
62690 FLAG_AARCH64_LIB64
62691
62692 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
62693 * elf/cache.c (print_entry): Print ",hard-float" for
62694 FLAG_ARM_LIBHF.
62695
62696 2012-11-18 David S. Miller <davem@davemloft.net>
62697
62698 With help from Joseph Myers.
62699 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
62700 cutoff to 2**-13.
62701 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
62702 cutoff to 2**-25.
62703 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
62704 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
62705 small.
62706 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
62707 * math/libm-test.inc (y0_test): New tests.
62708 (y1_test): New tests.
62709 * sysdeps/i386/fpu/libm-test-ulps: Update.
62710 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62712
62713 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
62714
62715 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
62716 64-bit targets.
62717 * configure: Regenerated.
62718
62719 2012-11-17 David S. Miller <davem@davemloft.net>
62720
62721 [BZ #14811]
62722 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
62723 nonzero exponents with absolute value below 0x1p-128 to +/-
62724 0x1p-128.
62725
62726 2012-11-17 Joseph Myers <joseph@codesourcery.com>
62727
62728 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
62729
62730 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
62731
62732 * posix/getconf-speclist.c: New file.
62733 * posix/posix-envs.def: Likewise.
62734 * posix/confstr.c (START_ENV_GROUP): New macro.
62735 (END_ENV_GROUP): Likewise.
62736 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
62737 (KNOWN_PRESENT_ENV_STRING): Likewise.
62738 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
62739 (UNKNOWN_ENVIRONMENT): Likewise.
62740 (confstr): Include posix-envs.def instead of handling
62741 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
62742 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
62743 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
62744 (END_ENV_GROUP): Likewise.
62745 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
62746 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
62747 (UNKNOWN_ENVIRONMENT): Likewise.
62748 (__sysconf): Include posix-envs.def instead of handling associated
62749 cases directly here.
62750 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
62751 preprocessing getconf-speclist.c rather than running getconf or
62752 generating empty file.
62753
62754 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
62755
62756 * scripts/check-local-headers.sh: Ignore 'mach' headers.
62757
62758 2012-11-16 Andrej Lajovic <natrij@gmail.com>
62759
62760 [BZ #14672]
62761 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
62762
62763 2012-11-16 David S. Miller <davem@davemloft.net>
62764
62765 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
62766 smaller than LDBL_EPSILON/2.0L, just return xm1.
62767
62768 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
62769
62770 * elf/tst-array1.c (init): Set constructor priority to 1000.
62771 (fini): Set destructor priority to 1000.
62772 * elf/tst-array2dep.c: Likewise.
62773
62774 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
62775
62776 [BZ #11741]
62777 * libio/fileops.c (_IO_new_file_write): Correctly return error.
62778 (_IO_new_file_xsputn): Also return EOF if none of the input
62779 data was written when overflow failed.
62780 * libio/iopadn.c (_IO_padn): Likewise.
62781 * libio/iowpadn.c (_IO_wpadn): Likewise.
62782 * stdio-common/tst-put-error.c: Add copyright notice.
62783 (do_test): Add case for printing padded string.
62784 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
62785 _IO_padn returned error.
62786 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
62787 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
62788 return EOF.
62789
62790 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
62791
62792 * libio/libioP.h: Add comment note that the references to C++
62793 bits are now obsolete.
62794
62795 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
62796
62797 * math/libm-test.inc (check_complex): Use asprintf.
62798
62799 2012-11-14 Joseph Myers <joseph@codesourcery.com>
62800
62801 * debug/pcprofiledump.c (print_version): Update copyright year.
62802 * malloc/memusagestat.c (print_version): Likewise.
62803
62804 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
62805
62806 [BZ #14831]
62807 * elf/Makefile (tests): Add tst-audit8.
62808 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
62809 ($(objpfx)tst-audit8.out): New target.
62810 (tst-audit8-ENV): New variable.
62811 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
62812 audit if l_reloc_result is NULL.
62813 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
62814 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
62815 * elf/tst-audit8.c: New file.
62816
62817 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
62818
62819 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
62820 * misc/Makefile (CFLAGS-select.c): Define.
62821 * posix/Makefile (CFLAGS-pause.c): Define.
62822
62823 2012-11-13 David S. Miller <davem@davemloft.net>
62824
62825 * crypt/Makefile: Move test targets after toplevel Rules
62826 inclusion. Grab any necessary sysdep routines when linking.
62827 * crypt/md5.c (md5_process_block): Remove define, we will always
62828 name it __md5_process_block.
62829 (md5_finish_ctx): Update md5_process_block call.
62830 (md5_stream): Likewise.
62831 (md5_process_bytes): Likewise.
62832 (md5_process_block): Rename to __md5_process_block and move to ...
62833 * crypt/md5-block.c: ... here.
62834 * crypt/sha256.c (sha256_process_block): Move to ...
62835 * crypt/sha256-block.c: ... here.
62836 * crypt/sha512.c (sha512_process_block): Move to ...
62837 * crypt/sha512-block.c: ... here.
62838 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
62839 path.
62840 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
62841 * sysdeps/sparc/sparc64/multiarch/Makefile
62842 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
62843 crypt subdir.
62844 (localedef-aux): Add md5 crypto assembler when in locale subdir.
62845 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
62846 multiarch changes.
62847 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
62848 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
62849 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
62850 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
62851 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
62852 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
62853 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
62854 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
62855 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
62856 file.
62857 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
62858 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
62859 file.
62860 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
62861
62862 2012-11-13 Joseph Myers <joseph@codesourcery.com>
62863
62864 * timezone/tzselect.ksh: Update from tzcode git revision
62865 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
62866 * timezone/zdump.c: Likewise.
62867 * timezone/zic.c: Likewise.
62868 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
62869 in TZVERSION setting, not $(PKGVERSION).
62870 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
62871 REPORT_BUGS_TO settings.
62872
62873 [BZ #14838]
62874 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
62875 macro.
62876
62877 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
62878
62879 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
62880 detection to immediately after _FP_ROUND().
62881 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
62882 bits are 0.
62883
62884 2012-11-11 David S. Miller <davem@davemloft.net>
62885
62886 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
62887 inttypes.h
62888 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
62889 __close rather than their public counterparts.
62890
62891 2012-11-10 Joseph Myers <joseph@codesourcery.com>
62892
62893 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
62894 file.
62895 [UNIX98] (sem_timedwait): Do not expect.
62896 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
62897 [XPG4 || UNIX98] (sockatmark): Do not expect.
62898 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
62899 (clock_getcpuclockid): Do not expect.
62900 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
62901 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
62902 Do not expect.
62903 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
62904 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
62905 [UNIX98] (vwscanf): Likewise.
62906 [UNIX98] (vswscanf): Likewise.
62907
62908 2012-11-09 Joseph Myers <joseph@codesourcery.com>
62909
62910 * timezone/version.h: Remove file.
62911 * timezone/README: Do not refer to version.h.
62912 * timezone/Makefile ($(objpfx)zic.o): New dependency on
62913 $(objpfx)version.h.
62914 ($(objpfx)zdump.o): Likewise.
62915 ($(objpfx)version.h): New target.
62916
62917 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
62918 2012i.
62919 * timezone/README: Don't mention modification to tzselect.ksh.
62920 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
62921 work on unmodified tzselect.ksh. Substitute version numbers in
62922 tzselect.ksh.
62923
62924 * Makefile (format-me): Remove.
62925 (INSTALL): Adjust indentation. Use commands directly instead of
62926 using $(format-me).
62927
62928 * aclocal.m4 (ACX_PKGVERSION): New macro.
62929 (ACX_BUGURL): Likewise.
62930 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
62931 (PKGVERSION): New AC_DEFINE_UNQUOTED.
62932 (REPORT_BUGS_TO): Likewise.
62933 * configure: Regenerated.
62934 * config.h.in (PKGVERSION): New macro.
62935 (REPORT_BUGS_TO): Likewise.
62936 * config.make.in (PKGVERSION): New variable.
62937 (PKGVERSION_TEXI): Likewise.
62938 (REPORT_BUGS_TO): Likewise.
62939 (REPORT_BUGS_TEXI): Likewise.
62940 * Makefile (format-me): Use -I$(common-objpfx)manual.
62941 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
62942 ($(common-objpfx)manual/%): New target.
62943 (manual/%): Remove target.
62944 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
62945 (print_version): Use PKGVERSION.
62946 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
62947 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
62948 and REPORT_BUGS_TO.
62949 ($(objpfx)xtrace): Likewise.
62950 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
62951 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
62952 (print_version): Use PKGVERSION.
62953 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
62954 (do_version): Use PKGVERSION.
62955 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
62956 REPORT_BUGS_TO.
62957 (common-ldd-rewrite): Likewise.
62958 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
62959 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
62960 (print_version): Use PKGVERSION.
62961 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
62962 * elf/pldd.c (argp_program_bug_address): Remove variable.
62963 (more_help): New function.
62964 (argp): Use more_help.
62965 (print_version): Use PKGVERSION.
62966 * elf/sln.c (main): Use PKGVERSION.
62967 (usage): Use REPORT_BUGS_TO.
62968 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
62969 (top level): Use PKGVERSION.
62970 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
62971 (print_version): Use PKGVERSION.
62972 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
62973 (print_version): Use PKGVERSION.
62974 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
62975 (print_version): Use PKGVERSION.
62976 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
62977 (print_version): Use PKGVERSION.
62978 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
62979 (print_version): Use PKGVERSION.
62980 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
62981 (print_version): Use PKGVERSION.
62982 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
62983 and BUGURL.
62984 ($(objpfx)memusage): Likewise.
62985 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
62986 (do_version): Use PKGVERSION.
62987 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
62988 (print_version): Use PKGVERSION.
62989 * malloc/mtrace.pl ($PACKAGE): Remove variable.
62990 ($PKGVERSION): New variable.
62991 ($REPORT_BUGS_TO): Likewise.
62992 (usage): Use $REPORT_BUGS_TO.
62993 (top level): Use $PKGVERSION.
62994 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
62995 ($(objpfx)pkgvers.texi): New rule.
62996 ($(objpfx)stamp-pkgvers): Likewise.
62997 * manual/install.texi: Include pkgvers.texi.
62998 (--with-pkgversion): Document new configure option.
62999 (--with-bugurl): Likewise.
63000 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
63001 than necessarily for this particular distribution. Use
63002 REPORT_BUGS_TO for where to report bugs.
63003 * INSTALL: Regenerated.
63004 * manual/libc.texinfo: Include pkgvers.texi.
63005 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
63006 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
63007 (print_version): Use PKGVERSION.
63008 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
63009 (print_version): Use PKGVERSION.
63010 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
63011 (print_version): Use PKGVERSION.
63012 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
63013 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
63014 macro.
63015 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
63016 (print_version): Use PKGVERSION.
63017 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
63018 (print_version): Use PKGVERSION.
63019 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
63020 and PKGVERSION.
63021
63022 * timezone/checktab.awk: Update from tzcode 2012i.
63023 * timezone/ialloc.c: Likewise.
63024 * timezone/private.h: Likewise.
63025 * timezone/scheck.c: Likewise.
63026 * timezone/tzfile.h: Likewise.
63027 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
63028 (TZVERSION): Hardcode tzcode version number.
63029 * timezone/zdump.c: Update from tzcode 2012i.
63030 * timezone/zic.c: Likewise.
63031 * timezone/version.h: New file.
63032 * timezone/README: Describe version.h. Update upstream location.
63033
63034 [BZ #14824]
63035 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
63036 (mktemp): Enable declaration.
63037 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
63038 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
63039 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
63040 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
63041 Likewise.
63042 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
63043 Likewise.
63044 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
63045 Likewise.
63046 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
63047 Likewise.
63048 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
63049 Likewise.
63050 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
63051 Likewise.
63052
63053 [BZ #14821]
63054 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
63055 offset in buffer as u_int32_t not u_long. Consistently use memcpy
63056 for copies of such integer values.
63057 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63058 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63059
63060 2012-11-09 Andreas Jaeger <aj@suse.de>
63061
63062 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
63063 definitions and declarations that are provided by
63064 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
63065
63066 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63067
63068 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
63069 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
63070 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
63071 definition.
63072
63073 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63074
63075 * elf/elf.h: Update comment before AArch64 relocations.
63076
63077 2012-11-07 David S. Miller <davem@davemloft.net>
63078
63079 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
63080 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63081 (__start_context): Declare.
63082 (__makecontext_ret): Delete.
63083 (__makecontext): Hook up __start_context instead of
63084 __makecontext_ret.
63085 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
63086 (sysdep_routines): Add __start_context when in stdlib.
63087
63088 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63089
63090 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
63091 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
63092 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
63093 hardcoded "nm".
63094 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
63095 (READELF): New variable. Use it instead of hardcoded "readelf".
63096
63097 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
63098
63099 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
63100 * sysdeps/x86/Makefile: Here.
63101 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
63102 * sysdeps/x86/tst-xmmymm.sh: This.
63103
63104 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63105
63106 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
63107 expectations.
63108 [UNIX98] (pthread_barrier_t): Do not expect.
63109 [UNIX98] (pthread_barrierattr_t): Likewise.
63110 [UNIX98] (pthread_spinlock_t): Likewise.
63111 [UNIX98] (pthread_barrier_destroy): Likewise.
63112 [UNIX98] (pthread_barrier_init): Likewise.
63113 [UNIX98] (pthread_barrier_wait): Likewise.
63114 [UNIX98] (pthread_barrierattr_destroy): Likewise.
63115 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
63116 [UNIX98] (pthread_barrierattr_init): Likewise.
63117 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
63118 [UNIX98] (pthread_getcpuclockid): Likewise.
63119 [UNIX98] (pthread_mutex_timedlock): Likewise.
63120 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
63121 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
63122 [UNIX98] (pthread_sigmask): Likewise.
63123 [UNIX98] (pthread_spin_destroy): Likewise.
63124 [UNIX98] (pthread_spin_init): Likewise.
63125 [UNIX98] (pthread_spin_lock): Likewise.
63126 [UNIX98] (pthread_spin_trylock): Likewise.
63127 [UNIX98] (pthread_spin_unlock): Likewise.
63128 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
63129 Do not expect.
63130 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
63131 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
63132 [XPG3 || XPG4] (pthread_cond_t): Likewise.
63133 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
63134 [XPG3 || XPG4] (pthread_key_t): Likewise.
63135 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
63136 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
63137 [XPG3 || XPG4] (pthread_once_t): Likewise.
63138 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
63139 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
63140 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
63141 [XPG3 || XPG4] (pthread_t): Likewise.
63142
63143 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
63144 not expect.
63145 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
63146
63147 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
63148 Change function return type to int.
63149
63150 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
63151 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
63152 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
63153 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
63154 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
63155 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
63156 [!POSIX] (posix_madvise): Likewise.
63157 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
63158 && !UNIX98].
63159 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
63160 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
63161 (mode_t): Likewise.
63162 (posix_mem_offset): Likewise.
63163 (posix_typed_mem_get_info): Likewise.
63164 (posix_typed_mem_open): Likewise.
63165
63166 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
63167 Change condition to [XOPEN2K8].
63168
63169 * conform/conformtest.pl: Preprocess allow-header data with -x c
63170 instead of from stdin.
63171 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
63172 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
63173 [C99-based standards] (cerfc): Likewise.
63174 [C99-based standards] (cexp2): Likewise.
63175 [C99-based standards] (cexpm1): Likewise.
63176 [C99-based standards] (clog10): Likewise.
63177 [C99-based standards] (clog1p): Likewise.
63178 [C99-based standards] (clog2): Likewise.
63179 [C99-based standards] (clgamma): Likewise.
63180 [C99-based standards] (ctgamma): Likewise.
63181 [C99-based standards] (cerff): Likewise.
63182 [C99-based standards] (cerfcf): Likewise.
63183 [C99-based standards] (cexp2f): Likewise.
63184 [C99-based standards] (cexpm1f): Likewise.
63185 [C99-based standards] (clog10f): Likewise.
63186 [C99-based standards] (clog1pf): Likewise.
63187 [C99-based standards] (clog2f): Likewise.
63188 [C99-based standards] (clgammaf): Likewise.
63189 [C99-based standards] (ctgammaf): Likewise.
63190 [C99-based standards] (cerfl): Likewise.
63191 [C99-based standards] (cerfcl): Likewise.
63192 [C99-based standards] (cexp2l): Likewise.
63193 [C99-based standards] (cexpm1l): Likewise.
63194 [C99-based standards] (clog10l): Likewise.
63195 [C99-based standards] (clog1pl): Likewise.
63196 [C99-based standards] (clog2l): Likewise.
63197 [C99-based standards] (clgammal): Likewise.
63198 [C99-based standards] (ctgammal): Likewise.
63199 * conform/data/inttypes.h-data [C99-based standards]: Include
63200 stdint.h-data. Remove all expectations for stdint.h contents.
63201 [C99-based standards] (PRI*): Do not allow.
63202 [C99-based standards] (SCN*): Likewise.
63203 [C99-based standards] (*_t): Likewise.
63204 [C99-based-standards] (PRId8): Expect macro.
63205 [C99-based-standards] (PRIi8): Likewise.
63206 [C99-based-standards] (PRIo8): Likewise.
63207 [C99-based-standards] (PRIu8): Likewise.
63208 [C99-based-standards] (PRIx8): Likewise.
63209 [C99-based-standards] (PRIX8): Likewise.
63210 [C99-based-standards] (SCNd8): Likewise.
63211 [C99-based-standards] (SCNi8): Likewise.
63212 [C99-based-standards] (SCNo8): Likewise.
63213 [C99-based-standards] (SCNu8): Likewise.
63214 [C99-based-standards] (SCNx8): Likewise.
63215 [C99-based-standards] (PRIdLEAST8): Likewise.
63216 [C99-based-standards] (PRIiLEAST8): Likewise.
63217 [C99-based-standards] (PRIoLEAST8): Likewise.
63218 [C99-based-standards] (PRIuLEAST8): Likewise.
63219 [C99-based-standards] (PRIxLEAST8): Likewise.
63220 [C99-based-standards] (PRIXLEAST8): Likewise.
63221 [C99-based-standards] (SCNdLEAST8): Likewise.
63222 [C99-based-standards] (SCNiLEAST8): Likewise.
63223 [C99-based-standards] (SCNoLEAST8): Likewise.
63224 [C99-based-standards] (SCNuLEAST8): Likewise.
63225 [C99-based-standards] (SCNxLEAST8): Likewise.
63226 [C99-based-standards] (PRIdFAST8): Likewise.
63227 [C99-based-standards] (PRIiFAST8): Likewise.
63228 [C99-based-standards] (PRIoFAST8): Likewise.
63229 [C99-based-standards] (PRIuFAST8): Likewise.
63230 [C99-based-standards] (PRIxFAST8): Likewise.
63231 [C99-based-standards] (PRIXFAST8): Likewise.
63232 [C99-based-standards] (SCNdFAST8): Likewise.
63233 [C99-based-standards] (SCNiFAST8): Likewise.
63234 [C99-based-standards] (SCNoFAST8): Likewise.
63235 [C99-based-standards] (SCNuFAST8): Likewise.
63236 [C99-based-standards] (SCNxFAST8): Likewise.
63237 [C99-based-standards] (PRId16): Likewise.
63238 [C99-based-standards] (PRIi16): Likewise.
63239 [C99-based-standards] (PRIo16): Likewise.
63240 [C99-based-standards] (PRIu16): Likewise.
63241 [C99-based-standards] (PRIx16): Likewise.
63242 [C99-based-standards] (PRIX16): Likewise.
63243 [C99-based-standards] (SCNd16): Likewise.
63244 [C99-based-standards] (SCNi16): Likewise.
63245 [C99-based-standards] (SCNo16): Likewise.
63246 [C99-based-standards] (SCNu16): Likewise.
63247 [C99-based-standards] (SCNx16): Likewise.
63248 [C99-based-standards] (PRIdLEAST16): Likewise.
63249 [C99-based-standards] (PRIiLEAST16): Likewise.
63250 [C99-based-standards] (PRIoLEAST16): Likewise.
63251 [C99-based-standards] (PRIuLEAST16): Likewise.
63252 [C99-based-standards] (PRIxLEAST16): Likewise.
63253 [C99-based-standards] (PRIXLEAST16): Likewise.
63254 [C99-based-standards] (SCNdLEAST16): Likewise.
63255 [C99-based-standards] (SCNiLEAST16): Likewise.
63256 [C99-based-standards] (SCNoLEAST16): Likewise.
63257 [C99-based-standards] (SCNuLEAST16): Likewise.
63258 [C99-based-standards] (SCNxLEAST16): Likewise.
63259 [C99-based-standards] (PRIdFAST16): Likewise.
63260 [C99-based-standards] (PRIiFAST16): Likewise.
63261 [C99-based-standards] (PRIoFAST16): Likewise.
63262 [C99-based-standards] (PRIuFAST16): Likewise.
63263 [C99-based-standards] (PRIxFAST16): Likewise.
63264 [C99-based-standards] (PRIXFAST16): Likewise.
63265 [C99-based-standards] (SCNdFAST16): Likewise.
63266 [C99-based-standards] (SCNiFAST16): Likewise.
63267 [C99-based-standards] (SCNoFAST16): Likewise.
63268 [C99-based-standards] (SCNuFAST16): Likewise.
63269 [C99-based-standards] (SCNxFAST16): Likewise.
63270 [C99-based-standards] (PRId32): Likewise.
63271 [C99-based-standards] (PRIi32): Likewise.
63272 [C99-based-standards] (PRIo32): Likewise.
63273 [C99-based-standards] (PRIu32): Likewise.
63274 [C99-based-standards] (PRIx32): Likewise.
63275 [C99-based-standards] (PRIX32): Likewise.
63276 [C99-based-standards] (SCNd32): Likewise.
63277 [C99-based-standards] (SCNi32): Likewise.
63278 [C99-based-standards] (SCNo32): Likewise.
63279 [C99-based-standards] (SCNu32): Likewise.
63280 [C99-based-standards] (SCNx32): Likewise.
63281 [C99-based-standards] (PRIdLEAST32): Likewise.
63282 [C99-based-standards] (PRIiLEAST32): Likewise.
63283 [C99-based-standards] (PRIoLEAST32): Likewise.
63284 [C99-based-standards] (PRIuLEAST32): Likewise.
63285 [C99-based-standards] (PRIxLEAST32): Likewise.
63286 [C99-based-standards] (PRIXLEAST32): Likewise.
63287 [C99-based-standards] (SCNdLEAST32): Likewise.
63288 [C99-based-standards] (SCNiLEAST32): Likewise.
63289 [C99-based-standards] (SCNoLEAST32): Likewise.
63290 [C99-based-standards] (SCNuLEAST32): Likewise.
63291 [C99-based-standards] (SCNxLEAST32): Likewise.
63292 [C99-based-standards] (PRIdFAST32): Likewise.
63293 [C99-based-standards] (PRIiFAST32): Likewise.
63294 [C99-based-standards] (PRIoFAST32): Likewise.
63295 [C99-based-standards] (PRIuFAST32): Likewise.
63296 [C99-based-standards] (PRIxFAST32): Likewise.
63297 [C99-based-standards] (PRIXFAST32): Likewise.
63298 [C99-based-standards] (SCNdFAST32): Likewise.
63299 [C99-based-standards] (SCNiFAST32): Likewise.
63300 [C99-based-standards] (SCNoFAST32): Likewise.
63301 [C99-based-standards] (SCNuFAST32): Likewise.
63302 [C99-based-standards] (SCNxFAST32): Likewise.
63303 [C99-based-standards] (PRId64): Likewise.
63304 [C99-based-standards] (PRIi64): Likewise.
63305 [C99-based-standards] (PRIo64): Likewise.
63306 [C99-based-standards] (PRIu64): Likewise.
63307 [C99-based-standards] (PRIx64): Likewise.
63308 [C99-based-standards] (PRIX64): Likewise.
63309 [C99-based-standards] (SCNd64): Likewise.
63310 [C99-based-standards] (SCNi64): Likewise.
63311 [C99-based-standards] (SCNo64): Likewise.
63312 [C99-based-standards] (SCNu64): Likewise.
63313 [C99-based-standards] (SCNx64): Likewise.
63314 [C99-based-standards] (PRIdLEAST64): Likewise.
63315 [C99-based-standards] (PRIiLEAST64): Likewise.
63316 [C99-based-standards] (PRIoLEAST64): Likewise.
63317 [C99-based-standards] (PRIuLEAST64): Likewise.
63318 [C99-based-standards] (PRIxLEAST64): Likewise.
63319 [C99-based-standards] (PRIXLEAST64): Likewise.
63320 [C99-based-standards] (SCNdLEAST64): Likewise.
63321 [C99-based-standards] (SCNiLEAST64): Likewise.
63322 [C99-based-standards] (SCNoLEAST64): Likewise.
63323 [C99-based-standards] (SCNuLEAST64): Likewise.
63324 [C99-based-standards] (SCNxLEAST64): Likewise.
63325 [C99-based-standards] (PRIdFAST64): Likewise.
63326 [C99-based-standards] (PRIiFAST64): Likewise.
63327 [C99-based-standards] (PRIoFAST64): Likewise.
63328 [C99-based-standards] (PRIuFAST64): Likewise.
63329 [C99-based-standards] (PRIxFAST64): Likewise.
63330 [C99-based-standards] (PRIXFAST64): Likewise.
63331 [C99-based-standards] (SCNdFAST64): Likewise.
63332 [C99-based-standards] (SCNiFAST64): Likewise.
63333 [C99-based-standards] (SCNoFAST64): Likewise.
63334 [C99-based-standards] (SCNuFAST64): Likewise.
63335 [C99-based-standards] (SCNxFAST64): Likewise.
63336 [C99-based-standards] (PRIdMAX): Likewise.
63337 [C99-based-standards] (PRIiMAX): Likewise.
63338 [C99-based-standards] (PRIoMAX): Likewise.
63339 [C99-based-standards] (PRIuMAX): Likewise.
63340 [C99-based-standards] (PRIxMAX): Likewise.
63341 [C99-based-standards] (PRIXMAX): Likewise.
63342 [C99-based-standards] (SCNdMAX): Likewise.
63343 [C99-based-standards] (SCNiMAX): Likewise.
63344 [C99-based-standards] (SCNoMAX): Likewise.
63345 [C99-based-standards] (SCNuMAX): Likewise.
63346 [C99-based-standards] (SCNxMAX): Likewise.
63347 [C99-based-standards] (PRIdPTR): Likewise.
63348 [C99-based-standards] (PRIiPTR): Likewise.
63349 [C99-based-standards] (PRIoPTR): Likewise.
63350 [C99-based-standards] (PRIuPTR): Likewise.
63351 [C99-based-standards] (PRIxPTR): Likewise.
63352 [C99-based-standards] (PRIXPTR): Likewise.
63353 [C99-based-standards] (SCNdPTR): Likewise.
63354 [C99-based-standards] (SCNiPTR): Likewise.
63355 [C99-based-standards] (SCNoPTR): Likewise.
63356 [C99-based-standards] (SCNuPTR): Likewise.
63357 [C99-based-standards] (SCNxPTR): Likewise.
63358 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
63359 allow.
63360 * conform/data/stdint.h-data: Update comments to clarify
63361 requirements.
63362 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
63363 type.
63364 [C99-based standards] (INT8_MAX): Likewise.
63365 [C99-based standards] (INT16_MIN): Likewise.
63366 [C99-based standards] (INT16_MAX): Likewise.
63367 [C99-based standards] (INT32_MIN): Likewise.
63368 [C99-based standards] (INT32_MAX): Likewise.
63369 [C99-based standards] (INT64_MIN): Likewise.
63370 [C99-based standards] (INT64_MAX): Likewise.
63371 [C99-based standards] (UINT8_MAX): Likewise.
63372 [C99-based standards] (UINT16_MAX): Likewise.
63373 [C99-based standards] (UINT32_MAX): Likewise.
63374 [C99-based standards] (UINT64_MAX): Likewise.
63375 [C99-based standards] (INT_LEAST8_MIN): Likewise.
63376 [C99-based standards] (INT_LEAST8_MAX): Likewise.
63377 [C99-based standards] (INT_LEAST16_MIN): Likewise.
63378 [C99-based standards] (INT_LEAST16_MAX): Likewise.
63379 [C99-based standards] (INT_LEAST32_MIN): Likewise.
63380 [C99-based standards] (INT_LEAST32_MAX): Likewise.
63381 [C99-based standards] (INT_LEAST64_MIN): Likewise.
63382 [C99-based standards] (INT_LEAST64_MAX): Likewise.
63383 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
63384 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
63385 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
63386 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
63387 [C99-based standards] (INT_FAST8_MIN): Likewise.
63388 [C99-based standards] (INT_FAST8_MAX): Likewise.
63389 [C99-based standards] (INT_FAST16_MIN): Likewise.
63390 [C99-based standards] (INT_FAST16_MAX): Likewise.
63391 [C99-based standards] (INT_FAST32_MIN): Likewise.
63392 [C99-based standards] (INT_FAST32_MAX): Likewise.
63393 [C99-based standards] (INT_FAST64_MIN): Likewise.
63394 [C99-based standards] (INT_FAST64_MAX): Likewise.
63395 [C99-based standards] (UINT_FAST8_MAX): Likewise.
63396 [C99-based standards] (UINT_FAST16_MAX): Likewise.
63397 [C99-based standards] (UINT_FAST32_MAX): Likewise.
63398 [C99-based standards] (UINT_FAST64_MAX): Likewise.
63399 [C99-based standards] (INTPTR_MIN): Likewise.
63400 [C99-based standards] (INTPTR_MAX): Likewise.
63401 [C99-based standards] (UINTPTR_MAX): Likewise.
63402 [C99-based standards] (INTMAX_MIN): Likewise.
63403 [C99-based standards] (INTMAX_MAX): Likewise.
63404 [C99-based standards] (UINTMAX_MAX): Likewise.
63405 [C99-based standards] (PTRDIFF_MIN): Likewise.
63406 [C99-based standards] (PTRDIFF_MAX): Likewise.
63407 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
63408 [C99-based standards] (SIZE_MAX): Likewise.
63409 [C99-based standards] (WCHAR_MAX): Likewise.
63410 [C99-based standards] (WINT_MAX): Likewise.
63411 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
63412 constraint on value.
63413 [C99-based standards] (WCHAR_MIN): Likewise.
63414 [C99-based standards] (WINT_MIN): Likewise.
63415 [C99-based standards] (*_t): Allow.
63416 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
63417 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
63418 Include math.h-data and complex.h-data. Remove all expectations
63419 of math.h and complex.h contents.
63420 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
63421 at end of line.
63422 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
63423 (struct tm): Expect tag.
63424 [C99-based-standards] (wcstof): Expect function.
63425 [C99-based-standards] (wcstold): Likewise.
63426 [C99-based-standards] (wcstoll): Likewise.
63427 [C99-based-standards] (wcstoull): Likewise.
63428 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
63429 macro-int-constant. Specify type.
63430 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
63431 constraint on value.
63432 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
63433 Specify type.
63434 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
63435 Specify value.
63436 [ISO C standards]: Do not allow headers.
63437 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
63438 wcs[abcdefghijklmnopqrstuvwxyz]*.
63439 [ISO C standards] (*_t): Do not allow.
63440 * conform/data/wctype.h-data [C99-based standards] (iswblank):
63441 Expect function.
63442 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
63443 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
63444 Specify type.
63445 [ISO C standards]: Do not allow headers.
63446 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
63447 is[abcdefghijklmnopqrstuvwxyz]*.
63448 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
63449 to[abcdefghijklmnopqrstuvwxyz]*.
63450 [ISO C standards] (*_t): Do not allow.
63451 * conform/data/stdalign.h-data: New file.
63452 * conform/data/stdbool.h-data: Likewise.
63453 * conform/data/stdnoreturn.h-data: Likewise.
63454
63455 2012-11-07 Roland McGrath <roland@hack.frob.com>
63456
63457 [BZ #14815]
63458 * manual/filesys.texi (Directory Entries): Typo fix.
63459 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
63460
63461 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63462
63463 * elf/elf.h (EM_AARCH64): New macro.
63464 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
63465 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
63466 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
63467 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
63468 (R_AARCH64_TLSDESC): Likewise.
63469 (NT_ARM_TLS): Likewise.
63470 (NT_ARM_HW_BREAK): Likewise.
63471 (NT_ARM_HW_WATCH): Likewise.
63472
63473 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63474
63475 [BZ #14811]
63476 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
63477 (__ieee754_powl): Saturate nonzero exponents with absolute value
63478 below 0x1p-79 to +/- 0x1p-79.
63479 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
63480 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
63481 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
63482 nonzero exponents with absolute value below 0x1p-32 to +/-
63483 0x1p-32.
63484 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
63485 (__ieee754_powl): Saturate nonzero exponents with absolute value
63486 below 0x1p-79 to +/- 0x1p-79.
63487 * math/libm-test.inc (pow_test): Add more tests.
63488
63489 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63490
63491 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
63492 _dl_s390_cap_flags with kernel. Increase string length.
63493 (_dl_s390_platforms): Add z196 and zEC12.
63494
63495 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63496
63497 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
63498 Change XOPEN21K to XOPEN2K.
63499
63500 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
63501
63502 * string/memmove.c: Use memcpy when possible.
63503
63504 2012-11-06 Andreas Jaeger <aj@suse.de>
63505
63506 * po/eo.po: Update from translation team.
63507
63508 2012-11-06 Joseph Myers <joseph@codesourcery.com>
63509
63510 [BZ #14793]
63511 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
63512 exponent and small x and y exponents, scale x or y up. Increase
63513 by 2 the exponent used in scaling up.
63514 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63515 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63516 * math/libm-test.inc (fma_test): Add more tests.
63517 (fma_test_towardzero): Likewise.
63518 (fma_test_downward): Likewise.
63519 (fma_test_upward): Likewise.
63520
63521 2012-11-05 Joseph Myers <joseph@codesourcery.com>
63522
63523 [BZ #14805]
63524 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
63525 fenv_t *.
63526
63527 [BZ #14801]
63528 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
63529 namespace for names of struct fields.
63530 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
63531 fenv_t fields.
63532 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
63533 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
63534
63535 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
63536
63537 [BZ #3665]
63538 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
63539
63540 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
63541
63542 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
63543 PTR_DEMANGLE.
63544
63545 [BZ #5246]
63546 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
63547 PTR_DEMANGLE.
63548
63549 2012-11-04 Joseph Myers <joseph@codesourcery.com>
63550
63551 [BZ #14797]
63552 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
63553 definitely overflow as x * y not x * y + z.
63554 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63555 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63556 * math/libm-test.inc (fma_test): Add more tests.
63557 (fma_test_towardzero): Likewise.
63558 (fma_test_downward): Likewise.
63559 (fma_test_upward): Likewise.
63560
63561 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
63562
63563 [BZ #157]
63564
63565 * include/stub-tag.h: Remove file.
63566 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
63567 '#include' of it.
63568 * manual/maint.texi (Porting): Don't reference it.
63569 * Makerules ($(objpfx)stubs): Likewise.
63570 * dirent/closedir.c: Don't include <stub-tag.h>.
63571 * dirent/dirfd.c: Likewise.
63572 * dirent/fdopendir.c: Likewise.
63573 * dirent/getdents.c: Likewise.
63574 * dirent/getdents64.c: Likewise.
63575 * dirent/opendir.c: Likewise.
63576 * dirent/readdir.c: Likewise.
63577 * dirent/readdir64.c: Likewise.
63578 * dirent/readdir64_r.c: Likewise.
63579 * dirent/readdir_r.c: Likewise.
63580 * dirent/rewinddir.c: Likewise.
63581 * dirent/seekdir.c: Likewise.
63582 * dirent/telldir.c: Likewise.
63583 * gmon/profil.c: Likewise.
63584 * grp/setgroups.c: Likewise.
63585 * inet/if_index.c: Likewise.
63586 * io/access.c: Likewise.
63587 * io/chdir.c: Likewise.
63588 * io/chmod.c: Likewise.
63589 * io/chown.c: Likewise.
63590 * io/close.c: Likewise.
63591 * io/dup.c: Likewise.
63592 * io/dup2.c: Likewise.
63593 * io/dup3.c: Likewise.
63594 * io/euidaccess.c: Likewise.
63595 * io/faccessat.c: Likewise.
63596 * io/fchdir.c: Likewise.
63597 * io/fchmod.c: Likewise.
63598 * io/fchmodat.c: Likewise.
63599 * io/fchown.c: Likewise.
63600 * io/fchownat.c: Likewise.
63601 * io/fcntl.c: Likewise.
63602 * io/flock.c: Likewise.
63603 * io/fstatfs.c: Likewise.
63604 * io/fstatfs64.c: Likewise.
63605 * io/fstatvfs.c: Likewise.
63606 * io/fstatvfs64.c: Likewise.
63607 * io/futimens.c: Likewise.
63608 * io/fxstat.c: Likewise.
63609 * io/fxstat64.c: Likewise.
63610 * io/fxstatat.c: Likewise.
63611 * io/fxstatat64.c: Likewise.
63612 * io/getcwd.c: Likewise.
63613 * io/isatty.c: Likewise.
63614 * io/lchmod.c: Likewise.
63615 * io/lchown.c: Likewise.
63616 * io/link.c: Likewise.
63617 * io/linkat.c: Likewise.
63618 * io/lseek.c: Likewise.
63619 * io/lseek64.c: Likewise.
63620 * io/lxstat64.c: Likewise.
63621 * io/mkdir.c: Likewise.
63622 * io/mkdirat.c: Likewise.
63623 * io/mkfifo.c: Likewise.
63624 * io/mkfifoat.c: Likewise.
63625 * io/open.c: Likewise.
63626 * io/open64.c: Likewise.
63627 * io/openat.c: Likewise.
63628 * io/openat64.c: Likewise.
63629 * io/pipe.c: Likewise.
63630 * io/pipe2.c: Likewise.
63631 * io/poll.c: Likewise.
63632 * io/posix_fadvise.c: Likewise.
63633 * io/posix_fadvise64.c: Likewise.
63634 * io/posix_fallocate.c: Likewise.
63635 * io/posix_fallocate64.c: Likewise.
63636 * io/read.c: Likewise.
63637 * io/readlink.c: Likewise.
63638 * io/readlinkat.c: Likewise.
63639 * io/rmdir.c: Likewise.
63640 * io/sendfile.c: Likewise.
63641 * io/sendfile64.c: Likewise.
63642 * io/statfs.c: Likewise.
63643 * io/statfs64.c: Likewise.
63644 * io/statvfs.c: Likewise.
63645 * io/statvfs64.c: Likewise.
63646 * io/symlink.c: Likewise.
63647 * io/symlinkat.c: Likewise.
63648 * io/ttyname.c: Likewise.
63649 * io/ttyname_r.c: Likewise.
63650 * io/umask.c: Likewise.
63651 * io/unlink.c: Likewise.
63652 * io/unlinkat.c: Likewise.
63653 * io/utime.c: Likewise.
63654 * io/utimensat.c: Likewise.
63655 * io/write.c: Likewise.
63656 * io/xmknod.c: Likewise.
63657 * io/xmknodat.c: Likewise.
63658 * io/xstat.c: Likewise.
63659 * io/xstat64.c: Likewise.
63660 * login/getpt.c: Likewise.
63661 * login/grantpt.c: Likewise.
63662 * login/unlockpt.c: Likewise.
63663 * math/e_acoshl.c: Likewise.
63664 * math/e_acosl.c: Likewise.
63665 * math/e_asinl.c: Likewise.
63666 * math/e_atan2l.c: Likewise.
63667 * math/e_atanhl.c: Likewise.
63668 * math/e_coshl.c: Likewise.
63669 * math/e_expl.c: Likewise.
63670 * math/e_fmodl.c: Likewise.
63671 * math/e_gammal_r.c: Likewise.
63672 * math/e_hypotl.c: Likewise.
63673 * math/e_j0l.c: Likewise.
63674 * math/e_j1l.c: Likewise.
63675 * math/e_jnl.c: Likewise.
63676 * math/e_lgammal_r.c: Likewise.
63677 * math/e_log10l.c: Likewise.
63678 * math/e_log2l.c: Likewise.
63679 * math/e_logl.c: Likewise.
63680 * math/e_powl.c: Likewise.
63681 * math/e_rem_pio2l.c: Likewise.
63682 * math/e_sinhl.c: Likewise.
63683 * math/e_sqrtl.c: Likewise.
63684 * math/fclrexcpt.c: Likewise.
63685 * math/fedisblxcpt.c: Likewise.
63686 * math/feenablxcpt.c: Likewise.
63687 * math/fegetenv.c: Likewise.
63688 * math/fegetexcept.c: Likewise.
63689 * math/fegetround.c: Likewise.
63690 * math/feholdexcpt.c: Likewise.
63691 * math/fesetenv.c: Likewise.
63692 * math/fesetround.c: Likewise.
63693 * math/feupdateenv.c: Likewise.
63694 * math/fgetexcptflg.c: Likewise.
63695 * math/fraiseexcpt.c: Likewise.
63696 * math/fsetexcptflg.c: Likewise.
63697 * math/ftestexcept.c: Likewise.
63698 * math/k_cosl.c: Likewise.
63699 * math/k_rem_pio2l.c: Likewise.
63700 * math/k_sinl.c: Likewise.
63701 * math/k_tanl.c: Likewise.
63702 * math/s_asinhl.c: Likewise.
63703 * math/s_atanl.c: Likewise.
63704 * math/s_cbrtl.c: Likewise.
63705 * math/s_erfl.c: Likewise.
63706 * math/s_expm1l.c: Likewise.
63707 * math/s_log1pl.c: Likewise.
63708 * math/s_tanhl.c: Likewise.
63709 * misc/acct.c: Likewise.
63710 * misc/brk.c: Likewise.
63711 * misc/chflags.c: Likewise.
63712 * misc/chroot.c: Likewise.
63713 * misc/fchflags.c: Likewise.
63714 * misc/fgetxattr.c: Likewise.
63715 * misc/flistxattr.c: Likewise.
63716 * misc/fremovexattr.c: Likewise.
63717 * misc/fsetxattr.c: Likewise.
63718 * misc/fsync.c: Likewise.
63719 * misc/ftruncate.c: Likewise.
63720 * misc/futimes.c: Likewise.
63721 * misc/futimesat.c: Likewise.
63722 * misc/getdomain.c: Likewise.
63723 * misc/getdtsz.c: Likewise.
63724 * misc/gethostid.c: Likewise.
63725 * misc/gethostname.c: Likewise.
63726 * misc/getloadavg.c: Likewise.
63727 * misc/getpagesize.c: Likewise.
63728 * misc/getsysstats.c: Likewise.
63729 * misc/getxattr.c: Likewise.
63730 * misc/gtty.c: Likewise.
63731 * misc/ioctl.c: Likewise.
63732 * misc/lgetxattr.c: Likewise.
63733 * misc/listxattr.c: Likewise.
63734 * misc/llistxattr.c: Likewise.
63735 * misc/lremovexattr.c: Likewise.
63736 * misc/lsetxattr.c: Likewise.
63737 * misc/lutimes.c: Likewise.
63738 * misc/madvise.c: Likewise.
63739 * misc/mincore.c: Likewise.
63740 * misc/mlock.c: Likewise.
63741 * misc/mlockall.c: Likewise.
63742 * misc/mmap.c: Likewise.
63743 * misc/mprotect.c: Likewise.
63744 * misc/msync.c: Likewise.
63745 * misc/munlock.c: Likewise.
63746 * misc/munlockall.c: Likewise.
63747 * misc/munmap.c: Likewise.
63748 * misc/preadv.c: Likewise.
63749 * misc/preadv64.c: Likewise.
63750 * misc/ptrace.c: Likewise.
63751 * misc/pwritev.c: Likewise.
63752 * misc/pwritev64.c: Likewise.
63753 * misc/readv.c: Likewise.
63754 * misc/reboot.c: Likewise.
63755 * misc/remap_file_pages.c: Likewise.
63756 * misc/removexattr.c: Likewise.
63757 * misc/revoke.c: Likewise.
63758 * misc/select.c: Likewise.
63759 * misc/setdomain.c: Likewise.
63760 * misc/setegid.c: Likewise.
63761 * misc/seteuid.c: Likewise.
63762 * misc/sethostid.c: Likewise.
63763 * misc/sethostname.c: Likewise.
63764 * misc/setregid.c: Likewise.
63765 * misc/setreuid.c: Likewise.
63766 * misc/setxattr.c: Likewise.
63767 * misc/sstk.c: Likewise.
63768 * misc/stty.c: Likewise.
63769 * misc/swapoff.c: Likewise.
63770 * misc/swapon.c: Likewise.
63771 * misc/sync.c: Likewise.
63772 * misc/syncfs.c: Likewise.
63773 * misc/syscall.c: Likewise.
63774 * misc/truncate.c: Likewise.
63775 * misc/ualarm.c: Likewise.
63776 * misc/usleep.c: Likewise.
63777 * misc/ustat.c: Likewise.
63778 * misc/utimes.c: Likewise.
63779 * misc/vhangup.c: Likewise.
63780 * misc/writev.c: Likewise.
63781 * posix/_exit.c: Likewise.
63782 * posix/alarm.c: Likewise.
63783 * posix/execve.c: Likewise.
63784 * posix/fexecve.c: Likewise.
63785 * posix/fork.c: Likewise.
63786 * posix/fpathconf.c: Likewise.
63787 * posix/getaddrinfo.c: Likewise.
63788 * posix/getegid.c: Likewise.
63789 * posix/geteuid.c: Likewise.
63790 * posix/getgid.c: Likewise.
63791 * posix/getgroups.c: Likewise.
63792 * posix/getlogin.c: Likewise.
63793 * posix/getlogin_r.c: Likewise.
63794 * posix/getpgid.c: Likewise.
63795 * posix/getpid.c: Likewise.
63796 * posix/getppid.c: Likewise.
63797 * posix/getresgid.c: Likewise.
63798 * posix/getresuid.c: Likewise.
63799 * posix/getsid.c: Likewise.
63800 * posix/getuid.c: Likewise.
63801 * posix/glob64.c: Likewise.
63802 * posix/nanosleep.c: Likewise.
63803 * posix/pathconf.c: Likewise.
63804 * posix/pause.c: Likewise.
63805 * posix/posix_madvise.c: Likewise.
63806 * posix/pread.c: Likewise.
63807 * posix/pread64.c: Likewise.
63808 * posix/pwrite.c: Likewise.
63809 * posix/pwrite64.c: Likewise.
63810 * posix/sched_getaffinity.c: Likewise.
63811 * posix/sched_getp.c: Likewise.
63812 * posix/sched_gets.c: Likewise.
63813 * posix/sched_primax.c: Likewise.
63814 * posix/sched_primin.c: Likewise.
63815 * posix/sched_rr_gi.c: Likewise.
63816 * posix/sched_setaffinity.c: Likewise.
63817 * posix/sched_setp.c: Likewise.
63818 * posix/sched_sets.c: Likewise.
63819 * posix/sched_yield.c: Likewise.
63820 * posix/setgid.c: Likewise.
63821 * posix/setlogin.c: Likewise.
63822 * posix/setpgid.c: Likewise.
63823 * posix/setresgid.c: Likewise.
63824 * posix/setresuid.c: Likewise.
63825 * posix/setsid.c: Likewise.
63826 * posix/setuid.c: Likewise.
63827 * posix/sleep.c: Likewise.
63828 * posix/spawni.c: Likewise.
63829 * posix/sysconf.c: Likewise.
63830 * posix/times.c: Likewise.
63831 * posix/wait.c: Likewise.
63832 * posix/wait3.c: Likewise.
63833 * posix/wait4.c: Likewise.
63834 * posix/waitpid.c: Likewise.
63835 * resolv/gai_sigqueue.c: Likewise.
63836 * resource/getpriority.c: Likewise.
63837 * resource/getrlimit.c: Likewise.
63838 * resource/getrusage.c: Likewise.
63839 * resource/nice.c: Likewise.
63840 * resource/setpriority.c: Likewise.
63841 * resource/setrlimit.c: Likewise.
63842 * resource/ulimit.c: Likewise.
63843 * rt/aio_cancel.c: Likewise.
63844 * rt/aio_fsync.c: Likewise.
63845 * rt/aio_read.c: Likewise.
63846 * rt/aio_sigqueue.c: Likewise.
63847 * rt/aio_suspend.c: Likewise.
63848 * rt/aio_write.c: Likewise.
63849 * rt/clock_getres.c: Likewise.
63850 * rt/clock_gettime.c: Likewise.
63851 * rt/clock_nanosleep.c: Likewise.
63852 * rt/clock_settime.c: Likewise.
63853 * rt/lio_listio.c: Likewise.
63854 * rt/mq_close.c: Likewise.
63855 * rt/mq_getattr.c: Likewise.
63856 * rt/mq_notify.c: Likewise.
63857 * rt/mq_open.c: Likewise.
63858 * rt/mq_receive.c: Likewise.
63859 * rt/mq_send.c: Likewise.
63860 * rt/mq_setattr.c: Likewise.
63861 * rt/mq_timedreceive.c: Likewise.
63862 * rt/mq_timedsend.c: Likewise.
63863 * rt/mq_unlink.c: Likewise.
63864 * rt/shm_open.c: Likewise.
63865 * rt/shm_unlink.c: Likewise.
63866 * rt/timer_create.c: Likewise.
63867 * rt/timer_delete.c: Likewise.
63868 * rt/timer_getoverr.c: Likewise.
63869 * rt/timer_gettime.c: Likewise.
63870 * rt/timer_settime.c: Likewise.
63871 * setjmp/__longjmp.c: Likewise.
63872 * setjmp/setjmp.c: Likewise.
63873 * signal/kill.c: Likewise.
63874 * signal/killpg.c: Likewise.
63875 * signal/raise.c: Likewise.
63876 * signal/sigaction.c: Likewise.
63877 * signal/sigaltstack.c: Likewise.
63878 * signal/sigblock.c: Likewise.
63879 * signal/sigignore.c: Likewise.
63880 * signal/sigintr.c: Likewise.
63881 * signal/signal.c: Likewise.
63882 * signal/sigpause.c: Likewise.
63883 * signal/sigpending.c: Likewise.
63884 * signal/sigqueue.c: Likewise.
63885 * signal/sigreturn.c: Likewise.
63886 * signal/sigset.c: Likewise.
63887 * signal/sigsetmask.c: Likewise.
63888 * signal/sigstack.c: Likewise.
63889 * signal/sigsuspend.c: Likewise.
63890 * signal/sigtimedwait.c: Likewise.
63891 * signal/sigvec.c: Likewise.
63892 * signal/sigwait.c: Likewise.
63893 * signal/sigwaitinfo.c: Likewise.
63894 * signal/sysv_signal.c: Likewise.
63895 * socket/accept.c: Likewise.
63896 * socket/accept4.c: Likewise.
63897 * socket/bind.c: Likewise.
63898 * socket/connect.c: Likewise.
63899 * socket/getpeername.c: Likewise.
63900 * socket/getsockname.c: Likewise.
63901 * socket/getsockopt.c: Likewise.
63902 * socket/isfdtype.c: Likewise.
63903 * socket/listen.c: Likewise.
63904 * socket/recv.c: Likewise.
63905 * socket/recvfrom.c: Likewise.
63906 * socket/recvmsg.c: Likewise.
63907 * socket/send.c: Likewise.
63908 * socket/sendmsg.c: Likewise.
63909 * socket/sendto.c: Likewise.
63910 * socket/setsockopt.c: Likewise.
63911 * socket/shutdown.c: Likewise.
63912 * socket/sockatmark.c: Likewise.
63913 * socket/socket.c: Likewise.
63914 * socket/socketpair.c: Likewise.
63915 * stdio-common/ctermid.c: Likewise.
63916 * stdio-common/cuserid.c: Likewise.
63917 * stdio-common/remove.c: Likewise.
63918 * stdio-common/rename.c: Likewise.
63919 * stdio-common/renameat.c: Likewise.
63920 * stdio-common/tempname.c: Likewise.
63921 * stdlib/getcontext.c: Likewise.
63922 * stdlib/makecontext.c: Likewise.
63923 * stdlib/setcontext.c: Likewise.
63924 * stdlib/swapcontext.c: Likewise.
63925 * stdlib/system.c: Likewise.
63926 * streams/fattach.c: Likewise.
63927 * streams/fdetach.c: Likewise.
63928 * streams/getmsg.c: Likewise.
63929 * streams/getpmsg.c: Likewise.
63930 * streams/putmsg.c: Likewise.
63931 * streams/putpmsg.c: Likewise.
63932 * sysdeps/unix/bsd/getpt.c: Likewise.
63933 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
63934 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
63935 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
63936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63937 Likewise.
63938 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
63939 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63940 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
63941 * sysvipc/msgctl.c: Likewise.
63942 * sysvipc/msgget.c: Likewise.
63943 * sysvipc/msgrcv.c: Likewise.
63944 * sysvipc/msgsnd.c: Likewise.
63945 * sysvipc/semctl.c: Likewise.
63946 * sysvipc/semget.c: Likewise.
63947 * sysvipc/semop.c: Likewise.
63948 * sysvipc/semtimedop.c: Likewise.
63949 * sysvipc/shmat.c: Likewise.
63950 * sysvipc/shmctl.c: Likewise.
63951 * sysvipc/shmdt.c: Likewise.
63952 * sysvipc/shmget.c: Likewise.
63953 * termios/tcdrain.c: Likewise.
63954 * termios/tcflow.c: Likewise.
63955 * termios/tcflush.c: Likewise.
63956 * termios/tcgetattr.c: Likewise.
63957 * termios/tcgetpgrp.c: Likewise.
63958 * termios/tcsendbrk.c: Likewise.
63959 * termios/tcsetattr.c: Likewise.
63960 * termios/tcsetpgrp.c: Likewise.
63961 * time/adjtime.c: Likewise.
63962 * time/clock.c: Likewise.
63963 * time/getitimer.c: Likewise.
63964 * time/gettimeofday.c: Likewise.
63965 * time/setitimer.c: Likewise.
63966 * time/settimeofday.c: Likewise.
63967 * time/stime.c: Likewise.
63968 * time/time.c: Likewise.
63969
63970 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
63971
63972 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
63973 /usr/old/bin.
63974
63975 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
63976 instead of spaces.
63977 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
63978
63979 2012-11-03 Joseph Myers <joseph@codesourcery.com>
63980
63981 [BZ #14796]
63982 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
63983 FE_TONEAREST before applying Dekker multiplication and Knuth
63984 addition. Clear inexact exceptions and check for exact zero
63985 results afterwards.
63986 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63987 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
63988 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63989 * math/libm-test.inc (fma_test): Add more tests.
63990 (fma_test_towardzero): Likewise.
63991 (fma_test_downward): Likewise.
63992 (fma_test_upward): Likewise.
63993 * sysdeps/generic/math_private.h (default_libc_fesetround): New
63994 function.
63995 (libc_fesetround): New macro.
63996 (libc_fesetroundf): Likewise.
63997 (libc_fesetroundl): Likewise.
63998 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
63999 function.
64000 (libc_fesetround_387): Likewise.
64001 (libc_fesetroundf): New macro.
64002 (libc_fesetround): Likewise.
64003 (libc_fesetroundl): Likewise.
64004 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
64005 function.
64006 (libc_fesetroundf): New macro.
64007 (libc_fesetround): Likewise.
64008 (libc_fesetroundl): Likewise.
64009 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
64010 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
64011 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
64012 libm_hidden_ver.
64013 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
64014 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
64015 libm_hidden_def.
64016 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
64017 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
64018 libm_hidden_ver.
64019 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
64020 libm_hidden_def.
64021
64022 [BZ #3439]
64023 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
64024 integer constant usable in #if and use that to give value to enum
64025 constant.
64026 (FE_DIVBYZERO): Likewise.
64027 (FE_UNDERFLOW): Likewise.
64028 (FE_OVERFLOW): Likewise.
64029 (FE_INVALID): Likewise.
64030 (FE_INVALID_SNAN): Likewise.
64031 (FE_INVALID_ISI): Likewise.
64032 (FE_INVALID_IDI): Likewise.
64033 (FE_INVALID_ZDZ): Likewise.
64034 (FE_INVALID_IMZ): Likewise.
64035 (FE_INVALID_COMPARE): Likewise.
64036 (FE_INVALID_SOFTWARE): Likewise.
64037 (FE_INVALID_SQRT): Likewise.
64038 (FE_INVALID_INTEGER_CONVERSION): Likewise.
64039 (FE_TONEAREST): Likewise.
64040 (FE_TOWARDZERO): Likewise.
64041 (FE_UPWARD): Likewise.
64042 (FE_DOWNWARD): Likewise.
64043 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
64044 (FE_DIVBYZERO): Likewise.
64045 (FE_OVERFLOW): Likewise.
64046 (FE_UNDERFLOW): Likewise.
64047 (FE_INEXACT): Likewise.
64048 (FE_TONEAREST): Likewise.
64049 (FE_DOWNWARD): Likewise.
64050 (FE_UPWARD): Likewise.
64051 (FE_TOWARDZERO): Likewise.
64052 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
64053 (FE_UNDERFLOW): Likewise.
64054 (FE_OVERFLOW): Likewise.
64055 (FE_DIVBYZERO): Likewise.
64056 (FE_INVALID): Likewise.
64057 (FE_TONEAREST): Likewise.
64058 (FE_TOWARDZERO): Likewise.
64059 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
64060 (FE_OVERFLOW): Likewise.
64061 (FE_UNDERFLOW): Likewise.
64062 (FE_DIVBYZERO): Likewise.
64063 (FE_INEXACT): Likewise.
64064 (FE_TONEAREST): Likewise.
64065 (FE_TOWARDZERO): Likewise.
64066 (FE_UPWARD): Likewise.
64067 (FE_DOWNWARD): Likewise.
64068 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
64069 (FE_DIVBYZERO): Likewise.
64070 (FE_OVERFLOW): Likewise.
64071 (FE_UNDERFLOW): Likewise.
64072 (FE_INEXACT): Likewise.
64073 (FE_TONEAREST): Likewise.
64074 (FE_DOWNWARD): Likewise.
64075 (FE_UPWARD): Likewise.
64076 (FE_TOWARDZERO): Likewise.
64077
64078 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
64079
64080 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
64081
64082 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
64083
64084 * scripts/cross-test-ssh.sh (command): Use newlines to separate
64085 commands. Quote $PWD.
64086 (blacklist_exports): Don't use remove_newlines. Replace "declare
64087 -x" by "export".
64088 (remove_newlines): Remove.
64089
64090 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
64091
64092 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
64093 * stdlib/stdlib.h (atof): Moved to ...
64094 * include/bits/stdlib-float.h: Here. New file.
64095 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
64096 * stdlib/bits/stdlib-float.h: New file.
64097 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
64098 -mno-sse -mno-mmx.
64099 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
64100 <xmmintrin.h>.
64101
64102 2012-11-02 Joseph Myers <joseph@codesourcery.com>
64103
64104 * conform/conformtest.pl (@headers): Add fenv.h.
64105 * conform/data/fenv.h-data: New file.
64106 * include/fenv.h [_ISOMAC]: Disable all contents of file except
64107 include of <math/fenv.h>.
64108
64109 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
64110 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
64111 && !UNIX98]. Enables tests for XOPEN2K8.
64112 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
64113 POSIX2008]: Likewise.
64114
64115 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
64116 (struct rusage): Do not expect type or its members.
64117
64118 [BZ #3439]
64119 * math/math.h (FP_NAN): Define macro to integer constant usable in
64120 #if and use that to give value to enum constant.
64121 (FP_INFINITE): Likewise.
64122 (FP_ZERO): Likewise.
64123 (FP_SUBNORMAL): Likewise.
64124 (FP_NORMAL): Likewise.
64125
64126 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
64127
64128 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
64129 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
64130 arguments.
64131
64132 2012-11-02 Roland McGrath <roland@hack.frob.com>
64133
64134 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
64135 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
64136 autoconf-time if not.
64137 * configure.in: Remove AC_PREREQ.
64138
64139 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64140
64141 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
64142 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
64143 of the internal implementation.
64144
64145 2012-11-02 Joseph Myers <joseph@codesourcery.com>
64146
64147 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
64148 except include of <misc/sys/syslog.h>.
64149
64150 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
64151
64152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
64153 function returns with a NULL context exit with zero.
64154
64155 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64156
64157 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
64158
64159 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
64160
64161 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
64162 (run_program_cmd): This.
64163 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
64164 (tst_langinfo): New variable. Use it.
64165
64166 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
64167
64168 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
64169 floating point opcodes.
64170
64171 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64172
64173 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
64174 variable.
64175
64176 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
64177
64178 * sysdeps/mach/hurd/powerpc: Remove directory.
64179 * sysdeps/mach/powerpc: Likewise.
64180
64181 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
64182
64183 * scripts/check-local-headers.sh: Ignore c++ headers.
64184
64185 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64186
64187 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
64188 __libc_cleanup_region_start argument.
64189
64190 2012-11-01 Joseph Myers <joseph@codesourcery.com>
64191
64192 [BZ #14784]
64193 [BZ #14785]
64194 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
64195 x * y using scaling, not as x * y + z.
64196 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64197 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64198 * math/libm-test.inc (fma_test): Add more tests.
64199 (fma_test_towardzero): Likewise.
64200 (fma_test_downward): Likewise.
64201 (fma_test_upward): Likewise.
64202
64203 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64204
64205 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
64206
64207 2012-10-31 Joseph Myers <joseph@codesourcery.com>
64208
64209 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
64210 New variable.
64211
64212 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
64213
64214 * rt/tst-shm.c (worker): Correct checking for mmap failure.
64215
64216 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
64217
64218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64219 Fix sort order.
64220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64221 Likewise.
64222
64223 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64224
64225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64226 Fix the order of the list for glibc 2.17.
64227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64228 Likewise.
64229
64230 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
64231
64232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64233
64234 2012-10-31 Joseph Myers <joseph@codesourcery.com>
64235
64236 [BZ #14610]
64237 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
64238 for low part of x being zero before using __atanl (y).
64239 * math/libm-test.inc (atan2_test): Add another test.
64240
64241 * manual/install.texi (Configuring and compiling): Document
64242 general use of test-wrapper and test-wrapper-env.
64243 * INSTALL: Regenerated.
64244
64245 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
64246 (__fma): Do not extract and scale down low bits on after-rounding
64247 systems when result rounded to normal precision would have normal
64248 exponent.
64249 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
64250 (__fmal): Do not extract and scale down low bits on after-rounding
64251 systems when result rounded to normal precision would have normal
64252 exponent.
64253 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
64254 (__fmal): Do not extract and scale down low bits on after-rounding
64255 systems when result rounded to normal precision would have normal
64256 exponent.
64257 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
64258 macro.
64259 (fma_test): Add more tests.
64260 (fma_test_towardzero): Likewise.
64261 (fma_test_downward): Likewise.
64262 (fma_test_upward): Likewise.
64263
64264 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
64265
64266 * sysdeps/i386/tininess.h: Renamed to ...
64267 * sysdeps/x86/tininess.h: This.
64268 * sysdeps/x86_64/tininess.h: Removed.
64269
64270 2012-10-30 Joseph Myers <joseph@codesourcery.com>
64271
64272 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
64273 input. Use $(build-program-cmd).
64274 ($(objpfx)tst-array1-static.out): Likewise.
64275 ($(objpfx)tst-array2.out): Likewise.
64276 ($(objpfx)tst-array3.out): Likewise.
64277 ($(objpfx)tst-array4.out): Likewise.
64278 ($(objpfx)tst-array5.out): Likewise.
64279 ($(objpfx)tst-array5-static.out): Likewise.
64280
64281 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
64282
64283 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
64284 if defined.
64285
64286 * nss/nsswitch.h (nss_interface_function): Provide new
64287 macro for use with NSS functions.
64288 * grp/initgroups.c: Use new macro.
64289 * nss/getXXbyYY.c: Likewise.
64290 * nss/getXXbyYY_r.c: Likewise.
64291 * nss/getXXent.c: Likewise.
64292 * nss/getXXent_r.c: Likewise.
64293 * sysdeps/posix/getaddrinfo.c: Likewise.
64294
64295 2012-10-30 Andreas Jaeger <aj@suse.de>
64296
64297 * po/ru.po: Update Russion translation from translation project.
64298
64299 2012-10-30 Joseph Myers <joseph@codesourcery.com>
64300
64301 [BZ #14152]
64302 [BZ #14783]
64303 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
64304 result and shift together with sticky bit instead of replicating
64305 round-to-nearest rounding.
64306 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64307 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64308 * math/libm-test.inc (fma_test): Add more tests. Do not permit
64309 missing underflow exceptions.
64310 (fma_test_towardzero): Add more tests.
64311 (fma_test_downward): Likewise.
64312 (fma_test_upward): Likewise.
64313
64314 [BZ #14047]
64315 * sysdeps/generic/tininess.h: New file.
64316 * sysdeps/i386/tininess.h: Likewise.
64317 * sysdeps/sh/tininess.h: Likewise.
64318 * sysdeps/x86_64/tininess.h: Likewise.
64319 * stdlib/tst-strtod-underflow.c: Likewise.
64320 * stdlib/tst-tininess.c: Likewise.
64321 * stdlib/strtod_l.c: Include <tininess.h>.
64322 (round_and_return): Do not set errno for exact underflow cases.
64323 Force an underflow exception when setting errno for underflow.
64324 Determine underflow based on rounding to normal precision if
64325 TININESS_AFTER_ROUNDING.
64326 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
64327 ERANGE for exact underflow cases.
64328 * stdlib/Makefile (tests): Add tst-tininess and
64329 tst-strtod-underflow.
64330 ($(objpfx)tst-tininess): Use $(link-libm).
64331 ($(objpfx)tst-strtod-underflow): Likewise.
64332
64333 2012-10-30 Andreas Jaeger <aj@suse.de>
64334
64335 [BZ#14767]
64336 * elf/Makefile (tests): Remove conditional for have-initfini-array
64337 since this is now always required and the variable does not exist
64338 anymore.
64339 (tests-static): Likewise.
64340 (modules-names): Likewise.
64341
64342 * po/eo.po: Add Esperanto translation from translation project.
64343
64344 * elf/tst-array1.c (fini_array): Make writeable so that it can be
64345 merged with constructor/destructor.
64346 (init_array): Likewise.
64347 * elf/tst-array2dep.c (fini_array): Likewise.
64348 (init_array): Likewise.
64349
64350 2012-10-29 Mike Frysinger <vapier@gentoo.org>
64351
64352 * manual/message.texi: Delete @cartouche tags.
64353
64354 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
64355
64356 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
64357 EOPNOTSUPP.
64358 * sysdeps/mach/hurd/fsync.c: Likewise.
64359
64360 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
64361 [_POSIX_REALTIME_SIGNALS]: Change condition to
64362 [_POSIX_REALTIME_SIGNALS > 0].
64363
64364 2012-10-27 Andreas Jaeger <aj@suse.de>
64365
64366 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
64367 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
64368 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
64369 [__WORDSIZE != 64]: Likewise.
64370
64371 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
64372
64373 * iconvdata/tst-table.sh: Remove ${SHELL}.
64374 * iconvdata/tst-tables.sh: Likewise.
64375
64376 2012-10-25 David S. Miller <davem@davemloft.net>
64377
64378 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64379 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
64380 of strtoull.
64381
64382 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
64383 ifunc-impl-list.c
64384 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64385 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
64386 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
64387 file.
64388
64389 2012-10-25 Roland McGrath <roland@hack.frob.com>
64390
64391 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64392 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
64393 __getdirentries.
64394
64395 2012-10-25 Joseph Myers <joseph@codesourcery.com>
64396 Jim Blandy <jimb@codesourcery.com>
64397
64398 * scripts/cross-test-ssh.sh: New file.
64399 * manual/install.texi (Configuring and compiling): Document use of
64400 cross-test-ssh.sh.
64401 * INSTALL: Regenerated.
64402
64403 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
64404
64405 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
64406 EOPNOTSUPP.
64407
64408 2012-10-25 Joseph Myers <joseph@codesourcery.com>
64409
64410 * Makeconfig (run-program-prefix): Fix comment.
64411
64412 2012-10-24 Joseph Myers <joseph@codesourcery.com>
64413 Jim Blandy <jimb@codesourcery.com>
64414
64415 * Makeconfig (test-wrapper): New variable,
64416 (test-wrapper-env): Likewise.
64417 [$(cross-compiling) = yes && $(test-wrapper) != ""]
64418 (run-built-tests): Define to yes.
64419 (run-program-prefix): Use $(test-wrapper).
64420 (built-program-cmd): Likewise.
64421 * Rules (make-test-out): Use $(test-wrapper-env) and
64422 $(host-built-program-cmd).
64423 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
64424 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
64425 tst-pathopt.sh.
64426 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
64427 $(test-wrapper-env) to tst-rtld-load-self.sh.
64428 ($(objpfx)order2.out): Use $(test-wrapper).
64429 ($(objpfx)tst-initorder.out): Likewise.
64430 ($(objpfx)tst-initorder2.out): Likewise.
64431 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
64432 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
64433 (test_wrapper_env): New variable. Use it to run ld.so.
64434 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
64435 Use it to run ld.so.
64436 (test_wrapper_env): Likewise.
64437 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
64438 $(test-wrapper) to run-iconv-test.sh.
64439 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
64440 (ICONV): Use $test_wrapper.
64441 * posix/Makefile ($(objpfx)globtest.out): Pass
64442 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
64443 globtest.sh, not $(run-program-prefix).
64444 * posix/globtest.sh (run_via_rtld_prefix): New variable.
64445 (test_wrapper): Likewise.
64446 (test_wrapper_env): Likewise. Use it to run globtest with HOME
64447 set together with run_via_rtld_prefix.
64448 (run_program_prefix): Define in terms of test_wrapper and
64449 run_via_rtld_prefix.
64450
64451 2012-10-24 Roland McGrath <roland@hack.frob.com>
64452
64453 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
64454 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
64455 Targets removed.
64456
64457 [BZ #14743]
64458 * include/time.h: Remove librt_hidden_proto (clock_gettime).
64459 Declare __clock_getres, __clock_gettime, __clock_settime,
64460 __clock_nanosleep, and __clock_getcpuclockid.
64461 * rt/clock_gettime.c: Define __clock_gettime as an alias.
64462 Remove librt_hidden_def (clock_gettime).
64463 * sysdeps/unix/clock_gettime.c: Likewise.
64464 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
64465 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
64466 * rt/clock_getres.c: Define __clock_getres as an alias.
64467 * sysdeps/posix/clock_getres.c: Likewise.
64468 * rt/clock_settime.c: Define __clock_settime as an alias.
64469 * sysdeps/unix/clock_settime.c: Likewise.
64470 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
64471 * sysdeps/unix/clock_nanosleep.c: Likewise.
64472 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
64473 * rt/clock-compat.c: New file.
64474 * rt/Makefile (librt-routines): Add clock-compat and move
64475 $(clock-routines) to ...
64476 (routines): ... here, new variable.
64477 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
64478 Don't add get_clockfreq here.
64479 * rt/Versions (libc: GLIBC_2.17): New version set.
64480 Add clock_* symbols here.
64481 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
64482 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
64483 (GLIBC_2.17): Add clock_* symbols.
64484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
64485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
64486 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64488 Likewise.
64489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64490 Likewise.
64491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64492 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
64493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
64494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
64495 * NEWS: Mention the move.
64496
64497 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
64498 Use __open, __read, __close rather than their public counterparts.
64499 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64500 (__get_clockfreq_via_cpuinfo): Likewise.
64501 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
64502 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
64503
64504 * config.h.in (HAVE_IFUNC): New #undef.
64505 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
64506 was successful.
64507 * configure: Regenerated.
64508
64509 2012-10-24 Mike Frysinger <vapier@gentoo.org>
64510
64511 * configure.in: Move READELF check to start of file.
64512 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
64513 libc_cv_asm_gnu_indirect_function in the process.
64514 * configure: Regenerated.
64515
64516 2012-10-24 Mike Frysinger <vapier@gentoo.org>
64517
64518 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
64519 send the output to /dev/null.
64520 (libc_cv_cc_with_libunwind): Likewise.
64521 (libc_cv_as_noexecstack): Likewise.
64522 * configure: Regenerate.
64523
64524 2012-10-24 Joseph Myers <joseph@codesourcery.com>
64525
64526 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
64527
64528 * posix/globtest.sh (TMPDIR): Do not set.
64529 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
64530 (testout): Likewise.
64531
64532 2012-10-24 Andreas Jaeger <aj@suse.de>
64533
64534 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
64535 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
64536 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
64537 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
64538 posix_fadvise64, posix_fallocate64.
64539
64540 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
64541 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
64542 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
64543 Likewise.
64544 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
64545 Likewise.
64546 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
64547
64548 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
64549 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
64550 <bits/fcntl-linux.h>.
64551 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
64552
64553 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
64554 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
64555 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
64556 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
64557 [__WORDSIZE != 64]: Likewise.
64558
64559 2012-10-23 Joseph Myers <joseph@codesourcery.com>
64560
64561 * Makeconfig (run-built-tests): New variable.
64562 * Rules [$(cross-compiling) = yes]: Change condition to
64563 [$(run-built-tests) = no].
64564 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
64565 to [$(run-built-tests) = yes].
64566 * elf/Makefile [$(cross-compiling) = no]: Likewise.
64567 * grp/Makefile [$(cross-compiling) = no]: Likewise.
64568 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
64569 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
64570 * intl/Makefile [$(cross-compiling) = no]: Likewise.
64571 * io/Makefile [$(cross-compiling) = no]: Likewise.
64572 * libio/Makefile [$(cross-compiling) = no]: Likewise.
64573 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
64574 * misc/Makefile [$(cross-compiling) = no]: Likewise.
64575 * posix/Makefile [$(cross-compiling) = no]: Likewise.
64576 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
64577 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
64578 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
64579 * string/Makefile [$(cross-compiling) = no]: Likewise.
64580
64581 * posix/Makefile ($(objpfx)globtest.out): Pass
64582 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
64583 $(rtld-installed-name).
64584 * posix/globtest.sh (elf_objpfx): Remove variable.
64585 (rtld_installed_name): Likewise.
64586 (library_path): Likewise.
64587 (run_program_prefix): New variable. Use for running globtest
64588 binary.
64589
64590 2012-10-23 Jim Blandy <jimb@codesourcery.com>
64591 Joseph Myers <joseph@codesourcery.com>
64592
64593 * Makeconfig (host-built-program-cmd): New variable.
64594 * elf/Makefile (tst-stackguard1-ARGS): Use
64595 $(host-built-program-cmd).
64596 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
64597 (tst-spawn-ARGS): Likewise.
64598 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
64599
64600 2012-10-23 Joseph Myers <joseph@codesourcery.com>
64601 Jim Blandy <jimb@codesourcery.com>
64602
64603 * Makeconfig (run-via-rtld-prefix): New variable.
64604 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
64605 (built-program-cmd): Likewise.
64606
64607 2012-10-22 Andreas Jaeger <aj@suse.de>
64608
64609 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
64610 __O_RSYNC if it exists, otherwise to O_SYNC.
64611
64612 2012-10-22 Jim Blandy <jimb@codesourcery.com>
64613 Joseph Myers <joseph@codesourcery.com>
64614
64615 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
64616 /dev/null.
64617 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
64618 from /dev/null
64619 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
64620 /dev/null.
64621
64622 2012-10-22 Andreas Jaeger <aj@suse.de>
64623
64624 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
64625 Define always.
64626 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
64627
64628 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64629 bits/fcntl-linux.h.
64630
64631 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
64632 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
64633
64634 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
64635 to __O_LARGEFILE.
64636 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
64637 to __O_LARGEFILE.
64638
64639 2012-10-21 Jim Blandy <jimb@codesourcery.com>
64640 Joseph Myers <joseph@codesourcery.com>
64641
64642 * config.make.in (NM): New variable.
64643
64644 2012-10-21 Andreas Jaeger <aj@suse.de>
64645
64646 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
64647 definitions and declarations that are provided by
64648 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
64649
64650 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
64651
64652 [BZ #14683]
64653 * elf/Makefile (tests-static): Add tst-leaks1-static.
64654 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
64655 ($(objpfx)tst-leaks1-static): New rule.
64656 ($(objpfx)tst-leaks1-static-mem): Likewise.
64657 (tst-leaks1-static-ENV): New macro.
64658 * elf/dl-open.c (dl_open_worker): Check the main application
64659 only if SHARED is defined.
64660 * elf/tst-leaks1-static.c: New file.
64661
64662 2012-10-20 Andreas Jaeger <aj@suse.de>
64663
64664 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
64665 generic values for Linux.
64666 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
64667 and declarations that are provided by <bits/fcntl-linux.h> and
64668 include <bits/fcntl-linux.h>.
64669 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64670 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64671
64672 2012-10-20 Roland McGrath <roland@hack.frob.com>
64673
64674 * io/fcntl.h: Move include of <bits/types.h> to the top and
64675 include it unconditionally.
64676
64677 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
64678
64679 * wcsmbs/Makefile (tests-ifunc): New variable.
64680 (tests): Add $(tests-ifunc).
64681 * wcsmbs/test-wcschr-ifunc.c: New file.
64682 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
64683 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
64684 * wcsmbs/test-wcslen-ifunc.c: Likewise.
64685 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
64686 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
64687
64688 * string/Makefile (tests-ifunc): New variable.
64689 (tests): Add $(tests-ifunc).
64690 * string/test-memccpy.c (TEST_NAME): New macro.
64691 * string/test-memchr.c (TEST_NAME): Likewise.
64692 * string/test-memcmp.c (TEST_NAME): Likewise.
64693 * string/test-memcpy.c (TEST_NAME): Likewise.
64694 * string/test-memmem.c (TEST_NAME): Likewise.
64695 * string/test-memmove.c (TEST_NAME): Likewise.
64696 * string/test-memset.c (TEST_NAME): Likewise.
64697 * string/test-rawmemchr.c (TEST_NAME): Likewise.
64698 * string/test-stpcpy.c (TEST_NAME): Likewise.
64699 * string/test-stpncpy.c (TEST_NAME): Likewise.
64700 * string/test-strcasecmp.c (TEST_NAME): Likewise.
64701 * string/test-strcasestr.c (TEST_NAME): Likewise.
64702 * string/test-strcat.c (TEST_NAME): Likewise.
64703 * string/test-strchr.c (TEST_NAME): Likewise.
64704 * string/test-strcmp.c(TEST_NAME): Likewise.
64705 * string/test-strcpy.c (TEST_NAME): Likewise.
64706 * string/test-strcspn.c (TEST_NAME): Likewise.
64707 * string/test-strlen.c (TEST_NAME): Likewise.
64708 * string/test-strncasecmp.c (TEST_NAME): Likewise.
64709 * string/test-strncmp.c (TEST_NAME): Likewise.
64710 * string/test-strncpy.c (TEST_NAME): Likewise.
64711 * string/test-strnlen.c (TEST_NAME): Likewise.
64712 * string/test-strpbrk.c (TEST_NAME): Likewise.
64713 * string/test-strrchr.c (TEST_NAME): Likewise.
64714 * string/test-strspn.c (TEST_NAME): Likewise.
64715 * string/test-strstr.c (TEST_NAME): Likewise.
64716 * string/test-bcopy-ifunc.c: New file.
64717 * string/test-bzero-ifunc.c: Likewise.
64718 * string/test-memccpy-ifunc.c: Likewise.
64719 * string/test-memchr-ifunc.c: Likewise.
64720 * string/test-memcmp-ifunc.c: Likewise.
64721 * string/test-memcpy-ifunc.c: Likewise.
64722 * string/test-memmem-ifunc.c: Likewise.
64723 * string/test-memmove-ifunc.c: Likewise.
64724 * string/test-mempcpy-ifunc.c: Likewise.
64725 * string/test-memset-ifunc.c: Likewise.
64726 * string/test-rawmemchr-ifunc.c: Likewise.
64727 * string/test-stpcpy-ifunc.c: Likewise.
64728 * string/test-stpncpy-ifunc.c: Likewise.
64729 * string/test-strcasecmp-ifunc.c: Likewise.
64730 * string/test-strcasestr-ifunc.c: Likewise.
64731 * string/test-strcat-ifunc.c: Likewise.
64732 * string/test-strchr-ifunc.c: Likewise.
64733 * string/test-strchrnul-ifunc.c: Likewise.
64734 * string/test-strcmp-ifunc.c: Likewise.
64735 * string/test-strcpy-ifunc.c: Likewise.
64736 * string/test-strcspn-ifunc.c: Likewise.
64737 * string/test-strlen-ifunc.c: Likewise.
64738 * string/test-strncasecmp-ifunc.c: Likewise.
64739 * string/test-strncat-ifunc.c: Likewise.
64740 * string/test-strncmp-ifunc.c: Likewise.
64741 * string/test-strncpy-ifunc.c: Likewise.
64742 * string/test-strnlen-ifunc.c: Likewise.
64743 * string/test-strpbrk-ifunc.c: Likewise.
64744 * string/test-strrchr-ifunc.c: Likewise.
64745 * string/test-strspn-ifunc.c: Likewise.
64746 * string/test-strstr-ifunc.c: Likewise.
64747
64748 * debug/Makefile (tests-ifunc): New variable.
64749 (tests): Add $(tests-ifunc).
64750 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
64751 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
64752 * debug/test-stpcpy_chk-ifunc.c: New file.
64753 * debug/test-strcpy_chk-ifunc.c: Likewise.
64754
64755 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
64756
64757 [BZ #13601]
64758 * elf/dl-load.c (open_verify): Retry read if the entire ELF
64759 header is not read in.
64760
64761 2012-10-19 Joseph Myers <joseph@codesourcery.com>
64762
64763 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
64764 script to $(SHELL) as $<. Pass $(common-objpfx) to script
64765 directly. Pass built executable to script as
64766 $(built-program-cmd).
64767 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
64768 $testprogram without using LD_LIBRARY_PATH and $ldso.
64769
64770 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
64771 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
64772 $(rtld-installed-name).
64773 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
64774 (rtld_installed_name): Likewise.
64775 (library_path): Likewise.
64776 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
64777 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
64778 $(run-program-prefix) to tst-tables.sh.
64779 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
64780 it to run tst-table-from and tst-table-to.
64781 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
64782 Pass it to tst-table.sh.
64783 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
64784 $(run-program-prefix) to tst-gettext.sh.
64785 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
64786 tst-translit.sh.
64787 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
64788 tst-gettext2.sh.
64789 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
64790 to run tst-gettext.
64791 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
64792 to run tst-gettext2.
64793 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
64794 to run tst-translit.
64795 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
64796 $(run-program-prefix) to tst-mtrace.sh.
64797 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
64798 to run tst-mtrace.
64799 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
64800 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
64801 $(rtld-installed-name).
64802 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
64803 (rtld_installed_name): Likewise.
64804 (run_program_prefix): New variable. Use it to run wordexp-test.
64805
64806 * Makeconfig (ARCH): Remove all definitions.
64807 (machine): Likewise.
64808 [ARCH]: Remove conditional code.
64809 [!objdir]: Give error.
64810 [!objdir] (objpfx): Remove.
64811 [!objdir] (common-objpfx): Likewise.
64812 [!objdir] (common-objdir): Likewise.
64813 * configure.in (config_makefile): Remove. Hardcode Makefile in
64814 AC_CONFIG_FILES call.
64815 * configure: Regenerated.
64816
64817 [BZ #13888]
64818 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
64819 or TMPDIR.
64820 (testout): Likewise.
64821
64822 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
64823 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
64824 $(rtld-installed-name).
64825 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
64826 (rtld_installed_name): Likewise.
64827 (runit): Remove function.
64828 (run_getconf): New variable, Use it for running getconf binary.
64829
64830 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
64831
64832 [BZ #14716]
64833 * string/test-memmem.c (check_result): New function.
64834 (do_one_test): Use it.
64835 (check1): New function.
64836 (test_main): Use it.
64837
64838 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
64839
64840 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
64841
64842 2012-10-18 Joseph Myers <joseph@codesourcery.com>
64843
64844 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
64845 (_G_LSEEK64): Likewise.
64846 (_G_MMAP64): Likewise.
64847 (_G_FSTAT64): Likewise.
64848 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
64849 (_G_LSEEK64): Likewise.
64850 (_G_MMAP64): Likewise.
64851 (_G_FSTAT64): Likewise.
64852 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
64853 unconditional. Call __mmap64 directly.
64854 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
64855 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
64856 __lseek64 directly.
64857 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
64858 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
64859 __mmap64 directly.
64860 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
64861 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
64862 __lseek64 directly.
64863 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
64864 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
64865 __lseek64 directly.
64866 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
64867 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
64868 __lseek64 directly.
64869 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
64870 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
64871 __fxstat64 directly.
64872 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
64873 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
64874 unconditional.
64875 (freopen64) [!_G_OPEN64]: Remove conditional code.
64876 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
64877 unconditional.
64878 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
64879 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
64880 unconditional.
64881 (ftello64) [!_G_LSEEK64]: Remove conditional code.
64882 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
64883 unconditional.
64884 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
64885 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
64886 unconditional.
64887 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
64888 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
64889 unconditional.
64890 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
64891 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
64892 unconditional.
64893 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
64894 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
64895 unconditional.
64896 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
64897
64898 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
64899
64900 [BZ #12140]
64901 * manual/memory.texi (Malloc Tunable Parameters): Add note
64902 about free list pointers overwriting some perturb bytes.
64903 Wording suggested by Roland McGrath.
64904
64905 2012-10-17 Joseph Myers <joseph@codesourcery.com>
64906
64907 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
64908 (lgamma_test): Likewise.
64909 (tgamma_test): Likewise.
64910
64911 2012-10-16 Florian Weimer <fweimer@redhat.com>
64912
64913 [BZ #14700]
64914 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
64915 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
64916
64917 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
64918
64919 * NEWS: Mention BZ #14716.
64920 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
64921 when removing AVAILABLE1_USES_J macro.
64922
64923 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
64924
64925 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
64926 (__bswap_64): __uint64_t for unsigned 64-bit int.
64927
64928 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
64929
64930 * include/string.h (memmem): Declare libc hidden alias.
64931 * string/memmem.c (memmem): Define libc hidden alias.
64932 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
64933 __read, __close instead of open, read, close.
64934
64935 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
64936
64937 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
64938 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
64939 global and hidden.
64940 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
64941 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
64942 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
64943 Likewise.
64944 (__rawmemchr_sse2): Likewise.
64945 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
64946 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
64947 (__strchr_sse2): Likewise.
64948 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
64949 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
64950 (__strcasecmp_sse2): Likewise.
64951 (__strncasecmp_sse2): Likewise.
64952 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
64953 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
64954 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
64955 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
64956 (__strrchr_sse2): Likewise.
64957 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
64958 ifunc-impl-list.c.
64959 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
64960 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
64961 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
64962 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
64963 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
64964 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
64965 * sysdeps/x86_64/multiarch/memset.S: Likewise.
64966 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
64967 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
64968 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
64969 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
64970 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
64971 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
64972 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
64973 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
64974 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
64975 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
64976 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
64977 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
64978 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
64979 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
64980 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
64981 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
64982 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
64983 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
64984 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64985 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
64986 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
64987 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
64988 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
64989
64990 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
64991 global and hidden.
64992 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
64993 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
64994 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
64995 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
64996 Likewise.
64997 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
64998 Likewise.
64999 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
65000 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
65001 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
65002 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
65003 ifunc-impl-list.c.
65004 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65005 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65006 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65007 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65008 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65009 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65010 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65011 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65012 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65013 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65014 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65015 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65016 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65017 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
65018 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
65019 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65020 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
65021 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
65022 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65023 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65024 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65025 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65026 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65027 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65028 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65029 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
65030 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
65031 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
65032 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
65033 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65034 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
65035 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65036 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65037 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
65038 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65039 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65040 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65041 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65042 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65043 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65044 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
65045
65046 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
65047 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
65048 * include/ifunc-impl-list.h: New file.
65049 * misc/ifunc-impl-list.c: Likewise.
65050 * misc/Makefile (routines): Add ifunc-impl-list.
65051 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
65052 * string/test-string.h: Include <ifunc-impl-list.h>.
65053 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
65054 TEST_NAME]: New variables.
65055 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
65056 are defined.
65057 (test_init): Call __libc_ifunc_impl_list to initialize
65058 func_list if TEST_IFUNC and TEST_NAME are defined.
65059
65060 * string/Makefile (strop-tests): Add bcopy and bzero.
65061 * string/test-bcopy.c: New file.
65062 * string/test-bzero.c: Likewise.
65063 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
65064 defined.
65065 * string/test-memset.c: Support bzero test if TEST_BZERO is
65066 defined.
65067 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
65068 __libc_memmove.
65069 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
65070 __libc_memset.
65071 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
65072 of memset.
65073
65074 2012-10-10 Joseph Myers <joseph@codesourcery.com>
65075
65076 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
65077 * configure: Regenerated.
65078
65079 * Makeconfig (+link-static-before-libc): Don't include
65080 $(link-static-libc).
65081
65082 * libio/libio.h (_IO_pos_t): Remove.
65083
65084 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65085
65086 * NEWS: Add note about FIPS mode. Wording suggested by Roland
65087 McGrath.
65088
65089 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65090
65091 * crypt/crypt-entry.c: Include fips-private.h.
65092 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
65093 * crypt/md5c-test.c (main): Tolerate disabled MD5.
65094 * sysdeps/unix/sysv/linux/fips-private.h: New file.
65095 * sysdeps/generic/fips-private.h: New file, dummy fallback.
65096
65097 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65098
65099 * crypt/crypt-private.h: Include stdbool.h.
65100 (_ufc_setup_salt_r): Return bool.
65101 * crypt/crypt-entry.c: Include errno.h.
65102 (__crypt_r): Return NULL with EINVAL for bad salt.
65103 * crypt/crypt_util.c (bad_for_salt): New.
65104 (_ufc_setup_salt_r): Check that salt is long enough and within
65105 the specified alphabet.
65106 * crypt/badsalttest.c: New file.
65107 * crypt/Makefile (tests): Add it.
65108 ($(objpfx)badsalttest): New.
65109
65110 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
65111
65112 * NEWS: Add entry for BZ #14602.
65113
65114 2012-10-09 Joseph Myers <joseph@codesourcery.com>
65115
65116 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
65117 type-generic.
65118 * math/libm-test.inc: Update comment listing what functions and
65119 macros are tested.
65120 (isgreater_test): New function.
65121 (isgreaterequal_test): Likewise.
65122 (isless_test): Likewise.
65123 (islessequal_test): Likewise.
65124 (islessgreater_test): Likewise.
65125 (isunordered_test): Likewise.
65126 (main): Call the new functions.
65127
65128 2012-10-09 Roland McGrath <roland@hack.frob.com>
65129
65130 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
65131 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
65132 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
65133 * sysdeps/i386/configure: Regenerated.
65134 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
65135 * sysdeps/mach/configure: Regenerated.
65136 * sysdeps/mach/hurd/configure: Regenerated.
65137 * sysdeps/powerpc/configure: Regenerated.
65138 * sysdeps/powerpc/powerpc32/configure: Regenerated.
65139 * sysdeps/powerpc/powerpc64/configure: Regenerated.
65140 * sysdeps/s390/s390-32/configure: Regenerated.
65141 * sysdeps/s390/s390-64/configure: Regenerated.
65142 * sysdeps/sh/configure: Regenerated.
65143 * sysdeps/sparc/configure: Regenerated.
65144 * sysdeps/unix/sysv/linux/configure: Regenerated.
65145 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
65146 * sysdeps/x86_64/configure: Regenerated.
65147
65148 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
65149 defined. Don't check if MAP is NULL.
65150
65151 2012-10-09 Joseph Myers <joseph@codesourcery.com>
65152
65153 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
65154 (_G_stat64): Likewise.
65155 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
65156 (_G_stat64): Likewise.
65157 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
65158 instead of struct _G_stat64.
65159 * libio/fileops.c (mmap_remap_check): Likewise.
65160 (decide_maybe_mmap): Likewise.
65161 (_IO_new_file_seekoff): Likewise.
65162 (_IO_file_stat): Likewise.
65163 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
65164 _G_off64_t.
65165 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
65166 instead of struct _G_stat64.
65167 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65168
65169 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
65170
65171 [BZ #14602]
65172 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65173 Replace with ...
65174 (CHECK_EOL): New macro.
65175 (two_way_short_needle): Check beginning of haystack for EOL. Use
65176 CHECK_EOL.
65177 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65178 Replace with CHECK_EOL.
65179 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65180 Replace with CHECK_EOL.
65181
65182 2012-10-08 Joseph Myers <joseph@codesourcery.com>
65183
65184 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
65185 type-generic.
65186 * math/libm-test.inc: Update comment listing what functions and
65187 macros are tested.
65188 (finite_test): New function.
65189 (isinf_test): Likewise.
65190 (isnan_test): Likewise.
65191 (fpclassify_test): Test subnormal input.
65192 (isfinite_test): Likewise.
65193 (isnormal_test): Likewise.
65194 (main): Call the new functions.
65195
65196 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
65197
65198 [BZ #14660]
65199 * Makerules (%.dynsym): Force C locale when running
65200 $(OBJDUMP) --dynamic-syms.
65201
65202 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
65203
65204 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
65205 <stdint.h>.
65206
65207 2012-10-06 David S. Miller <davem@davemloft.net>
65208
65209 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
65210 upper 32-bits of the length value in %o2 since we use branch-on-register
65211 tests which consider the entire 64-bit register.
65212
65213 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
65214
65215 * string/test-strstr.c (check2): Add a test for page boundary.
65216
65217 2012-10-05 David S. Miller <davem@davemloft.net>
65218
65219 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
65220 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
65221 file.
65222 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
65223 sysdep_routines.
65224 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
65225 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
65226 and bzero when HWCAP_SPARC_CRYPTO is present.
65227
65228 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
65229
65230 [BZ #14602]
65231 * string/test-strstr.c (check2): New function.
65232 (test_main): Call check2.
65233
65234 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
65235 and bug-strchr1.
65236 * string/bug-strcasestr1.c (do_test): Moved to ...
65237 * string/test-strcasestr.c (check1): Here. New function.
65238 (do_one_test): Break out result checking code into ...
65239 (check_result): This. New function.
65240 (do_one_test): Call check_result.
65241 (test_main): Call check1.
65242 * string/bug-strchr1.c (do_test): Moved to ...
65243 * string/test-strchr.c (check1): Here. New function.
65244 (do_one_test): Break out result checking code into ...
65245 (check_result): This. New function.
65246 (do_one_test): Call check_result.
65247 (test_main): Call check1.
65248 * string/bug-strstr1.c (main): Moved to ...
65249 * string/test-strstr.c (check1): Here. New function.
65250 (do_one_test): Break out result checking code into ...
65251 (check_result): This. New function.
65252 (do_one_test): Call check_result.
65253 (test_main): Call check1.
65254 * string/bug-strcasestr1.c: Removed.
65255 * string/bug-strchr1.c: Likewise.
65256 * string/bug-strstr1.c: Likewise.
65257
65258 * elf/Makefile (dl-routines): Add hwcaps.
65259 * elf/dl-support.c (_dl_important_hwcaps): Removed.
65260 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
65261 (_dl_important_hwcaps): Moved to ...
65262 * elf/dl-hwcaps.c: Here. New file.
65263 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
65264
65265 [BZ #14557]
65266 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
65267 if IS_IN_rtld isn't defined.
65268
65269 * elf/dl-support.c (_dl_sysinfo_map): New.
65270 Include "get-dynamic-info.h" and "setup-vdso.h".
65271 (_dl_non_dynamic_init): Call setup_vdso.
65272 * elf/dynamic-link.h: Don't include <assert.h>.
65273 (elf_get_dynamic_info): Moved to ...
65274 * elf/get-dynamic-info.h: Here. New file.
65275 * elf/dynamic-link.h: Include "get-dynamic-info.h".
65276 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
65277 * elf/setup-vdso.h: Here. New file.
65278 * elf/rtld.c: Include "setup-vdso.h".
65279 (dl_main): Call setup_vdso.
65280
65281 2012-10-05 Joseph Myers <joseph@codesourcery.com>
65282
65283 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
65284 creal in comment listing functions tested. List finite, isinf,
65285 isnan, isless, islessequal, isgreater, isgreaterequal,
65286 islessgreater, isunordered, lgamma_r and pow10 as functions and
65287 macros not tested. Mention which functions not tested are aliases
65288 for other functions. Fix typo. Note that signs of NaNs are not
65289 tested.
65290
65291 * scripts/config.guess: Update from config.git.
65292 * scripts/config.sub: Likewise.
65293
65294 2012-10-04 Roland McGrath <roland@hack.frob.com>
65295
65296 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
65297 * misc/madvise.c (madvise): Renamed to __madvise.
65298 Make madvise a weak alias.
65299 * include/sys/mman.h: Declare __madvise.
65300 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
65301 * sysdeps/unix/syscalls.list
65302 (madvise): Make __madvise the strong name, and madvise a weak alias.
65303 * sysdeps/unix/sysv/linux/syscalls.list
65304 (madvise, mmap): Remove redundant entries.
65305 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
65306 * malloc/malloc.c (mtrim): Likewise.
65307 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
65308
65309 2012-10-03 Roland McGrath <roland@hack.frob.com>
65310
65311 * sysdeps/mach/hurd/dl-cache.c: File removed.
65312 * config.h.in (USE_LDCONFIG): New #undef.
65313 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
65314 * configure: Regenerated.
65315 * elf/Makefile (dl-routines): Add dl-cache only under
65316 [$(use-ldconfig) = yes].
65317 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
65318 cache on [USE_LDCONFIG].
65319 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
65320 [USE_LDCONFIG].
65321 * elf/rtld.c (dl_main): Likewise.
65322
65323 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
65324
65325 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
65326 _SC_LEVEL4_CACHE_LINESIZE.
65327
65328 2012-10-03 Roland McGrath <roland@hack.frob.com>
65329
65330 * sysdeps/unix/bsd/confstr.h: File removed.
65331
65332 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
65333
65334 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
65335 sys/sdt-config.h.
65336
65337 2012-10-02 Roland McGrath <roland@hack.frob.com>
65338
65339 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
65340 Make 'mapoff' field ElfW(Off) rather than off_t.
65341
65342 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
65343
65344 * nscd/Makefile: Remove nscd-cflags and all its users.
65345 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
65346 (CFLAGS-nonlib): Add compiler flags for nscd modules.
65347
65348 [BZ #10631]
65349 * malloc.c (malloc_printerr): Clarify error message.
65350
65351 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
65352
65353 [BZ #14648]
65354 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65355 Set bit_FMA_Usable if FMA is supported.
65356 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
65357 macro.
65358 (bit_FMA4_Usable): Updated.
65359 (index_FMA_Usable): New macro.
65360 (CPUID_FMA): Likewise.
65361 (HAS_FMA): Defined with bit_FMA_Usable.
65362
65363 2012-10-01 Roland McGrath <roland@hack.frob.com>
65364
65365 * bits/types.h (__swblk_t): Type removed.
65366 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
65367 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
65368 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65369 (__SWBLK_T_TYPE): Likewise.
65370 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65371 (__SWBLK_T_TYPE): Likewise.
65372 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65373 (__SWBLK_T_TYPE): Likewise.
65374 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65375 (__SWBLK_T_TYPE): Likewise.
65376
65377 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
65378 Honza Horak <hhorak@redhat.com>
65379
65380 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
65381 (xdr_mapname): Use YPMAXMAP as maxsize.
65382 (xdr_peername): Use YPMAXPEER as maxsize.
65383 (xdr_keydat): Use YPAXRECORD as maxsize.
65384 (xdr_valdat): Use YPMAXRECORD as maxsize.
65385
65386 2012-10-01 Roland McGrath <roland@hack.frob.com>
65387
65388 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
65389
65390 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
65391 * csu/init-first.c: ... here.
65392 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
65393 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
65394 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
65395 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
65396 * sysdeps/i386/init-first.c: File removed.
65397 * sysdeps/sh/init-first.c: File removed.
65398
65399 2012-10-01 Joseph Myers <joseph@codesourcery.com>
65400
65401 [BZ #14645]
65402 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
65403 if x * y might underflow to zero and z is zero.
65404 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65405 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65406 * math/libm-test.inc (min_subnorm_value): New variable.
65407 (fma_test): Add more tests.
65408 (fma_test_towardzero): Likewise.
65409 (fma_test_downward): Likewise.
65410 (fma_test_upward): Likewise.
65411 (initialize): Set min_subnorm_value.
65412
65413 2012-09-29 Joseph Myers <joseph@codesourcery.com>
65414
65415 [BZ #14638]
65416 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
65417 0 + 0.
65418 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
65419 mode for addition resulting in exact zero.
65420 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
65421 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
65422 exact 0 + 0.
65423 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
65424 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65425 * math/libm-test.inc (fma_test): Add more tests.
65426 (fma_test_towardzero): New function.
65427 (fma_test_downward): Likewise.
65428 (fma_test_upward): Likewise.
65429 (main): Call the new functions.
65430
65431 2012-09-28 David S. Miller <davem@davemloft.net>
65432
65433 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
65434
65435 2012-09-28 Roland McGrath <roland@hack.frob.com>
65436
65437 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
65438 instead of SIGALRM.
65439
65440 * sysdeps/gnu/_G_config.h: Moved to ...
65441 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
65442 * sysdeps/mach/hurd/_G_config.h: Moved to ...
65443 * sysdeps/generic/_G_config.h: ... here.
65444
65445 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
65446
65447 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
65448
65449 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
65450 Conditionalize target on [libnss_test1.so-version].
65451
65452 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
65453
65454 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
65455 (elfobjdir): Move out of conditionals.
65456
65457 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
65458 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
65459 (__nss_lookup_function): Conditionalize label remove_from_tree on
65460 [!DO_STATIC_NSS || SHARED], matching its only use.
65461
65462 2012-09-28 David S. Miller <davem@davemloft.net>
65463
65464 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
65465 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
65466 file.
65467 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
65468 sysdep_routines.
65469 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
65470 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
65471 when HWCAP_SPARC_CRYPTO is present.
65472
65473 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
65474
65475 * io/tst-mknodat.c: Create a FIFO instead of a socket.
65476
65477 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
65478
65479 [BZ #6530]
65480 * stdio-common/vfprintf.c (process_string_arg): Revert
65481 2000-07-22 change.
65482
65483 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
65484
65485 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
65486 for testcase.
65487 * stdio-common/tst-sprintf.c: Include <locale.h>
65488 (main): Test sprintf's handling of incomplete multibyte
65489 characters.
65490
65491 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
65492
65493 * elf/dl-runtime.c (VERSYMIDX): Removed.
65494 * elf/dl-version.c (VERSYMIDX): Likewise.
65495 * elf/do-rel.h (VERSYMIDX): Likewise.
65496 (VALIDX): Likewise.
65497 * elf/dynamic-link.h (VERSYMIDX): Likewise.
65498 * elf/rtld.c (VALIDX): Likewise.
65499 (ADDRIDX): Likewise.
65500 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
65501 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
65502 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
65503 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
65504 (VALIDX): Likewise.
65505 (ADDRIDX): Likewise.
65506
65507 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
65508
65509 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
65510
65511 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
65512
65513 [BZ #11438]
65514 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
65515 to global scope.
65516 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
65517 addresses are in the same scope as 192.0.2/24.
65518 * posix/gai.conf: Document new scope table defaults.
65519
65520 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
65521
65522 [BZ #5298]
65523 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
65524 for ftell. Compute offsets from write pointers instead.
65525 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65526
65527 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
65528
65529 [BZ #14543]
65530 * libio/Makefile (tests): New test case tst-fseek.
65531 * libio/tst-fseek.c: New test case to verify that fseek/ftell
65532 combination works in wide mode.
65533 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
65534 state when the external buffer state changes.
65535
65536 2012-09-27 David S. Miller <davem@davemloft.net>
65537
65538 [BZ #14376]
65539 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
65540 pass reloc->r_addend in as the 'high' argument to
65541 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
65542
65543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
65544
65545 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
65546
65547 * rt/tst-aio2.c: Include <pthread.h>.
65548 * rt/tst-aio3.c: Likewise.
65549
65550 2012-09-27 Steve Ellcey <sellcey@mips.com>
65551
65552 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
65553
65554 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
65555
65556 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
65557 contents on [SHARED].
65558
65559 2012-09-26 Marek Polacek <polacek@redhat.com>
65560
65561 [BZ #14530]
65562 [BZ #13741]
65563 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
65564 for C++ and GCC <4.3 as well as for non GCC compilers.
65565
65566 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
65567
65568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65569
65570 2012-09-25 Roland McGrath <roland@hack.frob.com>
65571
65572 * Makefile.in (all, install): Declare with .PHONY.
65573 Reported by Michael Hope <michael.hope@linaro.org>.
65574
65575 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65576
65577 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
65578 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
65579 system header.
65580 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
65581 Likewise.
65582 (sydep_routines): Add the new and the internal functions.
65583 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
65584 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
65585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
65586 (GLIBC_2.17): Add the new function.
65587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
65588 (GLIBC_2.17): Likewise.
65589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
65590 (GLIBC_2.17): Likewise.
65591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
65592 (GLIBC_2.17): Likewise.
65593 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
65594
65595 2012-09-25 Alan Modra <amodra@gmail.com>
65596
65597 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
65598 Add release barrier before setting once_control to say
65599 initialisation is done. Add hints on lwarx. Use macro in
65600 place of isync.
65601 (clear_once_control): Add release barrier.
65602
65603 2012-09-25 Joseph Myers <joseph@codesourcery.com>
65604
65605 [BZ #13629]
65606 * math/s_clog.c (__clog): Handle more values close to |z| = 1
65607 specially.
65608 * math/s_clog10.c (__clog10): Likewise.
65609 * math/s_clog10f.c (__clog10f): Likewise.
65610 * math/s_clog10l.c (__clog10l): Likewise.
65611 * math/s_clogf.c (__clogf): Likewise.
65612 * math/s_clogl.c (__clogl): Likewise.
65613 * math/Makefile (libm-calls): Add x2y2m1.
65614 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
65615 (__x2y2m1): Likewise.
65616 (__x2y2m1l): Likewise.
65617 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
65618 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
65619 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
65620 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
65621 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
65622 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
65623 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
65624 * sysdeps/i386/fpu/libm-test-ulps: Update.
65625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65626
65627 [BZ #14621]
65628 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
65629 int as type of variable DEPTH.
65630 (glob): Use size_t instead of int as type of variables NEWCOUNT
65631 and OLD_PATHC.
65632
65633 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65634
65635 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
65636 Add s_sincosf-sse2.
65637 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
65638 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
65639 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
65640 macros for using routine as __sincosf_ia32.
65641 Use macro for function declaration and weak_alias.
65642 * sysdeps/i386/fpu/libm-test-ulps: Update.
65643
65644 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
65645 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65646
65647 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
65648 subnormal argument.
65649 * math/s_cexpf.c (__cexpf): Likewise.
65650 * math/s_csinf.c (__csinf): Likewise.
65651 * math/s_csinhf.c (__csinhf): Likewise.
65652 * math/s_ctanf.c (__ctanf): Likewise.
65653 * math/s_ctanhf.c (__ctanhf): Likewise.
65654 * math/s_ccosh.c (__ccoshf): Likewise.
65655 * math/s_cexp.c (__cexpl): Likewise.
65656 * math/s_csin.c (__csin): Likewise.
65657 * math/s_csinh.c (__csinh): Likewise.
65658 * math/s_ctan.c (__ctan): Likewise.
65659 * math/s_ctanh.c (ctanh): Likewise.
65660 * math/s_ccoshl.c (__ccoshl): Likewise.
65661 * math/s_cexpl.c (__cexpl): Likewise.
65662 * math/s_csinl.c (__csinl): Likewise.
65663 * math/s_csinhl.c (__csinhl): Likewise.
65664 * math/s_ctanl.c (__ctanl): Likewise.
65665 * math/s_ctanhl.c (__ctanhl): Likewise.
65666
65667 2012-09-25 Joseph Myers <joseph@codesourcery.com>
65668
65669 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
65670 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
65671 (_IO_off_t): Define to __off_t, not _G_off_t.
65672 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
65673 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
65674 (_IO_wint_t): Define to wint_t, not _G_wint_t.
65675 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
65676 type of __dummy and __dummy2 fields.
65677 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
65678 (_G_ssize_t): Likewise.
65679 (_G_off_t): Likewise.
65680 (_G_pid_t): Likewise.
65681 (_G_uid_t): Likewise.
65682 (_G_wchar_t): Likewise.
65683 (_G_wint_t): Likewise.
65684 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
65685 (_G_ssize_t): Likewise.
65686 (_G_off_t): Likewise.
65687 (_G_pid_t): Likewise.
65688 (_G_uid_t): Likewise.
65689 (_G_wchar_t): Likewise.
65690 (_G_wint_t): Likewise.
65691 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
65692 (_G_ssize_t): Likewise.
65693 (_G_off_t): Likewise.
65694 (_G_pid_t): Likewise.
65695 (_G_uid_t): Likewise.
65696 (_G_wchar_t): Likewise.
65697 (_G_wint_t): Likewise.
65698
65699 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
65700
65701 * malloc/arena.c: Include malloc-sysdep.h.
65702 (shrink_heap): Use check_may_shrink_heap to decide if madvise
65703 is sufficient to shrink the heap or an unmap is needed.
65704 * sysdeps/generic/malloc-sysdep.h: New file. Define
65705 new function check_may_shrink_heap.
65706 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
65707 new function check_may_shrink_heap.
65708
65709 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
65710
65711 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
65712 comments.
65713
65714 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
65715
65716 * catgets/test-gencat.sh: Add "set -e".
65717 * elf/tst-pathopt.sh: Likewise.
65718 * grp/tst_fgetgrent.sh: Likewise.
65719 * iconvdata/run-iconv-test.sh: Likewise.
65720 * intl/tst-gettext.sh: Likewise.
65721 * intl/tst-gettext2.sh: Likewise.
65722 * intl/tst-gettext4.sh: Likewise.
65723 * intl/tst-gettext6.sh: Likewise.
65724 * intl/tst-translit.sh: Likewise.
65725 * io/ftwtest-sh: Likewise.
65726 * libio/test-freopen.sh: Likewise.
65727 * malloc/tst-mtrace.sh: Likewise.
65728 * posix/globtest.sh: Likewise.
65729 * posix/tst-getconf.sh: Likewise.
65730 * posix/wordexp-tst.sh: Likewise.
65731 * stdio-common/tst-printf.sh: Likewise.
65732 * stdio-common/tst-unbputc.sh: Likewise.
65733 * stdlib/tst-fmtmsg.sh: Likewise.
65734 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
65735 * catgets/Makefile: Do not specify -e option when running
65736 testsuite shell scripts.
65737 * elf/Makefile: Likewise.
65738 * grp/Makefile: Likewise.
65739 * iconvdata/Makefile: Likewise.
65740 * intl/Makefile: Likewise.
65741 * io/Makefile: Likewise.
65742 * libio/Makefile: Likewise.
65743 * malloc/Makefile: Likewise.
65744 * posix/Makefile: Likewise.
65745 * stdio-common/Makefile: Likewise.
65746 * stdlib/Makefile: Likewise.
65747 * sysdeps/x86_64/Makefile: Likewise.
65748
65749 * io/ftwtest-sh: Add copyright header.
65750 * posix/globtest.sh: Likewise.
65751 * posix/tst-getconf.sh: Likewise.
65752 * posix/wordexp-tst.sh: Likewise.
65753 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
65754
65755 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
65756
65757 [BZ #13679]
65758 * Makeconfig (+link): Defined as $(+link-static) if
65759 $(build-shared) isn't yes.
65760 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
65761 isn't yes.
65762 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
65763
65764 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
65765
65766 [BZ #14562]
65767 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
65768 new chunk size with MALLOC_ALIGN_MASK.
65769
65770 2012-09-24 Joseph Myers <joseph@codesourcery.com>
65771
65772 [BZ #5044]
65773 * stdio-common/printf_fphex.c: Include <stdbool.h> and
65774 <rounding-mode.h>.
65775 (__printf_fphex): Determine rounding using get_rounding_mode and
65776 round_away.
65777 * stdio-common/tst-printf-round.c (struct hex_test): New
65778 structure.
65779 (hex_tests): New variable.
65780 (test_hex_in_one_mode): New function.
65781 (do_test): Also run tests for hex float output.
65782
65783 2012-09-21 Joseph Myers <joseph@codesourcery.com>
65784
65785 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
65786 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
65787 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
65788 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
65789 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
65790 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
65791 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
65792 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
65793
65794 2012-09-20 Joseph Myers <joseph@codesourcery.com>
65795
65796 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
65797 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
65798 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
65799 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
65800
65801 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
65802
65803 [BZ #14579]
65804 * elf/rtld.c (dl_main): Limit the check for self loading to normal
65805 mode only.
65806 * elf/tst-rtld-load-self.sh: New test.
65807 * elf/Makefile: Run it.
65808
65809 2012-09-18 Joseph Myers <joseph@codesourcery.com>
65810
65811 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
65812 (tst-writev-ENV): Remove.
65813 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
65814
65815 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
65816
65817 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
65818
65819 2012-09-17 Joseph Myers <joseph@codesourcery.com>
65820
65821 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
65822 unconditional.
65823 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
65824 Likewise.
65825 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
65826 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
65827 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
65828 Likewise.
65829
65830 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
65831
65832 [BZ #14587]
65833 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
65834 * config.make.in (have-cpp-asm-debuginfo): Removed.
65835 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
65836 * configure: Regenerated.
65837
65838 2012-09-14 Joseph Myers <joseph@codesourcery.com>
65839
65840 [BZ #5044]
65841 * stdio-common/printf_fp.c: Include <stdbool.h> and
65842 <rounding-mode.h>.
65843 (___printf_fp): Determine rounding using get_rounding_mode and
65844 round_away.
65845 * stdio-common/tst-printf-round.c: New file.
65846 * stdio-common/Makefile (tests): Add tst-printf-round.
65847 (link-libm): New variable.
65848 ($(objpfx)tst-printf-round): Depend in $(link-libm).
65849
65850 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
65851
65852 [BZ #14576]
65853 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
65854 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
65855 Likewise.
65856 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
65857 Likewise.
65858
65859 2012-09-13 Joseph Myers <joseph@codesourcery.com>
65860
65861 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
65862 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65863 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65864 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65865
65866 2012-09-12 Joseph Myers <joseph@codesourcery.com>
65867
65868 [BZ #14518]
65869 * include/rounding-mode.h: New file.
65870 * sysdeps/generic/get-rounding-mode.h: Likewise.
65871 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
65872 * stdlib/strtod_l.c: Include <rounding-mode.h>.
65873 (MAX_VALUE): New macro.
65874 (MIN_VALUE): Likewise.
65875 (overflow_value): New function.
65876 (underflow_value): Likewise.
65877 (round_and_return): Use overflow_value and underflow_value to
65878 determine return values in overflow and underflow cases. Use
65879 round_away to determine rounding depending on rounding mode.
65880 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
65881 determine return values in overflow and underflow cases.
65882 * stdlib/tst-strtod-round.c: Include <fenv.h>.
65883 (struct test_results): New structure.
65884 (struct test): Use struct test_results to store expected results
65885 for all rounding modes.
65886 (TEST): Include expected results for all rounding modes.
65887 (test_in_one_mode): New function.
65888 (do_test): Use test_in_one_mode to compute and check results.
65889 Check results for all rounding modes.
65890 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
65891 $(link-libm).
65892
65893 2012-12-09 Allan McRae <allan@archlinux.org>
65894
65895 * sysdeps/i386/fpu/libm-test-ulps: Update
65896
65897 2012-09-11 Joseph Myers <joseph@codesourcery.com>
65898
65899 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
65900 (_G_int32_t): Likewise.
65901 (_G_uint16_t): Likewise.
65902 (_G_uint32_t): Likewise.
65903 (_G_HAVE_BOOL): Likewise.
65904 (_G_HAVE_ATEXIT): Likewise.
65905 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65906 (_G_HAVE_IO_FILE_OPEN): Likewise.
65907 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
65908 (_G_int32_t): Likewise.
65909 (_G_uint16_t): Likewise.
65910 (_G_uint32_t): Likewise.
65911 (_G_HAVE_BOOL): Likewise.
65912 (_G_HAVE_ATEXIT): Likewise.
65913 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65914 (_G_HAVE_IO_FILE_OPEN): Likewise.
65915 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
65916 (_G_int32_t): Likewise.
65917 (_G_uint16_t): Likewise.
65918 (_G_uint32_t): Likewise.
65919 (_G_HAVE_BOOL): Likewise.
65920 (_G_HAVE_ATEXIT): Likewise.
65921 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65922 (_G_HAVE_IO_FILE_OPEN): Likewise.
65923
65924 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
65925
65926 * csu/libc-tls.c: Update copyright years.
65927
65928 2012-09-10 Joseph Myers <joseph@codesourcery.com>
65929
65930 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
65931 [!_G_USING_THUNKS]: Remove conditional code.
65932 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
65933 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
65934
65935 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
65936 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
65937 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65938 (_G_VTABLE_LABEL_PREFIX): Likewise.
65939 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65940 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65941 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65942 (_G_VTABLE_LABEL_PREFIX): Likewise.
65943 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
65944 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65945 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65946 (_G_VTABLE_LABEL_PREFIX): Likewise.
65947 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
65948
65949 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
65950
65951 * libio/Makefile: Include ../Makeconfig before tests.
65952 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
65953 only if $(build-shared) is yes.
65954
65955 * iconv/gconv_db.c: Update copyright years.
65956
65957 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65958
65959 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
65960 unwind info if defined PIC. Fix special cases description.
65961 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
65962
65963 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
65964 DP_HI_MASK entry.
65965 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
65966
65967 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
65968
65969 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
65970
65971 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
65972 is NULL.
65973
65974 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
65975 (LDLIBS-tst-chk4): This.
65976 (LDFLAGS-tst-chk5): Renamed to ...
65977 (LDLIBS-tst-chk5): This.
65978 (LDFLAGS-tst-chk6): Renamed to ...
65979 (LDLIBS-tst-chk6): This.
65980 (LDFLAGS-tst-lfschk4): Renamed to ...
65981 (LDLIBS-tst-lfschk4): This.
65982 (LDFLAGS-tst-lfschk5): Renamed to ...
65983 (LDLIBS-tst-lfschk5): This.
65984 (LDFLAGS-tst-lfschk6): Renamed to ...
65985 (LDLIBS-tst-lfschk6): This.
65986
65987 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
65988 on $(common-objpfx)soversions.mk.
65989
65990 2012-09-07 Joseph Myers <joseph@codesourcery.com>
65991
65992 [BZ #10014]
65993 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
65994 example host name.
65995
65996 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
65997
65998 * malloc/arena.c (arena_get_retry): New function that gets
65999 another arena for the caller to try its request on.
66000 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
66001 current arena cannot fulfill the request.
66002 (__libc_memalign): Likewise.
66003 (__libc_memalign): Likewise.
66004 (__libc_pvalloc): Likewise.
66005 (__libc_calloc): Likewise.
66006
66007 2012-09-05 John Tobey <john.tobey@gmail.com>
66008
66009 [BZ #13542]
66010 * manual/arith.texi (Operations on Complex): Fix description
66011 of carg branch cut.
66012
66013 2012-09-06 Joseph Myers <joseph@codesourcery.com>
66014
66015 [BZ #10014]
66016 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
66017 host name.
66018
66019 [BZ #10038]
66020 * manual/memory.texi (Memory): Make order of menu items match
66021 order of sections.
66022
66023 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66024
66025 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
66026 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
66027 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
66028
66029 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66030
66031 * csu/libc-tls.c (static_dtv): Renamed to ...
66032 (_dl_static_dtv): This. Make it global.
66033 (_dl_initial_dtv): Removed.
66034 (__libc_setup_tls): Updated.
66035 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
66036 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
66037 DL_INITIAL_DTV.
66038
66039 2012-09-06 Petr Machata <pmachata@redhat.com>
66040
66041 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
66042 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
66043 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
66044 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
66045
66046 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66047
66048 [BZ #14545]
66049 * csu/libc-tls.c (_dl_initial_dtv): New variable.
66050 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
66051 freeing dtv[-1].
66052
66053 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66054
66055 [BZ #14544]
66056 * Makeconfig (link-static-before-libc): Replace $(+prector)
66057 with $(+prectorT).
66058 (link-static-after-libc): Replace $(+postctor) with
66059 $(+postctorT).
66060 (link-bounded): Replace $(+prector)/$(+postctor) with
66061 $(+prectorT)/$(+postctorT).
66062 (+prectorT): New macro.
66063 (+postctorT): Likewise.
66064
66065 2012-09-06 Joseph Myers <joseph@codesourcery.com>
66066
66067 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
66068 (round_str): Handle values above the maximum for IBM long double
66069 as inexact.
66070 * stdlib/tst-strtod-round.c (tests): Regenerated.
66071
66072 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66073
66074 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
66075 assembler flag.
66076 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
66077 zarch_nohighgprs around the zarch optimized routines.
66078 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
66079 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
66080 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
66081 for zarch.
66082
66083 2012-09-05 David S. Miller <davem@davemloft.net>
66084
66085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66086
66087 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
66088 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
66089 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
66090 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66091 entries.
66092
66093 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66094
66095 * malloc/arena.c: Fold copyright years.
66096 * malloc/mcheck.c, malloc/memusage.c: Likewise.
66097
66098 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66099
66100 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
66101
66102 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66103
66104 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
66105
66106 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66107
66108 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
66109 change internal state upon failure.
66110
66111 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66112
66113 * malloc/mcheck.c (mcheck_check_all): Fix typo.
66114 * malloc/memusage.c (mmap): Likewise.
66115 (mmap64, mremap): Likewise. Adjust name in comment.
66116
66117 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
66118
66119 * libio/fileops.c: Fix typos in comments.
66120 * libio/oldfileops.c: Likewise.
66121 * libio/wfileops.c: Likewise.
66122
66123 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
66124
66125 [BZ #1349]
66126 * malloc/Makefile (tests): Add tst-malloc-usable test case.
66127 (tst-malloc-usable-ENV): Set environment for test case.
66128 * malloc/hooks.c (malloc_check_get_size): New function to get
66129 requested size.
66130 * malloc/malloc.c (musable): Use malloc_check_get_size.
66131 * malloc/tst-malloc-usable.c: New test case.
66132
66133 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
66134
66135 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
66136
66137 2012-09-05 Allan McRae <allan@archlinux.org>
66138
66139 [BZ #13966]
66140 * configure.in (CXX_SYSINCLUDES): Use compiler output to
66141 determine header location.
66142 * configure: Regenerated.
66143
66144 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
66145
66146 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
66147 float format.
66148 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
66149 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
66150 format.
66151 (test): Regenerate.
66152
66153 2012-09-04 David S. Miller <davem@davemloft.net>
66154
66155 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
66156 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
66157 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
66158
66159 2012-09-04 Florian Weimer <fweimer@redhat.com>
66160
66161 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
66162 failures.
66163
66164 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
66165
66166 2012-09-04 Joseph Myers <joseph@codesourcery.com>
66167
66168 [BZ #9914]
66169 * libio/iogetdelim.c: Include <limits.h>.
66170 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
66171 + len + 1 would overflow.
66172
66173 2012-09-03 Andreas Jaeger <aj@suse.de>
66174
66175 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66176 * sysdeps/i386/fpu/libm-test-ulps: Update.
66177
66178 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66179
66180 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66181 Add s_sinf-sse2, s_conf-sse2.
66182
66183 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
66184 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
66185 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
66186 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
66187
66188 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
66189 for using routine as __sinf_ia32.
66190 Use macro for function declaration and weak_alias.
66191 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
66192 for using routine as __cosf_ia32.
66193 Use macro for function declaration and weak_alias.
66194
66195 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
66196 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
66197
66198 * sysdeps/x86_64/fpu/s_sinf.S: New file.
66199 * sysdeps/x86_64/fpu/s_cosf.S: New file.
66200 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66201
66202 * math/libm-test.inc (cos_test): Add more test cases.
66203 (sin_test): Likewise.
66204 (sincos_test): Likewise.
66205
66206 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66207
66208 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
66209 (IFUNC_RESOLVE): Make pointers to the specialized implementations
66210 hidden.
66211 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
66212
66213 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
66214
66215 [BZ #14538]
66216 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
66217 first element of the GOT.
66218 (elf_machine_load_address): Return the difference between
66219 the runtime address of _DYNAMIC and elf_machine_dynamic ().
66220
66221 2012-09-01 Allan McRae <allan@archlinux.org>
66222
66223 [BZ #13412]
66224 * configure.in (AWK): Require gawk version 3.0 or later.
66225 * configure: Regenerated.
66226
66227 2012-09-01 Joseph Myers <joseph@codesourcery.com>
66228
66229 * sysdeps/unix/sysv/linux/kernel-features.h
66230 (__ASSUME_POSIX_CPU_TIMERS): Remove.
66231 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66232 [__NR_clock_getres]: Make code unconditional.
66233 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
66234 (clock_getcpuclockid): Remove code left unreachable by removal of
66235 conditionals.
66236 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
66237 code unconditional.
66238 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66239 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66240 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
66241 Make code unconditional.
66242 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66243 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66244 * sysdeps/unix/sysv/linux/clock_settime.c
66245 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
66246 conditional code.
66247 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
66248 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66249
66250 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
66251
66252 [BZ #14476]
66253 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
66254 scripts/test-installation.pl.
66255
66256 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
66257 and $ld_so_version if it is set.
66258
66259 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
66260
66261 [BZ #14516]
66262 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
66263 failure if reading from procfs failed.
66264 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
66265
66266 2012-08-27 Joseph Myers <joseph@codesourcery.com>
66267
66268 * sysdeps/unix/sysv/linux/kernel-features.h
66269 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
66270 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66271 Remove conditional code.
66272 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66273 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
66274 Remove conditional code.
66275 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66276 * sysdeps/unix/sysv/linux/i386/fxstat.c
66277 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66278 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66279 * sysdeps/unix/sysv/linux/i386/fxstatat.c
66280 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66281 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66282 * sysdeps/unix/sysv/linux/i386/lxstat.c
66283 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66284 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66285 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
66286 Remove conditional code.
66287 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66288 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66289 Remove conditional code.
66290 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66291 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
66292 <kernel-features.h>.
66293 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
66294 Remove.
66295 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
66296 Remove conditional code.
66297 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66298 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
66299 Remove conditional.
66300
66301 2012-08-27 Mike Frysinger <vapier@gentoo.org>
66302
66303 [BZ #5400]
66304 * NEWS: Add fixed bug number.
66305
66306 2012-08-27 Joseph Myers <joseph@codesourcery.com>
66307
66308 [BZ #14519]
66309 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
66310 underflowing exponent in case of negative sign.
66311 * stdlib/tst-strtod-round-data: Add more tests.
66312 * stdlib/tst-strtod-round.c (tests): Regenerated.
66313
66314 [BZ #3479]
66315 * stdlib/strtod_l.c (NDIG): Remove.
66316 (HEXNDIG): Likewise.
66317 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
66318 smallest representable value.
66319 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
66320 lie within an exact representation of 1/2 ulp of the result.
66321 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
66322 unconditionally.
66323 (TENS_P9_IDX): Define unconditionally.
66324 (TENS_P9_SIZE): Likewise.
66325 (TENS_P10_IDX): Likewise.
66326 (TENS_P10_SIZE): Likewise.
66327 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
66328 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
66329 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
66330 entries for 10^2^13 and 10^2^14.
66331 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
66332 (TENS_P13_IDX): Define.
66333 (TENS_P13_SIZE): Likewise.
66334 (TENS_P14_IDX): Likewise.
66335 (TENS_P14_SIZE): Likewise.
66336 (_fpioconst_pow10): Change array size to
66337 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
66338 unconditional.
66339 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
66340 1024]: Add entries for 10^2^13 and 10^2^14.
66341 [LAST_POW10 > _LAST_POW10]: Remove #error.
66342 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
66343 (_fpioconst_pow10): Change array size to
66344 FPIOCONST_POW10_ARRAY_SIZE.
66345 * stdlib/gen-fpioconst.c: New file.
66346 * stdlib/gen-tst-strtod-round.c: Likewise.
66347 * stdlib/tst-strtod-round-data: Likewise.
66348 * stdlib/tst-strtod-round.c: Likewise.
66349 * stdlib/Makefile (tests): Add tst-strtod-round.
66350
66351 [BZ #14459]
66352 * stdlib/strtod_l.c: Include <stdint.h>.
66353 (NDEBUG): Do not define.
66354 (round_and_return): Change EXPONENT parameter to type intmax_t.
66355 Rearrange calculations to avoid internal overflow possibilities.
66356 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
66357 Rearrange calculations to avoid internal overflow possibilities.
66358 Assert that number fits inside MPNSIZE limbs.
66359 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
66360 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
66361 calculations and add assertions to avoid internal overflow
66362 possibilities. Add casts to avoid signed/unsigned operations.
66363 * stdlib/tst-strtod-overflow.c: New file.
66364 * stdlib/Makefile (tests): Add tst-strtod-overflow.
66365
66366 2012-08-25 Marek Polacek <polacek@redhat.com>
66367
66368 * time/time.h: Fix some typos in comments.
66369
66370 2012-08-23 Roland McGrath <roland@hack.frob.com>
66371
66372 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
66373 * posix/tst-rfc3484-2.c: Likewise.
66374 * posix/tst-rfc3484-3.c: Likewise.
66375
66376 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
66377
66378 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
66379 (EF_ARM_ABI_FLOAT_HARD): Likewise.
66380
66381 2012-08-23 Joseph Myers <joseph@codesourcery.com>
66382
66383 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
66384 #include of fxstatat64.c.
66385
66386 2012-08-22 Roland McGrath <roland@hack.frob.com>
66387
66388 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
66389 * shadow/getspent_r.c: Likewise.
66390 * shadow/getspnam.c: Likewise.
66391 * shadow/getspnam_r.c: Likewise.
66392 * gshadow/getsgent.c: Likewise.
66393 * gshadow/getsgent_r.c: Likewise.
66394 * gshadow/getsgnam.c: Likewise.
66395 * gshadow/getsgnam_r.c: Likewise.
66396 * inet/getnetbyad.c: Likewise.
66397 * inet/getnetbyad_r.c: Likewise.
66398 * inet/getnetbynm.c: Likewise.
66399 * inet/getnetbynm_r.c: Likewise.
66400 * inet/getnetent.c: Likewise.
66401 * inet/getnetent_r.c: Likewise.
66402 * inet/getproto.c: Likewise.
66403 * inet/getproto_r.c: Likewise.
66404 * inet/getprtent.c: Likewise.
66405 * inet/getprtent_r.c: Likewise.
66406 * inet/getprtname.c: Likewise.
66407 * inet/getprtname_r.c: Likewise.
66408 * inet/getrpcbyname.c: Likewise.
66409 * inet/getrpcbyname_r.c: Likewise.
66410 * inet/getrpcbynumber.c: Likewise.
66411 * inet/getrpcbynumber_r.c: Likewise.
66412 * inet/getrpcent.c: Likewise.
66413 * inet/getrpcent_r.c: Likewise.
66414 * inet/getaliasent.c: Likewise.
66415 * inet/getaliasent_r.c: Likewise.
66416 * inet/getaliasname.c: Likewise.
66417 * inet/getaliasname_r.c: Likewise.
66418 * nscd/getgrgid_r.c: Likewise.
66419 * nscd/getgrnam_r.c: Likewise.
66420 * nscd/gethstbyad_r.c: Likewise.
66421 * nscd/gethstbynm3_r.c: Likewise.
66422 * nscd/getpwnam_r.c: Likewise.
66423 * nscd/getpwuid_r.c: Likewise.
66424 * nscd/getsrvbynm_r.c: Likewise.
66425 * nscd/getsrvbypt_r.c: Likewise.
66426 * nscd/gai.c: Likewise.
66427
66428 * configure.in (build_nscd): New substituted variable, set
66429 by --disable-build-nscd and defaults to $use_nscd.
66430 * configure: Regenerated.
66431 * config.make.in (build-nscd): New substituted variable.
66432 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
66433 Change conditional to require [$(build-nscd) = yes] as well.
66434 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
66435
66436 [BZ# 13696]
66437 * configure.in (use_nscd): New substituted variable, set by
66438 --disable-nscd. If enabled, define USE_NSCD.
66439 * configure: Regenerated.
66440 * config.h.in: Add USE_NSCD.
66441 * config.make.in (use-nscd): New substituted variable.
66442 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
66443 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
66444 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
66445 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
66446 (CFLAGS-getgrnam_r.c): Likewise.
66447 (CFLAGS-initgroups.c): Likewise.
66448 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
66449 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
66450 Variables removed.
66451 * inet/getnetgrent_r.c
66452 (nscd_setnetgrent): New function, broken out of ...
66453 (setnetgrent): ... here. Call it.
66454 (innetgr): Conditionalize nscd bits on [USE_NSCD].
66455 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
66456 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
66457 * nscd/Makefile (routines, aux): Move definitions after include of
66458 Makeconfig. Conditionalize on [$(use-nscd) != no].
66459 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
66460 Conditionalize on [USE_NSCD].
66461 (is_nscd, nscd_init_cb): Likewise.
66462 (nss_load_library): Conditionalize init callback on [USE_NSCD].
66463 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
66464 * nss/nss_db/db-init.c: Likewise.
66465 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
66466 [USE_NSCD].
66467 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
66468 (make_request): Use it.
66469 (cache_valid_p): New function.
66470 (__check_pf): Use it.
66471 * NEWS: Add item for --disable-nscd.
66472
66473 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
66474
66475 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
66476 to support sed >= 4.2.1-20-ga9bf076.
66477 * configure: Regenerated.
66478
66479 2012-08-22 Roland McGrath <roland@hack.frob.com>
66480
66481 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
66482 Conditionalize whole body on [IREL].
66483
66484 2012-08-22 Jeff Law <law@redhat.com>
66485
66486 [BZ #14505]
66487 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
66488 if the family is PF_UNSPEC.
66489
66490 2012-08-22 Mike Frysinger <vapier@gentoo.org>
66491
66492 * Makerules (lib-version): Rename from V.
66493 (install-lib-nosubdir): Change V to lib-version.
66494
66495 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
66496
66497 [BZ #14252]
66498 * powerpc32/power6/wcschr.c: New file.
66499 * powerpc32/power6/wcscpy.c: New file.
66500 * powerpc32/power6/wcsrchr.c: New file.
66501 * powerpc64/power6/wcschr.c: New file.
66502 * powerpc64/power6/wcscpy.c: New file.
66503 * powerpc64/power6/wcsrchr.c: New file.
66504
66505 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
66506
66507 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
66508 (two_way_short_needle): Use it.
66509 * string/strstr.c (AVAILABLE1_USES_J): Define.
66510 * string/strcasestr.c: Likewise.
66511
66512 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
66513 array references.
66514 * string/strcasestr.c (TOLOWER): Make side-effect safe.
66515
66516 [BZ #11607]
66517 * NEWS: Add an entry.
66518 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
66519 define their defaults.
66520 (two_way_short_needle): Detect end-of-string on-the-fly.
66521 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
66522 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
66523 * string/bug-strcasestr1.c: New test.
66524 * string/Makefile: Run it.
66525
66526 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
66527
66528 [BZ #11607]
66529 * string/str-two-way.h (two_way_short_needle): Optimize matching of
66530 the first character.
66531
66532 2012-08-21 Roland McGrath <roland@hack.frob.com>
66533
66534 * csu/elf-init.c (__libc_csu_irel): Function removed.
66535 * csu/libc-start.c (apply_irel): New function.
66536 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
66537
66538 2012-08-21 Joseph Myers <joseph@codesourcery.com>
66539
66540 * sysdeps/unix/sysv/linux/kernel-features.h
66541 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
66542 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
66543 <kernel-features.h>.
66544 [__NR_fadvise64_64]: Make code unconditional.
66545 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
66546 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
66547 !__NR_fadvise64_64)]: Likewise.
66548 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
66549 !__NR_fadvise64_64))]: Likewise.
66550 [__NR_fadvise64]: Make code unconditional.
66551 [!__NR_fadvise64]: Remove conditional code.
66552 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
66553 <kernel-features.h>.
66554 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66555 unconditional.
66556 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66557 conditional code.
66558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
66559 not include <kernel-features.h>.
66560 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66561 unconditional.
66562 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66563 conditional code.
66564 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
66565 include <kernel-features.h>.
66566 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66567 unconditional.
66568 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66569 conditional code.
66570
66571 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
66572
66573 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
66574 slight instruction rearrangements per scrollpipe analysis.
66575 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
66576
66577 2012-08-20 Roland McGrath <roland@hack.frob.com>
66578
66579 * manual/syslog.texi (syslog; vsyslog, closelog):
66580 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
66581 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
66582
66583 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
66584 DSOCAPS to match condition on defining it.
66585
66586 2012-08-20 Joseph Myers <joseph@codesourcery.com>
66587
66588 * sysdeps/unix/sysv/linux/kernel-features.h
66589 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
66590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
66591 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66592 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
66594 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66595 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
66597 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66598 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66599
66600 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
66601 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
66602
66603 * sysdeps/unix/sysv/linux/kernel-features.h
66604 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
66605 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
66606 unconditional.
66607 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66608 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
66609 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
66610 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66611 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
66612 Make code unconditional.
66613 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66614 (__mmap64) [!__NR_mmap2]: Likewise.
66615 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
66616 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
66617 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66618 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
66619 [__NR_mmap2]: Make code unconditional.
66620 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66621 (__mmap64) [!__NR_mmap2]: Likewise.
66622
66623 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66624
66625 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
66626
66627 2012-08-18 Andreas Jaeger <aj@suse.de>
66628
66629 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
66630
66631 2012-08-18 Mike Frysinger <vapier@gentoo.org>
66632
66633 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
66634 * include/unistd.h (__have_sock_cloexec): Likewise.
66635 (__have_pipe2): Likewise.
66636 (__have_dup3): Likewise.
66637
66638 2012-08-18 Mike Frysinger <vapier@gentoo.org>
66639
66640 [BZ #9685]
66641 * include/unistd.h (__have_pipe2): Change define into an extern int.
66642 (__have_dup3): Likewise.
66643 * socket/have_sock_cloexec.c: Include fcntl.h.
66644 (__have_pipe2): New variable.
66645 (__have_dup3): Likewise.
66646
66647 2012-08-17 Mike Frysinger <vapier@gentoo.org>
66648
66649 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
66650
66651 2012-08-17 Marek Polacek <polacek@redhat.com>
66652
66653 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
66654 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
66655
66656 2012-08-17 Roland McGrath <roland@hack.frob.com>
66657
66658 * configure.in: Add AC_SUBST for sysheaders.
66659 * configure: Regenerated.
66660 * config.make.in (sysheaders): New substituted variable.
66661
66662 * sysdeps/unix/mkfifo.c: Moved ...
66663 * sysdeps/posix/mkfifo.c: ... here.
66664 * sysdeps/unix/mkfifoat.c: Moved ...
66665 * sysdeps/posix/mkfifoat.c: ... here.
66666
66667 * sysdeps/unix/utime.c: Moved ...
66668 * sysdeps/posix/utime.c: ... here.
66669
66670 * sysdeps/unix/time.c: Moved ...
66671 * sysdeps/posix/time.c: ... here.
66672 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
66673 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
66674
66675 * sysdeps/unix/nice.c: Moved ...
66676 * sysdeps/posix/nice.c: ... here.
66677
66678 * sysdeps/unix/alarm.c: Moved ...
66679 * sysdeps/posix/alarm.c: ... here.
66680
66681 * intl/Makefile ($(codeset_mo)): Depend on the input file.
66682
66683 2012-08-17 Jeff Law <law@redhat.com>
66684
66685 * intl/Makefile (codeset_mo): New variable.
66686 ($(codeset_mo)): New target.
66687 (tst-codeset.out): Depend on that. Remove explicit rule.
66688 (tst-gettext3.out, tst-gettext5.out): Likewise.
66689 (LOCPATH-ENV, tst-codeset-ENV): New variables.
66690 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
66691 * intl/tst-codeset.sh: Remove.
66692 * intl/tst-gettext3.sh: Likewise.
66693 * intl/tst-gettext5.sh: Likewise.
66694
66695 2012-08-17 Roland McGrath <roland@hack.frob.com>
66696
66697 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
66698 * sysdeps/unix/syscalls.list: ... here.
66699
66700 * sysdeps/posix/getaddrinfo.c
66701 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
66702 (gaiconf_init, gaiconf_reload): Use them.
66703 [!_STATBUF_ST_NSEC]
66704 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
66705 Define using time_t rather than struct timespec.
66706
66707 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
66708 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
66709 Macros removed.
66710 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
66711 [!NO_THREADS].
66712 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
66713 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
66714 Likewise.
66715
66716 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
66717 __libc_cleanup_push argument.
66718
66719 * bits/param.h: New file.
66720 * misc/sys/param.h: New file.
66721 * include/sys/param.h: New file.
66722 * misc/Makefile (headers): Add bits/param.h.
66723 * sysdeps/generic/sys/param.h: File removed.
66724 * sysdeps/unix/sysv/linux/bits/param.h: New file.
66725 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
66726 * sysdeps/mach/hurd/bits/param.h: New file.
66727 * sysdeps/mach/hurd/sys/param.h: File removed.
66728
66729 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
66730 last change.
66731
66732 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
66733 [_IO_MTSAFE_IO].
66734 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
66735 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
66736 New macros.
66737
66738 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
66739 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
66740 rather than -D_IO_MTSAFE_IO conditionally.
66741 * stdio-common/Makefile (CPPFLAGS): Likewise.
66742 * wcsmbs/Makefile (CPPFLAGS): Likewise.
66743 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
66744 Use $(libio-mtsafe).
66745 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
66746 of -D_IO_MTSAFE_IO.
66747 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
66748 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
66749 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
66750 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
66751 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
66752 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
66753 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
66754 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
66755 (CFLAGS-fread_u_chk.c): Likewise.
66756 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
66757 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
66758 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
66759 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
66760 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
66761 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
66762 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
66763 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
66764 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
66765
66766 * libio/Makefile: Test [$(libc-reentrant) = yes]
66767 instead of [$(filter %REENTRANT, $(defines)) nonempty].
66768
66769 * Makeconfig
66770 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
66771 * sysdeps/pthread/configure: File removed.
66772 * sysdeps/pthread/Makeconfig: New file.
66773 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
66774 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
66775
66776 2012-08-16 Gary Benson <gbenson@redhat.com>
66777
66778 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
66779 unmapping the first object in a namespace.
66780
66781 2012-08-16 Roland McGrath <roland@hack.frob.com>
66782
66783 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
66784 (__internal_setnetgrent): ... this. Add internal_function to
66785 definition. Add libc_hidden_def.
66786 (setnetgrent): Update caller.
66787 (internal_endnetgrent): Renamed to ...
66788 (__internal_endnetgrent): ... this. Add internal_function to
66789 definition. Add libc_hidden_def.
66790 (endnetgrent): Update caller.
66791 (internal_getnetgrent_r): Renamed to ...
66792 (__internal_getnetgrent_r): ... this. Add internal_function to
66793 definition. Add libc_hidden_def.
66794 (__getnetgrent_r): Update caller.
66795 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
66796
66797 2012-08-16 Joseph Myers <joseph@codesourcery.com>
66798
66799 * stdlib/longlong.h: Update from GCC.
66800
66801 2012-08-16 Roland McGrath <roland@hack.frob.com>
66802
66803 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
66804 on _QL, which is set by umul_ppmm but never used.
66805 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
66806 variables, which are set by GMP macros but never used.
66807 * stdio-common/_itowa.c (_itowa): Likewise.
66808 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
66809 * stdlib/mod_1.c (mpn_mod_1): Likewise.
66810
66811 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
66812
66813 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
66814 struct La_sh_regs is not constant.
66815 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
66816 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
66817 and struct La_sparc64_regs are not constant.
66818
66819 2012-08-16 Joseph Myers <joseph@codesourcery.com>
66820
66821 * sysdeps/unix/sysv/linux/kernel-features.h
66822 (__ASSUME_POSIX_TIMERS): Remove.
66823 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66824 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66825 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
66826 Make code unconditional.
66827 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66828 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
66829 Make code unconditional.
66830 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66831 * sysdeps/unix/sysv/linux/clock_nanosleep.c
66832 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
66833 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66834 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
66835 Make code unconditional.
66836 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66837 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
66838 (__libc_missing_posix_timers): Remove.
66839
66840 2012-08-15 Roland McGrath <roland@hack.frob.com>
66841
66842 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
66843 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
66844
66845 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
66846
66847 * elf/dl-sym.c: Include <stdlib.h>.
66848
66849 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
66850 constants, which avoids warnings in 32-bit builds.
66851
66852 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
66853 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
66854
66855 * misc/lseek.c: File moved to ...
66856 * io/lseek.c: ... here.
66857
66858 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
66859
66860 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
66861 shifting LEN more than 31 bits at once.
66862
66863 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66864
66865 [BZ #14195]
66866 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
66867 segmentation fault for a case of two empty input strings.
66868 * string/test-strncasecmp.c (check1): Renamed to...
66869 (bz12205): ...this.
66870 (bz14195): Add new testcase for two empty input strings and N > 0.
66871 (test_main): Call new testcase, adapt for renamed function.
66872
66873 2012-08-15 Andreas Jaeger <aj@suse.de>
66874
66875 [BZ #14090]
66876 * crypt/md5test2.c: New test, based on test supplied by Serge
66877 Belyshev <belyshev@depni.sinp.msu.ru>.
66878 * crypt/Makefile (xtests): Add md5test-giant..
66879 * crypt/Makefile ($(objpfx)md5test-giant): Add.
66880
66881 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
66882
66883 [BZ #14090]
66884 * crypt/md5.c (md5_process_block): Don't assume the buffer
66885 length is less than 2**32.
66886 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
66887 length is less than 2**64.
66888
66889 2012-08-15 Roland McGrath <roland@hack.frob.com>
66890
66891 * string/str-two-way.h: Include <sys/param.h>.
66892 (MAX): Macro removed.
66893
66894 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
66895 Move #define and #undef of memmove to just before and after
66896 including <string.h>.
66897
66898 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
66899 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
66900 and after including <string.h>. Move declarations of
66901 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
66902 to before #include "string/memmove.c".
66903
66904 * include/dirent.h: Declare __getdirentries.
66905
66906 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
66907 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
66908
66909 2012-08-14 Mike Frysinger <vapier@gentoo.org>
66910
66911 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
66912 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
66913 * sysdeps/i386/configure: Regenerated.
66914 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
66915 STABS_CURRENT_FILE, and STABS_FUN.
66916 (END): Remove call to STABS_FUN_END.
66917 (STABS_CURRENT_FILE1): Delete.
66918 (STABS_CURRENT_FILE): Likewise.
66919 (STABS_FUN): Likewise.
66920 (STABS_FUN_END): Likewise.
66921 (STABS_FUN2): Likewise.
66922 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
66923 * sysdeps/x86_64/configure: Regenerated.
66924
66925 2012-08-14 Roland McGrath <roland@hack.frob.com>
66926
66927 * elf/dl-open.c: Include <atomic.h>.
66928 * elf/dl-lookup.c: Likewise.
66929
66930 2012-08-14 Joseph Myers <joseph@codesourcery.com>
66931
66932 * sysdeps/unix/sysv/linux/kernel-features.h
66933 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
66934 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
66935 unconditionally.
66936 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
66937 unconditionally.
66938 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
66939 condition on __ASSUME_CLONE_THREAD_FLAGS.
66940
66941 2012-08-14 Andreas Jaeger <aj@suse.de>
66942
66943 * sysdeps/i386/fpu/libm-test-ulps: Update.
66944
66945 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
66946
66947 * include/atomic.h (atomic_exchange_and_add): Split into ...
66948 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
66949 New atomic macros.
66950
66951 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
66952
66953 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66954
66955 2012-08-13 Jeff Law <law@redhat.com>
66956
66957 * manual/stdio.texi (snprintf): Clarify handling of the trailing
66958 null byte in the output string.
66959
66960 2012-08-10 Joseph Myers <joseph@codesourcery.com>
66961
66962 * sysdeps/unix/sysv/linux/kernel-features.h
66963 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
66964 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
66965 (__ASSUME_ARG_MAX_STACK_BASED): Define.
66966 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
66967 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
66968 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
66969 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
66970
66971 2012-08-09 Jeff Law <law@redhat.com>
66972
66973 [BZ #13939]
66974 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
66975 When avoid_arena is set, don't retry in the that arena. Pick the
66976 next one, whatever it might be.
66977 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
66978 (arena_lock): Pass in new parameter to arena_get2.
66979 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
66980 arena_get2.
66981 (__libc_malloc): Unify retrying after main arena failure with
66982 __libc_memalign version.
66983 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
66984
66985 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
66986
66987 [BZ #14166]
66988 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
66989 to __redirect_strstr.
66990 (__strstr_sse42): Use typeof __redirect_strstr.
66991 (__strstr_ia32): Likewise.
66992 (__libc_strstr): New prototype.
66993 (strstr): Renamed to ...
66994 (__libc_strstr): This.
66995 (strstr): New strong alias of __libc_strstr.
66996 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
66997 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
66998 __redirect_time.
66999 Include <time.h>.
67000 (__libc_time): New prototype.
67001 (time_ifunc): Replace time with __libc_time.
67002 (time): New strong alias and hidden definition of __libc_time.
67003 (__GI_time): Remove strong alias.
67004 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
67005 Include <stddef.h>.
67006 (memmove): Redefined to __redirect_memmove.
67007 (__memmove_sse2): Use typeof __redirect_memmove.
67008 (__memmove_ssse3): Likewise.
67009 (__memmove_ssse3_back): Likewise.
67010 (__libc_memmove): New prototype.
67011 (memmove): Renamed to ...
67012 (__libc_memmove): This.
67013 (memmove): New strong alias of __libc_memmove.
67014
67015 2012-08-08 Mark Salter <msalter@redhat.com>
67016
67017 * elf/elf.h
67018 (R_MN10300_TLS_GD): Define.
67019 (R_MN10300_TLS_LD): Likewise.
67020 (R_MN10300_TLS_LDO): Likewise.
67021 (R_MN10300_TLS_GOTIE): Likewise.
67022 (R_MN10300_TLS_IE): Likewise.
67023 (R_MN10300_TLS_LE): Likewise.
67024 (R_MN10300_TLS_DTPMOD): Likewise.
67025 (R_MN10300_TLS_DTPOFF): Likewise.
67026 (R_MN10300_TLS_TPOFF): Likewise.
67027 (R_MN10300_SYM_DIFF): Likewise.
67028 (R_MN10300_ALIGN): Likewise.
67029 (R_MN10300_NUM): Update.
67030
67031 2012-08-08 Joseph Myers <joseph@codesourcery.com>
67032
67033 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
67034 Remove.
67035
67036 2012-08-08 Roland McGrath <roland@hack.frob.com>
67037
67038 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
67039
67040 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
67041 sysdeps/unix -> sysdeps/posix move.
67042 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
67043
67044 2012-08-07 Allan McRae <allan@archlinux.org>
67045
67046 [BZ #14303]
67047 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
67048 (SUNOS_CPP): Likewise.
67049 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
67050 not found.
67051 (open_input): Call CPP using execvp.
67052
67053 2012-08-07 Joseph Myers <joseph@codesourcery.com>
67054
67055 * sysdeps/unix/sysv/linux/kernel-features.h
67056 (__ASSUME_PROT_GROWSUPDOWN): Remove.
67057 (__ASSUME_NO_CLONE_DETACHED): Likewise.
67058 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67059 (__ASSUME_WAITID_SYSCALL): Likewise.
67060 * sysdeps/unix/sysv/linux/dl-execstack.c
67061 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
67062 code unconditional.
67063 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
67064 conditional code.
67065 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
67066 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
67067 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
67068 code.
67069 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
67070 unconditional.
67071 [__ASSUME_WAITID_SYSCALL]: Likewise.
67072 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
67073
67074 2012-08-07 Roland McGrath <roland@hack.frob.com>
67075
67076 * sysdeps/unix/closedir.c: Renamed to ...
67077 * sysdeps/posix/closedir.c: ... here.
67078 * sysdeps/unix/dirfd.c: Renamed to ...
67079 * sysdeps/posix/dirfd.c: ... here.
67080 * sysdeps/unix/dirstream.h: Renamed to ...
67081 * sysdeps/posix/dirstream.h: ... here.
67082 * sysdeps/unix/fdopendir.c: Renamed to ...
67083 * sysdeps/posix/fdopendir.c: ... here.
67084 * sysdeps/unix/opendir.c: Renamed to ...
67085 * sysdeps/posix/opendir.c: ... here.
67086 * sysdeps/unix/readdir.c: Renamed to ...
67087 * sysdeps/posix/readdir.c: ... here.
67088 * sysdeps/unix/readdir_r.c: Renamed to ...
67089 * sysdeps/posix/readdir_r.c: ... here.
67090 * sysdeps/unix/rewinddir.c: Renamed to ...
67091 * sysdeps/posix/rewinddir.c: ... here.
67092 * sysdeps/unix/seekdir.c: Renamed to ...
67093 * sysdeps/posix/seekdir.c: ... here.
67094 * sysdeps/unix/telldir.c: Renamed to ...
67095 * sysdeps/posix/telldir.c: ... here.
67096 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
67097 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
67098 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
67099 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
67100
67101 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
67102 * bits/fcntl.h: ... here.
67103
67104 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
67105 not 0.
67106 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
67107 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
67108 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
67109 (struct flock): Move l_start, l_len to the beginning.
67110 Use __pid_t for l_pid.
67111 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
67112 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
67113 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
67114 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
67115 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
67116 [__USE_LARGEFILE64] (struct flock64): New type.
67117 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
67118
67119 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
67120 * bits/dirent.h: ... here.
67121
67122 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
67123 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
67124
67125 2012-08-07 Joseph Myers <joseph@codesourcery.com>
67126
67127 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67128 Change from 2.6.0 to 2.6.16.
67129 * sysdeps/unix/sysv/linux/configure: Regenerated.
67130 * sysdeps/unix/sysv/linux/kernel-features.h
67131 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
67132 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
67133 version.
67134 (__ASSUME_UTIMES): Likewise.
67135 (__ASSUME_CLONE_STOPPED): Remove.
67136 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
67137 architectures, not kernel version.
67138 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
67139 (__ASSUME_NO_CLONE_DETACHED): Likewise.
67140 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67141 (__ASSUME_WAITID_SYSCALL): Likewise.
67142 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
67143 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
67144 * README: State 2.6.16 as minimum Linux kernel version. Do not
67145 refer to older versions.
67146
67147 2012-08-06 Roland McGrath <roland@hack.frob.com>
67148
67149 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
67150 Define alphasort64 as an alias.
67151 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
67152 Define versionsort64 as an alias.
67153 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
67154 Define scandir64 as an alias.
67155 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
67156 Define scandirat64 as an alias.
67157 * dirent/alphasort64.c (alphasort64):
67158 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
67159 * dirent/versionsort64.c: Likewise.
67160 * dirent/scandir64.c: Likewise.
67161 * dirent/scandirat64.c: Likewise.
67162 * sysdeps/wordsize-64/alphasort.c: File removed.
67163 * sysdeps/wordsize-64/alphasort64.c: File removed.
67164 * sysdeps/wordsize-64/scandir.c: File removed.
67165 * sysdeps/wordsize-64/scandir64.c: File removed.
67166 * sysdeps/wordsize-64/scandirat.c: File removed.
67167 * sysdeps/wordsize-64/scandirat64.c: File removed.
67168 * sysdeps/wordsize-64/versionsort.c: File removed.
67169 * sysdeps/wordsize-64/versionsort64.c: File removed.
67170 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
67171 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
67172 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
67173 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
67174 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
67175 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
67176 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
67177 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
67178
67179 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
67180 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67181 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
67182 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67183 [defined __arch64__ || defined __sparcv9]
67184 (__INO_T_MATCHES_INO64_T): New macro.
67185 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67186 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
67187 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
67188 * sysdeps/unix/sysv/linux/bits/dirent.h
67189 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
67190 (_DIRENT_MATCHES_DIRENT64): New macro.
67191
67192 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
67193 Define lockf64 as an alias.
67194 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
67195 Define fseeko64 as an alias.
67196 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
67197 Define ftello64 as an alias.
67198 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
67199 Define _IO_fgetpos64 and fgetpos64 as aliases.
67200 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
67201 Define _IO_fsetpos64 and fsetpos64 as aliases.
67202 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
67203 Conditionalize body on this.
67204 * libio/fseeko64.c: Likewise.
67205 * libio/ftello64.c: Likewise.
67206 * libio/iofgetpos64.c: Likewise.
67207 * libio/iofsetpos64.c: Likewise.
67208 * sysdeps/wordsize-64/lockf.c: File removed.
67209 * sysdeps/wordsize-64/lockf64.c: File removed.
67210 * sysdeps/wordsize-64/fseeko.c: File removed.
67211 * sysdeps/wordsize-64/fseeko64.c: File removed.
67212 * sysdeps/wordsize-64/ftello.c: File removed.
67213 * sysdeps/wordsize-64/ftello64.c: File removed.
67214 * sysdeps/wordsize-64/iofgetpos.c: File removed.
67215 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
67216 * sysdeps/wordsize-64/iofsetpos.c: File removed.
67217 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
67218 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
67219 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
67220 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
67221 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
67222 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
67223 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
67224 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
67225 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
67226 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
67227 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
67228
67229 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67230 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67231 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
67232 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67233 [defined __arch64__ || defined __sparcv9]
67234 (__OFF_T_MATCHES_OFF64_T): New macro.
67235 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67236 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67237 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67238 (__OFF_T_MATCHES_OFF64_T): New macro.
67239
67240 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
67241
67242 * stdlib/secure-getenv.c (__secure_getenv): Replace
67243 GLIBC_2_16 with GLIBC_2_17.
67244
67245 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
67246
67247 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
67248 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
67249
67250 2012-08-03 David S. Miller <davem@davemloft.net>
67251
67252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67253
67254 2012-08-03 Joseph Myers <joseph@codesourcery.com>
67255
67256 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
67257 Remove.
67258 (__ASSUME_CORRECT_SI_PID): Likewise.
67259 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
67260 (__ASSUME_TMPFS_NAME): Likewise.
67261 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
67262 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
67263 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
67264 (HAVE_AUX_SECURE): Make definition unconditional.
67265 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
67266 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
67267
67268 2012-08-03 Roland McGrath <roland@hack.frob.com>
67269
67270 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
67271 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
67272 * sysdeps/mach/hurd/eloop-threshold.h: New file.
67273 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67274 __eloop_threshold instead of SYMLOOP_MAX.
67275
67276 * sysdeps/generic/eloop-threshold.h: New file.
67277 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
67278 of MAXSYMLINKS.
67279 * elf/chroot_canon.c (chroot_canon): Likewise.
67280
67281 2012-08-03 Joseph Myers <joseph@codesourcery.com>
67282
67283 [BZ #13717]
67284 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67285 Change to 2.6.0 everywhere.
67286 * sysdeps/unix/sysv/linux/configure: Regenerated.
67287 * sysdeps/unix/sysv/linux/kernel-features.h
67288 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
67289 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
67290 kernel versions.
67291 (__ASSUME_POSIX_TIMERS): Define unconditionally.
67292 (__ASSUME_FUTEX_REQUEUE): Remove.
67293 (__ASSUME_STATFS64): Define unconditionally.
67294 (__ASSUME_AT_SECURE): Likewise.
67295 (__ASSUME_CORRECT_SI_PID): Likewise.
67296 (__ASSUME_TGKILL): Define without depending on kernel version for
67297 i386.
67298 (__ASSUME_UTIMES): Likewise.
67299 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
67300 kernel version.
67301 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
67302 (__ASSUME_TMPFS_NAME): Likewise.
67303 * README: Update reference to Linux kernel versions.
67304
67305 2012-08-02 Marek Polacek <polacek@redhat.com>
67306
67307 [BZ# 14150]
67308 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
67309 libc_cv_asm_type_prefix with %.
67310 * configure: Regenerated.
67311 * include/libc-symbols.h: Remove comment about
67312 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67313 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
67314 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
67315 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
67316 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
67317 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67318 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
67319 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
67320 * elf/tst-unique2mod1.c: Likewise.
67321 * elf/tst-unique1mod2.c: Likewise.
67322 * elf/tst-unique1mod1.c: Likewise.
67323 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
67324 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
67325 Replace ASM_TYPE_DIRECTIVE with .type.
67326 * sysdeps/s390/s390-64/sysdep.h: Likewise.
67327 * sysdeps/i386/sysdep.h: Likewise.
67328 * sysdeps/x86_64/sysdep.h: Likewise.
67329 * sysdeps/sh/sysdep.h: Likewise.
67330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
67331 Do not define ASM_TYPE_DIRECTIVE.
67332 * sysdeps/powerpc/sysdep.h: Likewise.
67333 * sysdeps/powerpc/powerpc32/sysdep.h:
67334 Replace ASM_TYPE_DIRECTIVE with .type.
67335 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
67336 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
67337 * sysdeps/i386/fpu/e_powf.S: Likewise.
67338 * sysdeps/i386/fpu/e_expl.S: Likewise.
67339 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67340 * sysdeps/i386/fpu/e_acosh.S: Likewise.
67341 * sysdeps/i386/fpu/e_pow.S: Likewise.
67342 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67343 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67344 * sysdeps/i386/fpu/s_expm1.S: Likewise.
67345 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67346 * sysdeps/i386/fpu/e_log2.S: Likewise.
67347 * sysdeps/i386/fpu/e_log2l.S: Likewise.
67348 * sysdeps/i386/fpu/e_scalb.S: Likewise.
67349 * sysdeps/i386/fpu/e_powl.S: Likewise.
67350 * sysdeps/i386/fpu/e_log10f.S: Likewise.
67351 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
67352 * sysdeps/i386/fpu/e_logl.S: Likewise.
67353 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
67354 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
67355 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
67356 * sysdeps/i386/fpu/e_log2f.S: Likewise.
67357 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67358 * sysdeps/i386/fpu/e_log.S: Likewise.
67359 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67360 * sysdeps/i386/fpu/e_logf.S: Likewise.
67361 * sysdeps/i386/fpu/e_log10l.S: Likewise.
67362 * sysdeps/i386/fpu/e_atanh.S: Likewise.
67363 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
67364 * sysdeps/i386/fpu/e_log10.S: Likewise.
67365 * sysdeps/i386/fpu/s_frexp.S: Likewise.
67366 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67367 * sysdeps/i386/fpu/s_asinh.S: Likewise.
67368 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
67369 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67370 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
67371 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
67372 * sysdeps/i386/i686/strtok.S: Likewise.
67373 * sysdeps/i386/i386-mcount.S: Likewise.
67374 * sysdeps/i386/strtok.S: Likewise.
67375 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
67376 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67377 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67378 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67379 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67380 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67381 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
67382 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
67383 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67384 * sysdeps/x86_64/_mcount.S: Likewise.
67385 * sysdeps/x86_64/strtok.S: Likewise.
67386 * sysdeps/sh/_mcount.S: Likewise.
67387
67388 2012-08-01 Roland McGrath <roland@hack.frob.com>
67389
67390 * libio/iofopen.c: Include <fcntl.h>.
67391 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
67392 (_IO_fopen64, fopen64): Define as aliases.
67393 * libio/iofopen64.c: Include <fcntl.h>.
67394 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
67395 Conditionalize body on this.
67396 * sysdeps/wordsize-64/iofopen.c: File removed.
67397 * sysdeps/wordsize-64/iofopen64.c: File removed.
67398
67399 2012-08-01 Marek Polacek <polacek@redhat.com>
67400
67401 * libc/Makeconfig: Use elf in place of binfmt-subdir.
67402 Use dlfcn directly instead of a variable.
67403 (binfmt-subdir): Do not define.
67404 (dlfcn): Likewise.
67405
67406 2012-08-01 Joseph Myers <joseph@codesourcery.com>
67407
67408 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
67409 Remove all definitions.
67410 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
67411 <kernel-features.h>.
67412 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
67413 (miss_F_GETOWN_EX): Remove all definitions.
67414 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
67415 macro definition.
67416 [!__ASSUME_FCNTL64]: Remove conditional code.
67417 [__ASSUME_FCNTL64]: Make code unconditional.
67418 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
67419 <kernel-features.h>.
67420 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
67421 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
67422 (lockf64) [__NR_fcntl64]: Make code unconditional.
67423 (lockf64) [__ASSUME_FCNTL64]: Likewise.
67424
67425 * sysdeps/unix/sysv/linux/kernel-features.h
67426 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
67427 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
67428 Make code unconditional.
67429 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67430 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
67432 [__NR_vfork]: Make code unconditional.
67433 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67434 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
67436 [__NR_vfork]: Make code unconditional.
67437 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67438 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67439
67440 2012-08-01 Roland McGrath <roland@hack.frob.com>
67441
67442 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
67443 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
67444
67445 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67446 Define mkstemp64 as an alias.
67447 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67448 Define mkstemps64 as an alias.
67449 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67450 Define mkostemp64 as an alias.
67451 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67452 Define mkostemps64 as an alias.
67453 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
67454 Conditionalize body on this.
67455 * misc/mkostemp64.c: Likewise.
67456 * misc/mkostemps64.c: Likewise.
67457 * misc/mkstemps64.c: Likewise.
67458 * sysdeps/wordsize-64/mkstemp64.c: File removed.
67459 * sysdeps/wordsize-64/mkostemp64.c: File removed.
67460 * sysdeps/wordsize-64/mkostemp.c: File removed.
67461 * sysdeps/wordsize-64/mkstemp.c: File removed.
67462 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
67463 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
67464 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
67465 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
67466
67467 [BZ #14138]
67468 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
67469 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
67470 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
67471 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
67472
67473 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
67474 compat_symbol macros from <shlib-compat.h> rather than the underlying
67475 default_symbol_version and symbol_version macros, so that DEFAULT
67476 lines in shlib-versions are respected.
67477 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
67478
67479 2012-08-01 Florian Weimer <fweimer@redhat.com>
67480
67481 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
67482 Declare with warn_unused_result.
67483 (setgid, setregid, setegid, setresgid): Likewise.
67484 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
67485 Likewise.
67486 * WUR-REPORT: Remove set*id functions.
67487
67488 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
67489
67490 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
67491
67492 2012-07-31 Roland McGrath <roland@hack.frob.com>
67493
67494 [BZ #10191]
67495 * include/sys/socket.h (__libc_accept, __libc_accept4):
67496 Add attribute_hidden.
67497 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
67498
67499 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
67500 use of PTR_MANGLE.
67501 * inet/getnetgrent_r.c (setup): Likewise.
67502
67503 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
67504
67505 2012-07-31 David S. Miller <davem@davemloft.net>
67506
67507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67508
67509 2012-07-31 Joseph Myers <joseph@codesourcery.com>
67510
67511 [BZ #13629]
67512 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
67513 value between 1.0 and 2.0 and smaller part has absolute value less
67514 than 1.0.
67515 * math/s_clog10.c (__clog10): Likewise.
67516 * math/s_clog10f.c (__clog10f): Likewise.
67517 * math/s_clog10l.c (__clog10l): Likewise.
67518 * math/s_clogf.c (__clogf): Likewise.
67519 * math/s_clogl.c (__clogl): Likewise.
67520 * math/libm-test.inc (clog_test): Add more tests.
67521 (clog10_test): Likewise.
67522 * sysdeps/i386/fpu/libm-test-ulps: Update.
67523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67524
67525 2012-07-31 Florian Weimer <fweimer@redhat.com>
67526
67527 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
67528 Exit with zero in case no suitable GID is found, and write a
67529 message to standard error.
67530
67531 2012-07-30 Roland McGrath <roland@hack.frob.com>
67532
67533 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
67534 rather than to 1.
67535 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
67536 (MAXPATHLEN): Removed.
67537 (NOGROUP, NODEV): New macros.
67538 (setbit, clrbit, isset, isclr): New macros.
67539 (howmany, roundup, powerof2): New macros.
67540 (DEV_BSIZE): New macro.
67541
67542 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
67543 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
67544
67545 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
67546 definition on [!__NO_LONG_DOUBLE_MATH].
67547
67548 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
67549 PTR_MANGLE and PTR_DEMANGLE.
67550
67551 * socket/accept4.c (accept4): Rename to __libc_accept4.
67552 Define accept4 as a weak alias.
67553
67554 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
67555 on [_DIRENT_HAVE_D_TYPE].
67556 * io/ftw.c (ftw_dir): Likewise.
67557
67558 * io/xmknod.c (__xmknod): Don't check PATH for being null.
67559
67560 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
67561
67562 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
67563 Use the BSD numbers rather than the arbitrary ones we had.
67564 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
67565 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
67566 (SIGXCPU, SIGXFSZ): New macros.
67567 (_NSIG): Now 32.
67568
67569 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
67570 initializer on [_LIBC_REENTRANT].
67571
67572 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
67573 definitions inside [_POSIX_MAPPED_FILES].
67574
67575 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
67576
67577 * dirent/opendir.c: Include <fcntl.h>.
67578
67579 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
67580 (__libc_getspecific): Likewise.
67581 (__libc_key_create): Likewise.
67582
67583 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
67584 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
67585 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
67586 (tmpfile64): Define as alias.
67587 * sysdeps/wordsize-64/tmpfile.c: File removed.
67588 * sysdeps/wordsize-64/tmpfile64.c: File removed.
67589 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
67590 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
67591
67592 * stdio-common/vfscanf.c: Include <stdbool.h>.
67593 * nss/makedb.c: Likewise.
67594 * stdio-common/_i18n_number.h: Likewise.
67595 * argp/argp-help.c: Likewise.
67596 * posix/wordexp.c: Likewise.
67597 * sysdeps/posix/spawni.c: Likewise.
67598 * nss/nss_files/files-initgroups.c: Likewise.
67599 * stdio-common/reg-modifier.c: Include <stdlib.h>.
67600 * nss/nss_files/files-initgroups.c: Likewise.
67601 * nss/nss_db/db-netgrp.c: Likewise.
67602 * nss/nss_db/db-initgroups.c: Likewise.
67603 * io/fchmodat.c: Include <sys/stat.h>.
67604
67605 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
67606 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
67607
67608 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
67609 [HAVE_MMAP].
67610
67611 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
67612 Add multiple inclusion protection.
67613
67614 2012-07-27 David S. Miller <davem@davemloft.net>
67615
67616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67617
67618 2012-07-27 Gary Benson <gbenson@redhat.com>
67619
67620 [BZ #14298]
67621 * elf/rtld.c: Include <stap-probe.h>.
67622 (dl_main): Added static probes "init_start" and "init_complete".
67623 * elf/dl-load.c: Include <stap-probe.h>.
67624 (lose): Take new parameter "nsid".
67625 Added static probe "map_failed".
67626 (_dl_map_object_from_fd): Pass namespace id to lose.
67627 Added static probe "map_start".
67628 (open_verify): Pass namespace id to lose.
67629 * elf/dl-open.c: Include <stap-probe.h>.
67630 (dl_open_worker) Added static probes "map_complete", "reloc_start"
67631 and "reloc_complete".
67632 * elf/dl-close.c: Include <stap-probe.h>.
67633 (_dl_close_worker): Added static probes "unmap_start" and
67634 "unmap_complete".
67635 * elf/rtld-debugger-interface.txt: New file documenting the above.
67636
67637 2012-07-26 Roland McGrath <roland@hack.frob.com>
67638
67639 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
67640 rather than a string variable.
67641 * sunrpc/rpc_main.c (h_output): Likewise.
67642 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
67643
67644 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
67645
67646 * inet/check_native.c: New file.
67647
67648 2012-07-26 Joseph Myers <joseph@codesourcery.com>
67649
67650 [BZ #13629]
67651 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
67652 if larger part has absolute value 1.0.
67653 * math/s_clog10.c (__clog10): Likewise.
67654 * math/s_clog10f.c (__clog10f): Likewise.
67655 * math/s_clog10l.c (__clog10l): Likewise.
67656 * math/s_clogf.c (__clogf): Likewise.
67657 * math/s_clogl.c (__clogl): Likewise.
67658 * math/libm-test.inc (clog_test): Add more tests.
67659 (clog10_test): Likewise.
67660 * sysdeps/i386/fpu/libm-test-ulps: Update.
67661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67662
67663 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
67664 (pltexit): Likewise.
67665 (La_regs): Likewise.
67666 (La_retval): Likewise.
67667 (int_retval): Likewise.
67668 Update #error for removed macros to refer only to definitions in
67669 tst-audit.h.
67670 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
67671 macro.
67672 (pltexit): Likewise.
67673 (La_regs): Likewise.
67674 (La_retval): Likewise.
67675 (int_retval): Likewise.
67676 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
67677 macro.
67678 (pltexit): Likewise.
67679 (La_regs): Likewise.
67680 (La_retval): Likewise.
67681 (int_retval): Likewise.
67682 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
67683 macro.
67684 (pltexit): Likewise.
67685 (La_regs): Likewise.
67686 (La_retval): Likewise.
67687 (int_retval): Likewise.
67688 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
67689 macro.
67690 (pltexit): Likewise.
67691 (La_regs): Likewise.
67692 (La_retval): Likewise.
67693 (int_retval): Likewise.
67694 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
67695 macro.
67696 (pltexit): Likewise.
67697 (La_regs): Likewise.
67698 (La_retval): Likewise.
67699 (int_retval): Likewise.
67700 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
67701 macro.
67702 (pltexit): Likewise.
67703 (La_regs): Likewise.
67704 (La_retval): Likewise.
67705 (int_retval): Likewise.
67706 * sysdeps/generic/tst-audit.h: Update comment to refer only to
67707 macro definitions in tst-audit.h.
67708 * sysdeps/i386/tst-audit.h: New file.
67709 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
67710 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
67711 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
67712 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
67713 * sysdeps/sh/tst-audit.h: Likewise.
67714 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
67715 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
67716 * sysdeps/x86_64/tst-audit.h: Likewise.
67717
67718 2012-07-26 Andreas Jaeger <aj@suse.de>
67719
67720 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
67721 ptrace.
67722
67723 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
67724 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
67725 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
67726 PTRACE_O_MASK.
67727 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
67728 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
67729 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
67730
67731 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
67732 value.
67733
67734 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
67735 _sigsys.
67736 (si_call_addr, si_syscall, si_arch): Define new macro.
67737 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
67738 _sigsys.
67739 (si_call_addr, si_syscall, si_arch): Define new marcro.
67740 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
67741 _sigsys.
67742 (si_call_addr, si_syscall, si_arch): Define new macro.
67743 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
67744 _sigsys.
67745 (si_call_addr, si_syscall, si_arch): Define new macro.
67746
67747 2012-07-25 Joseph Myers <joseph@codesourcery.com>
67748
67749 [BZ #13717]
67750 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67751 Change to 2.4.21 where previously 2.4.1.
67752 * sysdeps/unix/sysv/linux/configure: Regenerated.
67753 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
67754 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
67755 Linux kernel version.
67756 (__ASSUME_STD_AUXV): Remove.
67757 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
67758 kernel version.
67759 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
67760 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
67761 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
67762 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
67763 (__ASSUME_NETLINK_SUPPORT): Likewise.
67764 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
67765 (__no_netlink_support): Remove conditional definition.
67766 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
67767 Remove.
67768 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
67769 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
67770 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
67771 (if_nameindex_ioctl): Remove.
67772 (if_nameindex_netlink): Do not handle __no_netlink_support.
67773 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
67774 code.
67775 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
67776 Remove conditional code.
67777 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
67778 code.
67779 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
67780 unconditional.
67781 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
67782 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
67783 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
67784 Remove.
67785 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
67786 [!__ASSUME_STD_AUXV]: Remove conditional code.
67787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
67788 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
67789 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
67790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
67791 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
67792 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
67793 code.
67794 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
67795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
67796 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
67797 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
67798 conditional code.
67799 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
67800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
67801 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
67802 code.
67803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
67804 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
67805 conditional code.
67806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
67807 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67808 code unconditional.
67809 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67810 conditional code.
67811 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67812 unconditional.
67813 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67814 conditional code.
67815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
67816 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67817 unconditional.
67818 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67819 conditional code.
67820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
67821 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67822 code unconditional.
67823 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67824 conditional code.
67825 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67826 unconditional.
67827 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67828 conditional code.
67829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
67830 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67831 code unconditional.
67832 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67833 conditional code.
67834 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67835 unconditional.
67836 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67837 conditional code.
67838
67839 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
67840
67841 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
67842 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
67843 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
67844 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
67845 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
67846 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
67847 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
67848 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
67849 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
67850 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
67851 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
67852 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
67853 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
67854 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
67855 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
67856 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
67857 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
67858 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
67859 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
67860 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
67861 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
67862 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
67863 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
67864
67865 2012-07-25 Florian Weimer <fweimer@redhat.com>
67866
67867 * Versions.def: Add GLIBC_2.17.
67868 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
67869 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
67870 Introduce __libc_secure_getenv.
67871 * stdlib/Versions (2.17): Add secure_getenv
67872 (GLIBC_PRIVATE): Add __libc_secure_getenv.
67873 * stdlib/secure-getenv.c: Rename __secure_getenv to
67874 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
67875 symbol __secure_getenv for GLIBC_2.0.
67876 * stdlib/tst-secure-getenv.c: New.
67877 * stdlib/Makefile (tests): Add testcase.
67878 * manual/startup.texi (Environment Access): Document
67879 secure_getenv.
67880 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
67881 __libc_secure_getenv.
67882 * inet/ruserpass.c (ruserpass): Likewise.
67883 * malloc/mtrace.c (mtrace): Likewise.
67884 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
67885 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
67886 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
67887 * sysdeps/posix/tempname.c: Likewise. Evaluate
67888 HAVE_SECURE_GETENV.
67889 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
67890 __secure_getenv to __libc_secure_getenv.
67891 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
67892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67893 Likewise.
67894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67895 Likewise.
67896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
67897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
67898 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
67900 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
67901 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
67903
67904 2012-07-25 Joseph Myers <joseph@codesourcery.com>
67905
67906 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
67907 (struct La_i86_retval): Likewise.
67908 (struct La_x86_64_regs): Likewise.
67909 (struct La_x86_64_retval): Likewise.
67910 (struct La_x32_regs): Likewise.
67911 (struct La_x32_retval): Likewise.
67912 (struct La_ppc32_regs): Likewise.
67913 (struct La_ppc32_retval): Likewise.
67914 (struct La_ppc64_regs): Likewise.
67915 (struct La_ppc64_retval): Likewise.
67916 (struct La_sh_regs): Likewise.
67917 (struct La_sh_retval): Likewise.
67918 (struct La_s390_32_regs): Likewise.
67919 (struct La_s390_32_retval): Likewise.
67920 (struct La_s390_64_regs): Likewise.
67921 (struct La_s390_64_retval): Likewise.
67922 (struct La_sparc32_regs): Likewise.
67923 (struct La_sparc32_retval): Likewise.
67924 (struct La_sparc64_regs): Likewise.
67925 (struct La_sparc64_retval): Likewise.
67926 (struct audit_ifaces): Remove architecture-specific pltenter and
67927 pltexit members.
67928 * sysdeps/i386/ldsodefs.h: New file.
67929 * sysdeps/powerpc/ldsodefs.h: Likewise.
67930 * sysdeps/s390/ldsodefs.h: Likewise.
67931 * sysdeps/sh/ldsodefs.h: Likewise.
67932 * sysdeps/sparc/ldsodefs.h: Likewise.
67933 * sysdeps/x86_64/ldsodefs.h: Likewise.
67934
67935 2012-07-25 Marek Polacek <polacek@redhat.com>
67936
67937 [BZ #6808]
67938 * math/libm-test.inc (yn_test): Add another test.
67939 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
67940 to ERANGE when the result is +-Inf.
67941 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
67942 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
67943 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
67944 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
67945
67946 2012-07-24 Joseph Myers <joseph@codesourcery.com>
67947
67948 * conform/data/time.h-data (NULL): Use macro-constant. Require
67949 equal to 0.
67950 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
67951 clock_t.
67952 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
67953
67954 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
67955
67956 * configure.in <sysdeps resolving>: Correct printing
67957 Implies_before.
67958 * configure: Regenerate.
67959
67960 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
67961
67962 * math/w_ilogb.c: Include <limits.h>.
67963 * math/w_ilogbl.c: Likewise.
67964
67965 2012-07-20 Joseph Myers <joseph@codesourcery.com>
67966
67967 * manual/lang.texi (__va_copy): Document primarily as ISO C99
67968 va_copy. Document allowing for unavailable va_copy only as
67969 pre-C99 compatibility.
67970 * manual/string.texi (Copying and Concatenation): Use va_copy
67971 instead of __va_copy in concat example.
67972
67973 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
67974
67975 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
67976 (__sendto): Use create_address_port. Initialize APORT and deallocate
67977 it if not null.
67978
67979 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
67980 with O_NOLINK passed to __file_name_lookup.
67981
67982 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
67983 with O_NOLINK passed to __file_name_lookup.
67984
67985 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
67986 negative N or less than NGIDS.
67987
67988 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
67989 type to string_t. Set ERANGE as errno and return it if NAME is not big
67990 enough. Use memcpy instead of strncpy.
67991
67992 2012-07-20 Joseph Myers <joseph@codesourcery.com>
67993
67994 * elf/Makefile (check-data): Remove.
67995 (localplt.data): New vpath directive.
67996 ($(objpfx)check-localplt.out): Use localplt.data from vpath
67997 instead of $(check-data).
67998 * scripts/data/localplt-generic.data: Move to ...
67999 * sysdeps/generic/localplt.data: ... here.
68000 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
68001 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
68002 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
68003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
68004 ... here.
68005 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
68006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
68007 ... here.
68008 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
68009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
68010 ... here.
68011 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
68012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
68013 ... here.
68014 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
68015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
68016 ... here.
68017 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
68018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
68019 ... here.
68020
68021 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68022
68023 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
68024 PPC32 and PPC64 files.
68025 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
68026 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
68027
68028 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68029
68030 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
68031 __makecontext_ret to ...
68032 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
68033 ... here and call exit if uc_link is NULL. New file.
68034 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
68035 __makecontext_ret.S.
68036 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
68037 __makecontext_ret to ...
68038 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
68039 ... here and call exit if uc_link is NULL. New file.
68040 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
68041 __makecontext_ret.S.
68042
68043 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68044
68045 * elf/elf.h (R_390_IRELATIVE): New definition.
68046 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
68047 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
68048 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
68049 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
68050 (elf_machine_lazy_rel): Likewise.
68051 * sysdeps/s390/dl-irel.h: New file.
68052 * sysdeps/s390/s390-64/memcpy.S: New asm code.
68053 * sysdeps/s390/s390-64/memset.S: New asm code.
68054 * sysdeps/s390/s390-64/memcmp.S: New asm code.
68055 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
68056 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
68057 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
68058 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
68059 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
68060 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
68061 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
68062 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
68063 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
68064 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
68065 * sysdeps/s390/s390-32/memcpy.S: New asm code.
68066 * sysdeps/s390/s390-32/memset.S: New asm code.
68067 * sysdeps/s390/s390-32/memcmp.S: New asm code.
68068
68069 2012-07-17 Marek Polacek <polacek@redhat.com>
68070
68071 [BZ #14349]
68072 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
68073 * sysdeps/s390/s390-64/configure.in: Likewise.
68074 * sysdeps/sparc/configure.in: Likewise.
68075 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
68076 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
68077 * sysdeps/i386/configure.in: Likewise.
68078 * sysdeps/x86_64/configure.in: Likewise.
68079 * sysdeps/sh/configure.in: Likewise.
68080 * sysdeps/s390/s390-32/configure: Regenerated.
68081 * sysdeps/s390/s390-64/configure: Likewise.
68082 * sysdeps/x86_64/configure: Likewise.
68083 * sysdeps/sh/configure: Likewise.
68084 * sysdeps/powerpc/powerpc64/configure: Likewise.
68085 * sysdeps/powerpc/powerpc32/configure: Likewise.
68086 * sysdeps/sparc/configure: Likewise.
68087 * sysdeps/i386/configure: Likewise.
68088
68089 * elf/dl-open.c: Comment fixes.
68090
68091 2012-07-17 Joseph Myers <joseph@codesourcery.com>
68092
68093 * Makefile [CXX] (check-data): Remove.
68094 [CXX] (c++-types.data): New vpath directive.
68095 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
68096 vpath. Do not allow for C++ type data being missing.
68097 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
68098 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
68099 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
68100 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
68101 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
68102 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
68103 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
68104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
68105 ... here.
68106 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
68107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
68108 ... here.
68109 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
68110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
68111 ... here.
68112 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
68113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
68114 ... here.
68115 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
68116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
68117 ... here.
68118 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
68119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
68120 ... here.
68121 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
68122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
68123 ... here.
68124 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
68125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
68126
68127 * elf/tls-macros.h (TLS_LE): Move architecture-specific
68128 definitions to architecture-specific files.
68129 (TLS_IE): Likewise.
68130 (TLS_LD): Likewise.
68131 (TLS_GD): Likewise.
68132 * sysdeps/i386/tls-macros.h: New file.
68133 * sysdeps/powerpc/tls-macros.h: Likewise.
68134 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
68135 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
68136 * sysdeps/sh/tls-macros.h: Likewise.
68137 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
68138 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
68139 * sysdeps/x86_64/tls-macros.h: Likewise.
68140
68141 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
68142
68143 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
68144 zero value for regular exit case.
68145
68146 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
68147 (__start_context): Preserve zero value for regular exit case.
68148
68149 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
68150 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68151
68152 * manual/setjmp.texi (setcontext): Clarify normal process
68153 termination when uc_link is the null pointer.
68154 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
68155 exit call.
68156
68157 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
68158
68159 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
68160 preprocessor. Test for each exception mask separately.
68161
68162 2012-07-16 Andreas Jaeger <aj@suse.de>
68163
68164 * po/ru.po: Update from translation team.
68165
68166 2012-07-15 Joseph Myers <joseph@codesourcery.com>
68167
68168 * conform/data/string.h-data (NULL): Use macro-constant. Require
68169 equal to 0.
68170 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
68171 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
68172 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
68173 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
68174 [ISO || ISO99 || ISO11] (*_t): Do not allow.
68175
68176 2012-07-13 Andreas Jaeger <aj@suse.de>
68177
68178 * po/fr.po: Update from translation team.
68179
68180 2012-07-12 Marek Polacek <polacek@redhat.com>
68181
68182 [BZ #14173]
68183 * math/libm-test.inc (yn_test): Add test for BZ #14173.
68184 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
68185 loop condition.
68186
68187 2012-07-12 Joseph Myers <joseph@codesourcery.com>
68188
68189 [BZ #13717]
68190 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68191 Change to 2.4.1 where previously 2.4.0.
68192 * sysdeps/unix/sysv/linux/configure: Regenerated.
68193 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
68194 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
68195 version.
68196 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
68197 (__ASSUME_AT_CLKTCK): Remove.
68198 (__ASSUME_AT_PAGESIZE): Likewise.
68199 (__ASSUME_AT_XID): Likewise.
68200 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
68201 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
68202 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
68203 unconditionally.
68204 (HAVE_AUX_PAGESIZE): Likewise.
68205 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
68206 [__ASSUME_AT_CLKTCK]: Make code unconditional.
68207 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
68208
68209 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
68210
68211 [BZ #14307]
68212 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
68213 the temporary buffer used to invoke __gethostbyname2_r,
68214 __gethostbyaddr_r and gethostbyname4_r to make room for struct
68215 host_data / struct gaih_addrtuple.
68216 * resolv/nss_dns/dns-host.c (global scope): Move definition of
68217 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
68218 header file nss/nsswitch.h.
68219 * nss/nsswitch.h (global scope): Add definition of implementation
68220 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
68221 resolv/nss_dns/dns-host.c).
68222
68223 2012-07-11 Andreas Jaeger <aj@suse.de>
68224
68225 * po/fr.po: Update from translation team.
68226
68227 * po/sv.po: Update from translation team
68228 * po/fr.po: Another update from translation team.
68229
68230 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68231
68232 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
68233 for subnormals or multiply small sinh result by itself.
68234 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68236
68237 2012-07-11 David S. Miller <davem@davemloft.net>
68238
68239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68240
68241 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
68242
68243 [BZ #14347]
68244 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
68245 (INTERNAL_MARK): Shift it here.
68246
68247 2012-07-10 Marek Polacek <polacek@redhat.com>
68248
68249 [BZ #14151]
68250 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
68251 libc_cv_asm_global_directive with .globl.
68252 * configure: Regenerated.
68253 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
68254 with .globl.
68255 * sysdeps/i386/configure: Regenerated.
68256 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
68257 with .globl.
68258 * sysdeps/x86_64/configure: Regenerated.
68259 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
68260 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
68261 * elf/tst-unique2mod2.c: Likewise.
68262 * elf/tst-unique2mod1.c: Likewise.
68263 * elf/tst-unique1mod2.c: Likewise.
68264 * elf/tst-unique1mod1.c: Likewise.
68265 * sysdeps/s390/s390-32/sysdep.h: Likewise.
68266 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
68267 * sysdeps/s390/s390-64/sysdep.h: Likewise.
68268 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
68269 * sysdeps/mach/sysdep.h: Likewise.
68270 * sysdeps/i386/sysdep.h: Likewise.
68271 * sysdeps/i386/i386-mcount.S: Likewise.
68272 * sysdeps/x86_64/_mcount.S: Likewise.
68273 * sysdeps/x86_64/sysdep.h: Likewise.
68274 * sysdeps/sh/_mcount.S: Likewise.
68275 * sysdeps/sh/sysdep.h: Likewise.
68276 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
68277 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
68278 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
68279 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68280 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
68281 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
68282 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
68283 * locale/localeinfo.h: Likewise.
68284 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
68285 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
68286
68287 2012-07-09 Roland McGrath <roland@hack.frob.com>
68288
68289 [BZ #14336]
68290 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
68291 system".
68292 * manual/message.texi (The Uniforum approach): Likewise.
68293 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
68294 (glibc iconv Implementation): Likewise.
68295
68296 2012-07-09 Joseph Myers <joseph@codesourcery.com>
68297
68298 [BZ #14337]
68299 * math/s_clog.c (__clog): Avoid scaling a value down where that
68300 could result in underflow.
68301 * math/s_clog10.c (__clog10): Likewise.
68302 * math/s_clog10f.c (__clog10f): Likewise.
68303 * math/s_clog10l.c (__clog10l): Likewise.
68304 * math/s_clogf.c (__clogf): Likewise.
68305 * math/s_clogl.c (__clogl): Likewise.
68306 * math/libm-test.inc (clog_test): Add more tests.
68307 (clog10_test): Likewise.
68308 * sysdeps/i386/fpu/libm-test-ulps: Update.
68309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68310
68311 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
68312
68313 [BZ #14283]
68314 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
68315 by 7 not 8 to examine high bit of fractional part.
68316
68317 [BZ #14042]
68318 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
68319 for call to __mcount_internal.
68320 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
68321 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
68322 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
68323
68324 2012-07-06 Joseph Myers <joseph@codesourcery.com>
68325
68326 [BZ #14154]
68327 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
68328 approximation for values within 0x1p-13f of an odd multiple of
68329 pi/4.
68330 * math/libm-test.inc (tan_test): Do not allow spurious underflow
68331 exception. Add more tests.
68332 * sysdeps/i386/fpu/libm-test-ulps: Update.
68333
68334 [BZ #6778]
68335 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
68336 inputs and return -1 for them. Do not check for +Inf in case not
68337 reachable for +Inf.
68338 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
68339 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
68340 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68341 and return -1 for them. Do not check for +Inf in case not
68342 reachable for +Inf.
68343 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
68344 define.
68345 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68346 and return -1 for them. Do not check for +Inf in case not
68347 reachable for +Inf.
68348 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
68349 spurious underflow.
68350 * sysdeps/i386/fpu/libm-test-ulps: Update.
68351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68352
68353 2012-07-06 Mike Frysinger <vapier@gentoo.org>
68354
68355 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
68356
68357 2012-07-05 Joseph Myers <joseph@codesourcery.com>
68358
68359 [BZ #14157]
68360 [BZ #14331]
68361 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
68362 could result in spurious underflow. Scale down values above
68363 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
68364 * math/s_csqrtf.c (__csqrtf): Likewise.
68365 * math/s_csqrtl.c (__csqrtl): Likewise.
68366 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
68367 spurious underflow.
68368 * sysdeps/i386/fpu/libm-test-ulps: Update.
68369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68370
68371 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
68372
68373 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
68374 xopen-msg.sed.
68375 * catgets/xopen-msg.awk: New file.
68376 * catgets/xopen-msg.sed: Removed.
68377
68378 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
68379 po2text.sed.
68380 * intl/po2test.awk: New file.
68381 * intl/po2test.sed: Removed.
68382
68383 2012-07-04 Joseph Myers <joseph@codesourcery.com>
68384
68385 [BZ #14328]
68386 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
68387 or multiply small sinh result by itself.
68388 * math/s_ctanf.c (__ctanf): Likewise.
68389 * math/s_ctanh.c (__ctanh): Likewise.
68390 * math/s_ctanhf.c (__ctanhf): Likewise.
68391 * math/s_ctanhl.c (__ctanhl): Likewise.
68392 * math/s_ctanl.c (__ctanl): Likewise.
68393 * math/libm-test.inc (ctan_test_tonearest): New function.
68394 (ctan_test_towardzero): Likewise.
68395 (ctan_test_downward): Likewise.
68396 (ctan_test_upward): Likewise.
68397 (ctanh_test_tonearest): Likewise.
68398 (ctanh_test_towardzero): Likewise.
68399 (ctanh_test_downward): Likewise.
68400 (ctanh_test_upward): Likewise.
68401 (main): Call these new functions.
68402 * sysdeps/i386/fpu/libm-test-ulps: Update.
68403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68404
68405 2012-07-03 Mike Frysinger <vapier@gentoo.org>
68406
68407 * .gitignore: Delete /ports entry.
68408
68409 2012-07-03 Andreas Jaeger <aj@suse.de>
68410
68411 * po/bg.po: Update from translation team.
68412 * po/cs.po: Likewise.
68413 * po/de.po: Likewise.
68414 * po/hr.po: Likewise.
68415 * po/nl.pl: Likewise.
68416 * po/pl.po: Likewise.
68417 * po/vi.po: Likewise.
68418
68419 2012-07-03 Joseph Myers <joseph@codesourcery.com>
68420
68421 * Makeconfig [!+link] (+link-before-libc): New variable.
68422 [!+link] (+link-after-libc): Likewise.
68423 [!+link] (+link-tests): Likewise.
68424 [!+link] (+link): Define in terms of $(+link-before-libc) and
68425 $(+link-after-libc).
68426 [!+link-static] (+link-static-before-libc): New variable.
68427 [!+link-static] (+link-static-after-libc): Likewise.
68428 [!+link-static] (+link-static-tests): Likewise.
68429 [!+link-static] (+link-static): Define in terms of
68430 $(+link-static-before-libc) and $(+link-static-after-libc).
68431 [build-shared] (link-libc-before-gnulib): New variable.
68432 [build-shared] (link-libc-tests): Likewise.
68433 [build-shared] (link-libc): Define in terms of
68434 $(link-libc-before-gnulib).
68435 [!build-shared] (link-libc-tests): New variable.
68436 (link-libc-static-tests): New variable.
68437 [!gnulib] (gnulib-arch): New variable.
68438 [!gnulib] (gnulib-tests): Likewise.
68439 [!gnulib] (static-gnulib-arch): Likewise.
68440 [!gnulib] (static-gnulib-tests): Likewise.
68441 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
68442 Define with "=" instead of ":=".
68443 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
68444 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
68445 * Rules (binaries-all-notests): New variable.
68446 (binaries-all-tests): Likewise.
68447 (binaries-static-notests): Likewise.
68448 (binaries-static-tests): Likewise.
68449 (binaries-all): Define using $(binaries-all-notests) and
68450 $(binaries-all-tests).
68451 (binaries-static): Define using $(binaries-static-notests) and
68452 $(binaries-static-tests).
68453 (binaries-shared-tests): New variable.
68454 (binaries-shared-notests): Likewise.
68455 (binaries-shared): Remove variable.
68456 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
68457 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
68458 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
68459 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
68460 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
68461 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
68462 * elf/Makefile (sln-modules): New variable.
68463 (extra-objs): Add $(sln-modules:=.o).
68464 (ldconfig-modules): Add static-stubs.
68465 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
68466 * elf/static-stubs.c: New file.
68467
68468 [BZ #14283]
68469 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
68470 by 7 not 8 to examine high bit of fractional part. Use volatile
68471 variables when splitting into final array of floats if
68472 __FLT_EVAL_METHOD__ != 0.
68473 * math/libm-test.inc (cos_test): Add another test.
68474 (sin_test): Likewise.
68475 * sysdeps/i386/fpu/libm-test-ulps: Update.
68476
68477 [BZ #14273]
68478 * math/libm-test.inc (cosh_test): Add more tests.
68479
68480 * version.h (RELEASE): Set to "development".
68481 (VERSION): Set to "2.16.90".
68482
68483 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
68484
68485 * NEWS: Update copyright. Remove last-updated date.
68486 Mention math library bug fixes and timezone data changes.
68487 * README: Mention GNU/Hurd, x32, and HPPA support status.
68488
68489 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
68490
68491 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
68492
68493 2012-06-27 Andreas Jaeger <aj@suse.de>
68494
68495 * manual/contrib.texi (Contributors): Add Samuel Thibault.
68496
68497 2012-06-25 Andreas Jaeger <aj@suse.de>
68498
68499 * sysdeps/s390/fpu/libm-test-ulps: Update.
68500
68501 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
68502 Thomas Schwinge <thomas@codesourcery.com>
68503
68504 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
68505 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
68506 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
68507 fanotify_mark.
68508
68509 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
68510
68511 * sysdeps/mach/start.c: Remove file.
68512 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
68513 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
68514 * sysdeps/sh/init-first.c: Likewise.
68515
68516 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
68517 registers for frame unwinding purposes, add CFI directives.
68518 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
68519 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
68520 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
68521 Likewise.
68522
68523 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
68524 __fortify_fail returning.
68525 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
68526
68527 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
68528 sysdeps/sh/____longjmp_chk.S.
68529 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
68530 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
68531 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
68532 (gen-as-const-headers): Append sigaltstack-offsets.sym.
68533
68534 * sysdeps/sh/abort-instr.h: New file.
68535 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
68536 process in case exit returns.
68537
68538 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
68539 initialize the GOT register before use.
68540
68541 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
68542 calculation of ARGC > 4.
68543
68544 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
68545 meaningful names to some local labels.
68546
68547 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
68548 Kaz Kojima <kkojima@rr.iij4u.or.jp>
68549
68550 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
68551 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
68552 (__arch_compare_and_exchange_val_16_acq): Likewise.
68553 (__arch_compare_and_exchange_val_32_acq): Likewise.
68554 (atomic_exchange_and_add): Fix gUSA sequence.
68555 (atomic_add): Likewise.
68556 (atomic_add_negative): Likewise.
68557 (atomic_add_zero): Likewise.
68558 (atomic_bit_test_set): Likewise.
68559
68560 2012-06-22 Andreas Schwab <schwab@redhat.com>
68561
68562 [BZ #13579]
68563 * include/link.h (struct link_map): Add l_free_initfini.
68564 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
68565 l_initfini.
68566 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
68567 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
68568 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
68569 set.
68570
68571 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
68572
68573 * configure.in: Use AC_LANG_SOURCE.
68574 * configure: Regenerate.
68575
68576 2012-06-22 Roland McGrath <roland@hack.frob.com>
68577
68578 * configure.in (libc_cv_localstatedir): New substituted variable.
68579 * configure: Regenerated.
68580 * config.make.in (localstatedir): New variable, substituted from
68581 libc_cv_localstatedir.
68582 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
68583 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
68584 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
68585 * sysdeps/gnu/configure: Regenerated.
68586
68587 2012-06-21 Jeff Law <law@redhat.com>
68588
68589 [BZ #14277]
68590 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
68591 free. Simplify list management for _LIBC case.
68592
68593 2012-06-21 Joseph Myers <joseph@codesourcery.com>
68594
68595 [BZ #14273]
68596 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
68597 Clear sign bit of 64-bit integer value before comparing against
68598 overflow value.
68599
68600 * sysdeps/mach/configure: Regenerated.
68601
68602 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
68603
68604 [BZ #14278]
68605 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
68606
68607 2012-06-21 Jeff Law <law@redhat.com>
68608
68609 [BZ #13882]
68610 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
68611 uint16_t for elements in the "seen" array to avoid char overflows.
68612 * elf/dl-fini.c (_dl_sort_fini): Likewise.
68613 * elf/dl-open.c (dl_open_worker): Likewise.
68614
68615 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
68616
68617 * scripts/list-sources.sh: Scan PORTS for translations.
68618 * po/libc.pot: Regenerated.
68619
68620 2012-06-21 Andreas Jaeger <aj@suse.de>
68621
68622 [BZ #12194]
68623 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
68624 warning.
68625 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
68626 * bits/byteswap-16.h (__bswap_16): Likewise.
68627 * bits/byteswap.h (__bswap_constant_16): Likewise.
68628
68629 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
68630
68631 [BZ #14117]
68632 * sysdeps/i386/fpu_control.h: Removed.
68633 * sysdeps/x86_64/fpu_control.h: Moved to ...
68634 * sysdeps/x86/fpu_control.h: Here.
68635
68636 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
68637 (_FPU_SETCW): Likewise.
68638
68639 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
68640
68641 [BZ #14117]
68642 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
68643 * sysdeps/x86/fpu/bits/mathinline.h: This.
68644 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
68645
68646 [BZ #14050]
68647 [BZ #14117]
68648 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
68649 functions if __x86_64__ is defined.
68650
68651 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
68652
68653 * string/endian.h: Add !__ASSEMBLER__ condition for including
68654 conversion interfaces.
68655
68656 2012-06-15 Joseph Myers <joseph@codesourcery.com>
68657
68658 [BZ #14241]
68659 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
68660 of ABS(x) in calculating zero to negative powers other than odd
68661 integers.
68662 * math/libm-test.inc (pow_test): Add more tests.
68663
68664 2012-06-15 Andreas Jaeger <aj@suse.de>
68665
68666 * manual/contrib.texi (Contributors): Update entry of Liubov
68667 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
68668 Machado Filho.
68669
68670 2012-06-15 Cyril Hrubis <metan@ucw.cz>
68671
68672 * string/string.h: Add __wur to GNU version of strerror_r.
68673
68674 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
68675
68676 [BZ #14229]
68677 * string/Makefile (tests): Add tst-strtok_r.
68678 * string/tst-strtok_r.c: New file.
68679 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
68680 RAX_LP/RDX_LP on SAVE_PTR.
68681
68682 2012-06-14 Roland McGrath <roland@hack.frob.com>
68683
68684 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
68685
68686 2012-06-14 Joseph Myers <joseph@codesourcery.com>
68687
68688 * libm_test.inc (csqrt_test): Allow more spurious underflow
68689 exceptions.
68690 (j0_test): Likewise.
68691 (j1_test): Likewise.
68692 (y0_test): Likewise.
68693 (y1_test): Likewise.
68694
68695 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
68696
68697 * po/Makefile (libc.pot): Use UTF-8 charset.
68698
68699 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
68700
68701 [BZ #14210]
68702 Suppress sign-conversion warning from FD_SET.
68703 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
68704 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
68705 not unsigned long int.
68706 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
68707
68708 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
68709
68710 [BZ #14050]
68711 [BZ #14117]
68712 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
68713 __extern_always_inline instead of __extern_inline.
68714 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
68715 (__signbit): Likewise.
68716 (__signbitl): Support C++ namespace.
68717 (lrintf): New inline function.
68718 (lrint): Likewise.
68719 (llrintf): Likewise.
68720 (llrint): Likewise.
68721 (fmaxf): Likewise.
68722 (fmax): Likewise.
68723 (fminf): Likewise.
68724 (fmin): Likewise.
68725 (rint): Likewise.
68726 (rintf): Likewise.
68727 (ceil): Likewise.
68728 (ceilf): Likewise.
68729 (floor): Likewise.
68730 (floorf): Likewise.
68731 (nearbyint): Likewise.
68732 (nearbyintf): Likewise.
68733
68734 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
68735
68736 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
68737 non-default versions.
68738
68739 2012-06-11 Roland McGrath <roland@hack.frob.com>
68740
68741 [BZ #14218]
68742 * manual/argp.texi (Argp): Reword argp_parse description slightly.
68743
68744 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
68745
68746 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
68747 (FE_UPWARD, FE_DOWNWARD): Don't define.
68748 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
68749 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
68750
68751 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
68752 reading it.
68753 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
68754 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
68755
68756 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
68757
68758 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68759 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
68760 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
68761 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
68762
68763 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
68764
68765 [BZ #14117]
68766 * sysdeps/i386/fpu/bits/fenv.h: Removed.
68767 * sysdeps/i386/fpu/Implies: New file.
68768 * sysdeps/x86_64/fpu/Implies: Likewise.
68769 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
68770 * sysdeps/x86/fpu/bits/fenv.h: This.
68771
68772 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
68773 __SSE_MATH__.
68774
68775 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
68776
68777 [BZ #14134]
68778 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
68779 character 0xffff that matches the last element of the
68780 conversion table.
68781
68782 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68783
68784 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
68785 fmodl commit.
68786
68787 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68788
68789 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
68790 values higher than 25.6283.
68791
68792 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68793
68794 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
68795 subnormal exponent extraction and add some __builtin_expect.
68796 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
68797 Fix for subnormal mantissa calculation.
68798
68799 2012-06-04 Mike Frysinger <vapier@gentoo.org>
68800
68801 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
68802 cpu2 is -1 and errno is not ENOSYS.
68803
68804 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
68805
68806 [BZ #14117]
68807 * sysdeps/i386/i486/bits/string.h: Renamed to ...
68808 * sysdeps/x86/bits/string.h: This.
68809 * sysdeps/x86_64/bits/string.h: Removed.
68810
68811 * sysdeps/i386/i486/bits/string.h: Define inline functions only
68812 if not compiling for x86-64, but compiling for >= i486.
68813
68814 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
68815 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
68816
68817 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
68818 New macro from Linux kernel 3.4.0.
68819 (FP_XSTATE_MAGIC2): Likewise.
68820 (FP_XSTATE_MAGIC2_SIZE): Likewise.
68821 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
68822 (struct _fpx_sw_bytes): New struct.
68823 (struct _xsave_hdr): Likewise.
68824 (struct _ymmh_state): Likewise.
68825 (struct _xstate): Likewise.
68826
68827 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
68828 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
68829 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
68830 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
68831 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
68832 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
68833
68834 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
68835 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
68836 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
68837 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
68838 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
68839 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
68840
68841 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68842
68843 [BZ #13743]
68844 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
68845 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
68846 (sysdep_headers): Include sys/platform/ppc.h.
68847 * sysdeps/powerpc/test-gettimebase.c: Test for
68848 __ppc_get_timebase() to catch future ISA opcode/insn changes.
68849 * manual/Makefile (appendices): Include platform.texi.
68850 * manual/contrib.texi (Contributors): Update @node pointers.
68851 * manual/maint.texi (Maintenance): Likewise.
68852 (Platform): New node.
68853 * manual/platform.texi: New file. Document the new features.
68854
68855 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
68856 Jakub Jelinek <jakub@redhat.com>
68857
68858 [BZ #14188]
68859 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
68860 where __builtin_expect is unavailable.
68861
68862 2012-06-03 David S. Miller <davem@davemloft.net>
68863
68864 * stdlib/longlong.h: Updated from GCC.
68865
68866 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
68867
68868 [BZ #14042]
68869 * sysdeps/powerpc/powerpc32/mcount.c: New file.
68870 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
68871 __mcount_internal.
68872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
68873 (GLIBC_2.16): Likewise.
68874
68875 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
68876
68877 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
68878
68879 2012-06-01 Joseph Myers <joseph@codesourcery.com>
68880
68881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
68882 (default-abi): New variable.
68883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
68884 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
68885 variable.
68886 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
68887 Likewise.
68888 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
68889 Likewise.
68890 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
68891 Likewise.
68892
68893 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
68894 definition. Document in comment.
68895
68896 2012-06-01 David S. Miller <davem@davemloft.net>
68897
68898 * stdlib/longlong.h: Updated from GCC.
68899
68900 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
68901
68902 [BZ #14117]
68903 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
68904 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
68905 sys/debugreg.h sys/io.h here.
68906 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
68907 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
68908 sys/io.h.
68909 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
68910 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
68911 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
68912 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
68913 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
68914 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
68915
68916 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
68917 Define only if __x86_64__ is defined.
68918
68919 2012-06-01 Joseph Myers <joseph@codesourcery.com>
68920
68921 [BZ #14048]
68922 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
68923 Use int64_t for variable i.
68924 * math/libm-test.inc (fmod_test): Add more tests.
68925
68926 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
68927 z computation is not scheduled after fetestexcept.
68928 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
68929 Use math_force_eval instead of asm to ensure calculation scheduled
68930 before exception test.
68931 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
68932 Ensure a1 + u.d computation is not scheduled after fetestexcept.
68933
68934 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
68935
68936 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
68937 computation is not scheduled after fetestexcept.
68938
68939 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
68940
68941 [BZ #14117]
68942 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
68943 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
68944
68945 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68946
68947 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
68948 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
68949
68950 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
68951
68952 [BZ #14117]
68953 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
68954 <bits/wordsize.h>.
68955 (__WCHAR_MIN): Support __WORDSIZE == 64.
68956 (__WCHAR_MAX): Likewise.
68957
68958 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
68959 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
68960
68961 [BZ #14183]
68962 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
68963 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
68964
68965 [BZ #14117]
68966 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
68967 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
68968
68969 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
68970 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
68971
68972 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
68973 Defined to 1 if __x86_64__ isn't defined.
68974 (_STAT_VER_LINUX_OLD): New.
68975 (st_atime): Remove duplicate.
68976 (st_mtime): Likewise.
68977 (st_ctime): Likewise.
68978
68979 2012-05-31 David S. Miller <davem@davemloft.net>
68980
68981 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
68982 entries.
68983
68984 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
68985
68986 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
68987 gen-libm-test.pl.
68988
68989 [BZ #14132]
68990 * elf/dl-reloc.c: Include <_itoa.h>.
68991 (_dl_reloc_bad_type): Remove use of INTUSE.
68992 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
68993 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
68994 * stdio-common/psiginfo.c (psiginfo): Likewise.
68995 * stdio-common/psignal.c (psignal): Likewise.
68996 * string/strsignal.c (strsignal): Likewise.
68997 * include/signal.h (_sys_siglist): Declare hidden proto.
68998 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
68999 INTVARDEF with libc_hidden_data_def.
69000 * stdio-common/itoa-udigits.c: Likewise.
69001 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
69002 (_itoa_lower_digits_internal): Remove declaration.
69003 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
69004 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
69005 (_sys_sigabbrev_internal): Remove aliases.
69006 (_sys_siglist): Define hidden alias.
69007
69008 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
69009
69010 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69011 bits/sysctl.h.
69012
69013 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
69014
69015 [BZ #14117]
69016 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
69017 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
69018
69019 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
69020 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
69021 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
69022 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
69023 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
69024 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
69025
69026 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
69027 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
69028 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
69029
69030 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
69031 with __addr.
69032 (insw): Likewise.
69033 (insl): Likewise.
69034 (outsb): Likewise.
69035 (outsw): Likewise.
69036 (outsl): Likewise.
69037
69038 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
69039 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
69040 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
69041
69042 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
69043 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
69044 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
69045 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
69046 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
69047 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
69048
69049 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
69050 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
69051
69052 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
69053 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
69054
69055 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
69056 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
69057 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
69058
69059 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
69060 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
69061 to ...
69062 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
69063
69064 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
69065 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
69066 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
69067
69068 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
69069 for x86-64.
69070 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
69071
69072 2012-05-31 Joseph Myers <joseph@codesourcery.com>
69073
69074 * math/math.h (M_El): Use two more decimal places.
69075 (M_LOG2El): Likewise.
69076 (M_LOG10El): Likewise.
69077 (M_LN2l): Likewise.
69078 (M_LN10l): Likewise.
69079 (M_PIl): Likewise.
69080 (M_PI_2l): Likewise.
69081 (M_PI_4l): Likewise.
69082 (M_1_PIl): Likewise.
69083 (M_2_PIl): Likewise.
69084 (M_2_SQRTPIl): Likewise.
69085 (M_SQRT2l): Likewise.
69086 (M_SQRT1_2l): Likewise.
69087
69088 2012-05-31 David S. Miller <davem@davemloft.net>
69089
69090 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
69091 values between float registers.
69092 * sysdeps/sparc/sparc64/memset.S: Likewise.
69093 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69094
69095 2012-05-31 Mike Frysinger <vapier@gentoo.org>
69096
69097 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
69098 -D_FORTIFY_SOURCE=1.
69099 (CPPFLAGS-tst-longjmp_chk.c): Define.
69100 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
69101 (CPPFLAGS-tst-longjmp_chk2.c): Define.
69102 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
69103 CFLAGS-tst-wchar-h.c.
69104
69105 2012-05-31 Marek Polacek <polacek@redhat.com>
69106
69107 [BZ #14132]
69108 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
69109 __endmntent_internal): Remove declaration.
69110 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
69111 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
69112 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
69113
69114 2012-05-30 David S. Miller <davem@davemloft.net>
69115
69116 * sysdeps/sparc/sparc32/soft-fp/q_util.c
69117 (___Q_simulate_exceptions): Use real FP ops rather than writing
69118 into the %fsr.
69119 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
69120 Likewise.
69121
69122 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69123
69124 [BZ #14117]
69125 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
69126 * sysdeps/x86/bits/xtitypes.h: This.
69127
69128 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
69129 * sysdeps/x86/bits/wordsize.h: This.
69130
69131 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
69132 * sysdeps/x86/bits/huge_vall.h: This.
69133
69134 * sysdeps/i386/bits/select.h: Removed.
69135 * sysdeps/x86_64/bits/select.h: Renamed to ...
69136 * sysdeps/x86/bits/select.h: This.
69137
69138 * sysdeps/i386/bits/setjmp.h: Removed.
69139 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
69140 * sysdeps/x86/bits/setjmp.h: This.
69141
69142 * sysdeps/i386/bits/mathdef.h: Removed.
69143 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
69144 * sysdeps/x86/bits/mathdef.h: This.
69145
69146 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
69147
69148 [BZ #14132]
69149 * include/sys/socket.h (__connect_internal)
69150 (__libc_sa_len_internal): Remove declaration.
69151 (__connect, __libc_sa_len): Declare hidden_proto.
69152 (SA_LEN): Remove use of INTUSE.
69153 * socket/connect.c: Add libc_hidden_def.
69154 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
69155 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
69156 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
69157 alias.
69158 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
69159 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
69160 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
69161 of adding _internal alias.
69162
69163 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69164
69165 [BZ #14117]
69166 * sysdeps/i386/bits/link.h: Removed.
69167 * sysdeps/i386/bits/linkmap.h: Likewise.
69168 * sysdeps/x86_64/bits/link.h: Renamed to ...
69169 * sysdeps/x86/bits/link.h: This.
69170 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
69171 * sysdeps/x86/bits/linkmap.h: This.
69172
69173 * sysdeps/i386/bits/endian.h: Removed.
69174 * sysdeps/x86_64/bits/endian.h: Renamed to ...
69175 * sysdeps/x86/bits/endian.h: This.
69176
69177 * sysdeps/i386/bits/byteswap.h: Removed.
69178 * sysdeps/i386/bits/byteswap-16.h: Likewise.
69179 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
69180 * sysdeps/x86/bits/byteswap.h: This.
69181 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
69182 * sysdeps/x86/bits/byteswap-16.h: This.
69183 * sysdeps/i386/Implies: Add x86.
69184 * sysdeps/x86_64/Implies: Likewise.
69185
69186 2012-05-30 David S. Miller <davem@davemloft.net>
69187
69188 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
69189 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
69190 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
69191 (FP_TRAPPING_EXCEPTIONS): Define.
69192 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
69193 (FP_TRAPPING_EXCEPTIONS): Define.
69194 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
69195 subnormals only when inexact has been signalled or underflow
69196 exceptions are enabled.
69197 (_FP_PACK_CANONICAL): Likewise.
69198
69199 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69200
69201 [BZ #14183]
69202 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
69203 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
69204
69205 2012-05-30 Richard Henderson <rth@twiddle.net>
69206
69207 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
69208 with #ifndef NOT_IN_libc.
69209
69210 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
69211 marked to avoid plt entry.
69212
69213 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69214
69215 [BZ #14112]
69216 * Makeconfig (default-abi): New macro.
69217 (abi-includes): Likewise.
69218 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
69219 $(abi-$(default-abi)-lib-soname) for soname if defined.
69220 ($(common-objpfx)gnu/lib-names.stmp): Generate from
69221 abi-variants.
69222 * Makefile (installed-stubs): Likewise.
69223 * include/stubs-biarch.h: Removed.
69224 * scripts/lib-names.awk: Only handle one library at a time.
69225 * scripts/soversions.awk: Remove WORDSIZE support.
69226 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
69227 entries.
69228 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
69229 Removed.
69230 (syscall-list-default-condition): Likewise.
69231 (syscall-list-default-condition): Likewise.
69232 (syscall-list-includes): Likewise.
69233 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
69234 syscall-list-* with abi-*. Handle undefined abi-variants.
69235 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
69236 * sysdeps/unix/sysv/linux/i386/Implies: New file.
69237 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
69238 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
69239 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
69240 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
69241 Removed.
69242 (syscall-list-32-options): Likewise.
69243 (syscall-list-32-condition): Likewise.
69244 (syscall-list-64-options): Likewise.
69245 (syscall-list-64-condition): Likewise.
69246 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
69247 macro.
69248 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
69249 Renamed to ...
69250 (abi-*): This.
69251 (abi-64-ld-soname): New macro.
69252 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
69253 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
69254 Renamed to ...
69255 (abi-*): This.
69256 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
69257 * sysdeps/x86_64/x32/shlib-versions: Likewise.
69258
69259 2012-05-30 Joseph Myers <joseph@codesourcery.com>
69260
69261 * sysdeps/unix/sysv/linux/kernel-features.h
69262 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
69263 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
69264 include <kernel-features.h>.
69265 [!__NR_ftruncate64]: Remove conditional code.
69266 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69267 [__NR_ftruncate64]: Make code unconditional.
69268 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69269 * sysdeps/unix/sysv/linux/truncate64.c: Do not
69270 include <kernel-features.h>.
69271 [!__NR_ftruncate64]: Remove conditional code.
69272 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69273 [__NR_ftruncate64]: Make code unconditional.
69274 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
69276 include <kernel-features.h>.
69277 [!__NR_ftruncate64]: Remove conditional code.
69278 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69279 [__NR_ftruncate64]: Make code unconditional.
69280 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
69282 include <kernel-features.h>.
69283 [!__NR_ftruncate64]: Remove conditional code.
69284 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69285 [__NR_ftruncate64]: Make code unconditional.
69286 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69287
69288 * configure.in (libc_cv_fpie): Weaken to a compile test using
69289 LIBC_TRY_CC_OPTION.
69290 * configure: Regenerated.
69291
69292 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69293
69294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
69295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
69296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
69297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69298 Refreshed.
69299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
69300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
69301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
69302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
69303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
69304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
69305 Refreshed.
69306
69307 2012-05-27 David S. Miller <davem@davemloft.net>
69308
69309 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
69310 (___Q_zero): New.
69311 (__Q_simulate_exceptions): Return void. Change to simulate
69312 exceptions by writing into the %fsr.
69313 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
69314 (__Qp_handle_exceptions): Likewise.
69315 (numbers): Delete.
69316 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
69317 __Qp_handle_exceptions.
69318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
69319 __Qp_handle_exceptions.
69320 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69321 as unused and give dummy FP_RND_NEAREST initializer.
69322 (FP_INHIBIT_RESULTS): Define.
69323 (___Q_simulate_exceptions): Update declaration.
69324 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
69325 formatting.
69326 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69327 as unused and give dummy FP_RND_NEAREST initializer.
69328 (__Qp_handle_exceptions): Update declaration.
69329 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
69330 formatting.
69331
69332 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
69333
69334 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
69335 the temporary FPU control word.
69336 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
69337 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
69338 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
69339 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69340 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
69341 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
69342 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
69343 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69344 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
69345 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
69346 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69347
69348 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69349
69350 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
69351 fields.
69352
69353 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
69354
69355 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
69356 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
69357 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
69358 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
69359 Likewise.
69360 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
69361 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
69362 Likewise.
69363
69364 2012-05-27 Ulrich Drepper <drepper@gmail.com>
69365
69366 * po/h.po: Update from translation team.
69367
69368 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
69369
69370 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
69371
69372 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
69373 handling of denormals.
69374 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69375 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
69376 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
69377 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
69378 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69379 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
69380 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
69381 Likewise.
69382
69383 2012-05-26 Marek Polacek <polacek@redhat.com>
69384
69385 [BZ #14152]
69386 * math/libm-test.inc (fma_test): Don't always expect underflow
69387 exception.
69388
69389 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
69390
69391 [BZ #12416]
69392 * elf/tst-execstack.c: Include stackinfo.h.
69393 (do_test): Adjust test case to ensure that pthread_getattr_np
69394 behaviour remains the same after marking stack executable.
69395
69396 2012-05-25 Joseph Myers <joseph@codesourcery.com>
69397
69398 * sysdeps/unix/sysv/linux/kernel-features.h
69399 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
69400 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
69401 kernel-features.h.
69402 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
69403 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
69404 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
69405 kernel-features.h.
69406 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
69407 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
69408
69409 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
69410
69411 * configure.in: Define the default includes to being none.
69412 * configure: Regenerated.
69413
69414 2012-05-25 Roland McGrath <roland@hack.frob.com>
69415
69416 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
69417 * sysdeps/x86_64/setjmp.S: Likewise.
69418 * sysdeps/i386/bsd-setjmp.S: Likewise.
69419 * sysdeps/i386/bsd-_setjmp.S: Likewise.
69420 * sysdeps/i386/setjmp.S: Likewise.
69421 * sysdeps/i386/__longjmp.S: Likewise.
69422 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
69423 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
69424
69425 * include/stap-probe.h: New file.
69426 * configure.in: Handle --enable-systemtap.
69427 * configure: Regenerated.
69428 * config.h.in (USE_STAP_PROBE): New #undef.
69429 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
69430 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
69431 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
69432
69433 2012-05-25 Joseph Myers <joseph@codesourcery.com>
69434
69435 [BZ #13717]
69436 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
69437 to 2.4.0 where earlier.
69438 * sysdeps/unix/sysv/linux/configure: Regenerated.
69439 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
69440 <kernel-features.h>.
69441 [__ASSUME_32BITUIDS]: Make code unconditional.
69442 [!__ASSUME_32BITUIDS]: Remove conditional code.
69443 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
69444 <kernel-features.h>.
69445 [__ASSUME_32BITUIDS]: Make code unconditional.
69446 [!__ASSUME_32BITUIDS]: Remove conditional code.
69447 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
69448 [__ASSUME_32BITUIDS]: Make code unconditional.
69449 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
69450 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
69451 <kernel-features.h>.
69452 [__ASSUME_32BITUIDS]: Make code unconditional.
69453 [!__ASSUME_32BITUIDS]: Remove conditional code.
69454 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
69455 <kernel-features.h>.
69456 [__ASSUME_32BITUIDS]: Make code unconditional.
69457 [!__ASSUME_32BITUIDS]: Remove conditional code.
69458 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
69459 <kernel-features.h>.
69460 [__ASSUME_32BITUIDS]: Make code unconditional.
69461 [!__ASSUME_32BITUIDS]: Remove conditional code.
69462 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
69463 <kernel-features.h>.
69464 [__ASSUME_32BITUIDS]: Make code unconditional.
69465 [!__ASSUME_32BITUIDS]: Remove conditional code.
69466 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
69467 <kernel-features.h>.
69468 [__ASSUME_32BITUIDS]: Make code unconditional.
69469 [!__ASSUME_32BITUIDS]: Remove conditional code.
69470 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
69471 <kernel-features.h>.
69472 [__ASSUME_32BITUIDS]: Make code unconditional.
69473 [!__ASSUME_32BITUIDS]: Remove conditional code.
69474 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
69475 <kernel-features.h>.
69476 [__ASSUME_32BITUIDS]: Make code unconditional.
69477 [!__ASSUME_32BITUIDS]: Remove conditional code.
69478 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
69479 <kernel-features.h>.
69480 [__ASSUME_32BITUIDS]: Make code unconditional.
69481 [!__ASSUME_32BITUIDS]: Remove conditional code.
69482 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
69483 <kernel-features.h>.
69484 [__ASSUME_32BITUIDS]: Make code unconditional.
69485 [!__ASSUME_32BITUIDS]: Remove conditional code.
69486 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
69487 <kernel-features.h>.
69488 [__ASSUME_32BITUIDS]: Make code unconditional.
69489 [!__ASSUME_32BITUIDS]: Remove conditional code.
69490 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
69491 <kernel-features.h>.
69492 [__NR_setresgid] (__setresgid): Do not declare.
69493 [__ASSUME_32BITUIDS]: Make code unconditional.
69494 [!__ASSUME_32BITUIDS]: Remove conditional code.
69495 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
69496 <kernel-features.h>.
69497 [__NR_setresuid] (__setresuid): Do not declare.
69498 [__ASSUME_32BITUIDS]: Make code unconditional.
69499 [!__ASSUME_32BITUIDS]: Remove conditional code.
69500 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
69501 <kernel-features.h>.
69502 [__ASSUME_32BITUIDS]: Make code unconditional.
69503 [!__ASSUME_32BITUIDS]: Remove conditional code.
69504 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
69505 <kernel-features.h>.
69506 [__ASSUME_32BITUIDS]: Make code unconditional.
69507 [!__ASSUME_32BITUIDS]: Remove conditional code.
69508 * sysdeps/unix/sysv/linux/i386/setgid.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/setgroups.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/setregid.c: Do not include
69517 <kernel-features.h>.
69518 [__ASSUME_32BITUIDS]: Make code unconditional.
69519 [!__ASSUME_32BITUIDS]: Remove conditional code.
69520 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
69521 <kernel-features.h>.
69522 [__ASSUME_32BITUIDS]: Make code unconditional.
69523 [!__ASSUME_32BITUIDS]: Remove conditional code.
69524 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
69525 <kernel-features.h>.
69526 [__ASSUME_32BITUIDS]: Make code unconditional.
69527 [!__ASSUME_32BITUIDS]: Remove conditional code.
69528 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
69529 <kernel-features.h>.
69530 [__ASSUME_32BITUIDS]: Make code unconditional.
69531 [!__ASSUME_32BITUIDS]: Remove conditional code.
69532 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
69533 <kernel-features.h>.
69534 [__ASSUME_32BITUIDS]: Make code unconditional.
69535 [!__ASSUME_32BITUIDS]: Remove conditional code.
69536 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
69537 <kernel-features.h>.
69538 [__ASSUME_32BITUIDS]: Make code unconditional.
69539 [!__ASSUME_32BITUIDS]: Remove conditional code.
69540 * sysdeps/unix/sysv/linux/kernel-features.h
69541 (__ASSUME_SETRESUID_SYSCALL): Remove.
69542 (__ASSUME_SETRESGID_SYSCALL): Likewise.
69543 (__ASSUME_32BITUIDS): Likewise.
69544 (__ASSUME_LDT_WORKS): Likewise.
69545 (__ASSUME_O_DIRECTORY): Likewise.
69546 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
69547 architecture but not kernel version.
69548 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
69549 (__ASSUME_MMAP2_SYSCALL): Likewise.
69550 (__ASSUME_STAT64_SYSCALL): Likewise.
69551 (__ASSUME_IPC64): Likewise.
69552 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
69553 <kernel-features.h>.
69554 [__ASSUME_32BITUIDS]: Make code unconditional.
69555 [!__ASSUME_32BITUIDS]: Remove conditional code.
69556 * sysdeps/unix/sysv/linux/opendir.c: Do not include
69557 <kernel-features.h>.
69558 [__ASSUME_O_DIRECTORY]: Make code unconditional.
69559 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
69560 132096]: Remove conditional code.
69561 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
69562 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
69563 <kernel-features.h>.
69564 [__ASSUME_32BITUIDS]: Make code unconditional.
69565 [!__ASSUME_32BITUIDS]: Remove conditional code.
69566 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
69567 <kernel-features.h>.
69568 [__ASSUME_32BITUIDS]: Make code unconditional.
69569 [!__ASSUME_32BITUIDS]: Remove conditional code.
69570 * sysdeps/unix/sysv/linux/setegid.c: Do not include
69571 <kernel-features.h>.
69572 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
69573 unconditional.
69574 (__setresgid): Do not declare.
69575 [__ASSUME_32BITUIDS]: Make code unconditional.
69576 [!__ASSUME_32BITUIDS]: Remove conditional code.
69577 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
69578 <kernel-features.h>.
69579 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
69580 unconditional.
69581 (__setresuid): Do not declare.
69582 [__ASSUME_32BITUIDS]: Make code unconditional.
69583 [!__ASSUME_32BITUIDS]: Remove conditional code.
69584 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
69585 <kernel-features.h>.
69586 [__ASSUME_32BITUIDS]: Make code unconditional.
69587 [!__ASSUME_32BITUIDS]: Remove conditional code.
69588 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
69589 <kernel-features.h>.
69590 [__ASSUME_32BITUIDS]: Make code unconditional.
69591 [!__ASSUME_32BITUIDS]: Remove conditional code.
69592
69593 2012-05-25 Richard Henderson <rth@twiddle.net>
69594
69595 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
69596 dl_hwcap to ifunc resolver.
69597 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
69598 elf_ifunc_invoke.
69599 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
69600 dl_hwcap to ifunc resolver.
69601 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
69602
69603 2012-05-24 Joseph Myers <joseph@codesourcery.com>
69604
69605 [BZ #14153]
69606 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
69607 for |x| <= 2**-26, not 2**-57.
69608 * math/libm-test.inc (acos_test): Do not allow spurious underflow
69609 exception.
69610
69611 2012-05-24 Jeff Law <law@redhat.com>
69612
69613 * stdio-common/Makefile (tests): Add bug25.
69614 * stdio-common/bug25.c: New test.
69615
69616 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
69617
69618 [BZ #13576]
69619 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
69620 multiple of MALLOC_ALIGNMENT in size.
69621 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
69622
69623 2012-05-24 Joseph Myers <joseph@codesourcery.com>
69624
69625 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
69626 Require >= 256.
69627 (FILENAME_MAX): Use macro-int-constant.
69628 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
69629 (_IOFBF): Use macro-int-constant.
69630 (_IOLBF): Likewise.
69631 (_IONBF): Likewise.
69632 (SEEK_CUR): Likewise.
69633 (SEEK_END): Likewise.
69634 (SEEK_SET): Likewise.
69635 (TMP_MAX): Likewise.
69636 (EOF): Use macro-int-constant. Require < 0.
69637 (NULL): Use macro-constant. Require == 0.
69638 (stdin): Require type to be FILE *.
69639 (stdout): Likewise.
69640 (stderr): Likewise.
69641 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
69642 macro-int-constant.
69643 (EXIT_SUCCESS): Likewise.
69644 (NULL): Use macro-constant. Require == 0.
69645 (RAND_MAX): Use macro-int-constant.
69646 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
69647 [C99-based standards] (strtof): Require function.
69648 [C99-based standards] (strtold): Likewise.
69649 [C99-based standards] (strtoll): Likewise.
69650 [C99-based standards] (strtoull): Likewise.
69651 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
69652 [ISO || ISO99 || ISO11] (limits.h): Likewise.
69653 [ISO || ISO99 || ISO11] (math.h): Likewise.
69654 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
69655 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
69656 [ISO || ISO99 || ISO11] (*_t): Do not allow.
69657
69658 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
69659
69660 [BZ #14132]
69661 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
69662 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
69663 * intl/dgettext.c (DCGETTEXT): Likewise.
69664 * intl/gettext.c (DCGETTEXT): Likewise.
69665 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
69666 * posix/regex_internal.h (gettext): Likewise.
69667 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
69668 Remove declaration.
69669 * include/argz.h (__argz_count_internal)
69670 (__argz_stringify_internal): Remove declaration.
69671 (__argz_count, __argz_stringify): Declare hidden proto.
69672 * intl/dcgettext.c: Remove use of INTDEF.
69673 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
69674 * string/argz-stringify.c: Likewise.
69675 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
69676 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
69677 Declare hidden proto.
69678 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
69679 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
69680 Declare hidden proto.
69681 * include/stdio.h (__asprintf_internal): Don't declare.
69682 (__asprintf): Don't define as macro. Declare hidden proto.
69683 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
69684 (__fsetlocking): Declare hidden proto.
69685 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
69686 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
69687 hidden proto.
69688 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
69689 (_IO_setlinebuf): Remove use of INTUSE.
69690 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
69691 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
69692 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
69693 Remove declaration.
69694 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
69695 (_IO_do_flush): Remove use of INTUSE.
69696 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
69697 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
69698 (_IO_adjust_column, _IO_least_wmarker)
69699 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
69700 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
69701 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
69702 (_IO_default_doallocate, _IO_wdefault_doallocate)
69703 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
69704 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
69705 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
69706 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
69707 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
69708 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
69709 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
69710 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
69711 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
69712 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
69713 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
69714 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
69715 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
69716 proto.
69717 (_IO_flush_all_internal, _IO_adjust_column_internal)
69718 (_IO_default_uflow_internal, _IO_default_finish_internal)
69719 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
69720 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
69721 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
69722 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
69723 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
69724 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
69725 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
69726 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
69727 (_IO_file_close_internal, _IO_file_close_it_internal)
69728 (_IO_file_underflow_internal, _IO_file_overflow_internal)
69729 (_IO_file_init_internal, _IO_file_attach_internal)
69730 (_IO_file_fopen_internal, _IO_file_read_internal)
69731 (_IO_file_sync_internal, _IO_file_seek_internal)
69732 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
69733 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
69734 (_IO_str_underflow_internal, _IO_str_overflow_internal)
69735 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
69736 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
69737 (_IO_list_all_internal, _IO_link_in_internal)
69738 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
69739 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
69740 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
69741 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
69742 (_IO_do_write_internal, _IO_padn_internal)
69743 (_IO_getline_info_internal, _IO_getline_internal)
69744 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
69745 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
69746 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
69747 (_IO_vfscanf_internal, _IO_vfprintf_internal)
69748 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
69749 (_IO_init_internal, _IO_un_link_internal): Don't declare.
69750 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
69751 with libc_hidden_ver, remove use of INTUSE.
69752 * libio/genops.c: Likewise.
69753 * libio/freopen.c: Likewise.
69754 * libio/freopen64.c: Likewise.
69755 * libio/iofclose.c: Likewise.
69756 * libio/iofdopen.c: Likewise.
69757 * libio/iofflush.c: Likewise.
69758 * libio/iofflush_u.c: Likewise.
69759 * libio/iofgets.c: Likewise.
69760 * libio/iofgets_u.c: Likewise.
69761 * libio/iofopen.c: Likewise.
69762 * libio/iofopncook.c: Likewise.
69763 * libio/iofread.c: Likewise.
69764 * libio/iofread_u.c: Likewise.
69765 * libio/ioftell.c: Likewise.
69766 * libio/iofwrite.c: Likewise.
69767 * libio/iogetline.c: Likewise.
69768 * libio/iogets.c: Likewise.
69769 * libio/iogetwline.c: Likewise.
69770 * libio/iopadn.c: Likewise.
69771 * libio/iopopen.c: Likewise.
69772 * libio/ioseekoff.c: Likewise.
69773 * libio/ioseekpos.c: Likewise.
69774 * libio/iosetbuffer.c: Likewise.
69775 * libio/iosetvbuf.c: Likewise.
69776 * libio/ioungetc.c: Likewise.
69777 * libio/ioungetwc.c: Likewise.
69778 * libio/iovdprintf.c: Likewise.
69779 * libio/iovsprintf.c: Likewise.
69780 * libio/iovsscanf.c: Likewise.
69781 * libio/memstream.c: Likewise.
69782 * libio/obprintf.c: Likewise.
69783 * libio/oldfileops.c: Likewise.
69784 * libio/oldiofclose.c: Likewise.
69785 * libio/oldiofdopen.c: Likewise.
69786 * libio/oldiofopen.c: Likewise.
69787 * libio/oldiopopen.c: Likewise.
69788 * libio/oldstdfiles.c: Likewise.
69789 * libio/putc.c: Likewise.
69790 * libio/setbuf.c: Likewise.
69791 * libio/setlinebuf.c: Likewise.
69792 * libio/stdfiles.c: Likewise.
69793 * libio/strops.c: Likewise.
69794 * libio/vasprintf.c: Likewise.
69795 * libio/vscanf.c: Likewise.
69796 * libio/vsnprintf.c: Likewise.
69797 * libio/vswprintf.c: Likewise.
69798 * libio/wfiledoalloc.c: Likewise.
69799 * libio/wfileops.c: Likewise.
69800 * libio/wgenops.c: Likewise.
69801 * libio/wmemstream.c: Likewise.
69802 * libio/wstrops.c: Likewise.
69803 * libio/__fpurge.c: Likewise.
69804 * libio/__fsetlocking.c: Likewise.
69805 * assert/assert.c: Likewise.
69806 * debug/fgets_chk.c: Likewise.
69807 * debug/fgets_u_chk.c: Likewise.
69808 * debug/fread_chk.c: Likewise.
69809 * debug/fread_u_chk.c: Likewise.
69810 * debug/gets_chk.c: Likewise.
69811 * debug/obprintf_chk.c: Likewise.
69812 * debug/vasprintf_chk.c: Likewise.
69813 * debug/vdprintf_chk.c: Likewise.
69814 * debug/vsnprintf_chk.c: Likewise.
69815 * debug/vsprintf_chk.c: Likewise.
69816 * malloc/mtrace.c: Likewise.
69817 * misc/error.c: Likewise.
69818 * misc/syslog.c: Likewise.
69819 * stdio-common/asprintf.c: Likewise.
69820 * stdio-common/fxprintf.c: Likewise.
69821 * stdio-common/getw.c: Likewise.
69822 * stdio-common/isoc99_fscanf.c: Likewise.
69823 * stdio-common/isoc99_scanf.c: Likewise.
69824 * stdio-common/isoc99_vfscanf.c: Likewise.
69825 * stdio-common/isoc99_vscanf.c: Likewise.
69826 * stdio-common/isoc99_vsscanf.c: Likewise.
69827 * stdio-common/printf-prs.c: Likewise.
69828 * stdio-common/printf_fp.c: Likewise.
69829 * stdio-common/printf_fphex.c: Likewise.
69830 * stdio-common/printf_size.c: Likewise.
69831 * stdio-common/putw.c: Likewise.
69832 * stdio-common/scanf.c: Likewise.
69833 * stdio-common/sprintf.c: Likewise.
69834 * stdio-common/tmpfile.c: Likewise.
69835 * stdio-common/vfprintf.c: Likewise.
69836 * stdio-common/vfscanf.c: Likewise.
69837 * stdlib/strfmon_l.c: Likewise.
69838 * sunrpc/openchild.c: Likewise.
69839 * sunrpc/xdr_stdio.c: Likewise.
69840 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
69841 * sysdeps/mach/hurd/tmpfile.c: Likewise.
69842
69843 2012-05-24 Roland McGrath <roland@hack.frob.com>
69844
69845 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
69846
69847 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
69848 in the third column, to generate for the shared library an IFUNC
69849 that uses _dl_vdso_vsym.
69850 * Makerules (COMPILE.c, compile-stdin.c): New variables.
69851 * Makeconfig (object-suffixes-noshared): New variable.
69852
69853 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
69854 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
69855 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
69856 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
69857
69858 [BZ #14132]
69859 * include/sys/time.h (__gettimeofday): Remove macro.
69860 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
69861 * time/gettimeofday.c (__gettimeofday): Remove #undef.
69862 Remove INTDEF.
69863 (__gettimeofday): Add libc_hidden_def.
69864 (gettimeofday): Add libc_hidden_weak.
69865 * sysdeps/mach/gettimeofday.c: Likewise.
69866 * sysdeps/posix/gettimeofday.c: Likewise.
69867 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
69868 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
69869 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
69870 (__gettimeofday_internal): Remove strong_alias.
69871 (__gettimeofday): Add libc_hidden_def.
69872 (gettimeofday): Add libc_hidden_weak.
69873 * sysdeps/unix/syscalls.list (gettimeofday):
69874 Remove __gettimeofday_internal alias.
69875
69876 2012-05-24 Daniel Jacobowitz <drow@false.org>
69877 H.J. Lu <hongjiu.lu@intel.com>
69878
69879 [BZ #12495]
69880 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
69881 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
69882 (largebin_index_32_big): New.
69883 (largebin_index): Use it for 16-byte alignment.
69884 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
69885 correction with front_misalign.
69886
69887 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
69888
69889 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
69890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
69891 Likewise.
69892 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
69893 Likewise.
69894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
69895 Likewise.
69896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
69897 Likewise.
69898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
69899 Likewise.
69900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
69901 Likewise.
69902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
69903 Likewise.
69904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
69905 Likewise.
69906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
69907 Likewise.
69908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
69909 Likewise.
69910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
69911 Likewise.
69912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
69913 Likewise.
69914
69915 * scripts/data/c++-types-x32-linux-gnu.data: New file.
69916 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
69917
69918 2012-05-24 Joseph Myers <joseph@codesourcery.com>
69919
69920 [BZ #10846]
69921 [BZ #14036]
69922 * math/libm-test.inc (exp_test): Add test from bug 14036.
69923 (pow_test): Add test from bug 10846.
69924
69925 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
69926 and other flags.
69927 (special_function): Do not include flags in test name.
69928 (parse_args): Likewise.
69929 * sysdeps/i386/fpu/libm-test-ulps: Update.
69930 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69931 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
69932 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
69933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69934
69935 * math/gen-libm-test.pl (%beautify): Add entries for underflow
69936 exceptions.
69937 * math/libm-test.inc ("Philosophy"): Update comment about
69938 exception testing.
69939 (UNDERFLOW_EXCEPTION): New macro.
69940 (UNDERFLOW_EXCEPTION_OK): Likewise.
69941 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
69942 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
69943 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
69944 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
69945 (INVALID_EXCEPTION_OK): Update value.
69946 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69947 (OVERFLOW_EXCEPTION_OK): Likewise.
69948 (IGNORE_ZERO_INF_SIGN): Likewise.
69949 (test_exceptions): Handle underflow exceptions.
69950 (acos_test): Update for underflow exception expectations.
69951 (cexp_test): Likewise.
69952 (clog_test): Likewise.
69953 (clog10_test): Likewise.
69954 (csqrt_test): Likewise.
69955 (ctan_test): Likewise.
69956 (ctanh_test): Likewise.
69957 (exp_test): Likewise.
69958 (exp10_test): Likewise.
69959 (exp2_test): Likewise.
69960 (expm1_test): Likewise.
69961 (fma_test): Likewise.
69962 (j0_test): Likewise.
69963 (jn_test): Likewise.
69964 (nexttoward_test): Likewise.
69965 (pow_test): Likewise.
69966 (scalbn_test): Likewise.
69967 (scalbln_test): Likewise.
69968 (tan_test): Likewise.
69969 (y1_test): Likewise.
69970 * sysdeps/i386/fpu/libm-test-ulps: Update.
69971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69972
69973 2012-05-23 David S. Miller <davem@davemloft.net>
69974
69975 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
69976 (__libc_sigaction): Remove unused local variables.
69977
69978 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
69979
69980 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
69981
69982 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
69983
69984 mktime: avoid signed integer overflow
69985 * time/mktime.c (__mktime_internal): Do not mishandle the case
69986 where diff == INT_MIN.
69987
69988 mktime: simplify computation of average
69989 * time/mktime.c (ranged_convert): Use new time_t_avg function
69990 instead of rolling our own (probably-slower) code.
69991
69992 mktime: do not assume signed right shift propagates sign bit
69993 * time/mktime.c (isdst_differ): New static function.
69994 (__mktime_internal): No need to normalize tm_isdst now.
69995 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
69996 tm_isdst values.
69997
69998 mktime: merge another wrapv change from gnulib
69999 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
70000 from some compilers.
70001
70002 mktime: remove incorrect attempt at unusual arithmetics
70003 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
70004 The code didn't really work on such machines anyway.
70005 (TYPE_MINIMUM): Assume two's complement.
70006 (twos_complement_arithmetic): Verify that long_int and time_t
70007 are two's complement (or unsigned, in the latter case).
70008
70009 mktime: check signed shifts on long_int and time_t, too
70010 * time/mktime.c (SHR): Check that shifts work as desired
70011 on the types long_int and time_t too, as SHR is used on
70012 such types.
70013
70014 mktime: do not assume 'long' is wide enough
70015 * time/mktime.c (verify): Move decl up.
70016 (long_int): New type.
70017 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
70018 to remove assumption in the code that 'long' is wide enough to
70019 store year values. This assumption is not true on x32 and on
70020 some non-glibc platforms.
70021
70022 mktime: merge wrapv change from gnulib
70023 * time/mktime.c (WRAPV): New macro.
70024 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
70025 (guess_time_tm, __mktime_internal): Do not assume that signed
70026 integer overflow wraps around; modern compilers generate code
70027 where this assumption is no longer valid.
70028
70029 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70030
70031 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70032 Replace "jmp L(pseudo_end)" with "ret".
70033 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
70034 Likewise.
70035
70036 2012-05-23 Andreas Jaeger <aj@suse.de>
70037
70038 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
70039 * sysdeps/unix/sysv/linux/poll.c: Remove file.
70040
70041 2012-05-23 Andreas Jaeger <aj@suse.de>
70042 Maximilian Attems <max@stro.at>
70043
70044 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
70045 New macros.
70046
70047 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70048
70049 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
70050 code so that pseudo_end is just ret and the stack pointer is
70051 correct also for static library in error case.
70052
70053 2012-05-23 Joseph Myers <joseph@codesourcery.com>
70054
70055 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
70056 move to syscalls.list.
70057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
70058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
70059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
70060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
70061
70062 * manual/install.texi (Running make install): Do not mention Linux
70063 kernel version for which pt_chown is not needed.
70064 (Linux): Do not mention problems with nscd with 2.0 kernels.
70065 * INSTALL: Regenerated.
70066
70067 2012-05-23 Andreas Jaeger <aj@suse.de>
70068
70069 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
70070 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
70071 macro.
70072 * sysdeps/unix/sysv/linux/s390/bits/mman.h
70073 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70074 * sysdeps/unix/sysv/linux/sh/bits/mman.h
70075 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70076 * sysdeps/unix/sysv/linux/i386/bits/mman.h
70077 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70078 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
70079 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70080 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
70081 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70082 * sysdeps/unix/sysv/linux/bits/in.h
70083 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
70084
70085 2012-05-22 Roland McGrath <roland@hack.frob.com>
70086
70087 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
70088 (PREPARE_VERSION): Just use assert instead, it will be elided
70089 under [NDEBUG] anyway.
70090
70091 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70092
70093 * sysdeps/unix/sysv/linux/Makefile: Include
70094 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
70095 (sysdep_routines): Remove sysctl.
70096 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
70097 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
70098 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
70099 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
70100 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
70101
70102 2012-05-22 Andreas Jaeger <aj@suse.de>
70103
70104 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
70105 that pseudo_end is just ret and the stack pointer is correct also
70106 for static library in error case.
70107
70108 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
70109
70110 [BZ #14122]
70111 * nss/nsswitch.c (defconfig_entries): New variable.
70112 (__nss_database_lookup): Don't leak defconfig entries.
70113 (nss_parse_service_list): Don't leak on error paths.
70114 (free_database_entries): New function.
70115 (free_defconfig): New function.
70116 (free_mem): Move common code to free_database_entries.
70117
70118 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70119
70120 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
70121 Add arch_prctl.
70122 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
70123
70124 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
70125 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
70126 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
70127 New macro.
70128 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
70129 (INTERNAL_SYSCALL_TYPES): Likewise.
70130 (LOAD_ARGS_TYPES_[1-6]): Likewise.
70131 (LOAD_REGS_TYPES_[1-6]): Likewise.
70132 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
70133 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
70134
70135 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70136
70137 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
70138 copysignl for GLIBC_2_0.
70139 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
70140 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
70141 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
70142 logbl for GLIBC_2_0.
70143 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
70144 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
70145
70146 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70147
70148 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
70149 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
70150
70151 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70152 Use "neg %eax".
70153
70154 * time/mktime.c: Update copyright years.
70155
70156 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
70157
70158 mktime: merge comment-quoting-style change from gnulib
70159 * time/mktime.c: Quote 'like this' in comments.
70160 The GNU coding standards suggest that we no longer quote `like this',
70161 as "`" and "'" are typically rendered asymmetrically nowadays.
70162 The typical gnulib style is to quote 'like this' when quoting
70163 code, and "like this" when quoting English.
70164
70165 * time/mktime.c (compile-command): Add "-I.".
70166
70167 mktime: merge mktime-internal.h change from gnulib
70168 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
70169
70170 mktime: merge time_r change from gnulib
70171 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
70172
70173 mktime: merge DEBUG change from gnulib
70174 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
70175 case system <time.h> has a #define.
70176
70177 mktime: merge <sys/types.h> change from gnulib
70178 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
70179 since <time.t> is now guaranteed to define time_t.
70180
70181 mktime: merge HAVE_CONFIG_H change from gnulib
70182 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
70183
70184 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70185
70186 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70187 Use "neg %eax".
70188
70189 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
70190 __rlim_t cast.
70191 (struct rusage): Use anonymous union to pad each field to
70192 __syscall_slong_t.
70193
70194 2012-05-21 David S. Miller <davem@davemloft.net>
70195
70196 * Makefules (o-iterator): Remove .s cases.
70197 (compile-command.s): Delete.
70198 (COMPILE.s): Delete.
70199 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
70200
70201 2012-05-21 Joseph Myers <joseph@codesourcery.com>
70202
70203 * configure.in (libc_cv_predef_stack_protector): Only consider
70204 "foobar" and "__stack_chk_fail" lines in libc_undefs.
70205 * configure: Regenerated.
70206
70207 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
70208
70209 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70210 New macro. Use R*LP on int and pointer.
70211 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
70212 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
70213 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
70214 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
70215
70216 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
70217 [__WORDSIZE_TIME64_COMPAT32] instead of
70218 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
70219 (struct utmp): Likewise.
70220 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
70221 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
70222 Renamed to ...
70223 (__WORDSIZE_TIME64_COMPAT32): This.
70224 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
70225 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
70226 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
70227 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
70228 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
70229 (__WORDSIZE_TIME64_COMPAT32): New macro.
70230
70231 2012-05-21 Andreas Jaeger <aj@suse.de>
70232
70233 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
70234 only if [SHARED]. Add prototype for __wcschr_ia32.
70235
70236 2012-05-21 Roland McGrath <roland@hack.frob.com>
70237
70238 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
70239 of %rbp unmolested in the jmp_buf while mangling the low bits.
70240 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
70241 unmolested high bits of %rbp while demangling the low bits.
70242 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70243
70244 2012-05-21 Andreas Jaeger <aj@suse.de>
70245
70246 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
70247 * sunrpc/svc_simple.c: Use it for registerrpc.
70248 * sunrpc/xcrypt.c: Use it for passwd2des.
70249
70250 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
70251
70252 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
70253
70254 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
70255 Don't define if [__SYSCALL_WORDSIZE != 32].
70256 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
70257 New macro.
70258
70259 2012-05-21 Bruno Haible <bruno@clisp.org>
70260 Andreas Jaeger <aj@suse.de>
70261
70262 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
70263 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
70264 inptr and inend for must_buffer_ch.
70265 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
70266 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
70267 * stdio-common/Makefile (tests): Remove bug15.
70268 (bug15-ENV): Remove macro.
70269 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
70270 anymore.
70271
70272 2012-05-19 Andreas Jaeger <aj@suse.de>
70273 Roland McGrath <roland@hack.frob.com>
70274
70275 * manual/contrib.texi: Completely rewritten. It contains now an
70276 alphabetical list of contributors and their contributions.
70277
70278 2012-05-21 Richard Henderson <rth@twiddle.net>
70279
70280 * misc/getauxval.c (__getauxval): Use unsigned long int.
70281 * misc/sys/auxv.h: Include <sys/cdefs.h>.
70282 (getauxval): Use unsigned long int.
70283
70284 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
70285
70286 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70287
70288 2012-05-21 Roland McGrath <roland@hack.frob.com>
70289
70290 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
70291 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
70292 __alignof__ (long double).
70293
70294 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70295
70296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70297
70298 2012-05-20 Richard Henderson <rth@twiddle.net>
70299
70300 * misc/getauxval.c: New file.
70301 * misc/sys/auxv.h: New file.
70302 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
70303 (routines): Add getauxval.
70304 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
70305 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
70306 * elf/dl-sysdep.c (_dl_auxv): Remove.
70307 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
70308 * elf/dl-support.c (_dl_auxv): New variable.
70309 (_dl_aux_init): Initialize it.
70310 * manual/startup.texi (Auxiliary Vector): New node.
70311 * sysdeps/generic/bits/hwcap.h: New file.
70312 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
70313 * sysdeps/powerpc/sysdep.h: ... here. Include it.
70314 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
70315 * sysdeps/sparc/sysdep.h: ... here. Include it.
70316 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
70317 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
70318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70319 Update.
70320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
70321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
70322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
70323 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
70324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70326 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
70327 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
70328
70329 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70330
70331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70332
70333 2012-05-19 David S. Miller <davem@davemloft.net>
70334
70335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70336
70337 2012-05-19 Joseph Myers <joseph@codesourcery.com>
70338
70339 [BZ #14123]
70340 * math/s_ccosh.c: Include <float.h>
70341 (__ccosh): Avoid internal overflow calculating sinh and cosh
70342 values before multiplying by sin and cos values.
70343 * math/s_ccoshf.c: Likewise.
70344 * math/s_ccoshl.c: Likewise.
70345 * math/s_csin.c: Likewise.
70346 * math/s_csinf.c: Likewise.
70347 * math/s_csinl.c: Likewise.
70348 * math/s_csinh.c: Likewise.
70349 * math/s_csinhf.c: Likewise.
70350 * math/s_csinhl.c: Likewise.
70351 * math/libm-test.inc (ccos_test): Add more tests.
70352 (ccosh_test): Likewise.
70353 (csin_test): Likewise.
70354 (csinh_test): Likewise.
70355 * sysdeps/i386/fpu/libm-test-ulps: Update.
70356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70357
70358 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
70359
70360 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
70361 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
70362
70363 * sysdeps/x86_64/x32/_itoa.h: Add comment.
70364
70365 2012-05-19 Joseph Myers <joseph@codesourcery.com>
70366
70367 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
70368 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
70369 * sysdeps/powerpc/soft-fp/Versions: Likewise.
70370 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
70371 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
70372 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
70373 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
70374 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
70375 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
70376 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
70377 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
70378 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
70379 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
70380 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
70381 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
70382 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
70383 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
70384 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
70385 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
70386 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
70387 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
70388 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
70389 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
70390 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
70391 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
70392 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
70393 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
70394 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
70395 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
70396 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
70397 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
70398
70399 2012-05-18 Andreas Jaeger <aj@suse.de>
70400
70401 * csu/.gitignore: Delete.
70402
70403 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
70404
70405 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
70406 (timex): Use __syscall_slong_t.
70407
70408 2012-05-18 Andreas Jaeger <aj@suse.de>
70409 Carlos O'Donell <carlos_odonell@mentor.com>
70410
70411 * manual/install.texi (Configuring and compiling): Update
70412 description about files modified in the source directory.
70413 * INSTALL: Regenerated.
70414
70415 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
70416
70417 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
70418 value. Use "or" to set return value to -1.
70419 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
70420 negate return value.
70421
70422 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
70423
70424 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
70425 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
70426 failure if the compiler has Graphite support disabled.
70427 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
70428 Likewise.
70429 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
70430 (CFLAGS-memmove.c): Likewise.
70431 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
70432 Likewise.
70433
70434 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
70435
70436 * sysdeps/x86_64/x32/_itoa.h: New file.
70437
70438 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
70439 getdents system call only if kernel and user dirents have the
70440 same d_ino and d_off.
70441
70442 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
70443 LLONG_MAX != LONG_MAX.
70444 (_itoa_word): Use _ITOA_WORD_TYPE on value.
70445 (_fitoa_word): Likewise.
70446
70447 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
70448 years.
70449 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
70450 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
70451 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
70452
70453 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
70454 include <bits/wordsize.h>. Check __x86_64__ instead of
70455 __WORDSIZE.
70456 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
70457 if __x86_64__ is defined. Use anonymous union on fpstate.
70458
70459 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
70460 anonymous union.
70461
70462 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
70463
70464 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
70465 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
70466 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
70467 Refer to _rtld_local_ro instead of _rtld_global_ro.
70468 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
70469 Likewise.
70470 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
70471 Likewise.
70472 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
70473 Likewise.
70474 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
70475 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
70476 of _rtld_global, and rtld_progname instead of _dl_argv[0].
70477
70478 [BZ #10882]
70479 * sysdeps/powerpc/powerpc32/dl-machine.c
70480 (__elf_machine_runtime_setup) [PROF]: Don't reference
70481 _dl_prof_resolve.
70482
70483 2012-05-18 Andreas Jaeger <aj@suse.de>
70484
70485 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
70486 function only available for GCCs before 3.4 since GCC 3.4
70487 introduced a builtin.
70488 (lrint): Likewise.
70489 (llrintf): Likewise.
70490 (llrint): Likewise.
70491 (fmaxf): Likewise.
70492 (fmax): Likewise.
70493 (fminf): Likewise.
70494 (fmin): Likewise.
70495 (rint): Likewise.
70496 (rintf): Likewise.
70497 (nearbyint): Likewise.
70498 (nearbyintf): Likewise.
70499 (ceil): Likewise.
70500 (ceilf): Likewise.
70501 (floor): Likewise.
70502 (floorf): Likewise.
70503
70504 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
70505
70506 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
70507 on both fields and cast pointer to __syscall_ulong_t.
70508
70509 * bits/types.h (__fsword_t): New type.
70510 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
70511 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
70512 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70513 (__FSWORD_T_TYPE): Likewise.
70514 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70515 (__FSWORD_T_TYPE): Likewise.
70516 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70517 (__FSWORD_T_TYPE): Likewise.
70518 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
70519 (__FSWORD_T_TYPE): Likewise.
70520 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
70521 __SWORD_TYPE with __fsword_t.
70522 (statfs64): Likewise.
70523
70524 2012-05-17 David S. Miller <davem@davemloft.net>
70525
70526 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
70527
70528 2012-05-17 Andreas Jaeger <aj@suse.de>
70529
70530 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
70531 warning.
70532
70533 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
70534
70535 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
70536
70537 2012-05-17 Andreas Jaeger <aj@suse.de>
70538
70539 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
70540 when it is used.
70541
70542 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
70543
70544 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
70545
70546 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
70547
70548 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
70549 * sysdeps/x86_64/tst-mallocalign1.c: New file.
70550
70551 2012-05-17 Andreas Jaeger <aj@suse.de>
70552 Carlos O'Donell <carlos_odonell@mentor.com>
70553
70554 [BZ #14059]
70555 * sysdeps/x86_64/multiarch/init-arch.h
70556 (bit_YMM_Usable): Rename to...
70557 (bit_AVX_Usable): ... this.
70558 (bit_FMA4_Usable): New macro.
70559 (bit_XMM_state): New macro.
70560 (bit_YMM_state): New macro.
70561 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
70562 [__ASSEMBLER__] (index_AVX_Usable): ... this.
70563 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
70564 (CPUID_OSXSAVE): New macro.
70565 (CPUID_AVX): New macro.
70566 (CPUID_FMA4): New macro.
70567 (index_YMM_Usable): Rename to...
70568 (index_AVX_Usable): ... this.
70569 (HAS_AVX): Use HAS_ARCH_FEATURE.
70570 (HAS_FMA4): Likewise.
70571 (HAS_YMM_USABLE): Remove.
70572 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70573 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
70574 are present.
70575 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
70576 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
70577 * sysdeps/x86_64/multiarch/Makefile: Likewise.
70578 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
70579 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
70580
70581 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
70582
70583 * math/libm-test.c: Support platforms without multiple rounding modes.
70584 * math/bug-nextafter.c: Support platforms without FP exceptions.
70585 * math/bug-nexttoward.c: Likewise.
70586 * math/test-fenv.c: Likewise.
70587 * math/test-misc.c: Likewise.
70588 * stdlib/bug-getcontext.c: Likewise.
70589
70590 2012-05-17 Andreas Jaeger <aj@suse.de>
70591
70592 * manual/examples/search.c (critter_cmp): Change signature to
70593 avoid warnings.
70594 * manual/string.texi (Collation Functions): Likewise.
70595
70596 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70597
70598 * bits/types.h: Fold copyright years.
70599 * bits/typesizes.h: Likewise.
70600 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
70601 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
70602 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
70603 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
70604 * time/time.h: Likewise.
70605
70606 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
70607
70608 [BZ #208]
70609 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
70610 in instead of returning them. Return void.
70611 (__libc_mallinfo): Accumulate over all arenas.
70612 (__malloc_stats): Adjust for change in int_mallinfo interface.
70613
70614 2012-05-16 Roland McGrath <roland@hack.frob.com>
70615
70616 [BZ #10375]
70617 * configure.in (NM): Add AC_CHECK_TOOL for it.
70618 (libc_extra_cflags): New substituted variable.
70619 Check for -fstack-protector being used implicitly.
70620 * configure: Regenerated.
70621 * config.make.in (config-extra-cflags): New variable,
70622 gets @libc_extra_cflags@.
70623 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
70624
70625 [BZ #10375]
70626 * configure.in: Check for _FORTIFY_SOURCE being predefined.
70627 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
70628 * configure: Regenerated.
70629 * config.make.in (CPPUNDEFS): New substituted variable.
70630 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
70631 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
70632 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
70633
70634 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70635
70636 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
70637 (mq_attr): Use __syscall_slong_t.
70638
70639 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70640
70641 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
70642 Check __x86_64__ instead of __WORDSIZE.
70643 (_STAT_VER_LINUX): Likewise.
70644 (stat): Check __x86_64__ instead of __WORDSIZE. Use
70645 __syscall_ulong_t and __syscall_slong_t.
70646 (stat64): Likewise.
70647
70648 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70649
70650 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
70651
70652 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70653
70654 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
70655
70656 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70657
70658 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
70659 __syscall_ulong_t.
70660
70661 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
70662 include <bits/wordsize.h>. Check __x86_64__ instead of
70663 __WORDSIZE.
70664 (greg_t): Use "__extension__ long long int" if __x86_64__ is
70665 defined.
70666 (mcontext_t): Replace "unsigned long" with "unsigned long long".
70667
70668 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
70669 include <bits/wordsize.h>. Check __x86_64__ instead of
70670 __WORDSIZE.
70671 (user_regs_struct): Use "__extension__ unsigned long long"
70672 instead of "unsigned long" if __x86_64__ is defined.
70673 (user): Likewise. Pad after pointer field if __ILP32__ is
70674 defined.
70675
70676 2012-05-16 Joseph Myers <joseph@codesourcery.com>
70677
70678 * configure.in (makeinfo): Require version 4.5 or later. Allow
70679 versions 5 to 9.
70680 * configure: Regenerated.
70681 * manual/install.texi (texinfo): Increase version requirement to
70682 4.5 or later.
70683 * INSTALL: Regenerated.
70684
70685 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
70686
70687 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70688
70689 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
70690
70691 * sysdeps/x86_64/x32/ffs.c: New file.
70692
70693 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
70694 __syscall_ulong_t.
70695 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
70696 defined. Use __syscall_ulong_t.
70697 (shminfo): Use __syscall_ulong_t.
70698 (shm_info): Likewise.
70699
70700 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
70701 __syscall_ulong_t.
70702
70703 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
70704 <bits/wordsize.h>.
70705 (msgqnum_t): Use __syscall_ulong_t.
70706 (msglen_t): Likewise.
70707 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
70708 __syscall_ulong_t.
70709
70710 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
70711 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
70712
70713 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
70714
70715 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
70716 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
70717
70718 * sysvipc/sys/msg.h (msgbuf): Replace long int with
70719 __syscall_slong_t.
70720
70721 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
70722 include <bits/wordsize.h>. Check __x86_64__ instead of
70723 __WORDSIZE.
70724
70725 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
70726 "unsigned long long int" if __x86_64__ is defined.
70727 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
70728
70729 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
70730 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
70731 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
70732
70733 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
70734 <stdint.h>.
70735 (GET_PC): Cast to uintptr_t first.
70736 (GET_FRAME): Likewise.
70737 (GET_STACK): Likewise.
70738
70739 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
70740 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
70741 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
70742 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
70743 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
70744 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
70745 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
70746 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
70747 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
70748 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
70749 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
70750 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
70751 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
70752 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
70753 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
70754 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
70755 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
70756 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
70757 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
70758 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
70759 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
70760 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
70761 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
70762 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
70763 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
70764 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
70765 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
70766 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
70767 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
70768
70769 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
70770
70771 * Makerules (+depfiles): Also collect depfiles from .oS in
70772 $(extra-objs).
70773 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
70774 .oS, $(libnldbl-routines)).
70775
70776 * Makerules (native-compile-mkdep-flags): Define.
70777 * sunrpc/Makefile (extra-objs): Add $(addprefix
70778 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
70779 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
70780 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
70781 calling $(make-target-directory).
70782
70783 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70784
70785 * bits/types.h (__snseconds_t): Removed.
70786 * time/time.h (struct timespec): Replace __snseconds_t with
70787 __syscall_slong_t.
70788 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
70789 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
70790 Likewise.
70791 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70792 (__SNSECONDS_T_TYPE): Likewise.
70793 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70794 (__SNSECONDS_T_TYPE): Likewise.
70795 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70796 (__SNSECONDS_T_TYPE): Likewise.
70797
70798 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70799
70800 * sysdeps/mach/hurd/bits/typesizes.h
70801 (__SYSCALL_SLONG_TYPE): New macro.
70802 (__SYSCALL_ULONG_TYPE): Likewise.
70803
70804 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70805
70806 * bits/types.h (__syscall_slong_t): New type.
70807 (__syscall_ulong_t): Likewise.
70808
70809 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
70810 (__SYSCALL_ULONG_TYPE): Likewise.
70811 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70812 (__SYSCALL_SLONG_TYPE): Likewise.
70813 (__SYSCALL_ULONG_TYPE): Likewise.
70814 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70815 (__SYSCALL_SLONG_TYPE): Likewise.
70816 (__SYSCALL_ULONG_TYPE): Likewise.
70817 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70818 (__SYSCALL_SLONG_TYPE): Likewise.
70819 (__SYSCALL_ULONG_TYPE): Likewise.
70820
70821 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70822
70823 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
70824 Add sigaltstack-offsets.sym.
70825 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
70826 <sigaltstack-offsets.h>.
70827 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
70828 longjmp_msg pointer.
70829 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
70830 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
70831 signal stack.
70832 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
70833
70834 2012-05-15 Joseph Myers <joseph@codesourcery.com>
70835
70836 * elf/stackguard-macros.h: Remove file.
70837 * sysdeps/generic/stackguard-macros.h: New file.
70838 * sysdeps/i386/stackguard-macros.h: Likewise.
70839 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
70840 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
70841 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
70842 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
70843 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
70844 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
70845 * sysdeps/x86_64/stackguard-macros.h: Likewise.
70846 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
70847 <elf/stackguard-macros.h>.
70848
70849 [BZ #14109]
70850 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
70851 __aligned__ in attribute.
70852 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
70853 (gregset_t): Likewise.
70854
70855 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70856
70857 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
70858 * sysdeps/x86_64/64/Implies-after: Here. New file.
70859 * sysdeps/x86_64/x32/Implies-after: New file.
70860
70861 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70862
70863 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
70864 and access return value for _dl_profile_fixup. Use R10_LP to
70865 load frame size.
70866
70867 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70868
70869 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
70870
70871 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70872
70873 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
70874 * sysdeps/x86_64/x32/sysdep.h: New file.
70875
70876 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70877
70878 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
70879 * sysdeps/x86_64/setjmp.S: Likewise.
70880
70881 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70882
70883 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
70884 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
70885 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
70886 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
70887 remove unused global constant.
70888
70889 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
70890
70891 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
70892 include of <not-cancel.h>.
70893
70894 2012-05-15 Roland McGrath <roland@hack.frob.com>
70895
70896 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
70897
70898 2012-05-15 Jeff Law <law@redhat.com>
70899 Andreas Jaeger <aj@suse.de>
70900
70901 [BZ #13594]
70902 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
70903 out from...
70904 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
70905 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
70906 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
70907 code changing __hst_map_handle.map.
70908
70909 2012-05-15 Roland McGrath <roland@hack.frob.com>
70910
70911 * configure.in (sysnames): Look for Implies-before and Implies-after
70912 files.
70913 * configure: Regenerated.
70914
70915 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70916
70917 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
70918 8-byte data alignment with LP_SIZE alignment.
70919
70920 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70921
70922 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
70923 into R10_LP.
70924
70925 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70926
70927 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
70928
70929 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70930
70931 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
70932 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
70933 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
70934 Likewise.
70935 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
70936
70937 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70938
70939 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
70940 (stackinfo_sub_sp): Likewise.
70941
70942 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70943
70944 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
70945 RAX_LP.
70946
70947 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70948
70949 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
70950 into R*_LP.
70951
70952 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70953
70954 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
70955 sizes into R*_LP.
70956
70957 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70958
70959 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
70960
70961 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70962
70963 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
70964 into R11_LP and load __x86_64_shared_cache_size_half into
70965 R8_LP.
70966
70967 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70968
70969 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
70970 R8_LP.
70971
70972 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70973
70974 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
70975 logb for POWER7.
70976 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
70977 logbf for POWER7.
70978 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
70979 logbl for POWER7.
70980 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
70981 powerpc32/power7/fpu/s_logb.c via #include.
70982 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
70983 powerpc32/power7/fpu/s_logbf.c via #include.
70984 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
70985 powerpc32/power7/fpu/s_logbl.c via #include.
70986
70987 2012-05-15 Joseph Myers <joseph@codesourcery.com>
70988
70989 * README.libm: Remove file.
70990
70991 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
70992
70993 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
70994 count for x32. Use R*_LP and omit operand-size suffix.
70995
70996 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
70997
70998 * shlib-versions: Move x86_64-.*-linux.* entries to ...
70999 * sysdeps/x86_64/64/shlib-versions: Here. New file.
71000 * sysdeps/x86_64/x32/shlib-versions: New file.
71001
71002 2012-05-14 Roland McGrath <roland@hack.frob.com>
71003
71004 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
71005 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
71006 Use _dl_fatal_printf instead.
71007
71008 2012-05-14 Joseph Myers <joseph@codesourcery.com>
71009
71010 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
71011 set if not set by the user. Do not allow for being unset.
71012 * sysdeps/unix/sysv/linux/configure: Regenerated.
71013
71014 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71015
71016 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
71017 the `q' suffix from lea and replace .quad with ASM_ADDR.
71018
71019 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71020
71021 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
71022 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
71023 instead of $17.
71024 (PTR_DEMANGLE): Likewise.
71025
71026 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71027
71028 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
71029 (LP_OP): Likewise.
71030 (ASM_ADDR): Likewise.
71031 (RAX_LP): Likewise.
71032 (RBP_LP): Likewise.
71033 (RBX_LP): Likewise.
71034 (RCX_LP): Likewise.
71035 (RDI_LP): Likewise.
71036 (RSI_LP): Likewise.
71037 (RSP_LP): Likewise.
71038 (R8_LP): Likewise.
71039 (R9_LP): Likewise.
71040 (R10_LP): Likewise.
71041 (R10_LP): Likewise.
71042 (R11_LP): Likewise.
71043 (R12_LP): Likewise.
71044 (R13_LP): Likewise.
71045 (R14_LP): Likewise.
71046 (R15_LP): Likewise.
71047
71048 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71049
71050 * sysdeps/x86_64/x32/dl-machine.h: New file.
71051
71052 2012-05-14 Andreas Jaeger <aj@suse.de>
71053
71054 * manual/Makefile (subdir): Remove export of subdir.
71055 (all): Remove target.
71056 (.PHONY): Remove all from list.
71057 (mkinstalldirs): Remove.
71058 (.PHONY): Remove installdirs from list.
71059 ($(inst_infodir)/libc.info): Use make-target-directory.
71060 (installdirs): Remove.
71061 (subdir_%): Remove.
71062 (glibc-targets): Remove.
71063 (lib): Remove.
71064 (stubs): Remove.
71065 ($(objpfx)stubs ../po/manual.pot): Remove.
71066 ($(objpfx)stamp%): Remove.
71067 (make-target-directory): Remove.
71068 (subdir_install): Remove.
71069 (routines): Remove.
71070 (aux): Remove.
71071 (sources): Remove.
71072 (objects): Remove.
71073 (headers): Remove.
71074
71075 [BZ #13750]
71076 * manual/.gitignore: Remove, it's not needed anymore.
71077 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
71078 all files in it.
71079 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
71080 directory.
71081 (texis): Renamed to $(objpfx)texis.
71082 (texis-path): New, contains path to generated files.
71083 (chapters.%): Use texis-path for complete path, add extra argument
71084 libc-texinfo.sh.
71085 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
71086 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
71087 (summary,texi, stamp-summary): Use complete path of
71088 files. Generate files in build dir.
71089 (dir-add.texi): Build in build dir.
71090 (libm-err.texi,stamp-libm-err): Likewise.
71091 (version.texi, stamp-version): Likewise.
71092 (.%c.texi): Likewise.
71093 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
71094 (mostlyclean): Remove target.
71095 (realclean): Remove target.
71096 (generated): Add new variable with contents from mostlyclean and
71097 realclean, remove entries duplicated in common-mostlyclean, add
71098 stamp-libm-err and stamp-version.
71099 (generated-dirs): Add libc directory.
71100 ($(inst_infodir)/libc.info): Install files from build dir.
71101
71102 * manual/install.texi (Configuring and compiling): Adjust since
71103 the info files are not part of the tar ball anymore.
71104
71105 2012-05-14 Andreas Jaeger <aj@suse.de>
71106
71107 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
71108 variable.
71109
71110 2012-05-14 Joseph Myers <joseph@codesourcery.com>
71111
71112 [BZ #13717]
71113 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
71114 to 2.2.0 where earlier.
71115 * sysdeps/unix/sysv/linux/configure: Regenerated.
71116 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
71117 Remove conditional code.
71118 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
71119 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
71120 Remove conditional code.
71121 [!__NR_lchown]: Likewise.
71122 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71123 [__NR_lchown]: Likewise.
71124 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
71125 comment referencing __ASSUME_LCHOWN_SYSCALL.
71126 * sysdeps/unix/sysv/linux/i386/sigaction.c
71127 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71128 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71129 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
71130 Remove conditional code.
71131 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
71132 (__protocol_available): Remove #if 0 code.
71133 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
71134 conditional code.
71135 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
71136 * sysdeps/unix/sysv/linux/kernel-features.h
71137 (__ASSUME_GETCWD_SYSCALL): Don't define.
71138 (__ASSUME_REALTIME_SIGNALS): Likewise.
71139 (__ASSUME_PREAD_SYSCALL): Likewise.
71140 (__ASSUME_PWRITE_SYSCALL): Likewise.
71141 (__ASSUME_POLL_SYSCALL): Likewise.
71142 (__ASSUME_LCHOWN_SYSCALL): Likewise.
71143 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
71144 non-SPARC.
71145 (__ASSUME_SIOCGIFNAME): Don't define.
71146 (__ASSUME_MSG_NOSIGNAL): Likewise.
71147 (__ASSUME_SENDFILE): Define unconditionally.
71148 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
71149 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
71150 conditional code.
71151 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
71152 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
71153 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71154 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71155 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
71156 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71157 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
71159 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71160 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
71162 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71163 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
71165 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71166 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
71168 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71169 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
71171 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71172 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
71174 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71175 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
71177 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71178 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
71180 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71181 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71182 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
71183 Remove conditional code.
71184 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71185 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71186 Remove conditional code.
71187 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71188 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
71189 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
71190 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71191 Remove conditional code.
71192 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71193 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
71194 Remove conditional code.
71195 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71196 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
71197 Remove conditional code.
71198 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71199 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71200 Remove conditional code.
71201 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71202 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71203 Remove conditional code.
71204 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71205 * sysdeps/unix/sysv/linux/sh/pwrite64.c
71206 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71207 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71208 * sysdeps/unix/sysv/linux/sigaction.c
71209 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71210 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71211 * sysdeps/unix/sysv/linux/sigpending.c
71212 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71213 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71214 * sysdeps/unix/sysv/linux/sigprocmask.c
71215 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71216 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71217 * sysdeps/unix/sysv/linux/sigsuspend.c
71218 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71219 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71220 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
71221 (__libc_missing_rt_sigs): Remove.
71222 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
71223 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
71224 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
71225 Remove conditional code.
71226 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
71227 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
71228 return 1.
71229 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
71230 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
71231 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
71232 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
71233
71234 2012-05-14 Andreas Jaeger <aj@suse.de>
71235
71236 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
71237 it's not used in glibc.
71238 (__coshm1): Likewise.
71239 (__acosh1p): Likewise.
71240 (__sgn): Likewise.
71241
71242 * manual/string.texi (Copying and Concatenation): Add missing
71243 variable in concat example.
71244 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
71245
71246 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71247
71248 [BZ #14103]
71249 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
71250 __builtin_clzl with __builtin_clzll.
71251
71252 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71253
71254 [BZ #14104]
71255 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
71256 libc_freeres_ptr.
71257
71258 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71259
71260 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
71261 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
71262 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
71263 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
71264
71265 2012-05-14 Mike Frysinger <vapier@gentoo.org>
71266
71267 * NEWS: Update ia64 info.
71268
71269 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
71270
71271 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
71272 used as bcopy.
71273
71274 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
71275
71276 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
71277 * sysdeps/unix/syscalls.list (dup3): Likewise.
71278 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
71279 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
71280
71281 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
71282
71283 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
71284 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
71285
71286 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
71287
71288 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
71289 thread pointer.
71290 (TLS_IE): Use mov/add instead of movq/addq to load thread
71291 pointer.
71292 (TLS_GD_PREFIX): New.
71293 (TLS_GD): Use it.
71294
71295 2012-05-11 David S. Miller <davem@davemloft.net>
71296
71297 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
71298 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
71299 (_FPU_SETCW): Likewise.
71300
71301 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71302
71303 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
71304 is 32-byte aligned.
71305
71306 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
71307
71308 [BZ #11837]
71309 * iconvdata/gb18030.c: Update tables.
71310 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
71311 characters specially.
71312 (BODY for TO_LOOP): Add encoding of missing ranges.
71313
71314 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
71315
71316 [BZ #13673]
71317 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
71318 * sysdeps/mach/hurd/dup3.c: Likewise.
71319 * sysdeps/mach/hurd/readlinkat.c: Likewise.
71320 * sysdeps/powerpc/memmove.c:: Likewise.
71321
71322 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71323
71324 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
71325 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
71326
71327 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71328
71329 * elf/elf.h (R_X86_64_RELATIVE64): New.
71330 (R_X86_64_NUM): Updated.
71331 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
71332 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
71333 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
71334 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
71335 tst-quad1pie tst-quad2pie
71336 (modules-names): Add tst-quadmod1 tst-quadmod2.
71337 ($(objpfx)tst-quad1): New dependency.
71338 ($(objpfx)tst-quad2): Likewise.
71339 ($(objpfx)tst-quad1pie): Likewise.
71340 ($(objpfx)tst-quad2pie): Likewise.
71341 * sysdeps/x86_64/tst-quad1.c: New file.
71342 * sysdeps/x86_64/tst-quad1pie.c: New file.
71343 * sysdeps/x86_64/tst-quad2.c: Likewise.
71344 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
71345 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
71346 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
71347 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
71348 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
71349
71350 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71351
71352 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
71353 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
71354 * streams/stropts.h (t_scalar_t): Define type.
71355
71356 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
71357 (_PATH_PRESERVE): Set to "/var/lib".
71358 (_PATH_RWHODIR): Set to "/var/spool/rwho".
71359
71360 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
71361 instead of int.
71362
71363 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
71364 if __dir_mkfile succeeded.
71365
71366 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
71367 checking for _hurd_dtablesize. Unlock it right after having
71368 finished _hurd_dtable allocation.
71369
71370 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71371
71372 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
71373 * sysdeps/mach/hurd/configure: Regenerated.
71374 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
71375 special-casing to...
71376 * sysdeps/gnu/configure.in: ... this new file.
71377 * sysdeps/unix/sysv/linux/configure: Regenerated.
71378 * sysdeps/gnu/configure: New generated file.
71379
71380 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
71381 for Linux: use nsec instead of usec, as well as:
71382 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
71383 members of type struct timespec.
71384 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
71385 New macros.
71386 (struct stat64): Likewise.
71387 (_STATBUF_ST_NSEC): New macro.
71388 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
71389
71390 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
71391 __strtoul_internal rather than strtoul.
71392
71393 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
71394
71395 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
71396 and reject them.
71397
71398 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71399
71400 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
71401 which preserves existing values.
71402 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
71403
71404 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
71405
71406 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
71407 TIMEOUT values. Return EINVAL for NFDS values either negative or
71408 greater than FD_SETSIZE.
71409
71410 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71411
71412 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
71413 allocated, call __vm_protect to finish enabling the existing space, and
71414 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
71415 allocate the remainder.
71416
71417 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
71418
71419 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
71420 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
71421
71422 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71423
71424 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
71425 sysdeps/mach/hurd/readlink.c.
71426
71427 * posix/tst-sysconf.c (posix_options): Only use
71428 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
71429 _POSIX_SYNCHRONIZED_IO when they are defined
71430 * sysdeps/mach/hurd/bits/posix_opt.h:
71431 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
71432 (_XOPEN_REALTIME): Undefine macro.
71433 (_XOPEN_REALTIME_THREADS): Undefine macro.
71434 (_XOPEN_SHM): Undefine macro.
71435 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
71436 macro to -1.
71437 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
71438 macro to -1.
71439 (_POSIX_ASYNC_IO): Undefine macro.
71440 (_POSIX_PRIORITIZED_IO): Undefine macro.
71441 (_POSIX_SPIN_LOCKS): Define macro to -1.
71442
71443 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
71444 SA_NODEFER, SA_RESETHAND.
71445 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
71446 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
71447 F_DUPFD_CLOEXEC.
71448
71449 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71450
71451 * elf/Makefile (pldd-modules): Define unconditionally.
71452
71453 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71454
71455 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
71456
71457 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71458
71459 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
71460 Return ENOENT when name is empty.
71461 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
71462
71463 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71464
71465 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
71466
71467 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
71468
71469 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71470
71471 Fix mlock in all cases except non-readable pages.
71472 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
71473 instead of VM_PROT_ALL as parameter to __vm_wire function.
71474
71475 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
71476 (__mkdir): When path is `/', just fail with EEXIST.
71477 * sysdeps/mach/hurd/mkdirat.c: Likewise.
71478
71479 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71480
71481 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
71482 <sys/uio.h> (for writev).
71483 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
71484 and <sys/param.h> (for MIN).
71485
71486 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
71487
71488 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
71489 REQUESTED_TIME. Properly set the remaining time and return EINTR
71490 if interrupted.
71491
71492 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71493
71494 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
71495 Depend on against $(link-rpcuserlibs).
71496
71497 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71498
71499 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
71500 (__libc_stack_end): Do not use attribute_relro.
71501 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
71502 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
71503 to libthread-provided value.
71504 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
71505 attribute_relro.
71506
71507 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71508
71509 [BZ #3748]
71510 * bits/libc-lock.h (__libc_once_get): New macro.
71511 * sysdeps/mach/bits/libc-lock.h: Likewise.
71512 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
71513 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
71514 instead of using implementation details.
71515
71516 * libio/fileops.c: Unconditionally include <kernel-features.h>.
71517 * libio/freopen.c: Likewise.
71518 * libio/freopen64.c: Likewise.
71519 * misc/syslog.c: Likewise.
71520 * nscd/connections.c: Likewise.
71521 * nscd/netgroupcache.c: Likewise.
71522 * sysdeps/posix/getcwd.c: Likewise.
71523
71524 2012-05-10 Roland McGrath <roland@hack.frob.com>
71525
71526 * math/w_ilogbf.c: Add #include <limits.h>.
71527
71528 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71529
71530 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
71531 path instead of returning without unlocking.
71532
71533 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
71534 immediate-write ioctls.
71535 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
71536
71537 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71538
71539 * sysdeps/mach/hurd/i386/init-first.c (init): Use
71540 __builtin_frame_address instead of making assumptions about the
71541 location of the return address relative to DATA. Force early load of
71542 the return address.
71543 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
71544 __builtin_frame_address.
71545
71546 dup3 for GNU Hurd.
71547 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
71548 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
71549 implement dup3 and do some further code clean-ups.
71550 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
71551 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
71552
71553 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71554
71555 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
71556
71557 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
71558 HURD_CRITICAL_END around holding _hurd_dtable_lock.
71559 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
71560 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
71561 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
71562 d->port.lock.
71563
71564 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
71565 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
71566 when handler == SIG_ERR, not when handler != SIG_ERR.
71567
71568 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71569
71570 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
71571 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
71572 definitions.
71573
71574 accept4 for GNU Hurd.
71575 * include/sys/socket.h (__libc_accept4): New prototype.
71576 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
71577 to implement __libc_accept4.
71578 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
71579 __libc_accept4.
71580 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
71581
71582 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
71583 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
71584 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
71585 signal-defines.sym.
71586
71587 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71588
71589 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
71590
71591 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71592
71593 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
71594 assertion on O_CLOEXEC flag.
71595 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
71596 * hurd/intern-fd.c: Likewise.
71597 * hurd/port2fd.c: Likewise.
71598
71599 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71600
71601 [BZ #3906]
71602 * bits/in.h (IPV6_PKTINFO): Define new macro.
71603 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
71604
71605 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71606
71607 [BZ #13954]
71608 [BZ #13955]
71609 [BZ #13956]
71610 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
71611 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
71612 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
71613 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
71614 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71615 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
71616 * math/libm-test.inc (logb_test) : Additional logb tests.
71617
71618 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
71619 Andreas Jaeger <aj@suse.de>
71620
71621 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
71622 * configure: Regenerated.
71623 * config.h.in (LINK_OBSOLETE_RPC): New macro.
71624 * config.make.in (link-obsolete-rpc): New substituted variable.
71625 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
71626 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
71627 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
71628 (shared-only-routines): Don't set it under [link-obsolete-rpc],
71629 so that libc.a contains the symbols.
71630 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
71631 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
71632 * sunrpc/auth_none.c: Likewise.
71633 * sunrpc/auth_unix.c: Likewise.
71634 * sunrpc/authdes_prot.c: Likewise.
71635 * sunrpc/authuxprot.c: Likewise.
71636 * sunrpc/clnt_gen.c: Likewise.
71637 * sunrpc/clnt_perr.c: Likewise.
71638 * sunrpc/clnt_raw.c: Likewise.
71639 * sunrpc/clnt_simp.c: Likewise.
71640 * sunrpc/clnt_tcp.c: Likewise.
71641 * sunrpc/clnt_udp.c: Likewise.
71642 * sunrpc/clnt_unix.c: Likewise.
71643 * sunrpc/des_crypt.c: Likewise.
71644 * sunrpc/des_soft.c: Likewise.
71645 * sunrpc/get_myaddr.c: Likewise.
71646 * sunrpc/key_call.c: Likewise.
71647 * sunrpc/key_prot.c: Likewise.
71648 * sunrpc/netname.c: Likewise.
71649 * sunrpc/pm_getmaps.c: Likewise.
71650 * sunrpc/pm_getport.c: Likewise.
71651 * sunrpc/pmap_clnt.c: Likewise.
71652 * sunrpc/pmap_prot.c: Likewise.
71653 * sunrpc/pmap_prot2.c: Likewise.
71654 * sunrpc/pmap_rmt.c: Likewise.
71655 * sunrpc/publickey.c: Likewise.
71656 * sunrpc/rpc_cmsg.c: Likewise.
71657 * sunrpc/rpc_common.c: Likewise.
71658 * sunrpc/rpc_dtable.c: Likewise.
71659 * sunrpc/rpc_prot.c: Likewise.
71660 * sunrpc/rpc_thread.c: Likewise.
71661 * sunrpc/rtime.c: Likewise.
71662 * sunrpc/svc.c: Likewise.
71663 * sunrpc/svc_auth.c: Likewise.
71664 * sunrpc/svc_raw.c: Likewise.
71665 * sunrpc/svc_run.c: Likewise.
71666 * sunrpc/svc_tcp.c: Likewise.
71667 * sunrpc/svc_udp.c: Likewise.
71668 * sunrpc/svc_unix.c: Likewise.
71669 * sunrpc/svcauth_des.c: Likewise.
71670 * sunrpc/xcrypt.c: Likewise.
71671 * sunrpc/xdr.c: Likewise.
71672 * sunrpc/xdr_array.c: Likewise.
71673 * sunrpc/xdr_float.c: Likewise.
71674 * sunrpc/xdr_intXX_t.c: Likewise.
71675 * sunrpc/xdr_mem.c: Likewise.
71676 * sunrpc/xdr_rec.c: Likewise.
71677 * sunrpc/xdr_ref.c: Likewise.
71678 * sunrpc/xdr_sizeof.c: Likewise.
71679 * sunrpc/xdr_stdio.c: Likewise.
71680
71681 2012-05-10 Roland McGrath <roland@hack.frob.com>
71682
71683 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
71684 change. Update copyright years.
71685
71686 2012-05-10 Joseph Myers <joseph@codesourcery.com>
71687
71688 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
71689
71690 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
71691 Joseph Myers <joseph@codesourcery.com>
71692 Paul Pluzhnikov <ppluzhnikov@google.com>
71693
71694 [BZ #14012]
71695 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
71696 requiring rpcgen.
71697 [cross-compiling] (extra-libs): Likewise.
71698 [cross-compiling] (extra-libs-others): Likewise.
71699 [cross-compiling] (librpcsvc-routines): Likewise.
71700 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
71701 [cross-compiling] (omit-deps): Likewise.
71702 (sunrpc-CPPFLAGS): New variable.
71703 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
71704 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
71705 (cross-rpcgen-objs): New variable.
71706 (extra-objs): Append $(cross-rpcgen-objs).
71707 ($(cross-rpcgen-objs)): New rule.
71708 ($(objpfx)cross-rpcgen): Likewise.
71709 (rpcgen-cmd): Define to use $(built-program-file). Expand
71710 comment.
71711 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
71712 ($(objpfx)x%.stmp): Likewise.
71713 * sunrpc/proto.h [IS_IN_build] (_): Define.
71714 [IS_IN_build] (_libc_intl_domainname): Likewise.
71715
71716 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71717
71718 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
71719 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
71720 and R_X86_64_TPOFF64.
71721
71722 2012-05-10 Joseph Myers <joseph@codesourcery.com>
71723
71724 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
71725 sysdeps/unix/sysv/syscalls.list.
71726 (stime): Likewise.
71727 (utime): Likewise.
71728 * sysdeps/unix/sysv/syscalls.list: Remove file.
71729
71730 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
71731
71732 [BZ #3440]
71733 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
71734 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
71735 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
71736 (__LC_IDENTIFICATION): Make these macros useful in #if
71737 expressions, as required by C99.
71738
71739 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
71740
71741 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
71742 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
71743 after this.
71744
71745 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
71746
71747 * stdlib/longlong.h: Updated from GCC.
71748
71749 2012-05-09 Andreas Jaeger <aj@suse.de>
71750
71751 * nscd/nscd.c (run_modes): Make named enum, reorder so that
71752 default is first entry.
71753 (run_mode): Set type.
71754 (main): Remove informal message about syslog.
71755 (options): Fix typo.
71756
71757 [BZ #14053]
71758 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
71759 to asm.
71760 (lrint): Likewise.
71761 (llrintf): Likewise.
71762 (llrint): Likewise.
71763 (rint): Likewise.
71764 (rintf): Likewise.
71765 (nearbyint): Likewise.
71766 (nearbyintf): Likewise.
71767
71768 2012-05-09 Andreas Jaeger <aj@suse.de>
71769 Pedro Alves <palves@redhat.com>
71770
71771 * nscd/nscd.c (run_mode): Use enum.
71772 (main): Cleanup coding style issue.
71773
71774 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
71775 Andreas Jaeger <aj@suse.de>
71776
71777 * nscd/nscd.c (go_background): Replaced with...
71778 (run_mode): ... this.
71779 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
71780 (options): Add -F --foreground.
71781 (main): Implement it.
71782 (parse_opt): Parse it.
71783
71784 2012-05-09 Andreas Jaeger <aj@suse.de>
71785
71786 [BZ #14083]
71787 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
71788 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
71789 -Wconversion warning.
71790 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
71791 Likewise.
71792
71793 2012-05-09 Joseph Myers <joseph@codesourcery.com>
71794
71795 * conform/data/locale.h-data (NULL): Use macro-constant. Require
71796 == 0.
71797 (LC_ALL): Use macro-int-constant.
71798 (LC_COLLATE): Likewise.
71799 (LC_CTYPE): Likewise.
71800 (LC_MESSAGES): Likewise.
71801 (LC_MONETARY): Likewise.
71802 (LC_NUMERIC): Likewise.
71803 (LC_TIME): Likewise.
71804 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
71805 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
71806 [ISO || ISO99 || ISO11] (*_t): Do not allow.
71807 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
71808 Specify type.
71809 [C99-based standards] (float_t): Expect type.
71810 [C99-based standards] (double_t): Expect type.
71811 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
71812 type.
71813 [C99-based standards] (HUGE_VALL): Likewise.
71814 [C99-based standards] (INFINITY): Likewise.
71815 [C99-based standards] (NAN): Likewise.
71816 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
71817 [C99-based standards] (FP_NAN): Likewise.
71818 [C99-based standards] (FP_NORMAL): Likewise.
71819 [C99-based standards] (FP_SUBNORMAL): Likewise.
71820 [C99-based standards] (FP_ZERO): Likewise.
71821 [C99-based standards] (FP_FAST_FMA): Use
71822 optional-macro-int-constant. Specify type. Require == 1.
71823 [C99-based standards] (FP_FAST_FMAF): Likewise.
71824 [C99-based standards] (FP_FAST_FMAL): Likewise.
71825 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
71826 [C99-based standards] (FP_ILOGBNAN): Likewise.
71827 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
71828 Specify type.
71829 [C99-based standards] (MATH_ERREXCEPT): Likewise.
71830 [C99-based standards] (math_errhandling): Specify type.
71831 [ISO99 || ISO11] (signgam): Do not allow.
71832 [non-C99-based standards] (copysignf): Do not allow.
71833 [non-C99-based standards] (exp2f): Likewise.
71834 [non-C99-based standards] (log2f): Likewise.
71835 [non-C99-based standards] (modff): Allow.
71836 [non-C99-based standards] (erff): Do not allow.
71837 [non-C99-based standards] (erfcf): Likewise.
71838 [non-C99-based standards] (gammaf): Likewise.
71839 [non-C99-based standards] (hypotf): Likewise.
71840 [non-C99-based standards] (j0f): Likewise.
71841 [non-C99-based standards] (j1f): Likewise.
71842 [non-C99-based standards] (jnf): Likewise.
71843 [non-C99-based standards] (lgammaf): Likewise.
71844 [non-C99-based standards] (tgammaf): Likewise.
71845 [non-C99-based standards] (y0f): Likewise.
71846 [non-C99-based standards] (y1f): Likewise.
71847 [non-C99-based standards] (ynf): Likewise.
71848 [non-C99-based standards] (isnanf): Likewise.
71849 [non-C99-based standards] (acoshf): Likewise.
71850 [non-C99-based standards] (asinhf): Likewise.
71851 [non-C99-based standards] (atanhf): Likewise.
71852 [non-C99-based standards] (cbrtf): Likewise.
71853 [non-C99-based standards] (expm1f): Likewise.
71854 [non-C99-based standards] (ilogbf): Likewise.
71855 [non-C99-based standards] (log1pf): Likewise.
71856 [non-C99-based standards] (logbf): Likewise.
71857 [non-C99-based standards] (nextafterf): Likewise.
71858 [non-C99-based standards] (remainderf): Likewise.
71859 [non-C99-based standards] (rintf): Likewise.
71860 [non-C99-based standards] (scalbf): Likewise.
71861 [non-C99-based standards] (copysignl): Likewise.
71862 [non-C99-based standards] (exp2l): Likewise.
71863 [non-C99-based standards] (log2l): Likewise.
71864 [non-C99-based standards] (modfl): Allow.
71865 [non-C99-based standards] (erfl): Do not allow.
71866 [non-C99-based standards] (erfcl): Likewise.
71867 [non-C99-based standards] (gammal): Likewise.
71868 [non-C99-based standards] (hypotl): Likewise.
71869 [non-C99-based standards] (j0l): Likewise.
71870 [non-C99-based standards] (j1l): Likewise.
71871 [non-C99-based standards] (jnl): Likewise.
71872 [non-C99-based standards] (lgammal): Likewise.
71873 [non-C99-based standards] (tgammal): Likewise.
71874 [non-C99-based standards] (y0l): Likewise.
71875 [non-C99-based standards] (y1l): Likewise.
71876 [non-C99-based standards] (ynl): Likewise.
71877 [non-C99-based standards] (isnanl): Likewise.
71878 [non-C99-based standards] (acoshl): Likewise.
71879 [non-C99-based standards] (asinhl): Likewise.
71880 [non-C99-based standards] (atanhl): Likewise.
71881 [non-C99-based standards] (cbrtl): Likewise.
71882 [non-C99-based standards] (expm1l): Likewise.
71883 [non-C99-based standards] (ilogbl): Likewise.
71884 [non-C99-based standards] (log1pl): Likewise.
71885 [non-C99-based standards] (logbl): Likewise.
71886 [non-C99-based standards] (nextafterl): Likewise.
71887 [non-C99-based standards] (remainderl): Likewise.
71888 [non-C99-based standards] (rintl): Likewise.
71889 [non-C99-based standards] (scalbl): Likewise.
71890 [ISO || ISO99 || ISO11] (*_t): Do not allow.
71891 [non-C99-based standards] (FP_*): Do not allow.
71892 [C99-based standards] (FP_*): Change to
71893 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
71894 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71895 allow.
71896 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
71897 (SIG_ERR): Likewise.
71898 [X/Open-based standards] (SIG_HOLD): Likewise.
71899 (SIG_IGN): Likewise.
71900 (SIGABRT): Use macro-int-constant. Specify type. Require
71901 positive value.
71902 (SIGFPE): Likewise.
71903 (SIGILL): Likewise.
71904 (SIGINT): Likewise.
71905 (SIGSEGV): Likewise.
71906 (SIGTER): Likewise.
71907 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
71908 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
71909 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
71910 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
71911 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
71912 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
71913 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
71914 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
71915 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
71916 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
71917 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
71918 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
71919 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
71920 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
71921 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
71922 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
71923 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
71924 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
71925 [X/Open-based standards] (SIGTRAP): Likewise.
71926 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
71927 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
71928 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
71929 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
71930 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71931 allow.
71932
71933 2012-05-08 Ian Wienand <ianw@vmware.com>
71934
71935 [BZ #14080]
71936 * time/tzset.c (__tzset_parse_tz): Update default rules for
71937 daylight time changes in the Energy Policy Act of 2005.
71938
71939 2012-05-09 Andreas Jaeger <aj@suse.de>
71940
71941 [BZ #13983]
71942 * elf/ldconfig.c (parse_conf): Change string to make clear that
71943 ldconfig only issued a warning if ld.so.conf does not exist.
71944
71945 2012-05-08 David S. Miller <davem@davemloft.net>
71946
71947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
71948 movxtod instead of popping the value on the stack.
71949
71950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71951
71952 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
71953
71954 * config.h.in: Add HAVE_ARM_PCS_VFP.
71955
71956 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
71957
71958 [BZ #13979]
71959 * include/features.h: Warn if user requests __FORTIFY_SOURCE
71960 checking but the checks are disabled for any reason.
71961
71962 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
71963
71964 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
71965 and ELF64_R_TYPE with ELFW(R_TYPE).
71966
71967 2012-05-08 Joseph Myers <joseph@codesourcery.com>
71968
71969 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
71970 (ulimit): Likewise.
71971
71972 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
71973 (settimeofday): Likewise.
71974
71975 2012-05-08 Mike Frysinger <vapier@gentoo.org>
71976
71977 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
71978 a struct th_u2 inside the union, and move tu_block/tu_code into
71979 a new th_u3 union of tu_block/tu_code inside of that. Move
71980 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
71981 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
71982 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
71983 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
71984 (th_stuff): Change to th_u1.tu_stuff.
71985 (th_data): Define.
71986 (th_msg): Change to th_u1.th_u2.tu_data.
71987
71988 2012-05-07 David S. Miller <davem@davemloft.net>
71989
71990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71991
71992 [BZ #14074]
71993 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
71994 (SETUP_PIC_REG): Use it.
71995 (SETUP_PIC_REG_LEAF): Use it.
71996
71997 2012-05-07 Joseph Myers <joseph@codesourcery.com>
71998
71999 [BZ #13885]
72000 [BZ #13923]
72001 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72002 USE_AS_EXPM1L.
72003 (EXPL_FINITE): Likewise.
72004 (FLDLOG): Likewise.
72005 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72006 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72007 e_expl.S.
72008 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72009 USE_AS_EXPM1L.
72010 (EXPL_FINITE): Likewise.
72011 (FLDLOG): Likewise.
72012 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72013 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72014 e_expl.S.
72015 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
72016 test of -max_value argument for long double.
72017 * sysdeps/i386/fpu/libm-test-ulps: Update.
72018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72019
72020 2012-05-06 David S. Miller <davem@davemloft.net>
72021
72022 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
72023 quad soft-float symbols whose references which are compiler
72024 generated.
72025 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72026
72027 2012-05-06 Joseph Myers <joseph@codesourcery.com>
72028
72029 [BZ #13884]
72030 [BZ #13914]
72031 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72032 USE_AS_EXP10L.
72033 (EXPL_FINITE): Likewise.
72034 (FLDLOG): Likewise.
72035 (c0): Likewise.
72036 (c1): Likewise.
72037 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
72038 Adjust comments for base varying.
72039 (__expl_finite): Change alias to EXPL_FINITE.
72040 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
72041 e_expl.S.
72042 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
72043 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
72044 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
72045 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
72046 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72047 USE_AS_EXP10L.
72048 (EXPL_FINITE): Likewise.
72049 (FLDLOG): Likewise.
72050 (c0): Likewise.
72051 (c1): Likewise.
72052 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
72053 Adjust comments for base varying.
72054 (__expl_finite): Change alias to EXPL_FINITE.
72055 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
72056 tests for bugs.
72057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72058
72059 [BZ #14064]
72060 * math/libm-test.inc (check_float_internal): Correct ulp
72061 calculation for subnormal expected results.
72062
72063 2012-05-06 Andreas Jaeger <aj@suse.de>
72064
72065 * Makeconfig (+math-flags): New, set to -frounding-math.
72066 (+cflags): Add +math-flags so that all of glibc gets compiled with
72067 it.
72068
72069 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
72070
72071 2012-05-05 Joseph Myers <joseph@codesourcery.com>
72072
72073 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
72074 Disable one test.
72075
72076 [BZ #13787]
72077 [BZ #13922]
72078 [BZ #14036]
72079 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
72080 (__ieee754_expl): Allow for and saturate large arguments.
72081 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
72082 (u_threshold): Likewise.
72083 (__exp): Call __ieee754_exp before checking for overflow and
72084 underflow.
72085 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
72086 (u_threshold): Likewise.
72087 (__expf): Call __ieee754_expf before checking for overflow and
72088 underflow.
72089 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
72090 (u_threshold): Likewise.
72091 (__expl): Call __ieee754_expl before checking for overflow and
72092 underflow.
72093 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
72094 (__ieee754_expl): Allow for and saturate large arguments.
72095 * math/libm-test.inc (exp_test): Add another test. Do not allow
72096 missing overflow exception on overflow.
72097 (expm1_test): Do not allow missing overflow exception on overflow.
72098
72099 * sysdeps/i386/fpu/e_expl.c: Move to ...
72100 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
72101 rather than using inline asm.
72102 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
72103 * sysdeps/x86_64/fpu/e_expl.S: Copy from
72104 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
72105
72106 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
72107 (nice): Likewise.
72108 (poll): Likewise.
72109 (signal): Likewise.
72110 (time): Likewise.
72111 (times): Likewise.
72112
72113 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72114
72115 * sysdeps/unix/syscalls.list (adjtime): Add entry from
72116 sysdeps/unix/common/syscalls.list.
72117 (fchmod): Likewise.
72118 (fchown): Likewise.
72119 (ftruncate): Likewise.
72120 (getrusage): Likewise.
72121 (gettimeofday): Likewise.
72122 (setpgid): Likewise.
72123 (setregid): Likewise.
72124 (setreuid): Likewise.
72125 (sigaction): Likewise.
72126 (truncate): Likewise.
72127 (vhangup): Likewise.
72128 * sysdeps/unix/common/syscalls.list: Remove file.
72129 * sysdeps/unix/bsd/Implies: Don't include unix/common.
72130 * sysdeps/unix/sysv/linux/Implies: Likewise.
72131
72132 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
72133
72134 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
72135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
72136 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
72137 Moved to ...
72138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
72139 Here.
72140 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
72141 to ...
72142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
72143 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
72144 to ...
72145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
72146 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
72147 to ...
72148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
72149 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
72150 to ...
72151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
72152 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
72153 to ...
72154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
72155 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
72156 to ...
72157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
72158 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
72159 to ...
72160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
72161 Here.
72162 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
72163 to ...
72164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
72165 Here.
72166 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
72167 to ...
72168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
72169 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
72170 Moved to ...
72171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
72172 Here.
72173 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
72174 to ...
72175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
72176
72177 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72178
72179 * sysdeps/unix/common/bits/dirent.h: Remove file.
72180 * sysdeps/unix/common/bits/fcntl.h: Likewise.
72181
72182 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
72183 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
72184 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
72185 * sysdeps/unix/bsd/isatty.c: Likewise.
72186 * sysdeps/unix/bsd/tcdrain.c: Likewise.
72187 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
72188 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
72189
72190 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72191
72192 [BZ #13563]
72193 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
72194 long double comparison inaccuracies.
72195 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
72196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72197
72198 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
72199
72200 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
72201 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
72202
72203 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72204
72205 [BZ #14049]
72206 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
72207 nonzero digits before rounding a hex value.
72208 * stdlib/tst-strtod.c (tests): Add another test.
72209
72210 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72211
72212 * sysdeps/s390/fpu/libm-test-ulps: Update.
72213
72214 2012-05-03 Andreas Jaeger <aj@suse.de>
72215
72216 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
72217 does not get optimized out.
72218 (malloc_opt_barrier): New.
72219
72220 2012-05-03 Andreas Jaeger <aj@suse.de>
72221 Roland McGrath <roland@hack.frob.com>
72222
72223 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
72224 intermediate file deletion.
72225 (generated): Add .symlist files.
72226
72227 2012-05-03 Joseph Myers <joseph@codesourcery.com>
72228
72229 [BZ #13775]
72230 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
72231 Redirect under this condition.
72232 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72233 [__USE_GNU] (__dprintf_chk): Not under this condition.
72234 [__USE_GNU] (__vdprintf_chk): Likewise.
72235 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
72236 under this condition.
72237 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72238 [__USE_XOPEN2K8] (dprintf): Define under this condition.
72239 [__USE_XOPEN2K8] (vdprintf): Likewise.
72240 [__USE_GNU] (__dprintf_chk): Not under this condition.
72241 [__USE_GNU] (__vdprintf_chk): Likewise.
72242 [__USE_GNU] (dprintf): Likewise.
72243 [__USE_GNU] (vdprintf): Likewise.
72244
72245 2012-05-03 Roland McGrath <roland@hack.frob.com>
72246
72247 * elf/Makefile (common-generated): Set this instead of generated for
72248 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
72249 $(all-built-dso)-derived lists.
72250
72251 2012-05-03 Andreas Jaeger <aj@suse.de>
72252
72253 * sysdeps/i386/fpu/libm-test-ulps: Update.
72254
72255 * FAQ: Removed.
72256 * FAQ.in: Likewise.
72257 * scripts/gen-FAQ.pl: Likewise.
72258 * manual/install.texi (Installation): Point to online location of
72259 FAQ.
72260 * Makefile (files-for-dist): Remove FAQ.
72261 (FAQ): Remove.
72262
72263 2012-05-02 Allan McRae <allan@archlinux.org>
72264
72265 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
72266 (LDFLAGS-reldepmod5.so): Likewise.
72267 (LDFLAGS-reldep6mod1.so): Likewise.
72268 (LDFLAGS-reldep6mod4.so): Likewise.
72269 (LDFLAGS-reldep8mod3.so): Likewise.
72270 (LDFLAGS-unload4mod1.so): Likewise.
72271 (LDFLAGS-unload4mod2.so): Likewise.
72272 (LDFLAGS-tst-initorder): Likewise.
72273 (LDFLAGS-tst-initordera2.so): Likewise.
72274 (LDFLAGS-tst-initordera3.so): Likewise.
72275 (LDFLAGS-tst-initordera4.so): Likewise.
72276 (LDFLAGS-tst-initorderb2.so): Likewise.
72277 (LDFLAGS-noload): Likewise.
72278 (LDFLAGS-next): Likewise.
72279 (LDFLAGS-order2mod1.so): Likewise.
72280 (LDFLAGS-order2mod2.so): Likewise.
72281 (LDFLAGS-tst-initorder2): Likewise.
72282 (LDFLAGS-tst-initorder2a.so): Likewise.
72283 (LDFLAGS-tst-initorder2b.so): Likewise.
72284 (LDFLAGS-tst-initorder2c.so): Likewise.
72285 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
72286
72287 2012-05-02 David S. Miller <davem@davemloft.net>
72288
72289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72290
72291 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
72292
72293 [BZ #14055]
72294 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
72295
72296 2012-05-02 Andreas Jaeger <aj@suse.de>
72297
72298 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
72299 since we manipulate rounding mode.
72300 (CPPFLAGS-test-idouble.c): Likewise.
72301 (CPPFLAGS-test-ifloat.c): Likewise.
72302 (CFLAGS-test-ldouble.c): Likewise.
72303 (CFLAGS-test-double.c): Likewise.
72304 (CFLAGS-test-float.c): Likewise.
72305 (CFLAGS-test-misc.c): Likewise.
72306 (CFLAGS-test-test-fenv.c): Likewise.
72307
72308 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72309
72310 [BZ #2550]
72311 [BZ #2570]
72312 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
72313 comparisons to determine direction to adjust input.
72314
72315 2012-05-01 Roland McGrath <roland@hack.frob.com>
72316
72317 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
72318 output to the target.
72319
72320 * scripts/localplt.awk: New file.
72321 * elf/Makefile ($(objpfx)check-localplt): Target removed.
72322 (check-localplt-CFLAGS): Variable removed.
72323 ($(all-built-dso:=.jmprel)): New static pattern rule.
72324 (generated): Add those targets.
72325 (localplt-built-dso): New variable.
72326 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
72327
72328 * elf/check-localplt.c: File removed.
72329
72330 * scripts/check-execstack.awk: New file.
72331 * elf/Makefile ($(objpfx)check-execstack): Target removed.
72332 (check-execstack-CFLAGS): Variable removed.
72333 ($(objpfx)check-execstack.h): Target removed.
72334 ($(objpfx)execstack-default): New target.
72335 (generated): Add that instead of check-execstack.h.
72336 ($(all-built-dso:=.phdr)): New static pattern rule.
72337 (generated): Add those targets.
72338 * elf/check-execstack.c: File removed.
72339
72340 * scripts/check-textrel.awk: New file.
72341 * elf/Makefile ($(objpfx)check-textrel): Target removed.
72342 (check-textrel-CFLAGS): Variable removed.
72343 (all-built-dso): Use := to define.o
72344 ($(all-built-dso:=.dyn)): New static pattern rule.
72345 (generated): Add those targets.
72346 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
72347 * config.make.in (READELF): New substituted variable.
72348 * elf/check-textrel.c: File removed.
72349
72350 2012-05-01 Joseph Myers <joseph@codesourcery.com>
72351
72352 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72353 allow.
72354 * conform/data/ctype.h-data [C99-based standards] (isblank):
72355 Expect function.
72356 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
72357 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
72358 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72359 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
72360 Specify type. Require positive value.
72361 (EILSEQ): Likewise.
72362 (ERANGE): Likewise.
72363 [ISO || POSIX] (EILSEQ): Do not expect.
72364 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
72365 Specify type. Require positive value.
72366 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
72367 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
72368 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
72369 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
72370 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
72371 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
72372 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
72373 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
72374 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
72375 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
72376 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
72377 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
72378 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
72379 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
72380 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
72381 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
72382 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
72383 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
72384 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
72385 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
72386 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
72387 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
72388 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
72389 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
72390 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
72391 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
72392 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
72393 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
72394 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
72395 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
72396 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
72397 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
72398 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
72399 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
72400 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
72401 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
72402 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
72403 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
72404 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
72405 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
72406 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
72407 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
72408 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
72409 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
72410 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
72411 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
72412 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
72413 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
72414 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
72415 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
72416 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
72417 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
72418 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
72419 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
72420 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
72421 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
72422 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
72423 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
72424 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
72425 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
72426 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
72427 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
72428 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
72429 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
72430 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
72431 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
72432 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
72433 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
72434 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
72435 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
72436 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
72437 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
72438 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
72439 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
72440 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
72441 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
72442 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
72443 Require >= 2.
72444 (FLT_ROUNDS): Expect as macro, not constant.
72445 (FLT_MANT_DIG): Use macro-int-constant.
72446 (DBL_MANT_DIG): Likewise.
72447 (LDBL_MANT_DIG): Likewise.
72448 (FLT_DIG): Likewise.
72449 (DBL_DIG): Likewise.
72450 (LDBL_DIG): Likewise.
72451 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
72452 (DBL_MIN_EXP): Likewise.
72453 (LDBL_MIN_EXP): Likewise.
72454 (FLT_MAX_EXP): Use macro-int-constant.
72455 (DBL_MAX_EXP): Likewise.
72456 (LDBL_MAX_EXP): Likewise.
72457 (FLT_MAX_10_EXP): Likewise.
72458 (DBL_MAX_10_EXP): Likewise.
72459 (LDBL_MAX_10_EXP): Likewise.
72460 (FLT_MAX): Use macro-constant.
72461 (DBL_MAX): Likewise.
72462 (LDBL_MAX): Likewise.
72463 (FLT_EPSILON): Use macro-constant. Give upper bound.
72464 (DBL_EPSILON): Likewise.
72465 (LDBL_EPSILON): Likewise.
72466 (FLT_MIN): Likewise.
72467 (DBL_MIN): Likewise.
72468 (LDBL_MIN): Likewise.
72469 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
72470 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
72471 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
72472 [ISO11] (FLT_HAS_SUBNORM): Likewise.
72473 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
72474 [ISO11] (DBL_DECIMAL_DIG): Likewise.
72475 [ISO11] (FLT_DECIMAL_DIG): Likewise.
72476 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
72477 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
72478 [ISO11] (FLT_TRUE_MIN): Likewise.
72479 [ISO11] (LDBL_TRUE_MIN): Likewise.
72480 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72481 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
72482 (SCHAR_MIN): Use macro-int-constant. Specify type.
72483 (SCHAR_MAX): Likewise.
72484 (UCHAR_MAX): Likewise.
72485 (CHAR_MIN): Likewise.
72486 (CHAR_MAX): Likewise.
72487 (MB_LEN_MAX): Use macro-int-constant.
72488 (SHRT_MIN): Use macro-int-constant. Specify type.
72489 (SHRT_MAX): Likewise.
72490 (USHRT_MAX): Likewise.
72491 (INT_MAX): Likewise.
72492 (INT_MIN): Use macro-int-constant. Specify type. Make upper
72493 bound negative.
72494 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
72495 bound with "U".
72496 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
72497 bound with "L".
72498 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
72499 bound negative. Suffix upper bound with "L".
72500 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
72501 bound with "UL".
72502 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
72503 Specify type.
72504 [C99-based standards] (LLONG_MAX): Likewise.
72505 [C99-based standards] (ULLONG_MAX): Likewise.
72506 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
72507 == 0.
72508 [ISO11] (max_align_t): Require type.
72509 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72510
72511 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
72512 from $CFLAGS, without defining away __attribute__ calls.
72513 (checknamespace): Use $CFLAGS_namespace.
72514
72515 * conform/conformtest.pl (@keywords): Only include C99 keywords
72516 for standards based on C99 or C11.
72517
72518 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
72519 Disable tests.
72520 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
72521 UNIX98]: Likewise.
72522
72523 * conform/conformtest.pl: Handle "macro-int-constant" and test for
72524 usability of symbols in #if.
72525
72526 * conform/conformtest.pl: If macro or constant types start
72527 "promoted:", expect the symbol to be of the following type
72528 promoted by the integer promotions.
72529
72530 * conform/conformtest.pl: Parse all "constant" and "macro" lines
72531 in one place. Also handle "macro-constant".
72532
72533 * conform/conformtest.pl: Only accept expected macro values with
72534 "==". Parse all "macro" lines in one place.
72535 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
72536
72537 * conform/conformtest.pl: Handle braced types on "constant" lines
72538 instead of handling "typed-constant".
72539 * conform/data/signal.h-data: Use "constant" instead of
72540 "typed-constant".
72541
72542 * conform/conformtest.pl: Handle "optional-" at start of lines in
72543 one place rather than duplicating several cases. Handle each
72544 format of "macro" line with initial "optional-".
72545
72546 * conform/conformtest.pl: Only accept expected constant or
72547 optional-constant values with "==". Parse all "constant" lines in
72548 one place. Parse all "optional-constant" lines in one place.
72549 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
72550 * conform/data/fmtmsg.h-data: Likewise.
72551 * conform/data/netinet/in.h-data: Likewise.
72552 * conform/data/tar.h-data: Likewise.
72553 * conform/data/limits.h-data: Use "==" form on "constant" and
72554 "optional-constant" lines.
72555
72556 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
72557 Use -std=c99 for XOPEN2K.
72558 (@knownproblems): Remove.
72559 (newtoken): Don't check %isknown.
72560
72561 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
72562 Do not expect macro.
72563 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
72564 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
72565 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
72566 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
72567 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
72568 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
72569 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
72570 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
72571 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
72572 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
72573 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
72574 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
72575 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
72576 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
72577 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
72578 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
72579 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
72580 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
72581 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
72582 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
72583 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
72584 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
72585 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
72586 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
72587 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
72588 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
72589 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
72590 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
72591 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
72592 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
72593 [XPG3] (acosh): Likewise.
72594 [XPG3] (asinh): Likewise.
72595 [XPG3] (atanh): Likewise.
72596 [XPG3] (cbrt): Likewise.
72597 [XPG3] (expm1): Likewise.
72598 [XPG3] (ilogb): Likewise.
72599 [XPG3] (log1p): Likewise.
72600 [XPG3] (logb): Likewise.
72601 [XPG3] (nextafter): Likewise.
72602 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
72603 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
72604 [XPG3] (remainder): Likewise.
72605 [XPG3] (rint): Likewise.
72606 [XPG3 || XPG4 || UNIX98] (round): Likewise.
72607 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
72608 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
72609 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
72610 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
72611 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
72612 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
72613 [UNIX98 || XOPEN2K] (scalb): Expect.
72614 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
72615 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
72616 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
72617 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
72618 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
72619 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
72620 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
72621 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
72622 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
72623 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
72624 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
72625 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
72626 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
72627 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
72628 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
72629 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
72630 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
72631 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
72632 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
72633 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
72634 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
72635 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
72636 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
72637 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
72638 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
72639 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
72640 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
72641 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
72642 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
72643 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
72644 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
72645 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
72646 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
72647 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
72648 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
72649 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
72650 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
72651 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
72652 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
72653 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
72654 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
72655 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
72656 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
72657 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
72658 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
72659 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
72660 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
72661 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
72662 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
72663 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
72664 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
72665 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
72666 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
72667 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
72668 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
72669 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
72670 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
72671 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
72672 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
72673 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
72674 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
72675 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
72676 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
72677 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
72678 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
72679 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
72680 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
72681 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
72682 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
72683 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
72684 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
72685 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
72686 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
72687 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
72688 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
72689 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
72690 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
72691 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
72692 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
72693 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
72694 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
72695 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
72696 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
72697 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
72698 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
72699 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
72700 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
72701 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
72702 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
72703 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
72704 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
72705 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
72706 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
72707 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
72708 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
72709 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
72710 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
72711 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
72712 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
72713 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
72714 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
72715 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
72716 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
72717 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
72718 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
72719 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
72720 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
72721 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
72722 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
72723 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
72724 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
72725 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
72726 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
72727 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
72728 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
72729 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
72730 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
72731 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
72732 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
72733 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
72734 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
72735 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
72736 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
72737 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
72738 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
72739 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
72740 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
72741 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
72742 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
72743 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
72744 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
72745 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
72746 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
72747 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
72748 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
72749 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
72750 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
72751
72752 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
72753 _XOPEN_SOURCE_EXTENDED for XPG4.
72754
72755 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
72756
72757 * Makeconfig (localtime): Remove variable.
72758 (inst_localtime-file): Likewise.
72759
72760 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
72761
72762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
72763 Update.
72764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72765 Update.
72766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
72767 Update.
72768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
72769 Update.
72770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
72771 Update.
72772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
72773 Update.
72774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72775 Update.
72776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
72777 Update.
72778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
72779 Update.
72780
72781 2012-05-01 Joseph Myers <joseph@codesourcery.com>
72782
72783 [BZ #2550]
72784 [BZ #2570]
72785 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
72786 comparisons to determine direction to adjust input.
72787 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
72788 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
72789 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
72790 Likewise.
72791 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
72792 Likewise.
72793 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
72794 Likewise.
72795 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
72796 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
72797 Likewise.
72798 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
72799 Likewise.
72800 * math/libm-test.inc (nexttoward_test): Add more tests.
72801
72802 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
72803
72804 [BZ #14040]
72805 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
72806 in version GLIBC_2.1, not GLIBC_2.0.
72807 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
72808 Likewise.
72809
72810 2012-04-30 Joseph Myers <joseph@codesourcery.com>
72811
72812 [BZ #13942]
72813 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
72814 (1 - x) * (1 + x).
72815 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
72816 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
72817 * math/libm-test.inc (acos_test): Add more tests.
72818 (asin_test): Likewise.
72819 * sysdeps/i386/fpu/libm-test-ulps: Update.
72820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72821
72822 [BZ #14034]
72823 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
72824 of square root.
72825 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
72826 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
72827 * math/libm-test.inc (acos_test_tonearest): New function.
72828 (acos_test_towardzero): Likewise.
72829 (acos_test_downward): Likewise.
72830 (acos_test_upward): Likewise.
72831 (asin_test_tonearest): Likewise.
72832 (asin_test_towardzero): Likewise.
72833 (asin_test_downward): Likewise.
72834 (asin_test_upward): Likewise.
72835 (main): Call the new functions.
72836 * sysdeps/i386/fpu/libm-test-ulps: Update.
72837 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72838
72839 [BZ #13884]
72840 [BZ #13924]
72841 * math/e_exp10.c: Include <float.h>.
72842 (__ieee754_exp10): Handle underflow here rather than multiplying
72843 large negative argument by M_LN10.
72844 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
72845 of __ieee754_expf.
72846 * math/e_exp10l.c: Include <float.h>.
72847 (__ieee754_exp10l): Handle underflow here rather than multiplying
72848 large negative argument by M_LN10l.
72849 * math/libm-test.inc (exp10_test): Add another test. Do not allow
72850 spurious overflow exception on underflow.
72851
72852 2012-04-29 Marek Polacek <polacek@redhat.com>
72853
72854 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
72855 (__fortify_function): New macro.
72856 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
72857 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
72858 __extern_always_inline.
72859 * libio/bits/stdio2.h: Likewise.
72860 * libio/bits/stdio.h: Likewise.
72861 * string/string.h: Likewise.
72862 * string/bits/string3.h: Likewise.
72863 * include/stdio.h: Likewise.
72864 * stdlib/bits/stdlib.h: Likewise.
72865 * stdlib/stdlib.h: Likewise.
72866 * rt/bits/mqueue2.h: Likewise.
72867 * rt/mqueue.h: Likewise.
72868 * posix/bits/unistd.h: Likewise.
72869 * posix/unistd.h: Likewise.
72870 * io/bits/poll2.h: Likewise.
72871 * io/bits/fcntl2.h: Likewise.
72872 * io/fcntl.h: Likewise.
72873 * io/sys/poll.h: Likewise.
72874 * misc/bits/syslog.h: Likewise.
72875 * misc/bits/syslog-ldbl.h: Likewise.
72876 * misc/sys/syslog.h: Likewise.
72877 * socket/bits/socket2.h: Likewise.
72878 * socket/sys/socket.h: Likewise.
72879 * debug/tst-chk1.c: Likewise.
72880 * wcsmbs/bits/wchar2.h: Likewise.
72881 * wcsmbs/bits/wchar-ldbl.h: Likewise.
72882 * wcsmbs/wchar.h: Likewise.
72883
72884 2012-04-29 Andreas Jaeger <aj@suse.de>
72885
72886 * Makerules (tests): Remove enable-check-abi protection.
72887 (check-abi-warn): Remove.
72888 (check-abi-%): Remove check-abi-warn usage.
72889
72890 * configure.in: Remove check-abi configure option.
72891 * configure: Regenerated.
72892 * config.make.in (enable-check-abi): Remove.
72893
72894 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
72895
72896 [BZ #14033]
72897 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
72898 double functions to double *_finite functions.
72899
72900 [BZ #13941]
72901 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
72902 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
72903 LDBL_MIN_EXP.
72904 * stdio-common/Makefile (tests): Add tst-sprintf3.
72905 * stdio-common/tst-sprintf3.c: New file.
72906
72907 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
72908 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
72909
72910 2012-04-28 Joseph Myers <joseph@codesourcery.com>
72911
72912 * conform/conformtest.pl: Remove duplicate typed-constant
72913 handling.
72914
72915 2012-04-28 David S. Miller <davem@davemloft.net>
72916
72917 * Makerules (%.abilist): Add vpath on sysdep_dirs.
72918 (check-abi-%): Remove AWK script prerequisite and explicit
72919 abilist directory.
72920 (check-abi): Rewrite to just diff the symlist with the abilist.
72921 (config-tls, config-abi-config): Delete, no longer used.
72922 (update-abi-%): Remove AWK script and explicit abilist directory.
72923 (update-abi): Rewrite to simply compare and conditionally copy the
72924 symlist and the sysdep abilist file. Remove update-abi-config
72925 checks.
72926 * abilist/ld.abilist: Remove.
72927 * abilist/libBrokenLocale.abilist: Remove.
72928 * abilist/libanl.abilist: Remove.
72929 * abilist/libcrypt.abilist: Remove.
72930 * abilist/libdl.abilist: Remove.
72931 * abilist/librt.abilist: Remove.
72932 * abilist/libthread_db.abilist: Remove.
72933 * abilist/libutil.abilist: Remove.
72934 * scripts/extract-abilist.awk: Remove.
72935 * scripts/merge-abilist.awk: Remove.
72936 * sysdeps/generic/libcidn.abilist: New file.
72937 * sysdeps/generic/libnss_compat.abilist: New file.
72938 * sysdeps/generic/libnss_db.abilist: New file.
72939 * sysdeps/generic/libnss_dns.abilist: New file.
72940 * sysdeps/generic/libnss_files.abilist: New file.
72941 * sysdeps/generic/libnss_hesiod.abilist: New file.
72942 * sysdeps/generic/libnss_nis.abilist: New file.
72943 * sysdeps/generic/libnss_nisplus.abilist: New file.
72944 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
72945 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
72946 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
72947 file.
72948 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
72949 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
72950 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
72951 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
72952 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
72953 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
72954 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
72955 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
72956 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
72957 file.
72958 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
72959 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
72960 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
72961 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
72962 file.
72963 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
72964 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
72965 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
72966 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
72967 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
72968 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
72969 file.
72970 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
72971 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
72972 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
72973 file.
72974 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
72975 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
72976 New file.
72977 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
72978 New file.
72979 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
72980 New file.
72981 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
72982 New file.
72983 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
72984 New file.
72985 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
72986 New file.
72987 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
72988 New file.
72989 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
72990 New file.
72991 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
72992 New file.
72993 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
72994 New file.
72995 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
72996 New file.
72997 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
72998 New file.
72999 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
73000 New file.
73001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
73002 file.
73003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
73004 New file.
73005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
73006 New file.
73007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
73008 file.
73009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
73010 New file.
73011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
73012 New file.
73013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
73014 file.
73015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
73016 New file.
73017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73018 New file.
73019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
73020 New file.
73021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
73022 New file.
73023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
73024 New file.
73025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
73026 New file.
73027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
73028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
73029 file.
73030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
73031 New file.
73032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
73033 file.
73034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
73035 file.
73036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
73037 file.
73038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
73039 file.
73040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
73041 file.
73042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73043 New file.
73044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
73045 file.
73046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
73047 file.
73048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
73049 New file.
73050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
73051 file.
73052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
73053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
73054 file.
73055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
73056 New file.
73057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
73058 file.
73059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
73060 file.
73061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
73062 file.
73063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
73064 file.
73065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
73066 file.
73067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73068 New file.
73069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
73070 file.
73071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
73072 file.
73073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
73074 New file.
73075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
73076 file.
73077 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73078 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
73079 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
73080 file.
73081 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
73082 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
73083 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
73084 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
73085 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
73086 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
73087 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
73088 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
73089 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
73090 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
73091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
73092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
73093 file.
73094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
73095 New file.
73096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
73097 file.
73098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
73099 file.
73100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
73101 file.
73102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
73103 file.
73104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
73105 file.
73106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
73107 New file.
73108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
73109 New file.
73110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
73111 file.
73112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
73113 New file.
73114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
73115 file.
73116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
73117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
73118 file.
73119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
73120 New file.
73121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
73122 file.
73123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
73124 file.
73125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
73126 file.
73127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
73128 file.
73129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
73130 file.
73131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
73132 New file.
73133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
73134 New file.
73135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
73136 file.
73137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
73138 New file.
73139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
73140 file.
73141
73142 2012-04-28 Joseph Myers <joseph@codesourcery.com>
73143
73144 * conform/conformtest.pl: Fix typo in handling typed-constant from
73145 allow-header.
73146
73147 2012-04-27 Joseph Myers <joseph@codesourcery.com>
73148
73149 * README: Cut down references to pre-2.6 Linux kernels and
73150 Linuxthreads. Update lists of configurations in libc and ports
73151 and sort alphabetically. Say "or newer" with Linux kernel version
73152 requirements.
73153
73154 * config.h.in [IS_IN_build]: Allow compiling without optimization.
73155
73156 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
73157
73158 [BZ #887]
73159 * math/libm-test.inc (logb_test_downward): New test to expose
73160 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
73161 rounding mode.
73162
73163 2012-04-27 Joseph Myers <joseph@codesourcery.com>
73164
73165 [BZ #14027]
73166 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
73167 to be done.
73168 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
73169 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
73170
73171 2012-04-26 Joseph Myers <joseph@codesourcery.com>
73172
73173 * sysdeps/unix/i386/brk.S: Remove file.
73174 * sysdeps/unix/i386/dl-brk.S: Likewise.
73175 * sysdeps/unix/i386/pipe.S: Likewise.
73176 * sysdeps/unix/i386/sigreturn.S: Likewise.
73177 * sysdeps/unix/i386/syscall.S: Likewise.
73178 * sysdeps/unix/i386/vfork.S: Likewise.
73179 * sysdeps/unix/i386/wait.S: Likewise.
73180
73181 * sysdeps/unix/common/tcsendbrk.c: Move to ...
73182 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
73183
73184 * configure.in (arm*-none*): Do not allow without
73185 --enable-hacker-mode.
73186 (netbsd*): Remove case setting base_os.
73187 (386bsd*): Likewise.
73188 (freebsd*): Likewise.
73189 (bsdi*): Likewise.
73190 (osf*): Likewise.
73191 (sunos*): Likewise.
73192 (ultrix*): Likewise.
73193 (newsos*): Likewise.
73194 (dynix*): Likewise.
73195 (*bsd*): Likewise.
73196 (sysv*): Likewise.
73197 (isc*): Likewise.
73198 (esix*): Likewise.
73199 (sco*): Likewise.
73200 (minix*): Likewise.
73201 (irix4*): Likewise.
73202 (irix6*): Likewise.
73203 (solaris[2-9]*): Likewise.
73204 (none): Likewise.
73205 * configure: Regenerated.
73206
73207 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73208
73209 [BZ #11521]
73210 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
73211 overflow or cancellation in calculating denominator.
73212 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
73213 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
73214 down expression to avoid unexpected rounding in newer GCCs.
73215 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
73216
73217 2012-04-26 David S. Miller <davem@davemloft.net>
73218
73219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
73220 long-double compat symbols.
73221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
73225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
73227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
73228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
73229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
73230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
73231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
73232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
73233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
73234
73235 2012-04-25 David S. Miller <davem@davemloft.net>
73236
73237 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
73238 HWCAP_* values only after the memory barriers have been defined.
73239 (atomic_full_barrier): Define.
73240 (atomic_read_barrier): Define.
73241 (atomic_write_barrier): Define.
73242
73243 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
73244
73245 * shlib-versions: Add libgcc_s version information.
73246 * sysdeps/generic/libgcc_s.h: Remove.
73247 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
73248 libgcc_s.h.
73249 * sysdeps/gnu/unwind-resume.c: Likewise.
73250 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
73251
73252 2012-04-25 David S. Miller <davem@davemloft.net>
73253
73254 * sysdeps/unix/sparc/brk.S: Delete.
73255 * sysdeps/unix/sparc/dl-brk.S: Delete.
73256 * sysdeps/unix/sparc/pipe.S: Delete.
73257 * sysdeps/unix/sparc/sysdep.S: Delete.
73258 * sysdeps/unix/sparc/sysdep.h: Delete.
73259 * sysdeps/unix/sparc/vfork.S: Delete.
73260 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
73261 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
73262 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
73263 (ret_ERRVAL, r0, r1, MOVE): Define.
73264 (JUMPTARGET): Remove.
73265 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
73266 sysdeps/unix/sparc/sysdep.h
73267 (ENTRY, END): Remove.
73268 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73269
73270 2012-04-25 Joseph Myers <joseph@codesourcery.com>
73271
73272 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
73273 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
73274 -DIS_IN_build.
73275
73276 * timezone/README: Update upstream location and email address for
73277 tzcode and tzdata.
73278 * timezone/zdump.c: Update from tzcode 2012b.
73279 * timezone/zic.c: Likewise.
73280
73281 * configure.in (libc_cv_as_needed): Remove test.
73282 * configure: Regenerated.
73283 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
73284 conditional definition.
73285 [$(have-as-needed) != yes] (no-as-needed): Likewise.
73286 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
73287 * config.make.in (have-as-needed): Remove variable.
73288
73289 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
73290 Paul Pluzhnikov <ppluzhnikov@google.com>
73291
73292 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
73293 strings correctly.
73294
73295 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
73296
73297 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
73298 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
73299 * sysdeps/sh/strlen.S: Likewise.
73300
73301 2012-04-24 Joseph Myers <joseph@codesourcery.com>
73302
73303 * sysdeps/unix/fork.S: Remove file.
73304 * sysdeps/unix/i386/fork.S: Likewise.
73305 * sysdeps/unix/sparc/fork.S: Likewise.
73306
73307 * sysdeps/unix/system.c: Remove file.
73308 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
73309
73310 * sysdeps/unix/getegid.S: Remove file.
73311 * sysdeps/unix/geteuid.S: Likewise.
73312
73313 2012-04-24 Roland McGrath <roland@hack.frob.com>
73314
73315 * scripts/check-localplt.awk: New file.
73316 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
73317 of diff.
73318 * scripts/data/localplt-generic.data: Add a comment.
73319
73320 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
73321 NODE when __dir_mkfile failed.
73322 * sysdeps/mach/hurd/symlinkat.c: Likewise.
73323 Reported by Ludovic Courtès <ludo@gnu.org>.
73324
73325 2012-04-24 Andreas Jaeger <aj@suse.de>
73326
73327 * Makerules (common-clean): Also remove gen-as-const-headers
73328 files.
73329
73330 2012-04-24 Joseph Myers <joseph@codesourcery.com>
73331
73332 * Makerules (native-compile): Do not change working directory for
73333 build. Use $(OUTPUT_OPTION) in command.
73334 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
73335
73336 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73337
73338 [BZ #13886]
73339 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
73340 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
73341 * math/libm-test.inc (floor_test): Add more tests.
73342 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
73343
73344 2012-04-24 Joseph Myers <joseph@codesourcery.com>
73345
73346 * sysdeps/unix/getdents.c: Remove file.
73347 * sysdeps/unix/sysv/getdents.c: Likewise.
73348 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
73349
73350 * sysdeps/unix/syscalls.list (madvise): Add syscall from
73351 sysdeps/unix/mman/syscalls.list.
73352 (mmap): Likewise.
73353 (mprotect): Likewise.
73354 (msync): Likewise.
73355 (munmap): Likewise.
73356 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
73357 * sysdeps/unix/mman/syscalls.list: Remove.
73358 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
73359
73360 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
73361 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
73362 * configure: Regenerated.
73363 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
73364 $(libgcc_s_suffix).
73365 * config.make.in (libgcc_s_suffix): Remove variable.
73366
73367 2012-04-23 Joseph Myers <joseph@codesourcery.com>
73368
73369 * sysdeps/unix/sysv/gethostname.c: Move to ...
73370 * sysdeps/posix/gethostname.c: ... here.
73371
73372 * sysdeps/unix/execve.S: Remove file.
73373
73374 * sysdeps/unix/_exit.S: Remove file.
73375
73376 2012-04-23 Andreas Jaeger <aj@suse.de>
73377
73378 [BZ #13739]
73379 * manual/Makefile: Remove make dist support, there's no
73380 need for a stand-alone documentation tar ball.
73381 (TEXI2DVI): Define always, it's not in Makeconfig.
73382 (dist): Removed.
73383 (tar-it): Removed.
73384 (edition): Removed.
73385 (glibc-doc-$(edition).tar): Removed
73386 (%.Z): Removed.
73387 (%.gz): Removed.
73388 (%.uu): Removed.
73389 (ETAGS): Remove, it's in Makeconfig.
73390 (move-if-change): Remove, it's in Makeconfig.
73391
73392 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
73393
73394 [BZ #13970]
73395 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
73396 (strtod, strtof, strtold, strtol, strtoul, strtoq)
73397 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
73398 (strtod_l, strtof_l, strtold_l): Remove __wur.
73399 It is not necessarily an error to ignore strtol's return value.
73400 One can reliably look at the stored endptr to decide whether
73401 the number had valid syntax.
73402
73403 2012-04-21 Andreas Jaeger <aj@suse.de>
73404
73405 [BZ #13739]
73406 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
73407
73408 2012-04-21 Joseph Myers <joseph@codesourcery.com>
73409
73410 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
73411 * sysdeps/unix/sysv/Versions: Remove file.
73412
73413 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
73414
73415 [BZ #13927]
73416 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73417
73418 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
73419
73420 [BZ #7064]
73421 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
73422 version from __vm86.
73423
73424 2012-04-20 Joseph Myers <joseph@codesourcery.com>
73425
73426 * sysdeps/unix/common/lxstat.c: Remove file.
73427 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
73428
73429 * sysdeps/unix/sysv/Makefile: Remove file.
73430
73431 * sysdeps/unix/sysv/direct.h: Remove file.
73432
73433 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
73434 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
73435 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
73436 * sysdeps/unix/sysv/bits/signum.h: Likewise.
73437 * sysdeps/unix/sysv/bits/stat.h: Likewise.
73438 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
73439 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
73440
73441 * sysdeps/unix/sysv/setrlimit.c: Remove file.
73442
73443 * sysdeps/unix/xmknod.c: Remove file.
73444 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
73445
73446 * sysdeps/unix/sysv/settimeofday.c: Remove file.
73447
73448 * sysdeps/unix/sysv/i386/time.S: Remove file.
73449
73450 * sysdeps/unix/fxstat.c: Remove file.
73451 * sysdeps/unix/xstat.c: Likewise.
73452 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
73453
73454 * sysdeps/unix/sysv/sigaction.c: Remove file.
73455
73456 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
73457 (sysdep_headers): Remove variable.
73458 [termio.h not in sysdep_headers] (generated): Likewise.
73459 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
73460 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
73461 * sysdeps/unix/sysv/tcdrain.c: Likewise.
73462 * sysdeps/unix/sysv/tcflow.c: Likewise.
73463 * sysdeps/unix/sysv/tcflush.c: Likewise.
73464 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
73465 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
73466 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
73467 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
73468 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
73469
73470 * sysdeps/unix/siglist.c: Remove file.
73471
73472 * sysdeps/unix/getppid.S: Remove file.
73473
73474 * sysdeps/unix/mkdir.c: Remove file.
73475 * sysdeps/unix/rmdir.c: Likewise.
73476
73477 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
73478
73479 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
73480 ERR_MAX value.
73481 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
73482 errlist-compat value.
73483
73484 2012-04-18 David S. Miller <davem@davemloft.net>
73485
73486 * sysdeps/generic/memcopy.h (reg_char): Delete.
73487 * debug/strcat_chk.c: Use char, not reg_char.
73488 * debug/strcpy_chk.c: Likewise.
73489 * debug/strncat_chk.c: Likewise.
73490 * debug/strncpy_chk.c: Likewise.
73491 * string/memchr.c: Likewise.
73492 * string/memrchr.c: Likewise.
73493 * string/rawmemchr.c: Likewise.
73494 * string/strcat.c: Likewise.
73495 * string/strchr.c: Likewise.
73496 * string/strchrnul.c: Likewise.
73497 * string/strcmp.c: Likewise.
73498 * string/strcpy.c: Likewise.
73499 * string/strncat.c: Likewise.
73500 * string/strncmp.c: Likewise.
73501 * string/strncpy.c: Likewise.
73502
73503 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
73504
73505 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
73506 __builtin_memcopy is called when src and dest ranges are known to not
73507 overlap.
73508
73509 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
73510
73511 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
73512 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
73513 fwd_align_merge macro call.
73514 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
73515 bwd_align_merge macro call.
73516 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
73517
73518 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
73519
73520 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
73521 bwd_align_merge macros.
73522 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
73523 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
73524 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
73525
73526 2012-04-18 David S. Miller <davem@davemloft.net>
73527
73528 * sysdeps/sparc/sparc64/memcopy.h: Delete.
73529
73530 2012-04-18 Andreas Jaeger <aj@suse.de>
73531
73532 [BZ# 6794]
73533 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
73534 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
73535 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73536
73537 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
73538 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
73539 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73540
73541 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
73542 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
73543 Adjust for changed ldbl-128 files.
73544
73545 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
73546 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
73547 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73548
73549 2012-04-17 David S. Miller <davem@davemloft.net>
73550
73551 * sysdeps/sparc/sparc32/memcopy.h: Delete.
73552
73553 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
73554
73555 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
73556 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
73557 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
73558 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
73559 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
73560 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
73561
73562 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73563
73564 [BZ #6794]
73565 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
73566 * math/libm-test.inc: Add ilogb errno and exception tests.
73567 * math/w_ilogb.c: New file: ilogb wrapper.
73568 * math/w_ilogbf.c: New file: ilogbf wrapper.
73569 * math/w_ilogbl.c: New file: ilogbl wrapper.
73570 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
73571 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
73572 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
73573 exception being thrown with 0.0 as argument.
73574 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
73575 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
73576 exception being thrown with 0.0 as argument.
73577 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
73578 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
73579 exception being thrown with 0.0 as argument.
73580 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
73581 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
73582 exception being thrown with 0.0 as argument.
73583 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
73584 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
73585 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
73586 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
73587 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
73588 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
73589 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
73590 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
73591 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
73592
73593 2012-04-17 Petr Baudis <pasky@ucw.cz>
73594
73595 * include/sys/uio.h: Change __vector to __iovec to avoid clash
73596 with altivec.
73597
73598 2012-04-16 Marek Polacek <polacek@redhat.com>
73599
73600 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
73601
73602 2012-04-16 Marek Polacek <polacek@redhat.com>
73603
73604 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
73605 operands of fdivp instruction.
73606
73607 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
73608
73609 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
73610 * elf/tst-auditmod3b.c: Likewise.
73611 * elf/tst-auditmod4b.c: Likewise.
73612 * elf/tst-auditmod5b.c: Likewise.
73613 * elf/tst-auditmod6b.c: Likewise.
73614 * elf/tst-auditmod6c.c: Likewise.
73615 * elf/tst-auditmod7b.c: Likewise.
73616 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
73617 * sysdeps/x86_64/preconfigure.in: Likewise.
73618 * sysdeps/x86_64/preconfigure: Regenerated.
73619
73620 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
73621
73622 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
73623 __ILP32__.
73624
73625 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
73626
73627 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73628 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
73629
73630 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
73631
73632 [BZ #13973]
73633 * locale/iso-639.def: Fix gl language name. Spotted by
73634 Yaron Shahrabani.
73635
73636 2012-04-12 Roland McGrath <roland@hack.frob.com>
73637
73638 [BZ #2074]
73639 * libio/libio.h (__io_write_fn): Update comment.
73640
73641 2012-04-12 Petr Baudis <pasky@ucw.cz>
73642
73643 [BZ #2074]
73644 * stdio.texi (Hook Functions): The user provided writer function
73645 is not allowed to return -1.
73646
73647 2012-04-11 David S. Miller <davem@davemloft.net>
73648
73649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73650
73651 2012-04-11 Mike Frysinger <vapier@gentoo.org>
73652
73653 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
73654 Add a leading slash to rtkaio.
73655
73656 2012-04-11 Jim Meyering <meyering@redhat.com>
73657
73658 [BZ #11959]
73659 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
73660 It is not necessarily an error to ignore fwrite's return
73661 value. One can reliably use ferror to test for errors after
73662 the fact.
73663
73664 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
73665
73666 * bits/types.h (__snseconds_t): New type.
73667 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
73668
73669 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
73670 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73671 (__SNSECONDS_T_TYPE): Likewise.
73672 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73673 (__SNSECONDS_T_TYPE): Likewise.
73674 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73675 (__SNSECONDS_T_TYPE): Likewise.
73676
73677 2012-04-10 Andreas Jaeger <aj@suse.de>
73678
73679 [BZ #2636]
73680 * manual/time.texi (Processor Time): Return type of times is
73681 elapsed real time since an arbitrary point in the past.
73682 (CPU Time): Move CLK_TCK from here...
73683 (Processor Time): ...to here. Correct description.
73684 * manual/conf.texi (Constants for Sysconf): Correct description of
73685 _SC_CLK_TCK.
73686
73687 2012-04-10 David S. Miller <davem@davemloft.net>
73688
73689 [BZ #13967]
73690 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
73691 where the is a gap between DT_REL(A) and DT_JMPREL.
73692
73693 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
73694
73695 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
73696 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
73697 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
73698
73699 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
73700
73701 * elf/dl-support.c (_dl_inhibit_cache): New variable.
73702 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
73703 (dl_main): Handle --inhibit-cache.
73704 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
73705 _dl_inhibit_cache.
73706 * elf/dl-load.c (_dl_map_object): Use it.
73707 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
73708
73709 2012-04-09 Joseph Myers <joseph@codesourcery.com>
73710
73711 [BZ #13872]
73712 * sysdeps/i386/fpu/e_powl.S (p78): New object.
73713 (__ieee754_powl): Saturate large exponents rather than testing for
73714 overflow of y*log2(x).
73715 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73716 * math/libm-test.inc (pow_test): Do not permit spurious overflow
73717 exceptions.
73718
73719 [BZ #11521]
73720 * math/s_ctan.c: Include <float.h>.
73721 (__ctan): Avoid internal overflow or cancellation in calculating
73722 denominator.
73723 * math/s_ctanf.c: Likewise.
73724 * math/s_ctanl.c: Likewise.
73725 * math/s_ctanh.c: Likewise.
73726 * math/s_ctanhf.c: Likewise.
73727 * math/s_ctanhl.c: Likewise.
73728 * math/libm-test.inc (ctan_test): Add more tests.
73729 (ctanh_test): Likewise.
73730 * sysdeps/i386/fpu/libm-test-ulps: Update.
73731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73732
73733 2012-04-09 Andreas Jaeger <aj@suse.de>
73734
73735 [BZ #6894]
73736 * manual/filesys.texi (Directory Entries): Mention that d_namlen
73737 is an optional BSD extension.
73738
73739 [BZ #10254]
73740 * manual/stdio.texi (Opening Streams): Document additional fopen
73741 parameters.
73742
73743 2012-04-09 Roland McGrath <roland@hack.frob.com>
73744
73745 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
73746 %eax without telling the compiler.
73747
73748 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
73749
73750 [BZ # 13963]
73751 * manual/install.texi: Use sourceware.org.
73752
73753 2012-04-09 Joseph Myers <joseph@codesourcery.com>
73754
73755 [BZ #13873]
73756 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
73757 (__ieee754_pow): Generate overflow and underflow using huge*huge
73758 and tiny*tiny rather than just returning constant infinity or zero
73759 for large exponents.
73760 * math/libm-test.inc (pow_test): Require overflow exceptions for
73761 applicable cases of large exponents.
73762
73763 [BZ #706]
73764 * sysdeps/i386/fpu/e_pow.S (p10): New object.
73765 (__ieee754_pow): Use iterative multiplication algorithm only for
73766 integer exponents with absolute value below 1024. Check for odd
73767 integer exponents when using algorithm for real exponents.
73768 * math/libm-test.inc (pow_test): Add more tests.
73769 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73770
73771 2012-04-08 Joseph Myers <joseph@codesourcery.com>
73772
73773 [BZ #13705]
73774 * math/libm-test.inc (exp_test): Do not allow overflow exception
73775 on underflow test.
73776
73777 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
73778
73779 [BZ #13705]
73780 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
73781 instead of __kernel_standard_f.
73782
73783 2012-04-08 Mike Frysinger <vapier@gentoo.org>
73784
73785 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
73786 * sysdeps/x86_64/memset_chk.S: Likewise.
73787
73788 2012-04-08 Andreas Jaeger <aj@suse.de>
73789
73790 [BZ #10153]
73791 * manual/startup.texi (Environment Access): Describe return value
73792 for putenv and setenv.
73793
73794 [BZ #6895]
73795 * manual/filesys.texi (Directory Entries): Add description for
73796 DT_LNK.
73797
73798 [BZ #6890]
73799 * manual/filesys.texi (Directory Entries): Clarify that it's file
73800 system not operating system in the description of DT_UNKNOWN.
73801
73802 [BZ #6578]
73803 * manual/syslog.texi (closelog): Fix reference, it's openlog.
73804
73805 2012-04-08 Stephen Compall <s11@member.fsf.org>
73806
73807 [BZ #6649]
73808 * manual/llio.texi (Opening and Closing Files): Add cross
73809 reference to explain mode argument.
73810
73811 2012-04-07 Mike Frysinger <vapier@gentoo.org>
73812
73813 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
73814 * sysdeps/x86_64/memset_chk.S: Likewise.
73815
73816 2012-04-07 David S. Miller <davem@davemloft.net>
73817
73818 * elf/elf.h (R_SPARC_WDISP10): Define.
73819 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
73820 R_SPARC_SIZE32.
73821 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
73822 R_SPARC_SIZE64 and R_SPARC_H34.
73823
73824 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
73825
73826 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
73827 conditions and remove no longer applicable assertion.
73828
73829 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
73830
73831 * bits/byteswap.h: Include <features.h>.
73832 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
73833 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
73834
73835 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
73836
73837 * bits/byteswap.h (__bswap_16): Removed.
73838 Include <bits/byteswap-16.h> to get __bswap_16.
73839 * sysdeps/i386/bits/byteswap.h: Likewise.
73840 * sysdeps/s390/bits/byteswap.h: Likewise.
73841 * sysdeps/x86_64/bits/byteswap.h: Likewise.
73842 * bits/byteswap-16.h: New file.
73843 * sysdeps/i386/bits/byteswap-16.h: Likewise.
73844 * sysdeps/s390/bits/byteswap-16.h: Likewise.
73845 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
73846 * string/Makefile (headers): Add bits/byteswap-16.h.
73847
73848 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
73849
73850 [BZ #13895]
73851 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
73852 extra indirection.
73853 * nss/Makefile (tests-static, tests): Add tst-nss-static.
73854 * nss/tst-nss-static.c: New.
73855
73856 2012-04-06 Robert Millan <rmh@gnu.org>
73857
73858 [BZ #6486]
73859 * manual/llio.texi (File Position Primitive): lseek
73860 refers to WHENCE when it really means OFFSET.
73861
73862 2012-04-06 Andreas Jaeger <aj@suse.de>
73863
73864 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
73865 strncmp declarations.
73866
73867 * abilist/libc.abilist: Add __poll and __ppoll.
73868
73869 2012-04-05 David S. Miller <davem@davemloft.net>
73870
73871 * scripts/check-local-headers.sh: Accept a host triplet in the
73872 path matched by the exclude regexp.
73873
73874 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
73875 definition.
73876 * sysdeps/powerpc/powerpc32/dl-machine.h
73877 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
73878 * sysdeps/s390/s390-32/dl-machine.h
73879 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73880 * sysdeps/sparc/sparc32/dl-machine.h
73881 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73882 * sysdeps/sparc/sparc64/dl-machine.h
73883 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73884
73885 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
73886 lazy binding.
73887 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
73888 undefined symbol errors.
73889
73890 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
73891 DT_NEEDED entries.
73892
73893 2012-04-05 Michael Matz <matz@suse.de>
73894
73895 [BZ #13592]
73896 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
73897
73898 2012-04-05 Andreas Jaeger <aj@suse.de>
73899
73900 [BZ #13908]
73901 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
73902 comment.
73903
73904 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
73905
73906 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
73907 which ROUND is no valid rounding mode.
73908
73909 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
73910
73911 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
73912 read again.
73913 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
73914
73915 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
73916
73917 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
73918 an exception using FPU order intentionally.
73919
73920 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
73921
73922 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
73923 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
73924 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
73925 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
73926
73927 2012-04-05 Simon Josefsson <simon@josefsson.org>
73928
73929 [BZ #12340]
73930 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
73931 EINVAL when BUFLEN is too smal.
73932
73933 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
73934
73935 [BZ #13553]
73936 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
73937 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
73938
73939 2012-04-03 Andreas Jaeger <aj@suse.de>
73940
73941 [BZ #13938]
73942 * manual/setjmp.texi (System V contexts): Fix sentence.
73943
73944 [BZ #13926]
73945 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
73946 New macro for this case.
73947 [!__GNUC__] (__bswap_64): New inline function for this case.
73948 * sysdeps/x86_64/bits/byteswap.h: Likewise.
73949 * bits/byteswap.h: Likewise.
73950 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
73951 ull, guard with __GLIBC_HAVE_LONG_LONG.
73952
73953 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
73954 __GLIBC_HAVE_LONG_LONG.
73955
73956 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
73957 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
73958
73959 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
73960
73961 [BZ #13691]
73962 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
73963 inptr and inend, rather than using last_ch.
73964
73965 2012-04-02 David S. Miller <davem@davemloft.net>
73966
73967 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
73968 * stdio-common/printf-parse.h (read_int): Change return type to
73969 'int', return -1 on INT_MAX overflow.
73970 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
73971 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
73972 overflows INT_MAX. Check for overflow of in-format-string precision
73973 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
73974 SIZE_MAX not INT_MAX for integer overflow test.
73975 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
73976 skip the construct in the format string but do not record anything.
73977 * stdio-common/bug22.c: Adjust to test both width/prevision
73978 INT_MAX overflow as well as total length INT_MAX overflow. Check
73979 explicitly for proper errno values.
73980
73981 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
73982
73983 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
73984 CHAR_MAX.
73985 * string/test-strcmp.c [! WIDE]: Likewise.
73986 * time/tst-mktime2.c: Likewise for INT_MAX.
73987 * string/test-string.h: #include <sys/param.h> for MIN.
73988
73989 * csu/init-first.c (__libc_init_first): Call __ctype_init.
73990 * sysdeps/i386/init-first.c (init): Likewise.
73991 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
73992 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
73993 * sysdeps/sh/init-first.c (init): Likewise.
73994
73995 2012-04-01 Ulrich Drepper <drepper@gmail.com>
73996
73997 * po/ru.po: Update from translation team.
73998 * po/vi.po: Likewise.
73999
74000 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
74001
74002 * resolv/nss_dns/dns-host.c: Merge copyright years.
74003
74004 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74005
74006 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74007 Optimize memcpy with prefetch if
74008 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
74009 src, dst pointers have unequal 16 byte alignments.
74010
74011 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
74012
74013 [BZ #13928]
74014 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
74015 from a CNAME entry and return the minimum ttl for the query.
74016 (gaih_getanswer_slice): Likewise.
74017
74018 2012-03-30 Jeff Law <law@redhat.com>
74019
74020 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
74021 due to long keys.
74022 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
74023 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
74024
74025 * resolv/nss_dns/dns-host.c: Update copyright year.
74026
74027 2012-03-30 Ulrich Drepper <drepper@gmail.com>
74028
74029 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
74030 requests to save a system call. Fix check that all bytes are sent.
74031
74032 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
74033 comments for sendmmsg.
74034
74035 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74036
74037 [BZ #13691]
74038 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
74039 with only 1 character between 0x0041 and 0x01b0.
74040 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
74041 * wcsmbs/tst-mbsnrtowcs.c: New file.
74042
74043 2012-03-29 David S. Miller <davem@davemloft.net>
74044
74045 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
74046 small copies by hand.
74047
74048 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
74049
74050 [BZ #13761]
74051 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
74052 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
74053 group memberships.
74054
74055 2012-03-28 David S. Miller <davem@davemloft.net>
74056
74057 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
74058 that branches into memcpy.
74059 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
74060 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
74061 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74062 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
74063 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
74064 bits.
74065 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
74066 implementation too.
74067 * sysdeps/sparc/mempcpy.S: New file.
74068
74069 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
74070 the IFUNC routine in the libc case.
74071 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74072
74073 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
74074 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
74075 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
74076 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
74077 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
74078 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
74079 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
74080 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
74081
74082 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
74083 loop to 256 bytes instead of 64 bytes and fix test signedness.
74084
74085 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
74086 * sysdeps/sparc/sparc32/Makefile: rather than here...
74087 * sysdeps/sparc/sparc64/Makefile: and here.
74088
74089 2012-03-28 Ulrich Drepper <drepper@gmail.com>
74090
74091 * malloc/mallocbug.c: Avoid warnings about unused variables.
74092
74093 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
74094
74095 [BZ #13760]
74096 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
74097 in the right place. Discard and retry query if response is
74098 larger than input buffer size.
74099
74100 2012-03-28 Joseph Myers <joseph@codesourcery.com>
74101
74102 [BZ #369]
74103 [BZ #2678]
74104 [BZ #3866]
74105 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
74106 x for large integer exponent.
74107 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
74108 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
74109 sign of result as needed afterwards.
74110 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
74111 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
74112 result for underflowing pow the same as for overflow.
74113 (__kernel_standard_l): Handle powl overflow and underflow here
74114 rather than calling __kernel_standard.
74115 * math/libm-test.inc (pow_test): Add more tests.
74116
74117 [BZ #3868]
74118 [BZ #13879]
74119 [BZ #13910]
74120 [BZ #13911]
74121 [BZ #13912]
74122 [BZ #13913]
74123 [BZ #13915]
74124 [BZ #13916]
74125 [BZ #13917]
74126 [BZ #13918]
74127 [BZ #13919]
74128 [BZ #13920]
74129 [BZ #13921]
74130 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
74131 * sysdeps/ieee754/k_standard.c: Include <float.h>.
74132 (__kernel_standard_l): New function.
74133 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
74134 __kernel_standard.
74135 * math/w_acosl.c (__acosl): Likewise.
74136 * math/w_asinl.c (__asinl): Likewise.
74137 * math/w_atan2l.c (__atan2l): Likewise.
74138 * math/w_atanhl.c (__atanhl): Likewise.
74139 * math/w_coshl.c (__coshl): Likewise.
74140 * math/w_exp10l.c (__exp10l): Likewise.
74141 * math/w_exp2l.c (__exp2l): Likewise.
74142 * math/w_fmodl.c (__fmodl): Likewise.
74143 * math/w_hypotl.c (__hypotl): Likewise.
74144 * math/w_j0l.c (__j0l, __y0l): Likewise.
74145 * math/w_j1l.c (__j1l, __y1l): Likewise.
74146 * math/w_jnl.c (__jnl, __ynl): Likewise.
74147 * math/w_lgammal.c (__lgammal): Likewise.
74148 * math/w_log10l.c (__log10l): Likewise.
74149 * math/w_log2l.c (__log2l): Likewise.
74150 * math/w_logl.c (__logl): Likewise.
74151 * math/w_powl.c (__powl): Likewise.
74152 * math/w_remainderl.c (__remainderl): Likewise.
74153 * math/w_scalbl.c (sysv_scalbl): Likewise.
74154 * math/w_sinhl.c (__sinhl): Likewise.
74155 * math/w_sqrtl.c (__sqrtl): Likewise.
74156 * math/w_tgammal.c (__tgammal): Likewise.
74157 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
74158 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
74159 * math/libm-test.inc (acos_test): Add more tests.
74160 (acosh_test): Likewise.
74161 (asin_test): Likewise.
74162 (atanh_test): Likewise.
74163 (exp_test): Likewise.
74164 (exp10_test): Likewise.
74165 (exp2_test): Likewise.
74166 (expm1_test): Likewise.
74167 (lgamma_test): Likewise.
74168 (log_test): Likewise.
74169 (log10_test): Likewise.
74170 (log1p_test): Likewise.
74171 (log2_test): Likewise.
74172 (pow_test): Do not allow some spurious overflow exceptions.
74173 (sqrt_test): Add more tests.
74174 (tgamma_test): Likewise.
74175 (y0_test): Likewise.
74176 (y1_test): Likewise.
74177 (yn_test): Likewise.
74178
74179 2012-03-27 Anton Blanchard <anton@samba.org>
74180
74181 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
74182 MAP_HUGETLB.
74183 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74184 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74185 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74186
74187 2012-03-27 David S. Miller <davem@davemloft.net>
74188
74189 * conform/Makefile: Run run-conformtest.sh using $(BASH).
74190
74191 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
74192 have-as-vis3 check.
74193
74194 2012-03-27 Andreas Jaeger <aj@suse.de>
74195
74196 * sysdeps/x86_64/elf/configure.in: Moved to ...
74197 * sysdeps/x86_64/configure.in: ... here.
74198 * sysdeps/x86_64/elf/start.S: Moved to ...
74199 * sysdeps/x86_64/start.S: ... here.
74200 * sysdeps/x86_64/elf/configure: Delete.
74201
74202 * sysdeps/x86_64/configure.in: Merge contents from
74203 sysdeps/i386/configure.in (without i686 check).
74204
74205 * sysdeps/i386/elf/Versions: Merge into ...
74206 * sysdeps/i386/Versions: ... this.
74207 * sysdeps/i386/elf/Versions: Delete file.
74208 * sysdeps/i386/elf/start.S: Moved to ...
74209 * sysdeps/i386/start.S: ...here.
74210 * sysdeps/i386/elf/configure.in: Merge into...
74211 * sysdeps/i386/configure.in: ...here.
74212 * sysdeps/i386/elf/configure.in: Delete file.
74213 * sysdeps/i386/elf/configure: Delete file.
74214
74215 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
74216 * debug/backtracesyms.c: ... here.
74217 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
74218 * debug/backtracesymsfd.c: ... here.
74219 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
74220 * sysdeps/generic/ifunc-sel.h: ... here.
74221
74222 * sysdeps/unix/i386/start.c: Delete file.
74223 * sysdeps/unix/sparc/start.c: Delete file.
74224 * sysdeps/unix/start.c: Delete file.
74225
74226 * sysdeps/sh/elf/configure.in: Moved to ...
74227 * sysdeps/sh/configure.in: ... here.
74228 * sysdeps/sh/elf/start.S: Moved to ...
74229 * sysdeps/sh/start.S: ... here.
74230 * sysdeps/sh/elf/configure: Delete file.
74231
74232 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
74233 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
74234 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
74235 * sysdeps/powerpc/powerpc64/entry.h: ... here.
74236 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
74237 * sysdeps/powerpc/powerpc64/start.S: here.
74238 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
74239 * sysdeps/powerpc/powerpc64/Makefile: ... this.
74240 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
74241 * sysdeps/powerpc/powerpc64/configure.in: ... this.
74242 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
74243
74244 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
74245 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
74246 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
74247 * sysdeps/powerpc/powerpc32/start.S: ... here.
74248 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
74249 * sysdeps/powerpc/powerpc32/configure.in: ... this.
74250 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
74251
74252 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
74253 * sysdeps/powerpc/ifunc-sel.h: ... here.
74254 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
74255 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
74256
74257 * sysdeps/sparc/elf/configure.in: Moved to ...
74258 * sysdeps/sparc/configure.in: ... here.
74259 * sysdeps/sparc/elf/configure: Delete file.
74260 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
74261 * sysdeps/sparc/sparc32/start.S: ... here.
74262 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
74263 * sysdeps/sparc/sparc64/start.S: ... here.
74264 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
74265 * sysdeps/sparc/sparc32/Makefile: ... this.
74266 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
74267 * sysdeps/sparc/sparc64/Makefile: ... this.
74268
74269 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
74270 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
74271 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
74272 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
74273 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
74274 * sysdeps/s390/s390-32/setjmp.S: ... here.
74275 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
74276 * sysdeps/s390/s390-32/configure.in: ... here.
74277 * sysdeps/s390/s390-32/elf/configure: Delete file.
74278 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
74279 * sysdeps/s390/s390-32/start.S: ... here.
74280
74281 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
74282 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
74283 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
74284 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
74285 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
74286 * sysdeps/s390/s390-64/setjmp.S: ... here.
74287 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
74288 * sysdeps/s390/s390-64/configure.in: ... here
74289 * sysdeps/s390/s390-64/elf/configure: Delete file.
74290 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
74291 * sysdeps/s390/s390-64/start.S: ... here.
74292 * sysdeps/s390/s390-64/elf/configure: Delete.
74293
74294 * configure.in: Remove support for elf directories in sysdeps.
74295
74296 * configure: Regenerated.
74297 * sysdeps/i386/configure: Regenerated.
74298 * sysdeps/powerpc/powerpc32/configure: Regenerated.
74299 * sysdeps/powerpc/powerpc64/configure: Regenerated.
74300 * sysdeps/s390/s390-32/configure: Regenerated.
74301 * sysdeps/s390/s390-64/configure: Regenerated.
74302 * sysdeps/sh/configure: Regenerated.
74303 * sysdeps/sparc/configure: Regenerated.
74304 * sysdeps/x86_64/configure: Regenerated.
74305
74306 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
74307
74308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74309
74310 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
74311 denormal result into account.
74312
74313 2012-03-25 Roland McGrath <roland@hack.frob.com>
74314
74315 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
74316 Reported by Allan McRae <allan@archlinux.org>.
74317
74318 2012-03-23 Jeff Law <law@redhat.com>
74319
74320 * nss/getnssent.c (__nss_getent): Fix typo.
74321
74322 2012-03-23 David S. Miller <davem@davemloft.net>
74323
74324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74325
74326 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
74327
74328 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
74329 to pad to uint64_t for each field.
74330 (dl_tls_index): Replace unsigned long with uint64_t.
74331
74332 2012-03-23 Daniel Jacobowitz <dmj@google.com>
74333 Paul Pluzhnikov <ppluzhnikov@google.com>
74334
74335 [BZ #6528]
74336 * grp/Makefile (otherlibs): Don't set it.
74337 * inet/Makefile (otherlibs): Likewise.
74338 * login/Makefile (otherlibs): Likewise.
74339 * nscd/Makefile (otherlibs): Likewise.
74340 * posix/Makefile (otherlibs): Likewise.
74341 * pwd/Makefile (otherlibs): Likewise.
74342 * rt/Makefile (otherlibs): Likewise.
74343 * sunrpc/Makefile (otherlibs): Likewise.
74344 * nss/Makefile (otherlibs): Likewise.
74345 Add libnss_files to routines and static-only-routines.
74346 ($(objpfx)getent): Remove rule.
74347 * resolv/Makefile: Add libnss_dns and libresolv to routines and
74348 static-only-routines.
74349
74350 2012-03-22 Joseph Myers <joseph@codesourcery.com>
74351
74352 [BZ #13892]
74353 * math/s_cexp.c: Include <float.h>.
74354 (__cexp): Handle exp result overflowing not necessarily
74355 overflowing both real and imaginary parts of result.
74356 * math/s_cexpf.c: Likewise.
74357 * math/s_cexpl.c: Likewise.
74358 * math/libm-test.inc (cexp_test): Add more tests.
74359 * sysdeps/i386/fpu/libm-test-ulps: Update.
74360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74361
74362 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74363
74364 * include/link.h (ELFW): New macro.
74365 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
74366 Replace ELF64_R_TYPE with ELFW(R_TYPE).
74367
74368 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74369
74370 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
74371 with uint64_t.
74372
74373 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74374
74375 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
74376 declaration.
74377 (struct La_x32_retval): Likewise.
74378
74379 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74380
74381 * sysdeps/x86_64/preconfigure.in: New file.
74382 * sysdeps/x86_64/preconfigure: New generated file.
74383
74384 2012-03-22 Joseph Myers <joseph@codesourcery.com>
74385
74386 [BZ #13824]
74387 * math/e_exp2l.c: Include <float.h>.
74388 (__ieee754_exp2l): Handle overflow and underflow cases
74389 separately. Only pass fractional part of argument to
74390 __ieee754_expl.
74391 * math/libm-test.inc (exp2_test): Add more tests.
74392
74393 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
74394 negating x to take absolute value.
74395 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
74396 Likewise.
74397 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
74398 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
74399 Likewise.
74400 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
74401 computing low part if x was negated.
74402 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
74403
74404 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
74405
74406 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
74407 la_x32_gnu_pltexit.
74408 (pltexit): Cast int_retval to ptrdiff_t.
74409 * elf/tst-auditmod3b.c: Likewise.
74410 * elf/tst-auditmod4b.c: Likewise.
74411 * elf/tst-auditmod5b.c: Likewise.
74412 * elf/tst-auditmod6b.c: Likewise.
74413 * elf/tst-auditmod6c.c: Likewise.
74414 * elf/tst-auditmod7b.c: Likewise.
74415
74416 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
74417 and x32_gnu_pltexit.
74418
74419 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
74420 __ELF_NATIVE_CLASS.
74421 (La_x32_regs): New macro.
74422 (La_x32_retval): Likewise.
74423 (la_x32_gnu_pltenter): New function prototype.
74424 (la_x32_gnu_pltexit): Likewise.
74425
74426 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
74427
74428 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
74429 exponent.
74430
74431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74432
74433 * configure.in (libc_cv_cc_nofma): Check for option to disable
74434 generation of FMA instructions.
74435 * configure: Regenerate.
74436 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
74437 * sysdeps/ieee754/dbl-64/Makefile: New file.
74438 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
74439 Remove brandred-fma4.
74440 (CFLAGS-brandred-fma4.c): Remove.
74441 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
74442 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
74443 define.
74444 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
74445 define.
74446
74447 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
74448
74449 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
74450 LLONG_MAX != LONG_MAX.
74451 (_itoa_word): Use _ITOA_WORD_TYPE on value.
74452 (_fitoa_word): Likewise.
74453 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
74454 LLONG_MAX != LONG_MAX.
74455 * stdio-common/_itowa.h: Include <_itoa.h>.
74456 (_itowa_word): Use _ITOA_WORD_TYPE on value.
74457 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
74458 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
74459 only if not defined.
74460 (_ITOA_WORD_TYPE): Likewise.
74461 (_itoa_word): Use _ITOA_WORD_TYPE on value.
74462 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
74463
74464 2012-03-21 David S. Miller <davem@davemloft.net>
74465
74466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74467
74468 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
74469
74470 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
74471 of x86_64 when setting libc_cv_slibdir, libdir and
74472 libc_cv_localedir.
74473 * sysdeps/unix/sysv/linux/configure: Regenerated.
74474
74475 2012-03-21 Joseph Myers <joseph@codesourcery.com>
74476
74477 * manual/lang.texi (Old Varargs): Remove section.
74478 (How Variadic): Update menu.
74479 (va_start): Do not mention varargs.h.
74480
74481 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
74482 Joseph Myers <joseph@codesourcery.com>
74483
74484 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
74485 link test.
74486 * configure: Regenerated.
74487
74488 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
74489
74490 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
74491 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
74492 conformtest.pl
74493
74494 2012-03-21 Joseph Myers <joseph@codesourcery.com>
74495
74496 * NOTES: Remove.
74497 * Makefile (files-for-dist): Remove NOTES.
74498 (NOTES): Remove rule.
74499 * README: Don't refer to NOTES.
74500 * manual/creature.texi: Don't include macros.texi.
74501 * manual/intro.texi (creature.texi): Remove comment referring to
74502 NOTES.
74503
74504 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
74505 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
74506 * configure: Regenerated.
74507 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
74508 LIBC_TRY_CC_OPTION.
74509 (libc_cv_as_i686): Likewise.
74510 (libc_cv_cc_avx): Likewise.
74511 (libc_cv_cc_sse2avx): Likewise.
74512 (libc_cv_cc_fma4): Likewise.
74513 (libc_cv_cc_novzeroupper): Likewise.
74514 * sysdeps/i386/configure: Regenerated.
74515
74516 [BZ #13883]
74517 * sysdeps/i386/fpu/s_cexp.S: Remove.
74518 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
74519 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
74520 * math/libm-test.inc (cexp_test): Add more tests.
74521 * sysdeps/i386/fpu/libm-test-ulps: Update.
74522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74523
74524 2012-03-21 Allan McRae <allan@archlinux.org>
74525
74526 * timezone/Makefile: Do not install iso3166.tab and zone.tab
74527
74528 2012-03-21 Joseph Myers <joseph@codesourcery.com>
74529
74530 [BZ #13871]
74531 * math/w_exp2.c: Do not include <float.h>.
74532 (o_threshold, u_threshold): Remove.
74533 (__exp2): Calculate result before checking finiteness and calling
74534 __kernel_standard.
74535 * math/w_exp2f.c: Likewise.
74536 * math/w_exp2l.c: Likewise.
74537 * math/libm-test.inc (exp2_test): Require overflow exception for
74538 1e6 input.
74539
74540 [BZ #3866]
74541 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
74542 range of signed 64-bit integers before using fistpll. Remove
74543 checks for whether integers fit in mantissa bits.
74544 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
74545 the range of signed 32-bit integers before using fistpl. Remove
74546 checks for whether integers fit in mantissa bits.
74547 * sysdeps/i386/fpu/e_powl.S (p64): New object.
74548 (__ieee754_powl): Test for y outside the range of signed 64-bit
74549 integers before using fistpll. Reduce 64-bit values to 63-bit
74550 ones as needed.
74551 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
74552 divide-by-zero is raised for zero to large negative powers.
74553 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
74554 (__ieee754_powl): Test for y outside the range of signed 64-bit
74555 integers before using fistpll. Reduce 64-bit values to 63-bit
74556 ones as needed.
74557 * math/libm-test.inc (pow_test): Add more tests.
74558
74559 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
74560
74561 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
74562 <stdio-common/_itoa.h>.
74563 * debug/segfault.c: Likewise.
74564 * elf/dl-cache.c: Likewise.
74565 * elf/dl-minimal.c: Likewise.
74566 * elf/dl-misc.c: Likewise.
74567 * elf/dl-sysdep.c: Likewise.
74568 * elf/dl-version.c: Likewise.
74569 * elf/rtld.c: Likewise.
74570 * hurd/hurdsock.c: Likewise.
74571 * hurd/lookup-retry.c: Likewise.
74572 * malloc/malloc.c: Likewise.
74573 * malloc/mtrace.c: Likewise.
74574 * nscd/nscd_getgr_r.c: Likewise.
74575 * nscd/nscd_getpw_r.c: Likewise.
74576 * nscd/nscd_getserv_r.c: Likewise.
74577 * posix/getopt_init.c: Likewise.
74578 * posix/wordexp.c: Likewise.
74579 * stdio-common/_itoa.c: Likewise.
74580 * stdio-common/printf_fphex.c: Likewise.
74581 * stdio-common/vfprintf.c: Likewise.
74582 * string/_strerror.c: Likewise.
74583 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
74584 * sysdeps/i386/i686/hp-timing.h: Likewise.
74585 * sysdeps/mach/_strerror.c: Likewise.
74586 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
74587 * sysdeps/mach/hurd/sethostid.c: Likewise.
74588 * sysdeps/mach/hurd/xmknodat.c: Likewise.
74589 * sysdeps/mach/xpg-strerror.c: Likewise.
74590 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
74591 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
74592 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
74593 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
74594 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
74595 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
74596 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
74597 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
74598 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
74599 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
74600 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
74601 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
74602 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
74603 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
74604 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
74605 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
74606 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
74607 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
74608 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
74609 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
74610 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
74611
74612 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
74613
74614 * stdio-common/_itoa.h: Moved to ...
74615 * sysdeps/generic/_itoa.h: Here.
74616
74617 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
74618
74619 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
74620 instead of "_itoa.h" and "_itowa.h".
74621 * stdio-common/vfprintf.: Likewise.
74622
74623 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
74624
74625 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
74626 <bits/wordsize.h>.
74627 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
74628 (__signbit): Likewise.
74629 (llrintf): Likewise.
74630 (llrint): Likewise.
74631
74632 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
74633
74634 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
74635 __WORDSIZE != 64.
74636
74637 2012-03-20 Joseph Myers <joseph@codesourcery.com>
74638
74639 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
74640 OVERFLOW_EXCEPTION_OK.
74641 * math/libm-test.inc ("Philosophy"): Update comment about
74642 exception testing.
74643 (OVERFLOW_EXCEPTION): Define.
74644 (OVERFLOW_EXCEPTION_OK): Likewise.
74645 (INVALID_EXCEPTION_OK): Renumber.
74646 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
74647 (IGNORE_ZERO_INF_SIGN): Likewise.
74648 (test_exceptions): Handle FE_OVERFLOW.
74649 (exp10_test): Expect overflow exceptions.
74650 (exp2_test): Likewise.
74651 (expm1_test): Likewise.
74652 (nextafter_test): Likewise.
74653 (pow_test): Likewise.
74654 (scalbn_test): Likewise.
74655 (scalbln_test): Likewise.
74656
74657 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74658
74659 * sysdeps/x86_64/bits/atomic.h
74660 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
74661 64bit integer.
74662 (atomic_exchange_acq): Likewise.
74663 (__arch_exchange_and_add_body): Likewise.
74664 (__arch_add_body): Likewise.
74665 (atomic_add_negative): Likewise.
74666 (atomic_add_zero): Likewise.
74667
74668 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74669
74670 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
74671 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
74672
74673 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74674
74675 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
74676 Check __x86_64__ instead of __WORDSIZE.
74677
74678 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74679
74680 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
74681
74682 2012-03-19 David S. Miller <davem@davemloft.net>
74683
74684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74685
74686 * sysdeps/sparc/fpu/fenv_private.h: New file.
74687 * sysdeps/sparc/fpu/math_private.h: Use it.
74688 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
74689 Remove.
74690 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
74691 (libc_feholdexcept_setroundl): Remove.
74692 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
74693 Remove.
74694 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
74695 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
74696
74697 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74698
74699 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
74700 int64_t instead of long int.
74701 (INSERT_WORDS64): Likewise.
74702
74703 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74704
74705 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
74706 _Unwind_GetCFA return to _Unwind_Ptr first.
74707
74708 2012-03-19 Joseph Myers <joseph@codesourcery.com>
74709
74710 [BZ #13629]
74711 * math/s_clog.c: Include <float.h>.
74712 (__clog): Scale large or subnormal inputs.
74713 * math/s_clogf.c: Likewise.
74714 * math/s_clogl.c: Likewise.
74715 * math/s_clog10.c: Include <float.h>.
74716 (M_LOG10_2): Define.
74717 (__clog10): Scale large or subnormal inputs.
74718 * math/s_clog10f.c: Likewise.
74719 * math/s_clog10l.c: Likewise.
74720 * math/libm-test.inc (clog_test): Add more tests.
74721 (clog10_test): Likewise.
74722 * sysdeps/i386/fpu/libm-test-ulps: Update.
74723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74724
74725 [BZ #11451]
74726 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
74727 x and y.
74728 * math/libm-test.inc (atan2_test): Add another test.
74729
74730 * Makerules (common-objdir-compile): Remove.
74731 * sysdeps/unix/Makefile (config-generated): Do not add
74732 $(unix-generated) to variable.
74733 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
74734 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
74735 Remove rule.
74736 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
74737 Likewise.
74738 [generic bits/local_lim.h] (before-compile): Do not append to
74739 variable.
74740 [generic bits/local_lim.h] (common-generated): Likewise.
74741 [generic sys/param.h] (before-compile): Do not append to variable.
74742 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
74743 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
74744 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
74745 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
74746 include.
74747 [generic sys/param.h] (sys/param.h-includes): Remove variable.
74748 [generic sys/param.h] (sys/param.h-includes): Remove rule.
74749 [generic sys/param.h] ($(addprefix
74750 $(common-objpfx),$(sys/param.h-includes))): Likewise.
74751 [generic sys/param.h] (common-generated): Do not append to
74752 variable.
74753 [generic sys/param.h] (sysdep_headers): Likewise.
74754 [generic bits/errno.h] (before-compile): Do not append to
74755 variable.
74756 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
74757 rule.
74758 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
74759 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
74760 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
74761 [generic bits/errno.h] (common-generated): Do not append to
74762 variable.
74763 [generic bits/ioctls.h] (before-compile): Do not append to
74764 variable.
74765 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
74766 rule.
74767 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
74768 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
74769 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
74770 rule.
74771 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
74772 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
74773 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
74774 [generic bits/ioctls.h] (common-generated): Do not append to
74775 variable.
74776 [generic sys/syscall.h] (syscall.h): Remove variable.
74777 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
74778 rule.
74779 [generic sys/syscall.h] (before-compile): Do not append to
74780 variable.
74781 [generic sys/syscall.h] (common-generated): Likewise.
74782 * sysdeps/unix/errnos-tmpl.c: Remove file.
74783 * sysdeps/unix/errnos.awk: Likewise.
74784 * sysdeps/unix/ioctls-tmpl.c: Likewise.
74785 * sysdeps/unix/ioctls.awk: Likewise.
74786 * sysdeps/unix/mk-local_lim.c: Likewise.
74787 * sysdeps/unix/snarf-ioctls: Likewise.
74788
74789 2012-03-19 Richard Henderson <rth@twiddle.net>
74790
74791 * sysdeps/i386/fpu/fenv_private.h: New file.
74792 * sysdeps/i386/fpu/math_private.h: Use it.
74793 (math_opt_barrier, math_force_eval): Remove.
74794 (libc_feholdexcept_setround_53bit): Remove.
74795 (libc_feupdateenv_53bit): Remove.
74796 * sysdeps/x86_64/fpu/math_private.h: Likewise.
74797 (math_opt_barrier, math_force_eval): Remove.
74798 (libc_feholdexcept): Remove.
74799 (libc_feholdexcept_setround): Remove.
74800 (libc_fetestexcept, libc_fesetenv): Remove.
74801 (libc_feupdateenv_test): Remove.
74802 (libc_feupdateenv, libc_feholdsetround): Remove.
74803 (libc_feresetround): Remove.
74804
74805 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
74806 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
74807
74808 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
74809 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
74810 (libc_feupdateenv_testl): New.
74811 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
74812 (libc_feupdateenv_testf): New.
74813 (libc_feupdateenv): Use libc_feupdateenv_test.
74814 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
74815 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
74816
74817 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
74818 (libc_feholdsetroundf, libc_feholdsetroundl): New.
74819 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
74820 (libc_feresetround_noex): New.
74821 (libc_feresetround_noexf): New.
74822 (libc_feresetround_noexl): New.
74823 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
74824 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
74825 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
74826 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
74827 SET_RESTORE_ROUND.
74828 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
74829 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
74830 (__cos): Likewise.
74831 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
74832 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
74833 SET_RESTORE_ROUND_NOEX.
74834 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
74835 SET_RESTORE_ROUND_NOEXF.
74836 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
74837 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
74838 (libc_feholdsetroundf): New.
74839 (libc_feresetround, libc_feresetroundf): New.
74840
74841 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
74842 (libc_feholdexcept_setround_53bit): Convert from macro to function.
74843 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
74844
74845 * sysdeps/generic/math_private.h: Include <fenv.h>.
74846 (default_libc_feholdexcept): New.
74847 (default_libc_feholdexcept_setround): New.
74848 (default_libc_fesetenv, default_libc_feupdateenv): New.
74849 (libc_feholdexcept): Only define if undefined.
74850 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
74851 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
74852 (libc_feholdexcept_setroundl): Likewise.
74853 (libc_feholdexcept_setround_53bit): Likewise.
74854 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
74855 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
74856 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
74857 (libc_feupdateenv_53bit): Likewise.
74858 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
74859 (libc_feholdexcept): Convert from macro to inline function.
74860 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
74861 (libc_fesetenv, libc_feupdateenv): Likewise.
74862
74863 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
74864 not previously defined.
74865 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
74866 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
74867 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
74868 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
74869 * sysdeps/ieee754/flt-32/math_private.h: New file.
74870 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
74871 math_private.h below SET_FLOAT_WORD.
74872 (__isnan, __isinf_ns, __finite): Remove.
74873 (__isnanf, __isinf_nsf, __finitef): Remove.
74874
74875 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
74876
74877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74878
74879 2012-03-17 David S. Miller <davem@davemloft.net>
74880
74881 [BZ #6471]
74882 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
74883 for 2.16.
74884
74885 2012-03-16 David S. Miller <davem@davemloft.net>
74886
74887 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
74888 warnings.
74889
74890 [BZ #6471]
74891 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
74892 properly.
74893 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
74894 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
74895 sysdep_routines when subdir is sysvipc.
74896 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
74897 __getshmlba helper.
74898
74899 * sysdeps/sparc/fpu/libm-test/ulps: Update.
74900
74901 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
74902
74903 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
74904 [__LP64__].
74905
74906 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
74907
74908 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
74909 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
74910 (__lround): Renamed to ...
74911 (__llround): This. Replace long int with long long int.
74912 Define lround functions as aliases of llround functions.
74913 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
74914
74915 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
74916
74917 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
74918 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
74919 adresses to uintptr_t. Replace "long int" and "unsigned long
74920 int" with "greg_t" on va_arg.
74921
74922 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
74923
74924 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
74925 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
74926
74927 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
74928 Move e_machine check before EI_CLASS check. Handle x32
74929 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
74930 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
74931 SKIP_EM_IA_64 and include
74932 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
74933
74934 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
74935 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
74936 (add_system_dir): New macro.
74937
74938 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
74939 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
74940
74941 2012-03-16 Joseph Myers <joseph@codesourcery.com>
74942
74943 [BZ #2551]
74944 [BZ #2552]
74945 [BZ #2553]
74946 [BZ #2554]
74947 [BZ #2562]
74948 [BZ #2563]
74949 [BZ #2565]
74950 [BZ #2566]
74951 [BZ #2576]
74952 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
74953 (y0): Likewise.
74954 * math/w_j0f.c (j0f): Likewise.
74955 (y0f): Likewise.
74956 * math/w_j0l.c (__j0l): Likewise.
74957 (__y0l): Likewise.
74958 * math/w_j1.c (j1): Likewise.
74959 (y1): Likewise.
74960 * math/w_j1f.c (j1f): Likewise.
74961 (y1f): Likewise.
74962 * math/w_j1l.c (__j1l): Likewise.
74963 (__y1l): Likewise.
74964 * math/w_jn.c (jn): Likewise.
74965 (yn): Likewise.
74966 * math/w_jnf.c (jnf): Likewise.
74967 (ynf): Likewise.
74968 * math/w_jnl.c (__jnl): Likewise.
74969 (__ynl): Likewise.
74970 * math/libm-test.inc (j0_test): Add more tests.
74971 (j1_test): Likewise.
74972 (jn_test): Likewise. Add trailing semicolon to existing test.
74973 (y0_test): Likewise.
74974 (y1_test): Likewise.
74975 * sysdeps/i386/fpu/libm-test-ulps: Update.
74976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74977
74978 [BZ #13851]
74979 [BZ #13854]
74980 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
74981 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
74982 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
74983 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
74984 (__tanl): Set errno for infinite argument.
74985 * sysdeps/i386/fpu/mptan.c: Remove.
74986 * sysdeps/i386/fpu/s_tan.S: Likewise.
74987 * sysdeps/i386/fpu/s_tanl.S: Likewise.
74988 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
74989 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
74990 * math/libm-test.inc (tan_test): Add more tests and enable more
74991 tests for double and long double.
74992 * sysdeps/i386/fpu/libm-test-ulps: Update.
74993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74994
74995 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
74996
74997 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
74998 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
74999
75000 2012-03-16 Roland McGrath <roland@hack.frob.com>
75001
75002 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
75003 * configure.in: Use it for both main tree and add-ons.
75004 * configure: Regenerated.
75005
75006 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75007
75008 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
75009
75010 2012-03-16 Joseph Myers <joseph@codesourcery.com>
75011
75012 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
75013 in comment.
75014
75015 [BZ #13851]
75016 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
75017 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
75018 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
75019 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
75020 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
75021 infinite argument.
75022 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
75023 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
75024 != 0 for prec == 2.
75025 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
75026 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
75027 * sysdeps/i386/fpu/s_cosl.S: Likewise.
75028 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
75029 * sysdeps/i386/fpu/s_sinl.S: Likewise.
75030 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
75031 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
75032 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
75033 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
75034 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
75035 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
75036 * math/libm-test.inc (cos_test): Add more tests and enable more
75037 tests for long double.
75038 (sin_test): Likewise.
75039 (sincos_test): Likewise.
75040 * sysdeps/i386/fpu/libm-test-ulps: Update.
75041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75042
75043 2012-03-16 David S. Miller <davem@davemloft.net>
75044
75045 * sysdeps/sparc/fpu/math_private.h: New file.
75046
75047 2012-03-15 David S. Miller <davem@davemloft.net>
75048
75049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
75050 file.
75051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
75052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
75053 file.
75054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
75055 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
75056 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
75057 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
75058 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
75059 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
75060 sysdep routines.
75061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75062
75063 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
75064 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
75065
75066 * sysdeps/sparc/sparc-ifunc.h: New file.
75067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
75068 sparc-ifunc.h
75069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
75070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
75071 Likewise.
75072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
75073 Likewise.
75074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
75075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
75076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
75078 Likewise.
75079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
75081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
75083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
75084 Likewise.
75085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
75086 Likewise.
75087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
75089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
75090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
75091 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
75092 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
75093 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
75094 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
75095 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
75096 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
75097 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
75098 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
75099 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
75100 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
75101 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
75102 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
75103 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
75104 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
75105 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
75106 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
75107 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
75108 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
75109 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
75110 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
75111
75112 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
75113
75114 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
75115 scaling.
75116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75117
75118 2012-03-15 Andreas Jaeger <aj@suse.de>
75119
75120 [BZ #13852]
75121 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
75122 ieee754/flt-32 implementation for sin, cos and sincos.
75123 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
75124 * sysdeps/i386/fpu/s_cosf.S: Likewise.
75125 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
75126 * sysdeps/i386/fpu/s_sinf.S: Likewise.
75127 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
75128 ieee754/flt-32 implementation for tan.
75129
75130 * math/libm-test.inc (cos_test): Enable some large input tests for
75131 float as well
75132 (sin_test): Likewise.
75133 (sincos_test): Likewise.
75134 (tan_test): Add tests for large input.
75135
75136 * sysdeps/i386/fpu/libm-test-ulps: Update.
75137
75138 2012-03-15 Andreas Jaeger <aj@suse.de>
75139
75140 [BZ #13658]
75141 * math/libm-test.inc (cos_test): Add more test cases.
75142 (sin_test): Likewise.
75143 (sincos_test): Likewise.
75144
75145 2012-03-15 Andreas Jaeger <aj@suse.de>
75146
75147 [BZ #13837]
75148 * math/libm-test.inc (cos_test): Add a test case for large input
75149 value.
75150 (sin_test): Likewise.
75151 (sincos_test): Likewise.
75152
75153 2012-03-15 Andreas Jaeger <aj@suse.de>
75154 Joseph Myers <joseph@codesourcery.com>
75155
75156 [BZ #13658]
75157 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
75158 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
75159 * sysdeps/i386/fpu/branred.c: Likewise.
75160 * sysdeps/i386/fpu/dosincos.c: Likewise.
75161 * sysdeps/i386/fpu/mpa.c: Likewise.
75162 * sysdeps/i386/fpu/s_cos.S: Likewise.
75163 * sysdeps/i386/fpu/s_sin.S: Likewise.
75164 * sysdeps/i386/fpu/s_sincos.S: Likewise.
75165 * sysdeps/i386/fpu/sincos32.c: Likewise.
75166
75167 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
75168 Define.
75169 (libc_feupdateenv_53bit): Define.
75170 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
75171 Define.
75172 (libc_feupdateenv_53bit): Define.
75173
75174 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
75175 53 bit (without extend i386 double precision).
75176
75177 * math/libm-test.inc (sincos_test): Add tests for large input.
75178 (sin): Likewise.
75179 (cos): Likewise.
75180
75181 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
75182
75183 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
75184
75185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75186
75187 2012-03-15 David S. Miller <davem@davemloft.net>
75188
75189 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
75190 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
75191 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
75192 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
75193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
75194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
75195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
75196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
75197 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
75198 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
75199 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
75200 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
75201 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
75202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
75203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
75204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
75205 file.
75206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
75207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
75208 file.
75209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
75210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
75211 file.
75212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
75213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
75214 file.
75215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
75216 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
75217 fmin/fmax sysdep routines.
75218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75219
75220 2012-03-14 David S. Miller <davem@davemloft.net>
75221
75222 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
75223 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
75224 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
75225 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
75226 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
75227 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
75228 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
75229 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
75230 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
75231 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
75232 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
75233 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
75234 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
75235 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
75236 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
75237 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
75238 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
75239 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
75240 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
75241 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
75242 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
75243 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
75244 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
75245 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
75246 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
75247 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
75248 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
75249 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
75250 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
75251 routines.
75252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
75253 file.
75254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
75255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
75256 file.
75257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
75258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
75259 file.
75260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
75261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
75262 file.
75263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
75264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
75265 file.
75266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
75267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
75268 file.
75269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
75270 file.
75271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
75272 file.
75273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
75274 file.
75275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
75276 New file.
75277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
75278 file.
75279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
75280 file.
75281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
75282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
75283 file.
75284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
75285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
75286 file.
75287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
75288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
75289 file.
75290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
75291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
75292 VIS3 routines.
75293
75294 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
75295 New file.
75296
75297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75298
75299 * sysdeps/sparc/configure.in: New file.
75300 * sysdeps/sparc/configure: Generate.
75301 * configure.in (libc_cv_sparc_as_vis3): Substitute.
75302 * configure: Regenerate.
75303 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
75304 * config.make.in (have-as-vis3): New.
75305 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
75306 available use -Av9d instead of -Av9a.
75307 * sysdeps/sparc/sparc64/Makefile: Likewise.
75308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
75309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
75310 New file.
75311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
75312 file.
75313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
75314 New file.
75315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
75316 file.
75317 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
75318 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
75319 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
75320 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
75321 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
75322
75323 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
75324 fzeros/fnegs to load 0x80000000 into a float register instead of
75325 using the stack.
75326 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
75327
75328 2012-03-14 Joseph Myers <joseph@codesourcery.com>
75329
75330 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75331 bits/syscall.h.
75332 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
75333 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
75334 ($(inst_includedir)/bits/syscall.h): Remove rule.
75335 ($(objpfx)bits/syscall.d): Include instead of
75336 $(objpfx)syscall-list.d.
75337 (generated): Change syscall-list.h and syscall-list.d to
75338 bits/syscall.h and bits/syscall.d.
75339
75340 2012-03-14 Roland McGrath <roland@hack.frob.com>
75341
75342 [BZ #13846]
75343 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
75344
75345 2012-03-14 Joseph Myers <joseph@codesourcery.com>
75346
75347 [BZ #13841]
75348 * math/s_csqrt.c: Include <float.h>.
75349 (__csqrt): Scale large or subnormal inputs.
75350 * math/s_csqrtf.c: Likewise.
75351 * math/s_csqrtl.c: Likewise.
75352 * math/libm-test.inc (csqrt_test): Add more tests.
75353 * sysdeps/i386/fpu/libm-test-ulps: Update.
75354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75355
75356 [BZ #13840]
75357 * math/libm-test.inc (hypot_test): Add more tests.
75358
75359 2012-03-13 David S. Miller <davem@davemloft.net>
75360
75361 [BZ #13840]
75362 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
75363 double-precision for the calculation instead of scaling.
75364
75365 2012-03-13 Joseph Myers <joseph@codesourcery.com>
75366
75367 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
75368 manipulate bits before adding and subtracting TWO52[sx].
75369 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
75370 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
75371 Likewise.
75372 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
75373
75374 2012-03-13 David S. Miller <davem@davemloft.net>
75375
75376 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
75377 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
75378 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
75379 rtld-global-offsets.h
75380 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75381
75382 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
75383 large parameters.
75384
75385 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
75386
75387 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
75388 'err' in the ifdef scope in which it is actually used.
75389
75390 * nss/nss_db/db-init.c: Include string.h
75391
75392 2012-03-12 David S. Miller <davem@davemloft.net>
75393
75394 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
75395 masking out of the most significant byte of random value used.
75396 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75397 Fix coding style in previous change.
75398
75399 * sysdeps/unix/sysv/linux/kernel-features.h
75400 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
75401 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
75402 expression.
75403 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
75404 later.
75405
75406 2012-03-11 David S. Miller <davem@davemloft.net>
75407
75408 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
75409 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
75410 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
75411 for 'resultvar' otherwise things get truncated on 64-bit.
75412
75413 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75414 Fix masking out of the most significant byte of random value used.
75415
75416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75417
75418 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
75419
75420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75421
75422 2012-03-09 David S. Miller <davem@davemloft.net>
75423
75424 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
75425 variables with appropriate CPP guards.
75426 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
75427 from the frame pointer, not the stack pointer. Correct layout
75428 comments. Fix test on resulting framesize and the management of
75429 the outregs buffer for pltexit. Preserve floating point return
75430 values across _dl_call_pltexit call.
75431 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
75432 framesize and the management of the outregs buffer for pltexit.
75433 Preserve floating point return values across _dl_call_pltexit
75434 call.
75435 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
75436 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
75437 (la_sparc64_gnu_pltexit): New functions.
75438 (print_exit): Fix format string for return register value.
75439
75440 2012-03-10 Joseph Myers <joseph@codesourcery.com>
75441
75442 * sunrpc/Makefile (others): Add rpcgen.
75443 ($(objpfx)rpcgen): Remove special build rule and dependency on
75444 libc.
75445 * sunrpc/rpcgen.c: New file.
75446
75447 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
75448
75449 [BZ #13673]
75450 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
75451 * stdio-common/bug-vfprintf-nargs.c: Likewise.
75452 * sysdeps/i386/crti.S: Likewise.
75453 * sysdeps/i386/crtn.S: Likewise.
75454 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
75455 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
75456 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
75457 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
75458 * sysdeps/sh/crti.S: Likewise.
75459 * sysdeps/sh/crtn.S: Likewise.
75460 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
75461
75462 [BZ #13673]
75463 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
75464 with URL.
75465 * locale/programs/locfile-kw.gperf: Likewise.
75466 * locale/programs/charmap-kw.h: Regenerated.
75467 * locale/programs/locfile-kw.h: Likewise.
75468
75469 [BZ #13673]
75470 * intl/plural.y: Replace FSF snail mail address with URL.
75471 * intl/plural.c: Regenerated.
75472
75473 2012-03-09 Richard Henderson <rth@twiddle.net>
75474
75475 * include/math_private.h: Remove file.
75476 * math/math_private.h: Move file ...
75477 * sysdeps/generic/math_private.h: ... here.
75478
75479 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
75480 * sysdeps/powerpc/fpu/math_private.h: Likewise.
75481 * sysdeps/x86_64/fpu/math_private.h: Likewise.
75482
75483 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
75484 and <math_private.h>.
75485 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
75486 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
75487 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
75488 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
75489 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
75490 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
75491 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
75492 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75493 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75494 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75495 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75496 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75497 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75498 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75499 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75500 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75501 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75502 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75503 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75504 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75505 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75506 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75507 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75508 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75509 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
75510 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75511 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75512 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75513 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75514 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
75515 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75516 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75517 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
75518 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
75519 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
75520 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
75521 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
75522 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
75523 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
75524 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75525 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
75526 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
75527 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
75528 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
75529 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
75530 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
75531 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
75532 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
75533 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
75534 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
75535 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
75536 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
75537 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
75538 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
75539 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
75540 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75541 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75542 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
75543 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
75544 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
75545 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
75546 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
75547 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75548 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
75549 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
75550 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
75551 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
75552 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
75553 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
75554 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
75555 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
75556 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75557 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
75558 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75559 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
75560 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
75561 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
75562 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
75563 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
75564 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
75565 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
75566 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
75567 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
75568 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75569 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
75570 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
75571 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
75572 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
75573 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75574 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75575 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75576 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75577 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75578 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75579 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75580 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75581 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75582 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75583 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75584 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75585 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75586 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75587 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75588 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75589 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
75590 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75591 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75592 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75593 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
75594 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
75595 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
75596 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
75597 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75598 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
75599 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
75600 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75601 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
75602 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
75603 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
75604 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
75605 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
75606 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
75607 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75608 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
75609 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
75610 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
75611 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75612 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
75613 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
75614 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
75615 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
75616 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
75617 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
75618 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
75619 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
75620 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
75621 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
75622 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
75623 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
75624 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75625 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75626 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
75627 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
75628 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
75629 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
75630 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
75631 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
75632 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
75633 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
75634 * sysdeps/ieee754/k_standard.c: Likewise.
75635 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75636 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75637 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75638 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75639 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75640 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75641 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75642 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75643 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75644 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75645 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75646 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75647 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75648 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75649 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75650 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75651 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
75652 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75653 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75654 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
75655 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
75656 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
75657 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
75658 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
75659 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
75660 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
75661 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
75662 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
75663 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
75664 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
75665 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
75666 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
75667 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
75668 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
75669 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
75670 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
75671 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
75672 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
75673 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
75674 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
75675 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
75676 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
75677 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
75678 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
75679 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
75680 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
75681 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
75682 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
75683 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
75684 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
75685 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
75686 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
75687 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
75688 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
75689 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
75690 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
75691 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
75692 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
75693 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
75694 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
75695 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
75696 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
75697 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
75698 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75699 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75700 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75701 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75702 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75703 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75704 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75705 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75706 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75707 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75708 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75709 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75710 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75711 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
75712 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75713 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75714 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
75715 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
75716 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
75717 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
75718 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
75719 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
75720 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
75721 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
75722 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
75723 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
75724 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
75725 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
75726 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
75727 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
75728 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
75729 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
75730 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
75731 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
75732 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
75733 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
75734 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
75735 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
75736 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
75737 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
75738 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
75739 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
75740 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
75741 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
75742 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
75743 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
75744 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
75745 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
75746 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
75747 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75748 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75749 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75750 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75751 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75752 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75753 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75754 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75755 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75756 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75757 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75758 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75759 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75760 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
75761 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
75762 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
75763 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
75764 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
75765 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
75766 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
75767 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
75768 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
75769 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
75770 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
75771 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
75772 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
75773 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
75774 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
75775 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
75776 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
75777 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
75778 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
75779 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
75780 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
75781 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
75782 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
75783 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
75784 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
75785 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
75786 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75787 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
75788 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
75789 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
75790 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
75791 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
75792 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
75793 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
75794 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
75795 * sysdeps/ieee754/s_lib_version.c: Likewise.
75796 * sysdeps/ieee754/s_matherr.c: Likewise.
75797 * sysdeps/ieee754/s_signgam.c: Likewise.
75798 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75799 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75800 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
75801 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
75802 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
75803 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
75804 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
75805 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
75806 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
75807 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
75808 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
75809 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
75810 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
75811 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
75812 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
75813 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
75814 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
75815 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
75816 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
75817 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
75818 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
75819
75820 2012-03-09 Joseph Myers <joseph@codesourcery.com>
75821
75822 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
75823 * sunrpc/rpc_main.c: Likewise.
75824 * sunrpc/rpc_svcout.c: Likewise.
75825
75826 2012-03-09 David S. Miller <davem@davemloft.net>
75827
75828 * include/math_private.h: New file.
75829
75830 2012-03-09 Joseph Myers <joseph@codesourcery.com>
75831
75832 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
75833 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
75834 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
75835 from <bits/socket_type.h>.
75836 (enum __socket_type): Don't define here.
75837 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
75838 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75839 bits/socket_type.h.
75840
75841 [BZ #13566]
75842 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
75843 checking __USE_GNU.
75844
75845 * Makerules ($(inst_includedir)/%.h): New rule.
75846 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
75847 (install-others): Remove variable setting.
75848 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
75849
75850 2012-03-08 Richard Henderson <rth@twiddle.net>
75851
75852 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
75853 from macro to inline function; merge with the
75854 !__LIBC_INTERNAL_MATH_INLINES version.
75855 (__ieee754_sqrtf): Likewise.
75856
75857 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
75858 to inline function.
75859 (__rintf, __floor, __floorf): Likewise.
75860
75861 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
75862 macro to inline function.
75863 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
75864
75865 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
75866 not <math/math_private.h>.
75867
75868 2012-03-08 David S. Miller <davem@davemloft.net>
75869
75870 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
75871 copyright year.
75872 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
75873
75874 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
75875
75876 * resolv/gai_misc.c (handle_requests): Fix struct timespec
75877 normalization.
75878 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
75879 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
75880
75881 2012-03-08 Ulrich Drepper <drepper@gmail.com>
75882
75883 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
75884 be defined individually, they must be defined as a block. Define
75885 S for printing a string instead of hidint the different by using a
75886 macro for adding the 'l'.
75887 * stdio-common/tst-fphex-wide.c: Adjust.
75888
75889 2012-03-07 Marek Polacek <polacek@redhat.com>
75890
75891 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
75892
75893 2012-03-08 Marek Polacek <polacek@redhat.com>
75894
75895 [BZ #13806]
75896 * stdio-common/Makefile (tests): Add tst-fphex-wide.
75897 * stdio-common/tst-fphex.c: Define a few macros to make the
75898 test reusable. Use them.
75899 * stdio-common/tst-fphex-wide.c: New file.
75900
75901 2012-03-08 Joseph Myers <joseph@codesourcery.com>
75902
75903 [BZ #6911]
75904 * manual/macros.texi (gnusystems): New macro.
75905 (nongnusystems): Likewise.
75906 (gnulinuxhurdsystems): Likewise.
75907 (gnuhurdsystems): Likewise..
75908 (gnulinuxsystems): Likewise.
75909 * manual/charset.texi: Use new macros or @theglibc{} to refer to
75910 variants of the GNU system, not "GNU system".
75911 * manual/conf.texi: Likewise.
75912 * manual/errno.texi: Likewise. Update example of errno macro
75913 expansion.
75914 * manual/filesys.texi: Likewise.
75915 (getumask): Document as specific to GNU/Hurd.
75916 * manual/install.texi: Likewise. Reword some references to
75917 GNU/Linux.
75918 * manual/intro.texi: Likewise.
75919 * manual/io.texi: Likewise.
75920 (File Name Portability): Detail which constraints are inapplicable
75921 to all GNU systems and which are only inapplicable to GNU/Hurd.
75922 * manual/job.texi: Likewise.
75923 * manual/llio.texi: Likewise.
75924 (O_NOCTTY): Document as present on GNU/Linux.
75925 * manual/maint.texi: Likewise.
75926 * manual/memory.texi: Likewise.
75927 * manual/pattern.texi: Likewise.
75928 * manual/pipe.texi: Likewise.
75929 * manual/process.texi: Likewise.
75930 * manual/resource.texi: Likewise.
75931 (RUSAGE_CHILDREN): Remove statement about specifying a particular
75932 child on GNU/Hurd.
75933 * manual/setjmp.texi: Likewise.
75934 * manual/signal.texi: Likewise.
75935 * manual/startup.texi: Likewise.
75936 * manual/stdio.texi: Likewise.
75937 * manual/terminal.texi: Likewise.
75938 (ONLCR): Document as POSIX.
75939 (OXTABS): Document availability on GNU/Linux as XTABS.
75940 (ONOEOT): Document availability separately from other bits.
75941 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
75942 * manual/time.texi: Likewise.
75943 * manual/users.texi: Likewise.
75944 * INSTALL: Regenerated.
75945 * sysdeps/gnu/errlist.c: Regenerated.
75946
75947 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
75948 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
75949 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
75950 puts.
75951 * configure: Regenerated.
75952
75953 2012-03-07 Joseph Myers <joseph@codesourcery.com>
75954
75955 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
75956 default includes instead of AC_HEADER_CHECK.
75957 * sysdeps/i386/configure: Regenerated.
75958
75959 [BZ #10716]
75960 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
75961 * math/s_cacoshf.c (__cacoshf): Likewise.
75962 * math/s_cacoshl.c (__cacoshl): Likewise.
75963 * math/s_casinh.c (__casinh): Set signs of result from argument.
75964 * math/s_casinhf.c (__casinhf): Likewise.
75965 * math/s_casinhl.c (__casinhl): Likewise.
75966 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
75967 (casinh_test): Add more tests.
75968 * sysdeps/i386/fpu/libm-test-ulps: Update.
75969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75970
75971 2012-03-07 Ulrich Drepper <drepper@gmail.com>
75972
75973 * po/zh_TW.po: Update from translation team.
75974
75975 * login/Makefile (distribute): Remove variable.
75976 * catgets/Makefile: Likewise.
75977 * mach/Makefile: Likewise.
75978 * malloc/Makefile: Likewise.
75979 * misc/Makefile: Likewise.
75980 * iconv/Makefile: Likewise.
75981 * nscd/Makefile: Likewise.
75982 * hurd/Makefile: Likewise.
75983 * manual/Makefile: Likewise.
75984 * locale/Makefile: Likewise.
75985 * intl/Makefile: Likewise.
75986 * conform/Makefile: Likewise.
75987 * nss/Makefile: Likewise.
75988 * time/Makefile: Likewise.
75989 * soft-fp/Makefile: Likewise.
75990 * dirent/Makefile: Likewise.
75991 * gmon/Makefile: Likewise.
75992 * po/Makefile: Likewise.
75993 * rt/Makefile: Likewise.
75994 * socket/Makefile: Likewise.
75995 * math/Makefile: Likewise.
75996 * signal/Makefile: Likewise.
75997 * debug/Makefile: Likewise.
75998 * elf/Makefile: Likewise.
75999 * timezone/Makefile: Likewise.
76000 * stdlib/Makefile: Likewise.
76001 * iconvdata/Makefile: Likewise.
76002 * sunrpc/Makefile: Likewise.
76003 * io/Makefile: Likewise.
76004 * argp/Makefile: Likewise.
76005 * inet/Makefile: Likewise.
76006 * hesiod/Makefile: Likewise.
76007 * grp/Makefile: Likewise.
76008 * csu/Makefile: Likewise.
76009 * wctype/Makefile: Likewise.
76010 * crypt/Makefile: Likewise.
76011 * libio/Makefile: Likewise.
76012 * string/Makefile: Likewise.
76013 * nis/Makefile: Likewise.
76014 * resolv/Makefile: Likewise.
76015 * stdio-common/Makefile: Likewise.
76016 * wcsmbs/Makefile: Likewise.
76017 * dlfcn/Makefile: Likewise.
76018 * posix/Makefile: Likewise.
76019
76020 [BZ #6959]
76021 * timezone/Makefile: Don't install timezone files, just the programs
76022 and scripts.
76023
76024 2012-03-06 Ulrich Drepper <drepper@gmail.com>
76025
76026 * nss/databases.def: Add missing gshadow entry.
76027
76028 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
76029
76030 2012-03-06 Marek Polacek <polacek@redhat.com>
76031
76032 [BZ #13726]
76033 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
76034 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
76035 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
76036 * stdio-common/tst-long-dbl-fphex.c: New file.
76037
76038 2012-03-06 David S. Miller <davem@davemloft.net>
76039
76040 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76041 (set_obp_int): New function.
76042 (get_obp_int): New function.
76043 (__get_clockfreq_via_dev_openprom): Likewise.
76044 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
76045 Avoid unused variable warnings on 'val' and use builtin_expect.
76046 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
76047 __builtin_expect.
76048 (INLINE_CLONE_SYSCALL): Likewise.
76049
76050 2012-03-05 David S. Miller <davem@davemloft.net>
76051
76052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76053
76054 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
76055
76056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76057
76058 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
76059 only for |x| >= 40.
76060 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76061
76062 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
76063
76064 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
76065 Replace gettimeofday with __vdso_gettimeofday.
76066
76067 * sysdeps/unix/sysv/linux/x86_64/init-first.c
76068 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
76069 __vdso_clock_gettime and __vdso_getcpu.
76070
76071 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
76072 time with __vdso_time.
76073
76074 2012-03-05 Joseph Myers <joseph@codesourcery.com>
76075
76076 * manual/lang.texi (size_t): Note types to which size_t may be
76077 equivalent with the GNU C Library, but do not describe when
76078 differences between them are significant.
76079
76080 2012-03-05 Andreas Jaeger <aj@suse.de>
76081
76082 * sysdeps/i386/fpu/libm-test-ulps: Update.
76083
76084 2012-03-05 Joseph Myers <joseph@codesourcery.com>
76085
76086 [BZ #3976]
76087 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
76088 (__ieee754_pow): Save and restore rounding mode and use
76089 round-to-nearest for main computations.
76090 * math/libm-test.inc (pow_test_tonearest): New function.
76091 (pow_test_towardzero): Likewise.
76092 (pow_test_downward): Likewise.
76093 (pow_test_upward): Likewise.
76094 (main): Call the new functions.
76095 * sysdeps/i386/fpu/libm-test-ulps: Update.
76096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76097
76098 [BZ #3976]
76099 * math/libm-test.inc (cosh_test_tonearest): New function.
76100 (cosh_test_towardzero): Likewise.
76101 (cosh_test_downward): Likewise.
76102 (cosh_test_upward): Likewise.
76103 (sinh_test_tonearest): Likewise.
76104 (sinh_test_towardzero): Likewise.
76105 (sinh_test_downward): Likewise.
76106 (sinh_test_upward): Likewise.
76107 (main): Call the new functions.
76108 * sysdeps/i386/fpu/libm-test-ulps: Update.
76109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76110
76111 2012-03-05 Tom de Vries <tom@codesourcery.com>
76112
76113 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
76114 default stack guard is set in last bytes.
76115 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
76116
76117 2012-03-05 Kees Cook <keescook@chromium.org>
76118
76119 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
76120
76121 [BZ #13656]
76122 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
76123 possibly allocate from heap instead of stack.
76124 * stdio-common/bug-vfprintf-nargs.c: New file.
76125 * stdio-common/Makefile (tests): Add nargs overflow test.
76126
76127 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
76128
76129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76130
76131 2012-03-03 Marek Polacek <polacek@redhat.com>
76132
76133 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
76134 * math/math_private.h: Likewise.
76135 * stdlib/tst-strtod.c: Likewise.
76136 * sysdeps/i386/i486/bits/atomic.h: Likewise.
76137 * sysdeps/x86_64/bits/atomic.h: Likewise.
76138
76139 2012-03-02 David S. Miller <davem@davemloft.net>
76140
76141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
76142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
76143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
76144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
76145 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
76146 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
76147 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
76148 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
76149
76150 2012-03-02 Roland McGrath <roland@hack.frob.com>
76151
76152 [BZ #13792]
76153 * manual/examples/README: New file, says the example source files
76154 can be used under GPL>=2.
76155 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
76156 line containing just "*/".
76157 * manual/examples/add.c: Add copyright header (GPL>=2).
76158 * manual/examples/argp-ex1.c: Likewise.
76159 * manual/examples/argp-ex2.c: Likewise.
76160 * manual/examples/argp-ex3.c: Likewise.
76161 * manual/examples/argp-ex4.c: Likewise.
76162 * manual/examples/atexit.c: Likewise.
76163 * manual/examples/db.c: Likewise.
76164 * manual/examples/dir.c: Likewise.
76165 * manual/examples/dir2.c: Likewise.
76166 * manual/examples/execinfo.c: Likewise.
76167 * manual/examples/filecli.c: Likewise.
76168 * manual/examples/filesrv.c: Likewise.
76169 * manual/examples/fmtmsgexpl.c: Likewise.
76170 * manual/examples/genpass.c: Likewise.
76171 * manual/examples/inetcli.c: Likewise.
76172 * manual/examples/inetsrv.c: Likewise.
76173 * manual/examples/isockad.c: Likewise.
76174 * manual/examples/longopt.c: Likewise.
76175 * manual/examples/memopen.c: Likewise.
76176 * manual/examples/memstrm.c: Likewise.
76177 * manual/examples/mkfsock.c: Likewise.
76178 * manual/examples/mkisock.c: Likewise.
76179 * manual/examples/mygetpass.c: Likewise.
76180 * manual/examples/pipe.c: Likewise.
76181 * manual/examples/popen.c: Likewise.
76182 * manual/examples/rprintf.c: Likewise.
76183 * manual/examples/search.c: Likewise.
76184 * manual/examples/select.c: Likewise.
76185 * manual/examples/setjmp.c: Likewise.
76186 * manual/examples/sigh1.c: Likewise.
76187 * manual/examples/sigusr.c: Likewise.
76188 * manual/examples/stpcpy.c: Likewise.
76189 * manual/examples/strdupa.c: Likewise.
76190 * manual/examples/strftim.c: Likewise.
76191 * manual/examples/strncat.c: Likewise.
76192 * manual/examples/subopt.c: Likewise.
76193 * manual/examples/swapcontext.c: Likewise.
76194 * manual/examples/termios.c: Likewise.
76195 * manual/examples/testopt.c: Likewise.
76196 * manual/examples/testpass.c: Likewise.
76197 * manual/examples/timeval_subtract.c: Likewise.
76198
76199 [BZ #13792]
76200 * manual/time.texi (Elapsed Time): Move timeval_subtract example
76201 function to ...
76202 * manual/timeval_subtract.c.texi: ... here, new file.
76203
76204 2012-03-02 David S. Miller <davem@davemloft.net>
76205
76206 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
76207
76208 2012-03-02 Joseph Myers <joseph@codesourcery.com>
76209
76210 [BZ #3976]
76211 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
76212 (__sin): Save and restore rounding mode and use round-to-nearest
76213 for all computations.
76214 (__cos): Save and restore rounding mode and use round-to-nearest
76215 for all computations.
76216 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
76217 <fenv.h>.
76218 (tan): Save and restore rounding mode and use round-to-nearest for
76219 all computations.
76220 * math/libm-test.inc (cos_test_tonearest): New function.
76221 (cos_test_towardzero): Likewise.
76222 (cos_test_downward): Likewise.
76223 (cos_test_upward): Likewise.
76224 (sin_test_tonearest): Likewise.
76225 (sin_test_towardzero): Likewise.
76226 (sin_test_downward): Likewise.
76227 (sin_test_upward): Likewise.
76228 (tan_test_tonearest): Likewise.
76229 (tan_test_towardzero): Likewise.
76230 (tan_test_downward): Likewise.
76231 (tan_test_upward): Likewise.
76232 (main): Call the new functions.
76233 * sysdeps/i386/fpu/libm-test-ulps: Update.
76234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76235
76236 [BZ #10135]
76237 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
76238 small n, then large n, before computing and testing k+n.
76239 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
76240 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
76241 Likewise.
76242 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
76243 Likewise.
76244 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
76245 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
76246 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
76247 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
76248 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
76249 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
76250 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
76251 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
76252 * math/libm-test.inc (scalbn_test): Add more tests.
76253 (scalbln_test): Likewise.
76254
76255 * manual/filesys.texi (mode_t): Describe constraints on size and
76256 signedness, not exact equivalence to a particular type.
76257 (ino_t): Likewise.
76258 (ino64_t): Likewise.
76259 (dev_t): Likewise.
76260 (nlink_t): Likewise.
76261 (blkcnt_t): Likewise.
76262 (blkcnt64_t): Likewise.
76263 * manual/llio.texi (off_t): Likewise.
76264
76265 [BZ #3976]
76266 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
76267 (__ieee754_exp): Save and restore rounding mode and use
76268 round-to-nearest for all computations.
76269 * math/libm-test.inc (exp_test_tonearest): New function.
76270 (exp_test_towardzero): Likewise.
76271 (exp_test_downward): Likewise.
76272 (exp_test_upward): Likewise.
76273 (main): Call the new functions.
76274 * sysdeps/i386/fpu/libm-test-ulps: Update.
76275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76276
76277 2012-03-01 Chris Demetriou <cgd@google.com>
76278
76279 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
76280 have predictable order.
76281
76282 2012-03-01 David S. Miller <davem@davemloft.net>
76283
76284 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
76285
76286 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
76287 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
76288 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
76289 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
76290
76291 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
76292 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
76293 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
76294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
76295 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
76296 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
76297 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
76298 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
76299 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
76300
76301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76302
76303 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
76304 * sysdeps/sparc/fpu/libm-test-ulps: to here.
76305 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
76306
76307 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
76308 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76309 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76310 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
76311 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
76312 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
76313 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
76314 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76315 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76316 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
76317 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
76318 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76319 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76320 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76321 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76322 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76323 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
76324 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
76325 * sysdeps/sparc/elf/configure: Regenerated.
76326
76327 2012-03-01 Joseph Myers <joseph@codesourcery.com>
76328
76329 * configure.in (AS, LD): Require binutils 2.20 or later.
76330 * configure: Regenerated.
76331 * manual/install.texi (Tools for Compilation): Give binutils 2.20
76332 as required minimum version.
76333 * INSTALL: Regenerated.
76334
76335 [BZ #2541]
76336 [BZ #4108]
76337 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
76338 before squaring exponent.
76339 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
76340 bottom long double and 27 bits of top long double before squaring
76341 exponent.
76342 * math/libm-test.inc (erfc_test): Add more tests.
76343 * sysdeps/i386/fpu/libm-test-ulps: Update.
76344 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76346
76347 2012-03-01 Kai Tietz <ktietz@redhat.com>
76348
76349 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
76350 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
76351 containing bit-fields.
76352 * soft-fp/extended.h (_FP_UNION_E): Likewise.
76353 * soft-fp/single.h (_FP_UNION_S): Likewise.
76354 * soft-fp/double.h (_FP_UNION_D): Likewise.
76355
76356 2012-02-29 Joseph Myers <joseph@codesourcery.com>
76357
76358 [BZ #13786]
76359 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
76360 not include ../strcmp.S.
76361 [USE_AS_STRNCASECMP_L]: Likewise.
76362 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
76363 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
76364 * sysdeps/i386/i686/multiarch/strncase_l-c.c
76365 (__strncasecmp_l_ia32): Define as alias to
76366 __strncasecmp_l_nonascii.
76367
76368 [BZ #5794]
76369 * math/libm-test.inc (expm1_test): Add test for bug 5794.
76370 * sysdeps/i386/fpu/libm-test-ulps: Update.
76371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76372
76373 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
76374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76375
76376 2012-02-29 Jeff Law <law@redhat.com>
76377
76378 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
76379 out of bounds read.
76380
76381 2012-02-29 Marek Polacek <polacek@redhat.com>
76382
76383 [BZ #13706]
76384 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
76385 * elf/Makefile: Add rules to run tst-unused-dep.out.
76386
76387 2012-02-28 David S. Miller <davem@davemloft.net>
76388
76389 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
76390 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
76391 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
76392 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
76393 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
76394 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
76395
76396 2012-02-29 Joseph Myers <joseph@codesourcery.com>
76397
76398 * math/libm-test.inc (llround_test): Move one test from
76399 lround_test. Use TEST_f_L in moved test.
76400 (lround_test): Move misplaced test to llround_test. Add testcase
76401 from bug 2561.
76402
76403 2012-02-28 Ulrich Drepper <drepper@gmail.com>
76404
76405 * sysdeps/x86_64/fpu/e_expf.S: New file.
76406 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
76407
76408 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
76409
76410 [BZ #13637]
76411 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
76412 of remain_len that may cause incomplete multi-byte character and
76413 false match.
76414 * posix/bug-regex33.c: New file.
76415 * posix/Makefile (tests): Add bug-regex33.
76416
76417 2012-02-28 Joseph Myers <joseph@codesourcery.com>
76418
76419 * manual/macros.texi: New file.
76420 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
76421 * manual/libc.texinfo: Include macros.texi.
76422 * manual/creatute.texi: Likewise.
76423 * manual/install.texi: Likewise.
76424 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
76425 @glibcadj{} in references to the GNU C Library.
76426 * manual/charset.texi: Likewise.
76427 * manual/conf.texi: Likewise.
76428 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
76429 when not using those macros.
76430 * manual/creature.texi: Likewise.
76431 * manual/crypt.texi: Likewise.
76432 * manual/errno.texi: Likewise.
76433 * manual/filesys.texi: Likewise.
76434 * manual/header.texi: Likewise.
76435 * manual/install.texi: Likewise.
76436 * manual/intro.texi: Likewise.
76437 * manual/io.texi: Likewise.
76438 * manual/job.texi: Likewise.
76439 * manual/lang.texi: Likewise.
76440 * manual/libc.texiinfo: Likewise.
76441 * manual/llio.texi: Likewise.
76442 * manual/locale.texi: Likewise.
76443 * manual/maint.texi: Likewise.
76444 * manual/math.texi: Likewise.
76445 * manual/memory.texi: Likewise.
76446 * manual/message.texi: Likewise.
76447 * manual/nss.texi: Likewise.
76448 * manual/pattern.texi: Likewise.
76449 * manual/process.texi: Likewise.
76450 * manual/resource.texi: Likewise.
76451 * manual/search.texi: Likewise.
76452 * manual/setjmp.texi: Likewise.
76453 * manual/signal.texi: Likewise.
76454 * manual/socket.texi: Likewise.
76455 * manual/startup.texi: Likewise.
76456 * manual/stdio.texi: Likewise.
76457 * manual/string.texi: Likewise.
76458 * manual/sysinfo.texi: Likewise.
76459 * manual/syslog.texi: Likewise.
76460 * manual/terminal.texi: Likewise.
76461 * manual/time.texi: Likewise.
76462 * manual/users.texi: Likewise.
76463 * INSTALL: Regenerated.
76464 * NOTES: Regenerated.
76465 * sysdeps/gnu/errlist.c: Regenerated.
76466
76467 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
76468
76469 * include/dirent.h: Include <dirstream.h> before
76470 <dirent/dirent.h>.
76471
76472 2012-02-28 David S. Miller <davem@davemloft.net>
76473
76474 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
76475 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
76476 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
76477 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
76478
76479 2012-02-27 David S. Miller <davem@davemloft.net>
76480
76481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
76482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
76483 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
76484 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
76485
76486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
76487 frame pointer instead of stack pointer relative arg slot.
76488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
76489 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
76490 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
76491
76492 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
76493
76494 [BZ #3992]
76495 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
76496
76497 2012-02-27 David S. Miller <davem@davemloft.net>
76498
76499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
76500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
76501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
76502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
76503 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
76504 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
76505 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
76506 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
76507
76508 2012-02-27 Joseph Myers <joseph@codesourcery.com>
76509
76510 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
76511 later. Allow versions 5-9.
76512 * configure: Regenerated.
76513 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
76514 required minimum version and 4.6 as recommended version. Do not
76515 mention bugs in GCC 2.7 and 2.8.
76516 * INSTALL: Regenerated.
76517
76518 2012-02-27 David S. Miller <davem@davemloft.net>
76519
76520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
76521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
76522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
76523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
76524 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
76525 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
76526 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
76527 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
76528
76529 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
76530 manipulate bits before adding and subtracting TWO112[sx].
76531 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
76532
76533 2012-02-27 Roland McGrath <roland@hack.frob.com>
76534
76535 [BZ #13775]
76536 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
76537 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
76538 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
76539 being in POSIX, because they are in 1003.1-2008.
76540
76541 * rt/tst-aio.c: Include <fcntl.h>.
76542 * rt/tst-aio7.c: Likewise.
76543 * rt/tst-aio64.c: Likewise.
76544
76545 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
76546
76547 2012-02-27 Joseph Myers <joseph@codesourcery.com>
76548
76549 * manual/install.texi (--with-headers): Describe headers as
76550 interface headers, not private headers.
76551 (Specific advice for GNU/Linux systems): Describe use of headers
76552 from "make headers_install", not private headers from older
76553 kernels.
76554 * INSTALL: Regenerated.
76555 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
76556 Change to 2.6.19.
76557 * sysdeps/unix/sysv/linux/configure: Regenerated.
76558
76559 * manual/llio.texi (fclean): Remove documentation.
76560
76561 * manual/Makefile (libc-texi-generated): New variable. Include
76562 version.texi.
76563 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
76564 $(libc-texi-generated), not duplicated list of files.
76565 (version.texi, stamp-version): New rules.
76566 (realclean): Remove $(libc-texi-generated), not individual files
76567 from that list. Do not remove dir-add.texinfo.
76568 * manual/libc.texinfo: Comment out uses of edition numbers and
76569 references to printed manual. Remove last-updated dates.
76570 (EDITION): Comment out.
76571 (ISBN): Likewise.
76572 (VERSION, UPDATED): Remove.
76573 (version.texi): Include.
76574
76575 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
76576
76577 * sysdeps/posix/spawni.c: Include <signal.h>.
76578 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
76579 * sysdeps/pthread/aio_fsync.c: Likewise.
76580
76581 2012-02-26 Ulrich Drepper <drepper@gmail.com>
76582
76583 * conform/Makefile (tests): Run only when not cross-compiling and
76584 when fast-check is not defined.
76585
76586 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
76587 * conform/data/limits.h-data: Fixes for POSIX2008.
76588 * conform/run-conformtest.sh: Run all tests.
76589 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
76590 headers.
76591 * include/bits/dlfcn.h: Likewise.
76592 * include/langinfo.h: Likewise.
76593 * include/monetary.h: Likewise.
76594 * include/sys/poll.h: Likewise.
76595
76596 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
76597 for __USE_GNU.
76598 * posix/spawn.h: Define __need_sigset_t.
76599 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
76600 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
76601 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
76602 to get sigevent_t only.
76603 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
76604 only for __USE_GNU.
76605 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76606 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
76607 process_vm_writev only for __USE_GNU.
76608 * termios/termios.h: Declare tcgetsid also for POSIX2008.
76609
76610 * conform/Makefile: For now ignore errors from run-conformtest.
76611 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
76612 POSIX to avoid namespace pollution. Don't prepend headers.
76613 * conform/data/aio.h-data: Fixes for POSIX testing.
76614 * conform/data/fcntl.h-data: Likewise.
76615 * conform/data/glob.h-data: Likewise.
76616 * conform/data/grp.h-data: Likewise.
76617 * conform/data/pthread.h-data: Likewise.
76618 * conform/data/pwd.h-data: Likewise.
76619 * conform/data/signal.h-data: Likewise.
76620 * conform/data/spawn.h-data: Likewise.
76621 * conform/data/stdio.h-data: Likewise.
76622 * conform/data/stdlib.h-data: Likewise.
76623 * conform/data/stropts.h-data: Likewise.
76624 * conform/data/sys/mman.h-data: Likewise.
76625 * conform/data/sys/stat.h-data: Likewise.
76626 * conform/data/sys/types.h-data: Likewise.
76627 * conform/data/sys/wait.h-data: Likewise.
76628 * conform/data/time.h-data: Likewise.
76629 * conform/data/unistd.h-data: Likewise.
76630 * conform/data/utime.h-data: Likewise.
76631
76632 * io/sys/stat.h: fchmod was always in POSIX.
76633 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
76634 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
76635 * rt/aio.h: Define __need_timespec before including <time.h>.
76636 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
76637 struct. Add forward declaration of pthread_attr_t and use it in
76638 sigevent.
76639 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
76640 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
76641 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
76642 always remove CLK_TCK definition.
76643
76644 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
76645
76646 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
76647
76648 2012-02-25 Ulrich Drepper <drepper@gmail.com>
76649
76650 * conform/run-conformtest.sh: New file.
76651 * conform/Makefile: Run run-conformtest for tests.
76652 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
76653 support.
76654
76655 * conform/data/uchar.h-data: New file.
76656 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
76657 * conform/data/arpa/inet.h-data: Likewise.
76658 * conform/data/assert.h-data: Likewise.
76659 * conform/data/complex.h-data: Likewise.
76660 * conform/data/cpio.h-data: Likewise.
76661 * conform/data/ctype.h-data: Likewise.
76662 * conform/data/dirent.h-data: Likewise.
76663 * conform/data/dlfcn.h-data: Likewise.
76664 * conform/data/errno.h-data: Likewise.
76665 * conform/data/fcntl.h-data: Likewise.
76666 * conform/data/float.h-data: Likewise.
76667 * conform/data/fmtmsg.h-data: Likewise.
76668 * conform/data/fnmatch.h-data: Likewise.
76669 * conform/data/ftw.h-data: Likewise.
76670 * conform/data/glob.h-data: Likewise.
76671 * conform/data/grp.h-data: Likewise.
76672 * conform/data/iconv.h-data: Likewise.
76673 * conform/data/inttypes.h-data: Likewise.
76674 * conform/data/langinfo.h-data: Likewise.
76675 * conform/data/libgen.h-data: Likewise.
76676 * conform/data/limits.h-data: Likewise.
76677 * conform/data/locale.h-data: Likewise.
76678 * conform/data/math.h-data: Likewise.
76679 * conform/data/monetary.h-data: Likewise.
76680 * conform/data/mqueue.h-data: Likewise.
76681 * conform/data/ndbm.h-data: Likewise.
76682 * conform/data/net/if.h-data: Likewise.
76683 * conform/data/netdb.h-data: Likewise.
76684 * conform/data/netinet/in.h-data: Likewise.
76685 * conform/data/nl_types.h-data: Likewise.
76686 * conform/data/poll.h-data: Likewise.
76687 * conform/data/pthread.h-data: Likewise.
76688 * conform/data/pwd.h-data: Likewise.
76689 * conform/data/regex.h-data: Likewise.
76690 * conform/data/sched.h-data: Likewise.
76691 * conform/data/search.h-data: Likewise.
76692 * conform/data/semaphore.h-data: Likewise.
76693 * conform/data/setjmp.h-data: Likewise.
76694 * conform/data/signal.h-data: Likewise.
76695 * conform/data/spawn.h-data: Likewise.
76696 * conform/data/stdarg.h-data: Likewise.
76697 * conform/data/stdio.h-data: Likewise.
76698 * conform/data/stdlib.h-data: Likewise.
76699 * conform/data/string.h-data: Likewise.
76700 * conform/data/strings.h-data: Likewise.
76701 * conform/data/stropts.h-data: Likewise.
76702 * conform/data/sys/ipc.h-data: Likewise.
76703 * conform/data/sys/mman.h-data: Likewise.
76704 * conform/data/sys/msg.h-data: Likewise.
76705 * conform/data/sys/resource.h-data: Likewise.
76706 * conform/data/sys/select.h-data: Likewise.
76707 * conform/data/sys/sem.h-data: Likewise.
76708 * conform/data/sys/shm.h-data: Likewise.
76709 * conform/data/sys/socket.h-data: Likewise.
76710 * conform/data/sys/stat.h-data: Likewise.
76711 * conform/data/sys/statvfs.h-data: Likewise.
76712 * conform/data/sys/time.h-data: Likewise.
76713 * conform/data/sys/timeb.h-data: Likewise.
76714 * conform/data/sys/times.h-data: Likewise.
76715 * conform/data/sys/types.h-data: Likewise.
76716 * conform/data/sys/uio.h-data: Likewise.
76717 * conform/data/sys/un.h-data: Likewise.
76718 * conform/data/sys/utsname.h-data: Likewise.
76719 * conform/data/sys/wait.h-data: Likewise.
76720 * conform/data/syslog.h-data: Likewise.
76721 * conform/data/tar.h-data: Likewise.
76722 * conform/data/termios.h-data: Likewise.
76723 * conform/data/utime.h-data: Likewise.
76724 * conform/data/utmpx.h-data: Likewise.
76725 * conform/data/varargs.h-data: Likewise.
76726 * conform/data/wchar.h-data: Likewise.
76727 * conform/data/wctype.h-data: Likewise.
76728 * conform/data/wordexp.h-data: Likewise.
76729
76730 * include/stropts.h: New file.
76731 * include/uchar.h: New file.
76732 * include/aio.h: Changes to allow conformtest.pl to use the headers.
76733 * include/assert.h: Likewise.
76734 * include/ctype.h: Likewise.
76735 * include/dirent.h: Likewise.
76736 * include/dlfcn.h: Likewise.
76737 * include/fcntl.h: Likewise.
76738 * include/fnmatch.h: Likewise.
76739 * include/glob.h: Likewise.
76740 * include/grp.h: Likewise.
76741 * include/libio.h: Likewise.
76742 * include/locale.h: Likewise.
76743 * include/math.h: Likewise.
76744 * include/net/if.h: Likewise.
76745 * include/netdb.h: Likewise.
76746 * include/netinet/in.h: Likewise.
76747 * include/pthread.h: Likewise.
76748 * include/pwd.h: Likewise.
76749 * include/regex.h: Likewise.
76750 * include/sched.h: Likewise.
76751 * include/search.h: Likewise.
76752 * include/setjmp.h: Likewise.
76753 * include/signal.h: Likewise.
76754 * include/stdio.h: Likewise.
76755 * include/stdlib.h: Likewise.
76756 * include/string.h: Likewise.
76757 * include/sys/cdefs.h: Likewise.
76758 * include/sys/mman.h: Likewise.
76759 * include/sys/msg.h: Likewise.
76760 * include/sys/resource.h: Likewise.
76761 * include/sys/select.h: Likewise.
76762 * include/sys/socket.h: Likewise.
76763 * include/sys/stat.h: Likewise.
76764 * include/sys/statvfs.h: Likewise.
76765 * include/sys/time.h: Likewise.
76766 * include/sys/times.h: Likewise.
76767 * include/sys/uio.h: Likewise.
76768 * include/sys/utsname.h: Likewise.
76769 * include/sys/wait.h: Likewise.
76770 * include/termios.h: Likewise.
76771 * include/time.h: Likewise.
76772 * include/ulimit.h: Likewise.
76773 * include/unistd.h: Likewise.
76774 * include/utime.h: Likewise.
76775 * include/wchar.h: Likewise.
76776 * include/wctype.h: Likewise.
76777 * include/wordexp.h: Likewise.
76778
76779 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
76780
76781 * time/time.h: TIME_UTC must be a macro.
76782 Make timespec_get available for ISO C11 only as well.
76783
76784 2012-02-24 Ulrich Drepper <drepper@gmail.com>
76785
76786 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
76787 Reported by Peng Haitao <penght@cn.fujitsu.com>.
76788
76789 2012-02-24 Joseph Myers <joseph@codesourcery.com>
76790
76791 * configure.in: Use -o not -a in test for unsupported multi-arch.
76792
76793 2012-02-24 Joseph Myers <joseph@codesourcery.com>
76794
76795 * manual/texinfo.tex: Update to version 2012-01-19.16.
76796
76797 2012-02-24 Joseph Myers <joseph@codesourcery.com>
76798
76799 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
76800
76801 2012-02-24 Roland McGrath <roland@hack.frob.com>
76802
76803 [BZ #13738]
76804 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
76805 * manual/fdl-1.3.texi: New file.
76806 * manual/fdl-1.1.texi: File removed.
76807
76808 [BZ #13738]
76809 * manual/libc.texinfo (FDL_VERSION): New @set.
76810 Use it for mention of FDL in cover text.
76811 (Documentation License): Use it in @include file name.
76812
76813 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76814 Roland McGrath <roland@hack.frob.com>
76815
76816 [BZ #5461]
76817 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
76818 (not LONG_LONG_MAX and LONG_LONG_MIN.
76819 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
76820 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
76821 name.
76822 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
76823
76824 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76825
76826 [BZ #2547]
76827 [BZ #11365]
76828 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
76829 manipulate bits before adding and subtracting TWO23[sx].
76830 * math/libm-test.inc (nearbyint_test): Add more tests.
76831
76832 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76833
76834 [BZ #2548]
76835 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
76836 bits before adding and subtracting TWO23[sx].
76837 * math/libm-test.inc (rint_test): Add more tests.
76838 (rint_test_tonearest): Likewise.
76839 (rint_test_towardzero): Likewise.
76840 (rint_test_downward): Likewise.
76841 (rint_test_upward: Likewise.
76842
76843 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76844
76845 [BZ #10110]
76846 * include/stdc-predef.h: New file. Extracted from features.h.
76847 * include/features.h: Include stdc-predef.h.
76848 * Makefile (headers): Add stdc-predef.h.
76849 * CONFORMANCE (Compiler limitations): Update.
76850
76851 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76852
76853 * manual/libc.texinfo (VERSION, UPDATED): Revert.
76854
76855 2012-02-21 David S. Miller <davem@davemloft.net>
76856
76857 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
76858 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
76859
76860 2012-02-20 David S. Miller <davem@davemloft.net>
76861
76862 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
76863 using a normal save/restore sequence, rather than allocating a
76864 dummy stack frame just to store a frame pointer and restore.
76865 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76866
76867 2012-02-21 Joseph Myers <joseph@codesourcery.com>
76868
76869 * manual/install.texi: Fix stray word in line-wrapped comment.
76870
76871 2012-02-20 David S. Miller <davem@davemloft.net>
76872
76873 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
76874 both binutils and gcc support GOTDATA.
76875
76876 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
76877 "rd %pc" in the PIC register setup sequences.
76878
76879 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
76880 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
76881 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76882 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
76883 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76884 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
76885 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76886 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76887 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
76888 (SYSCALL_ERROR_HANDLER): Likewise.
76889 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76890 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76891 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
76892 (SYSCALL_ERROR_HANDLER): Likewise.
76893
76894 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
76895 (HAVE_GCC_GOTDATA): New.
76896 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
76897 relocation support in both binutils and gcc.
76898 * sysdeps/sparc/elf/configure: Regenerate.
76899
76900 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
76901 * sysdeps/sparc/sparc32/elf/configure: Delete.
76902 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
76903 * sysdeps/sparc/sparc64/elf/configure: Delete.
76904 * sysdeps/sparc/elf/configure.in: New file.
76905 * sysdeps/sparc/elf/configure: Generate.
76906
76907 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
76908 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
76909 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76910 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
76911 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
76912
76913 2012-02-21 Joseph Myers <joseph@codesourcery.com>
76914
76915 * manual/install.texi: Do not mention specific glibc version
76916 numbers.
76917 * manual/libc.texinfo (VERSION, UPDATED): Update.
76918 (@copying): Use @copyright{} and range of years.
76919
76920 2012-02-21 Joseph Myers <joseph@codesourcery.com>
76921
76922 [BZ #13695]
76923 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
76924 [crti.S not in sysdirs] (generated): Do not append.
76925 [crti.S not in sysdirs] (omit-deps): Likewise.
76926 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
76927 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
76928 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
76929 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
76930 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
76931 Likewise.
76932 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
76933 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
76934 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
76935 * csu/defs.awk: Remove file.
76936 * sysdeps/generic/initfini.c: Likewise.
76937 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
76938 variable.
76939 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
76940 Likewise.
76941
76942 2012-02-20 Joseph Myers <joseph@codesourcery.com>
76943
76944 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
76945 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
76946 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
76947 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
76948 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76949 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
76950 <bits/epoll.h>.
76951 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
76952 (__EPOLL_PACKED): Define to empty if not defined by
76953 <bits/epoll.h>.
76954 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
76955 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76956 bits/epoll.h.
76957
76958 2012-02-20 Joseph Myers <joseph@codesourcery.com>
76959
76960 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
76961 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
76962 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
76963 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
76964 <bits/timerfd.h>.
76965 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
76966 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76967 bits/timerfd.h.
76968
76969 2012-02-20 Joseph Myers <joseph@codesourcery.com>
76970
76971 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
76972 in C locale.
76973 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76974 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
76975 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
76976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76977
76978 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
76979
76980 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76981 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
76982
76983 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
76984
76985 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
76986 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
76987 defined.
76988 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
76989 Likewise.
76990 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
76991 entry for 2.16.
76992
76993 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
76994
76995 * math/w_acos.c: Use non-signaling floating-point comparisons.
76996 * math/w_acosf.c: Likewise.
76997 * math/w_acosh.c: Likewise.
76998 * math/w_acoshf.c: Likewise.
76999 * math/w_acoshl.c: Likewise.
77000 * math/w_acosl.c: Likewise.
77001 * math/w_asin.c: Likewise.
77002 * math/w_asinf.c: Likewise.
77003 * math/w_asinl.c: Likewise.
77004 * math/w_atanh.c: Likewise.
77005 * math/w_atanhf.c: Likewise.
77006 * math/w_atanhl.c: Likewise.
77007 * math/w_exp2.c: Likewise.
77008 * math/w_exp2f.c: Likewise.
77009 * math/w_exp2l.c: Likewise.
77010 * math/w_j0.c: Likewise.
77011 * math/w_j0f.c: Likewise.
77012 * math/w_j0l.c: Likewise.
77013 * math/w_j1.c: Likewise.
77014 * math/w_j1f.c: Likewise.
77015 * math/w_j1l.c: Likewise.
77016 * math/w_jn.c: Likewise.
77017 * math/w_jnf.c: Likewise.
77018 * math/w_log.c: Likewise.
77019 * math/w_log10.c: Likewise.
77020 * math/w_log10f.c: Likewise.
77021 * math/w_log10l.c: Likewise.
77022 * math/w_log2.c: Likewise.
77023 * math/w_log2f.c: Likewise.
77024 * math/w_log2l.c: Likewise.
77025 * math/w_logf.c: Likewise.
77026 * math/w_logl.c: Likewise.
77027 * math/w_sqrt.c: Likewise.
77028 * math/w_sqrtf.c: Likewise.
77029 * math/w_sqrtl.c: Likewise.
77030 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77031 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
77032 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77033 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77034 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77035
77036 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77037
77038 [BZ #9739]
77039 * manual/string.texi (strnlen): Use correct parameter name in
77040 equivalent expression.
77041
77042 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77043
77044 [BZ #11174]
77045 * manual/users.texi (seteuid): Consistently use neweuid for
77046 argument name.
77047
77048 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77049
77050 [BZ #13704]
77051 * manual/nss.texi (Services in the NSS configuration): Correct
77052 list of services in example configuration file.
77053
77054 2012-02-19 Nick Bowler <nbowler@draconx.ca>
77055
77056 [BZ #11322]
77057 * manual/arith.texi: Remove statements about negative zero
77058 behaving identically to zero.
77059
77060 2012-02-18 Joseph Myers <joseph@codesourcery.com>
77061
77062 [BZ #5993]
77063 * manual/install.texi: Do not document upgrading from libc5.
77064
77065 2012-02-18 Joseph Myers <joseph@codesourcery.com>
77066
77067 [BZ #4596]
77068 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
77069
77070 2012-02-18 David S. Miller <davem@davemloft.net>
77071
77072 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
77073 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
77074 %o7 across the call.
77075 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
77076 instead.
77077 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
77078 SETUP_PIC_REG_LEAF.
77079 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77080 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
77081 * sysdeps/sparc/crtn.S: Likewise.
77082
77083 2012-02-17 Ulrich Drepper <drepper@gmail.com>
77084
77085 * aout/Makefile: Remove.
77086
77087 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
77088
77089 [BZ #13058]
77090 * manual/examples/argp-ex1.c (main): Format definition in GNU
77091 style.
77092 * manual/examples/argp-ex2.c (main): Likewise.
77093 * manual/examples/argp-ex3.c (main): Likewise.
77094 * manual/examples/argp-ex4.c (main): Likewise.
77095 * manual/examples/longopt.c (main): Use new-style prototype
77096 definition.
77097 * manual/examples/strncat.c (main): Specify return type and use
77098 (void) for arguments.
77099 * manual/examples/subopt.c (main): Use char **argv argument.
77100
77101 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77102
77103 [BZ #5077]
77104 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
77105 rounding modes.
77106
77107 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
77108
77109 [BZ #6907]
77110 * manual/string.texi (strchr): Change when strchrnul is
77111 recommended.
77112
77113 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
77114
77115 [BZ #174]
77116 * manual/locale.texi (setlocale): Document LOCPATH.
77117
77118 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77119
77120 [BZ #10210]
77121 * manual/process.texi (execle): Move @dots{} before last argument.
77122
77123 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
77124
77125 [BZ #12047]
77126 * manual/charset.texi (Generic Charset Conversion): Fix typo
77127 (LC_TYPE -> LC_CTYPE).
77128
77129 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
77130
77131 [BZ #5805]
77132 * manual/arith.texi (scalbn): Use @var{} on parameter names.
77133 (scalbnf): Likewise.
77134 (scalbnl): Likewise.
77135 (scalbln): Likewise.
77136 (scalblnf): Likewise.
77137 (scalblnl): Likewise.
77138 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
77139 (vwarnx): Likewise.
77140 (verr): Likewise.
77141 (verrx): Likewise.
77142 * manual/filesys.texi (telldir): Use braces around return type.
77143 * manual/llio.texi (mmap): Add space after comma.
77144 (mmap64): Likewise.
77145 * manual/math.texi (jn): Use @var{} on parameter names.
77146 (jnf): Likewise.
77147 (jnl): Likewise.
77148 (yn): Likewise.
77149 (ynf): Likewise.
77150 (ynl): Likewise.
77151 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
77152 line.
77153 * manual/resource.texi (ulimit): Use @dots{} instead of literal
77154 "...".
77155 (sched_get_priority_min): Remove semicolon on @deftypefun line.
77156 (sched_get_priority_max): Likewise.
77157 * manual/signal.texi (sigvec): Add space after comma.
77158 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
77159 names.
77160 (if_indextoname): Likewise.
77161 (if_freenameindex): Likewise.
77162 (sendto): Use ',' instead of '.' in prototype.
77163 * manual/startup.texi (syscall): Use @dots{} instead of literal
77164 "...".
77165 * manual/stdio.texi (__fpending): Separate initial words of
77166 paragraph from @deftypefun line.
77167 * manual/syslog.texi (syslog): Use @dots{} instead of literal
77168 "...".
77169 (vsyslog): Use @var{} on parameter names.
77170 * manual/terminal.texi (stty): Use @var{} on parameter names.
77171 * manual/users.texi (getutmp): Use @var{} on parameter names.
77172 (getutmpx): Likewise.
77173
77174 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77175
77176 [BZ #6884]
77177 * manual/stdio.texi (fopen): Fix typos in description of
77178 ",ccs=STRING".
77179
77180 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
77181
77182 [BZ #4026]
77183 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
77184 get clock_id definition.
77185
77186 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
77187
77188 [BZ #4822]
77189 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
77190 (madvise): Cast every argument to void on its own.
77191
77192 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77193
77194 [BZ #9902]
77195 * manual/startup.texi (Exit Status): Fix typo.
77196
77197 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77198
77199 [BZ #10140]
77200 * manual/examples/argp-ex1.c: Include <stdlib.h>.
77201 * manual/examples/argp-ex2.c: Likewise.
77202 * manual/examples/argp-ex3.c: Likewise.
77203
77204 2012-02-16 Richard Henderson <rth@redhat.com>
77205
77206 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
77207 * sysdeps/s390/s390-32/initfini.c: Remove.
77208 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
77209 * sysdeps/s390/s390-64/initfini.c: Remove.
77210
77211 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
77212
77213 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
77214 compiler output for sysdeps/generic/initfini.c.
77215 * sysdeps/sh/elf/initfini.c: Remove file.
77216
77217 2012-02-16 David S. Miller <davem@davemloft.net>
77218
77219 [BZ #11494]
77220 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
77221
77222 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
77223 * sysdeps/sparc/crti.S: New file.
77224 * sysdeps/sparc/crtn.S: New file.
77225 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
77226 * sysdeps/sparc/sparc64/Makefile: Likewise.
77227
77228 2012-02-15 Mike Frysinger <vapier@gentoo.org>
77229
77230 [BZ #3335]
77231 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
77232
77233 2012-02-15 Roland McGrath <roland@hack.frob.com>
77234
77235 [BZ #4822]
77236 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
77237
77238 * mach/devstream.c (cookie_io_functions_t): Macro removed.
77239 (write, read, close): Likewise.
77240 Patch by Aurelien Jarno <aurelien@aurel32.net>.
77241
77242 2012-02-15 Joseph Myers <joseph@codesourcery.com>
77243
77244 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
77245 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
77246 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
77247 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
77248 <bits/signalfd.h>.
77249 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
77250 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77251 bits/signalfd.h.
77252
77253 2012-02-14 Marek Polacek <polacek@redhat.com>
77254
77255 * sysdeps/x86_64/crti.S: New file.
77256 * sysdeps/x86_64/crtn.S: New file.
77257 * sysdeps/x86_64/elf/initfini.c: Remove file.
77258
77259 2012-02-13 Joseph Myers <joseph@codesourcery.com>
77260
77261 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
77262 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
77263 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
77264 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
77265 <bits/inotify.h>.
77266 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
77267 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77268 bits/inotify.h.
77269
77270 2012-02-13 Joseph Myers <joseph@codesourcery.com>
77271
77272 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
77273 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
77274 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
77275 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
77276 <bits/eventfd.h>.
77277 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
77278 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77279 bits/eventfd.h.
77280
77281 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
77282
77283 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
77284 __feraiseexcept instead of feraiseexcept.
77285
77286 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
77287 nanosleep invocations.
77288 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
77289 strings, and add error checking for a nanosleep invocations.
77290
77291 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
77292
77293 Replace FSF snail mail address with URLs, as per GNU coding standards.
77294 Most of the snail mail addresses were wrong anyway, and omitting
77295 them makes the source code easier to maintain. Almost all of the
77296 changes are to license notices and to locale LC_IDENTIFICATION
77297 addresses, except for this one:
77298 * manual/libc.texinfo: In "Published by", give the FSF's URL,
77299 not its snail mail address.
77300
77301 2012-02-09 Richard Henderson <rth@twiddle.net>
77302
77303 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
77304 of kernel-features.h.
77305
77306 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
77307
77308 2012-02-08 Marek Polacek <polacek@redhat.com>
77309
77310 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
77311 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
77312 * sysdeps/gnu/_G_config.h: Likewise.
77313 * sysdeps/generic/_G_config.h: Likewise.
77314
77315 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
77316
77317 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
77318 tests.
77319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77320
77321 * sysdeps/powerpc/powerpc32/crti.S: New file.
77322 * sysdeps/powerpc/powerpc32/crtn.S: New file.
77323 * sysdeps/powerpc/powerpc64/crti.S: New file.
77324 * sysdeps/powerpc/powerpc64/crtn.S: New file.
77325
77326 * Makeconfig (have-initfini): Don't set.
77327 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
77328 * configure.in (nopic_initfini): Don't substitute.
77329 * config.h.in (HAVE_INITFINI): Don't #undef.
77330 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
77331 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
77332
77333 2012-02-08 Joseph Myers <joseph@codesourcery.com>
77334
77335 Support crti.S and crtn.S provided directly by architectures.
77336 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
77337 [crti.S in sysdirs] (omit-deps): Likewise.
77338 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
77339 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
77340 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
77341 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
77342 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
77343 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
77344 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
77345 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
77346 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
77347 compiler output for sysdeps/generic/initfini.c.
77348 * sysdeps/i386/elf/Makefile: Remove file.
77349 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
77350
77351 2012-02-07 Marek Polacek <polacek@redhat.com>
77352
77353 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
77354 * sysdeps/gnu/_G_config.h: Likewise.
77355 * sysdeps/mach/hurd/_G_config.h: Likewise.
77356
77357 2012-02-07 Marek Polacek <polacek@redhat.com>
77358
77359 * math/Makefile (tests): Add tst-CMPLX2.
77360 * math/tst-CMPLX2.c: New file.
77361
77362 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
77363
77364 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77365
77366 * math/libm-test.inc (jn_test): Add missing L suffix.
77367
77368 2012-02-06 Marek Polacek <polacek@redhat.com>
77369
77370 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
77371 * sysdeps/i386/fpu/e_powf.S: Likewise.
77372 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77373 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
77374 * sysdeps/i386/fpu/e_acosh.S: Likewise.
77375 * sysdeps/i386/fpu/e_pow.S: Likewise.
77376 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
77377 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77378 * sysdeps/i386/fpu/s_expm1.S: Likewise.
77379 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
77380 * sysdeps/i386/fpu/e_log2.S: Likewise.
77381 * sysdeps/i386/fpu/e_log2l.S: Likewise.
77382 * sysdeps/i386/fpu/e_scalb.S: Likewise.
77383 * sysdeps/i386/fpu/e_powl.S: Likewise.
77384 * sysdeps/i386/fpu/s_log1p.S: Likewise.
77385 * sysdeps/i386/fpu/e_log10f.S: Likewise.
77386 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
77387 * sysdeps/i386/fpu/e_logl.S: Likewise.
77388 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
77389 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
77390 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
77391 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
77392 * sysdeps/i386/fpu/e_log2f.S: Likewise.
77393 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77394 * sysdeps/i386/fpu/e_log.S: Likewise.
77395 * sysdeps/i386/fpu/s_cexp.S: Likewise.
77396 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77397 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
77398 * sysdeps/i386/fpu/e_logf.S: Likewise.
77399 * sysdeps/i386/fpu/e_log10l.S: Likewise.
77400 * sysdeps/i386/fpu/e_atanh.S: Likewise.
77401 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
77402 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
77403 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
77404 * sysdeps/i386/fpu/e_log10.S: Likewise.
77405 * sysdeps/i386/fpu/s_frexp.S: Likewise.
77406 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77407 * sysdeps/i386/fpu/s_asinh.S: Likewise.
77408 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
77409 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77410 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
77411 * sysdeps/i386/asm-syntax.h: Likewise.
77412 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
77413 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77414 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
77415 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
77416 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
77417 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77418 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
77419 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
77420 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
77421 * sysdeps/powerpc/sysdep.h: Likewise.
77422 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
77423 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
77424
77425 2012-02-06 Joseph Myers <joseph@codesourcery.com>
77426
77427 [BZ #411]
77428 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
77429
77430 2012-02-06 Joseph Myers <joseph@codesourcery.com>
77431
77432 * sysdeps/i386/sysdep.h: Include <features.h>.
77433 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
77434 version.
77435
77436 2012-02-05 Joseph Myers <joseph@codesourcery.com>
77437
77438 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
77439 Define.
77440 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
77441 LOAD_PIC_REG_STR.
77442
77443 2012-02-03 Joseph Myers <joseph@codesourcery.com>
77444
77445 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
77446 (SETUP_PIC_REG): Use GET_PC_THUNK.
77447 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
77448 macro.
77449
77450 2012-02-03 Joseph Myers <joseph@codesourcery.com>
77451
77452 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
77453 for non-PIC compilation.
77454 (SETUP_PIC_REG): Add .p2align directive.
77455 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
77456 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
77457 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
77458 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
77459 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
77460 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
77461 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
77462 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77463 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
77464 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
77465 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
77466 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
77467 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
77468 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
77469 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
77470 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
77471 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
77472 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
77473 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
77474 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
77475 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
77476 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
77477 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
77478 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
77479 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
77480 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
77481 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
77482 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
77483 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
77484 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
77485 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
77486 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
77487 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
77488 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
77489 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
77490 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
77491 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
77492 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
77493 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
77494 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
77495 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
77496
77497 2012-02-03 Joseph Myers <joseph@codesourcery.com>
77498
77499 * math/tst-CMPLX.c: Include <stdio.h>.
77500
77501 2012-01-31 Joseph Myers <joseph@codesourcery.com>
77502
77503 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
77504 float.
77505 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
77506 * sysdeps/sparc/bits/mathdef.h: Likewise.
77507
77508 2012-01-31 Marek Polacek <polacek@redhat.com>
77509
77510 * libio/libio.h: Don't define _PARAMS.
77511 * locale/programs/config.h: Don't define PARAMS.
77512 * stdlib/strtol_l.c: Likewise.
77513 (__strtol_l): Remove PARAMS from the prototype.
77514
77515 2012-01-31 Ulrich Drepper <drepper@gmail.com>
77516
77517 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
77518 names. Just use the correct names. Remove unnecessary wrapper
77519 functions.
77520 * malloc/arena.c: Likewise.
77521 * malloc/hooks.c: Likewise.
77522
77523 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
77524 ARENA_TEST says not to. Simplify test for creation of a new arena.
77525 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
77526
77527 2012-01-30 Ulrich Drepper <drepper@gmail.com>
77528
77529 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
77530 into tail calls.
77531 (update_get_addr): New function.
77532 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
77533 GET_ADDR_MODULE parameter.
77534
77535 2012-01-30 Joseph Myers <joseph@codesourcery.com>
77536
77537 * crypt/cert.c: Remove __STDC__ conditionals.
77538 * crypt/crypt-entry.c: Likewise.
77539 * crypt/crypt_util.c: Likewise.
77540 * libio/filedoalloc.c: Likewise.
77541 * libio/fileops.c: Likewise.
77542 * libio/genops.c: Likewise.
77543 * libio/iofclose.c: Likewise.
77544 * libio/iofdopen.c: Likewise.
77545 * libio/iofopen.c: Likewise.
77546 * libio/iofopen64.c: Likewise.
77547 * libio/iogetdelim.c: Likewise.
77548 * libio/iopopen.c: Likewise.
77549 * libio/obprintf.c: Likewise.
77550 * libio/oldfileops.c: Likewise.
77551 * libio/oldiofclose.c: Likewise.
77552 * libio/oldiofdopen.c: Likewise.
77553 * libio/oldiofopen.c: Likewise.
77554 * libio/oldiopopen.c: Likewise.
77555 * libio/wfiledoalloc.c: Likewise.
77556 * libio/wgenops.c: Likewise.
77557 * locale/programs/xmalloc.c: Likewise.
77558 * misc/syslog.c: Likewise.
77559 * stdio-common/xbug.c: Likewise.
77560 * string/memchr.c: Likewise.
77561 * string/memcmp.c: Likewise.
77562 * string/memrchr.c: Likewise.
77563 * string/rawmemchr.c: Likewise.
77564 * sysdeps/posix/getcwd.c: Likewise.
77565 * time/strftime_l.c: Likewise.
77566
77567 2012-01-30 Joseph Myers <joseph@codesourcery.com>
77568
77569 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
77570 * config.make.in (config-cflags-sse2avx): Define.
77571 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
77572 Fix typo.
77573
77574 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
77575
77576 * scripts/config.guess: Update from upstream config git repository.
77577 * scripts/config.sub: Likewise.
77578
77579 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
77580
77581 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
77582 (EM_NUM): Update.
77583 (R_TILEPRO_*, R_TILEGX_*): New macros.
77584
77585 * scripts/firstversions.awk: Fix bug in version range handling.
77586
77587 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
77588
77589 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
77590
77591 * include/sys/epoll.h: New file.
77592 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
77593 libc_hidden_def.
77594
77595 2012-01-28 Ulrich Drepper <drepper@gmail.com>
77596
77597 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
77598 Avoid unnecessary __WORDSIZE == 64 test.
77599 (fmaxf): Use VEX format if possible.
77600 (fmax): Likewise.
77601 (fminf): Likewise.
77602 (fmin): Likewise.
77603
77604 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
77605 * math/math_private.h: Remove libc_fegetround* and
77606 libc_fesetround*.
77607 * sysdeps/i386/configure.in: Check for -msse2avx.
77608 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
77609 also if SSE2AVX is defined.
77610 Remove libc_fegetround* and libc_fesetround*.
77611 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
77612 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
77613 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
77614 of HAS_YMM_USABLE.
77615 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77616 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77617 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77618 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77619 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77620
77621 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
77622
77623 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77624
77625 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
77626 size is not set.
77627 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
77628
77629 2012-01-27 Ulrich Drepper <drepper@gmail.com>
77630
77631 [BZ #13618]
77632 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
77633 relocation.
77634 * Makeconfig (libm): Define.
77635 * elf/Makefile: Add rules to build and run tst-relsort1.
77636 * elf/tst-relsort1.c: New file.
77637 * elf/tst-relsort1mod1.c: New file.
77638 * elf/tst-relsort1mod2.c: New file.
77639
77640 2012-01-27 Joseph Myers <joseph@codesourcery.com>
77641
77642 * math/s_ldexp.c: Remove __STDC__ conditionals.
77643 * math/s_ldexpf.c: Likewise.
77644 * math/s_ldexpl.c: Likewise.
77645 * math/s_nextafter.c: Likewise.
77646 * math/s_nexttowardf.c: Likewise.
77647 * math/s_significand.c: Likewise.
77648 * math/s_significandf.c: Likewise.
77649 * math/s_significandl.c: Likewise.
77650 * math/w_jnl.c: Likewise.
77651 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
77652 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
77653 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
77654 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
77655 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
77656 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
77657 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
77658 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
77659 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
77660 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
77661 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
77662 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77663 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
77664 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
77665 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
77666 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
77667 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
77668 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
77669 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
77670 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
77671 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
77672 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
77673 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
77674 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
77675 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
77676 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
77677 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
77678 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
77679 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
77680 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
77681 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
77682 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
77683 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
77684 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
77685 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
77686 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
77687 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
77688 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
77689 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
77690 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
77691 * sysdeps/ieee754/k_standard.c: Likewise.
77692 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
77693 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
77694 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
77695 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
77696 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
77697 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
77698 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
77699 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
77700 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
77701 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
77702 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
77703 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
77704 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
77705 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
77706 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
77707 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
77708 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
77709 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
77710 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
77711 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
77712 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
77713 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
77714 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
77715 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
77716 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
77717 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
77718 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
77719 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
77720 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
77721 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
77722 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
77723 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
77724 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
77725 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
77726 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
77727 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
77728 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
77729 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
77730 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
77731 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
77732 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
77733 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
77734 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
77735 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
77736 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
77737 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
77738 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
77739 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
77740 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
77741 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
77742 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
77743 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
77744 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
77745 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
77746 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
77747 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
77748 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
77749 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
77750 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
77751 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
77752 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
77753 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
77754 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
77755 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
77756 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
77757 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
77758 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
77759 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
77760 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
77761 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
77762 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
77763 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
77764 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
77765 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
77766 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
77767 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
77768 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
77769 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
77770 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
77771 * sysdeps/ieee754/s_matherr.c: Likewise.
77772 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
77773 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
77774 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
77775 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
77776
77777 2012-01-26 Joseph Myers <joseph@codesourcery.com>
77778
77779 * crypt/md5.h: Remove __STDC__ conditionals.
77780 * libio/libioP.h: Likewise.
77781 * locale/programs/config.h: Likewise.
77782 * sysdeps/generic/sysdep.h: Likewise.
77783 * sysdeps/i386/asm-syntax.h: Likewise.
77784 * sysdeps/s390/asm-syntax.h: Likewise.
77785 * sysdeps/unix/sysdep.h: Likewise.
77786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
77787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
77788
77789 2012-01-26 Joseph Myers <joseph@codesourcery.com>
77790
77791 * libio/libio.h: Remove __STDC__ conditionals.
77792 * malloc/obstack.h: Likewise.
77793 * math/complex.h: Likewise.
77794 * math/math.h: Likewise.
77795 * sysdeps/generic/_G_config.h: Likewise.
77796 * sysdeps/gnu/_G_config.h: Likewise.
77797 * sysdeps/mach/hurd/_G_config.h: Likewise.
77798 * sysdeps/powerpc/bits/mathdef.h: Likewise.
77799 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
77800 * sysdeps/sparc/bits/mathdef.h: Likewise.
77801
77802 2012-01-26 Ulrich Drepper <drepper@gmail.com>
77803
77804 [BZ #13583]
77805 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
77806 Clean up HAS_* macros.
77807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
77808 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
77809 possible.
77810 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
77811 HAS_AVX.
77812 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77813 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77814 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77815 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77816 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77817
77818 2012-01-25 Joseph Myers <joseph@codesourcery.com>
77819
77820 * elf/tst-unique3.cc (gets): Remove declaration.
77821 * elf/tst-unique3lib.cc (gets): Likewise.
77822 * elf/tst-unique3lib2.cc (gets): Likewise.
77823 * elf/tst-unique4.cc (gets): Likewise.
77824
77825 2012-01-24 Ulrich Drepper <drepper@gmail.com>
77826
77827 * include/stdio.h: Add C++ protection. Add gets declarations and
77828 definitions.
77829 * debug/tst-chk1.c: Don't declare gets here.
77830 * stdio-common/tst-gets.c: Likewise.
77831
77832 2012-01-24 Joseph Myers <joseph@codesourcery.com>
77833
77834 * posix/glob: Remove directory.
77835
77836 2012-01-24 Joseph Myers <joseph@codesourcery.com>
77837
77838 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
77839
77840 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
77841
77842 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
77843 of the non-standard EPFNOSUPPORT.
77844
77845 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
77846
77847 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
77848 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
77849 ANYWHERE set to 1 only on KERN_NO_SPACE error.
77850
77851 2012-01-21 Ulrich Drepper <drepper@gmail.com>
77852
77853 * wcsmbs/uchar.h: Test __STDC_VERSION__.
77854
77855 2012-01-20 Ulrich Drepper <drepper@gmail.com>
77856
77857 * nscd/aicache.c (addhstaiX): Do not cache negative results of
77858 transient errors.
77859 * nscd/grpcache.c (cache_addgr): Likewise.
77860 * nscd/hstcache.c (cache_addhst): Likewise.
77861 * nscd/initgrcache.c (addinitgroupsX): Likewise.
77862 * nscd/pwdcache.c (cache_addpw): Likewise.
77863 * nscd/servicescache.c (cache_addserv): Likewise.
77864
77865 2012-01-16 Ulrich Drepper <drepper@gmail.com>
77866
77867 * malloc/malloc.c: Various cleanups.
77868 * malloc/hooks.c: Likewise.
77869
77870 * stdlib/Makefile (tests): Add bug-fmtmsg1.
77871 * stdlib/bug-fmtmsg1.c: New file.
77872
77873 * stdlib/fmtmsg.c (init): Add missing unlock.
77874 Patch by Peng Haitao <penght@cn.fujitsu.com>.
77875
77876 2012-01-12 Marek Polacek <polacek@redhat.com>
77877
77878 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
77879 and _GNU_SOURCE.
77880
77881 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
77882
77883 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
77884 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
77885 macro to ensure uniqueness of label name.
77886 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
77887 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
77888
77889 2012-01-11 Ulrich Drepper <drepper@gmail.com>
77890
77891 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
77892
77893 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
77894 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
77895 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
77896 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
77897
77898 2012-01-10 Ulrich Drepper <drepper@gmail.com>
77899
77900 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
77901
77902 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
77903 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
77904 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
77905
77906 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
77907
77908 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
77909 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
77910 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
77911 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
77912
77913 * math/bits/math-finite.h: Add ldexp support.
77914
77915 2012-01-10 Marek Polacek <polacek@redhat.com>
77916
77917 * locale/programs/localedef.h (show_archive_content): Add noreturn
77918 attribute.
77919
77920 2012-01-09 Ulrich Drepper <drepper@gmail.com>
77921
77922 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
77923
77924 2012-01-08 Ulrich Drepper <drepper@gmail.com>
77925
77926 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
77927
77928 * io/Makefile (headers): Add bits/poll2.h.
77929
77930 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
77931
77932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
77933 typo #include statement.
77934
77935 2012-01-08 Ulrich Drepper <drepper@gmail.com>
77936
77937 * include/sys/cdefs.h: Define __attribute_alloc_size.
77938 * catgets/gencat.c: Add alloc_size attribute and apply consistently
77939 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
77940 * elf/pldd.c: Likewise.
77941 * iconv/iconv_charmap.c: Likewise.
77942 * iconv/iconvconfig.c: Likewise.
77943 * iconv/strtab.c: Likewise.
77944 * locale/programs/locale.c: Likewise.
77945 * locale/programs/localedef.h: Likewise.
77946 * locale/programs/simple-hash.c: Likewise.
77947 * nscd/nscd.h: Likewise.
77948 * nss/makedb.c: Likewise.
77949 * sysdeps/generic/ldconfig.h: Likewise.
77950 * locale/programs/localedef.c: Remove xmalloc prototype.
77951 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
77952
77953 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
77954
77955 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
77956 appropriate.
77957
77958 2012-01-08 Ulrich Drepper <drepper@gmail.com>
77959
77960 * math/Makefile (tests): Add tst-CMPLX.
77961 * math/tst-CMPLX.c: New file.
77962
77963 * math/complex.h (CMPLXL): Fix typo.
77964
77965 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
77966 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
77967 GLIBC_2.16.
77968 * debug/tst-chk1.c: Add poll and ppoll tests.
77969 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
77970 * include/sys/poll.h: Add hidden proto for ppoll.
77971 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
77972 * sysdeps/mach/hurd/ppoll.c: Likewise.
77973 * io/ppoll.c: Likewise.
77974 * debug/poll_chk.c: New file.
77975 * debug/ppoll_chk.c: New file.
77976 * include/bits/poll2.h: New file.
77977 * io/bits/poll2.h: New file.
77978
77979 [BZ #1350]
77980 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
77981
77982 * configure.in: static is always set to yes. Remove.
77983 * config.make.in: Don't set build-static.
77984 * Makeconfig: Remove use of build-static.
77985 * dlfcn/Makefile: Likewise.
77986 * elf/Makefile: Likewise.
77987 * math/Makefile: Likewise.
77988 * misc/Makefile: Likewise.
77989 * nptl/Makefile: Likewise.
77990 * sysdeps/mach/hurd/Makefile: Likewise.
77991
77992 * configure.in: PWD_P is not used anymore.
77993 * config.make.in: Remove PWD_P entry.
77994
77995 * configure.in: Remove last remnants of RANLIB.
77996 No need to check for signed size_t anymore.
77997 Don't set libc_commonpagesize and libc_relro_required here for Alpha
77998 and IA-64.
77999 Remove __builtin_expect test because we require at least gcc 3.4.
78000 * aclocal.m4: Likewise.
78001
78002 * wcsmbs/mbrtoc16.c: Implement using towc function.
78003 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
78004 * wcsmbs/wcsmbsload.c: Likewise.
78005 * iconv/gconv_simple.c: Likewise.
78006 * iconv/gconv_int.h: Likewise.
78007 * iconv/gconv_builtin.h: Likewise.
78008 * iconv/iconv_prog.c: Remove CHAR16 handling.
78009
78010 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
78011
78012 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
78013
78014 * configure.in: Remove --with-elf and --enable-bounded options.
78015 Dont set base_machine for ia64. More non-ELF conditions removed.
78016 Remove testing and setting of leading underscore information.
78017 * config.make.in (build-bounded): Set to no.
78018 * config.h.in: Remove NO_UNDERSCORES entry.
78019 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
78020 them.
78021 * csu/start.c: Remove !NO_UNDERSCORE code.
78022 * locale/localeinfo.h: Likewise.
78023 * sysdeps/generic/machine-gmon.h: Likewise.
78024 * sysdeps/generic/sysdep.h: Likewise.
78025 * sysdeps/i386/sysdep.h: Likewise.
78026 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78027 * sysdeps/mach/sysdep.h: Likewise.
78028 * sysdeps/s390/s390-32/sysdep.h: Likewise.
78029 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78030 * sysdeps/sh/sysdep.h: Likewise.
78031 * sysdeps/sparc/sparc32/alloca.S: Likewise.
78032 * sysdeps/unix/i386/sysdep.S: Likewise.
78033 * sysdeps/unix/sparc/start.c: Likewise.
78034 * sysdeps/unix/sparc/sysdep.S: Likewise.
78035 * sysdeps/unix/sparc/sysdep.h: Likewise.
78036 * sysdeps/unix/start.c: Likewise.
78037 * sysdeps/unix/x86_64/sysdep.S: Likewise.
78038 * sysdeps/x86_64/sysdep.h: Likewise.
78039
78040 2012-01-07 Ulrich Drepper <drepper@gmail.com>
78041
78042 [BZ #13553]
78043 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
78044 for non-gcc.
78045 * argp/argp-fmtstream.h: Use const instead __const.
78046 * argp/argp.h: Likewise.
78047 * assert/assert.h: Likewise.
78048 * bits/fenv.h: Likewise.
78049 * bits/sched.h: Likewise.
78050 * bits/sigset.h: Likewise.
78051 * bits/sigthread.h: Likewise.
78052 * catgets/nl_types.h: Likewise.
78053 * conform/data/pthread.h-data: Likewise.
78054 * crypt/crypt-private.h: Likewise.
78055 * crypt/crypt.h: Likewise.
78056 * crypt/crypt_util.c: Likewise.
78057 * ctype/ctype.h: Likewise.
78058 * debug/execinfo.h: Likewise.
78059 * debug/mbsnrtowcs_chk.c: Likewise.
78060 * debug/mbsrtowcs_chk.c: Likewise.
78061 * debug/wcsnrtombs_chk.c: Likewise.
78062 * debug/wcsrtombs_chk.c: Likewise.
78063 * debug/wcstombs_chk.c: Likewise.
78064 * dirent/dirent.h: Likewise.
78065 * dlfcn/dlfcn.h: Likewise.
78066 * elf/neededtest4.c: Likewise.
78067 * grp/grp.h: Likewise.
78068 * gshadow/gshadow.h: Likewise.
78069 * iconv/gconv.h: Likewise.
78070 * iconv/gconv_int.h: Likewise.
78071 * iconv/gconv_simple.c: Likewise.
78072 * iconv/iconv.h: Likewise.
78073 * iconv/loop.c: Likewise.
78074 * iconv/skeleton.c: Likewise.
78075 * include/aio.h: Likewise.
78076 * include/aliases.h: Likewise.
78077 * include/argz.h: Likewise.
78078 * include/arpa/inet.h: Likewise.
78079 * include/assert.h: Likewise.
78080 * include/dirent.h: Likewise.
78081 * include/dlfcn.h: Likewise.
78082 * include/execinfo.h: Likewise.
78083 * include/fcntl.h: Likewise.
78084 * include/fenv.h: Likewise.
78085 * include/glob.h: Likewise.
78086 * include/grp.h: Likewise.
78087 * include/libintl.h: Likewise.
78088 * include/mntent.h: Likewise.
78089 * include/netdb.h: Likewise.
78090 * include/pwd.h: Likewise.
78091 * include/rpc/netdb.h: Likewise.
78092 * include/sched.h: Likewise.
78093 * include/search.h: Likewise.
78094 * include/shadow.h: Likewise.
78095 * include/signal.h: Likewise.
78096 * include/stdio.h: Likewise.
78097 * include/stdlib.h: Likewise.
78098 * include/string.h: Likewise.
78099 * include/sys/socket.h: Likewise.
78100 * include/sys/stat.h: Likewise.
78101 * include/sys/statfs.h: Likewise.
78102 * include/sys/statvfs.h: Likewise.
78103 * include/sys/syslog.h: Likewise.
78104 * include/sys/time.h: Likewise.
78105 * include/sys/uio.h: Likewise.
78106 * include/time.h: Likewise.
78107 * include/unistd.h: Likewise.
78108 * include/utmp.h: Likewise.
78109 * include/wchar.h: Likewise.
78110 * include/wctype.h: Likewise.
78111 * inet/aliases.h: Likewise.
78112 * inet/arpa/inet.h: Likewise.
78113 * inet/netinet/ether.h: Likewise.
78114 * inet/netinet/in.h: Likewise.
78115 * intl/libintl.h: Likewise.
78116 * io/bits/fcntl2.h: Likewise.
78117 * io/fcntl.h: Likewise.
78118 * io/ftw.h: Likewise.
78119 * io/sys/poll.h: Likewise.
78120 * io/sys/stat.h: Likewise.
78121 * io/sys/statfs.h: Likewise.
78122 * io/sys/statvfs.h: Likewise.
78123 * io/utime.h: Likewise.
78124 * libio/bits/stdio.h: Likewise.
78125 * libio/bits/stdio2.h: Likewise.
78126 * libio/libio.h: Likewise.
78127 * libio/libioP.h: Likewise.
78128 * libio/stdio.h: Likewise.
78129 * locale/lc-ctype.c: Likewise.
78130 * locale/locale.h: Likewise.
78131 * login/utmp.h: Likewise.
78132 * malloc/arena.c: Likewise.
78133 * malloc/malloc.c: Likewise.
78134 * malloc/malloc.h: Likewise.
78135 * malloc/mcheck.c: Likewise.
78136 * malloc/mtrace.c: Likewise.
78137 * math/bits/mathcalls.h: Likewise.
78138 * math/fenv.h: Likewise.
78139 * math/math_private.h: Likewise.
78140 * misc/bits/error.h: Likewise.
78141 * misc/bits/syslog.h: Likewise.
78142 * misc/err.h: Likewise.
78143 * misc/error.h: Likewise.
78144 * misc/fstab.h: Likewise.
78145 * misc/mntent.h: Likewise.
78146 * misc/regexp.h: Likewise.
78147 * misc/search.h: Likewise.
78148 * misc/sgtty.h: Likewise.
78149 * misc/sys/mman.h: Likewise.
78150 * misc/sys/syslog.h: Likewise.
78151 * misc/sys/uio.h: Likewise.
78152 * misc/sys/xattr.h: Likewise.
78153 * misc/ttyent.h: Likewise.
78154 * nis/rpcsvc/ypclnt.h: Likewise.
78155 * nss/nss.h: Likewise.
78156 * posix/bits/unistd.h: Likewise.
78157 * posix/fnmatch.h: Likewise.
78158 * posix/glob.h: Likewise.
78159 * posix/sched.h: Likewise.
78160 * posix/spawn.h: Likewise.
78161 * posix/sys/wait.h: Likewise.
78162 * posix/unistd.h: Likewise.
78163 * posix/wordexp.h: Likewise.
78164 * pwd/pwd.h: Likewise.
78165 * resolv/netdb.h: Likewise.
78166 * resource/sys/resource.h: Likewise.
78167 * rt/aio.h: Likewise.
78168 * rt/bits/mqueue2.h: Likewise.
78169 * rt/mqueue.h: Likewise.
78170 * shadow/shadow.h: Likewise.
78171 * signal/signal.h: Likewise.
78172 * socket/send.c: Likewise.
78173 * socket/sendto.c: Likewise.
78174 * socket/sys/socket.h: Likewise.
78175 * stdio-common/printf.h: Likewise.
78176 * stdlib/bits/stdlib.h: Likewise.
78177 * stdlib/fmtmsg.h: Likewise.
78178 * stdlib/monetary.h: Likewise.
78179 * stdlib/stdlib.h: Likewise.
78180 * stdlib/ucontext.h: Likewise.
78181 * streams/stropts.h: Likewise.
78182 * string/argz.h: Likewise.
78183 * string/bits/string2.h: Likewise.
78184 * string/string.h: Likewise.
78185 * string/strings.h: Likewise.
78186 * sunrpc/rpc/auth.h: Likewise.
78187 * sunrpc/rpc/auth_des.h: Likewise.
78188 * sunrpc/rpc/clnt.h: Likewise.
78189 * sunrpc/rpc/netdb.h: Likewise.
78190 * sunrpc/rpc/pmap_clnt.h: Likewise.
78191 * sunrpc/rpc/xdr.h: Likewise.
78192 * sysdeps/generic/inttypes.h: Likewise.
78193 * sysdeps/generic/net/if.h: Likewise.
78194 * sysdeps/generic/sys/swap.h: Likewise.
78195 * sysdeps/gnu/net/if.h: Likewise.
78196 * sysdeps/gnu/utmpx.h: Likewise.
78197 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
78198 * sysdeps/i386/i486/bits/string.h: Likewise.
78199 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
78200 * sysdeps/s390/bits/string.h: Likewise.
78201 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
78202 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
78203 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
78204 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
78205 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
78206 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
78207 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
78208 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
78209 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
78210 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
78211 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
78212 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
78213 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
78214 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
78215 * sysdeps/unix/sysv/linux/readv.c: Likewise.
78216 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
78217 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
78218 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78219 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
78220 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
78221 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
78222 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
78223 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
78224 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
78225 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
78226 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
78227 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
78228 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78229 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
78230 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
78231 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
78232 * sysvipc/sys/ipc.h: Likewise.
78233 * sysvipc/sys/msg.h: Likewise.
78234 * sysvipc/sys/sem.h: Likewise.
78235 * sysvipc/sys/shm.h: Likewise.
78236 * termios/termios.h: Likewise.
78237 * time/sys/time.h: Likewise.
78238 * time/time.h: Likewise.
78239 * wcsmbs/bits/wchar2.h: Likewise.
78240 * wcsmbs/uchar.h: Likewise.
78241 * wcsmbs/wchar.h: Likewise.
78242 * wctype/wctype.h: Likewise.
78243
78244 [BZ #13551]
78245 * Makeconfig: Remove all but ELF support including AIX support.
78246 * Makerules: Likewise.
78247 * config.h.in: Likewise.
78248 * config.make.in: Likewise.
78249 * configure: Likewise.
78250 * configure.in: Likewise.
78251 * csu/Makefile: Likewise.
78252 * csu/version.c: Likewise.
78253 * debug/Makefile: Likewise.
78254 * dlfcn/Makefile: Likewise.
78255 * elf/Makefile: Likewise.
78256 * extra-lib.mk: Likewise.
78257 * iconv/Makefile: Likewise.
78258 * include/libc-symbols.h: Likewise.
78259 * include/shlib-compat.h: Likewise.
78260 * resolv/Makefile: Likewise.
78261 * resolv/res_libc.c: Likewise.
78262 * rt/Makefile: Likewise.
78263 * sysdeps/i386/asm-syntax.h: Likewise.
78264 * sysdeps/i386/sysdep.h: Likewise.
78265 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78266 * sysdeps/mach/sysdep.h: Likewise.
78267 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
78268 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
78269 * sysdeps/s390/asm-syntax.h: Likewise.
78270 * sysdeps/s390/s390-32/sysdep.h: Likewise.
78271 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78272 * sysdeps/sh/sysdep.h: Likewise.
78273 * sysdeps/unix/sparc/sysdep.h: Likewise.
78274 * sysdeps/wordsize-32/divdi3.c: Likewise.
78275 * sysdeps/x86_64/sysdep.h: Likewise.
78276
78277 * argp/Versions: Remove _argp_unlock_xxx.
78278
78279 [BZ #13559]
78280 * abilist/ld.abilist: Update. Adjust for removal of tls option.
78281 * abilist/libBrokenLocale.abilist: Likewise.
78282 * abilist/libanl.abilist: Likewise.
78283 * abilist/libc.abilist: Likewise.
78284 * abilist/libcrypt.abilist: Likewise.
78285 * abilist/libdl.abilist: Likewise.
78286 * abilist/libm.abilist: Likewise.
78287 * abilist/libnsl.abilist: Likewise.
78288 * abilist/libpthread.abilist: Likewise.
78289 * abilist/libresolv.abilist: Likewise.
78290 * abilist/librt.abilist: Likewise.
78291 * abilist/libthread_db.abilist: Likewise.
78292 * abilist/libutil.abilist: Likewise.
78293 * abilist/libnss_db.abilist: New file.
78294
78295 * scripts/abilist.awk: Add support for indirect functions.
78296
78297 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
78298
78299 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
78300
78301 * shlib-versions: Remove entries for ports architectures.
78302
78303 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
78304 files in ports.
78305 * elf/stackguard-macros.h: Remove support for IA-64.
78306 * elf/tst-auditmod1.c: Likewise.
78307 * sysdeps/generic/ldsodefs.h: Likewise.
78308
78309 * sysdeps/unix/sysv/linux/configure.in: Ports should define
78310 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
78311 configure files.
78312
78313 [BZ #13552]
78314 * configure.in: Remove --enable-omitfp support.
78315 * FAQ.in: Adjust.
78316 * config.make.in: Likewise.
78317 * Makeconfig: Likewise.
78318 * manual/install.texi: Likewise.
78319
78320 In case anyone cares, the IA-64 architecture could move to ports.
78321 * sysdeps/ia64/*: Removed.
78322 * sysdeps/unix/sysv/linux/ia64/*: Removed.
78323 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
78324
78325 [BZ #13555]
78326 * configure.in: Remove entries for unsupported architectures.
78327
78328 [BZ #13533]
78329 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
78330 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
78331 routines.
78332 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
78333 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
78334 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
78335 fall back to using wcrtomb.
78336 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
78337 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
78338 renaming.
78339 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
78340 * wcsmbs/tst-c16c32-1.c: New file.
78341
78342 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
78343 local variable.
78344
78345 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
78346
78347 * elf/tst-unique3.cc: Add explicit declaration of gets.
78348 * elf/tst-unique3lib.cc: Likewise.
78349 * elf/tst-unique3lib2.cc: Likewise.
78350 * elf/tst-unique4.cc: Likewise.
78351
78352 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
78353
78354 2012-01-06 Joseph Myers <joseph@codesourcery.com>
78355
78356 [BZ #13566]
78357 * assert/assert.h (static_assert): Don't define for C++.
78358 * libio/stdio.h (gets): Do declare for C++ <= C++11.
78359 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
78360
78361 2012-01-03 Ulrich Drepper <drepper@gmail.com>
78362
78363 * iconv/loop.c (single loop): Fix assertion in storing of
78364 remaining bytes.
78365
78366 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
78367
78368 2012-01-01 Ulrich Drepper <drepper@gmail.com>
78369
78370 * posix/getconf.c: Update copyright year.
78371 * nss/getent.c: Likewise.
78372 * nss/makedb.c: Likewise.
78373 * iconv/iconvconfig.c: Likewise.
78374 * iconv/iconv_prog.c: Likewise.
78375 * elf/ldconfig.c: Likewise.
78376 * elf/pldd.c: Likewise.
78377 * elf/sotruss.ksh: Likewise.
78378 * catgets/gencat.c: Likewise.
78379 * csu/version.c: Likewise.
78380 * elf/ldd.bash.in: Likewise.
78381 * elf/sprof.c (print_version): Likewise.
78382 * locale/programs/locale.c: Likewise.
78383 * locale/programs/localedef.c: Likewise.
78384 * login/programs/pt_chown.c: Likewise.
78385 * nscd/nscd.c (print_version): Likewise.
78386 * debug/xtrace.sh: Likewise.
78387 * malloc/memusage.sh: Likewise.
78388 * malloc/mtrace.pl: Likewise.
78389 * debug/catchsegv.sh: Likewise.
78390
78391 2011-12-30 Jakub Jelinek <jakub@redhat.com>
78392
78393 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
78394 pure attribute.
78395
78396 2011-12-24 Ulrich Drepper <drepper@gmail.com>
78397
78398 [BZ #13533]
78399 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
78400 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
78401 transformations.
78402 * iconv/gconv_int.h: Likewise.
78403 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
78404 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
78405 from libc for GLIBC_2.16.
78406 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
78407 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
78408 * wcsmbs/uchar.h: Really define mbstate_t.
78409 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
78410 * wcsmbs/c16rtomb.c: New file.
78411 * wcsmbs/mbrtoc16.c: New file.
78412 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
78413 for C/POSIX locale.
78414 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
78415 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
78416
78417 * wcsmbs/wchar.h: Add missing __restrict.
78418
78419 2011-12-23 Ulrich Drepper <drepper@gmail.com>
78420
78421 [BZ #13532]
78422 * time/Makefile (routines): Add timespec_get.
78423 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
78424 * time/time.h: Define TIME_UTC and declare timespec_get. Define
78425 timespec for ISO C11.
78426 * time/timespec_get.c: New file.
78427 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
78428 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
78429
78430 [BZ #13531]
78431 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
78432 * stdlib/stdlib.h: Declare aligned_alloc.
78433 * Versions.def: Add GLIBC_2.16 for libc.
78434 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
78435
78436 [BZ 13527]
78437 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
78438 ISO C11.
78439
78440 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
78441 code.
78442
78443 [BZ #13528]
78444 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
78445
78446 [BZ #13529]
78447 * assert/assert.h (static_assert): Define.
78448
78449 * version.h: Update for 2.16 development version.
78450
78451 [BZ #13526]
78452 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
78453 _ISOC11_SOURCE.
78454
78455 * version.h (RELEASE): Bump for 2.15 release.
78456 * include/features.h (__GLIBC_MINOR__): Bump to 15.
78457
78458 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
78459 Patch by Marek Polacek <mpolacek@redhat.com>.
78460
78461 * bits/byteswap.h: Protect long long constants with __extension__.
78462 * sysdeps/i386/bits/byteswap.h: Likewise.
78463 * sysdeps/ia64/bits/byteswap.h: Likewise.
78464 * sysdeps/s390/bits/byteswap.h: Likewise.
78465 * sysdeps/x86_64/bits/byteswap.h: Likewise.
78466
78467 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78468
78469 [BZ #13540]
78470 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
78471 destination buffer.
78472 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
78473
78474 2011-12-23 Marek Polacek <polacek@redhat.com>
78475
78476 * elf/dl-addr.c (determine_info): Add inline keyword.
78477 * elf/tst-auditmod4b.c (check_avx): Likewise.
78478 * elf/tst-auditmod6b.c (check_avx): Likewise.
78479 * elf/tst-auditmod6c.c (check_avx): Likewise.
78480 * elf/tst-auditmod7b.c (check_avx): Likewise.
78481
78482 2011-12-23 Ulrich Drepper <drepper@gmail.com>
78483
78484 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
78485 !__SSE_MATH__.
78486
78487 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78488
78489 [BZ #13540]
78490 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
78491 processing for last bytes.
78492
78493 2011-08-06 Bruno Haible <bruno@clisp.org>
78494
78495 [BZ #13061]
78496 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
78497 U+0385, not to U+1FEE.
78498
78499 [BZ #13062]
78500 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
78501 entry for U+00A5 U+0301.
78502
78503 2011-12-22 Ulrich Drepper <drepper@gmail.com>
78504
78505 [BZ #13166]
78506 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
78507 buffer for the output is too small.
78508
78509 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
78510 optimization.
78511
78512 [BZ #13185]
78513 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
78514 SSE flags if possible.
78515
78516 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78517
78518 [BZ #13540]
78519 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
78520 processing for last bytes.
78521
78522 2011-12-22 Joseph Myers <joseph@codesourcery.com>
78523
78524 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
78525 (syscall-list-default-options, syscall-list-default-condition)
78526 (syscall-list-includes): Define.
78527 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
78528 list of ABIs and options and #if conditions for each ABI. Do not
78529 handle common syscalls between ABIs specially.
78530 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
78531 Remove.
78532 (syscall-list-variants, syscall-list-32bit-options)
78533 (syscall-list-32bit-condition, syscall-list-64bit-options)
78534 (syscall-list-64bit-condition): Define.
78535 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
78536 (syscall-list-variants, syscall-list-32bit-options)
78537 (syscall-list-32bit-condition, syscall-list-64bit-options)
78538 (syscall-list-64bit-condition): Define.
78539 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
78540 Remove.
78541 (syscall-list-variants, syscall-list-32bit-options)
78542 (syscall-list-32bit-condition, syscall-list-64bit-options)
78543 (syscall-list-64bit-condition): Define.
78544 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
78545 Remove.
78546 (syscall-list-variants, syscall-list-32bit-options)
78547 (syscall-list-32bit-condition, syscall-list-64bit-options)
78548 (syscall-list-64bit-condition): Define.
78549
78550 2011-12-22 Ulrich Drepper <drepper@gmail.com>
78551
78552 * locale/iso-639.def: Add brx entry.
78553
78554 [BZ #13328]
78555 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
78556 Proposed by Mariusz_Cukr <marcukr@op.pl>.
78557
78558 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
78559 __feraiseexcept_renamed.
78560
78561 2011-12-21 Ulrich Drepper <drepper@gmail.com>
78562
78563 [BZ #13538]
78564 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
78565 EPOLLET with unsigned values.
78566 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78567 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
78568
78569 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
78570 to large cancellation.
78571 * math/s_cacoshf.c: Likewise.
78572 * math/s_cacoshl.c: Likewise.
78573
78574 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
78575
78576 [BZ #13305]
78577 [BZ #12786]
78578 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
78579 * math/s_cacoshf.c: Likewise.
78580 * math/s_cacoshl.c: Likewise.
78581
78582 2011-12-21 Ulrich Drepper <drepper@gmail.com>
78583
78584 [BZ #13439]
78585 * iconv/gconv.h: Define __GCONV_SWAP.
78586 * iconvdata/unicode.c: The swap bit must be stored in __flags.
78587 * iconvdata/utf-16.c: Likewise.
78588 * iconvdata/utf-32.c: Likewise.
78589
78590 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
78591
78592 [BZ #13524]
78593 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
78594 numerator after shifting it by one limb.
78595
78596 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
78597
78598 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
78599 under [__USE_EXTERN_INLINES].
78600
78601 2011-12-17 Ulrich Drepper <drepper@gmail.com>
78602
78603 [BZ #13446]
78604 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
78605
78606 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78607
78608 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
78609 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
78610 optimized code.
78611 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
78612 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
78613 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
78614 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
78615 for strncasecmp/strncasecmp_l compilation.
78616 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
78617 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
78618
78619 2011-12-08 Marek Polacek <mpolacek@redhat.com>
78620
78621 [BZ #13484]
78622 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
78623 of __asm__.
78624
78625 2011-12-17 Ulrich Drepper <drepper@gmail.com>
78626
78627 [BZ #13506]
78628 * time/tzfile.c (__tzfile_read): Check values from file header.
78629
78630 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
78631
78632 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
78633 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
78634 * powerpc/powerpc32/dl-start.S: Likewise.
78635 * powerpc/powerpc32/elf/start.S: Likewise.
78636 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
78637 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
78638 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
78639 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
78640 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
78641 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
78642 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
78643 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
78644 * powerpc/powerpc32/fpu/s_round.S: Likewise.
78645 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
78646 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
78647 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
78648 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
78649 * powerpc/powerpc32/memset.S: Likewise.
78650 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
78651 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
78652 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
78653 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
78654 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
78655 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
78656 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
78657 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
78658 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
78659 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
78660 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
78661 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
78662 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
78663
78664 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78665
78666 * math/libm-test.inc: Added more nearbyint tests.
78667 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
78668 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
78669 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
78670 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
78671
78672 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
78673
78674 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
78675 FD_CLOEXEC.
78676
78677 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78678
78679 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
78680 Add wcscpy-ssse3 wcscpy-c.
78681 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
78682 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
78683 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
78684 * sysdeps/x86_64/wcschr.S: New file.
78685 * sysdeps/x86_64/wcsrchr.S: New file.
78686 * string/test-strcmp.c: Remove checking of wcscmp function for
78687 wrong alignments.
78688 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
78689 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
78690 wcsrchr-sse2 wcsrchr-c.
78691 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
78692 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
78693 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
78694 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
78695 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
78696 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
78697 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
78698 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
78699 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
78700 * wcsmbc/wcschr.c (WCSCHR): New macro.
78701
78702 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78703
78704 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
78705 * wcsmbs/test-wcsrchr.c: New file.
78706 * string/test-strrchr.c: Add wcsrchr support.
78707 (WIDE): New macro.
78708 * wcsmbs/test-wcscpy.c: New file.
78709 * string/test-strcpy.c: Add wcscpy support.
78710 (WIDE): New macro.
78711
78712 2011-12-10 Ulrich Drepper <drepper@gmail.com>
78713
78714 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
78715 the inner loop.
78716
78717 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
78718
78719 [BZ #13472]
78720 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
78721
78722 2011-12-04 Ulrich Drepper <drepper@gmail.com>
78723
78724 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
78725 Minor optimizations.
78726
78727 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
78728 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
78729 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
78730
78731 2011-12-03 Ulrich Drepper <drepper@gmail.com>
78732
78733 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
78734 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
78735 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
78736 for gcc to avoid warnings.
78737 * inet/Makefile (tests): Add tst-checks.
78738 * inet/tst-checks.c: New file.
78739
78740 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
78741 warning.
78742
78743 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
78744 __wmemcmp_sse2.
78745
78746 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
78747 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
78748
78749 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
78750
78751 2011-12-02 Ulrich Drepper <drepper@gmail.com>
78752
78753 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
78754 problem.
78755
78756 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
78757
78758 2011-11-29 Joseph Myers <joseph@codesourcery.com>
78759
78760 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
78761 conditional on GCC version.
78762 (__arch_compare_and_exchange_val_8_acq)
78763 (__arch_compare_and_exchange_val_16_acq)
78764 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
78765 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
78766 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
78767
78768 2011-12-02 Joseph Myers <joseph@codesourcery.com>
78769
78770 * sysdeps/sh/backtrace.c: New file.
78771
78772 2011-12-02 Andreas Schwab <schwab@redhat.com>
78773
78774 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
78775 parenthesis.
78776
78777 2011-12-01 Andreas Schwab <schwab@redhat.com>
78778
78779 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
78780 falling back to utime.
78781
78782 2011-11-30 Andreas Schwab <schwab@redhat.com>
78783
78784 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
78785 expectations for float.
78786
78787 2011-11-29 Andreas Schwab <schwab@redhat.com>
78788
78789 * locale/weight.h (findidx): Add parameter len.
78790 * locale/weightwc.h (findidx): Likewise.
78791 * posix/fnmatch_loop.c (FCT): Adjust caller.
78792 * posix/regcomp.c (build_equiv_class): Likewise.
78793 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
78794 * posix/regexec.c (check_node_accept_bytes): Likewise.
78795 * string/strcoll_l.c (STRCOLL): Likewise.
78796 * string/strxfrm_l.c (STRXFRM): Likewise.
78797
78798 2011-11-17 Ulrich Drepper <drepper@gmail.com>
78799
78800 * Makefile.in: Remove CVSOPT handling.
78801 * configure.in: Remove use of AC_REVISION.
78802 * iconvdata/Makefile (distribute): No need to filter out CVS.
78803 * scripts/list-sources.sh: Remove CVS, subversion and monotone
78804 handling.
78805
78806 2011-11-16 Andreas Schwab <schwab@redhat.com>
78807
78808 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
78809 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
78810 [USE_AS_STRNCASECMP_L]: Likewise.
78811 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
78812 NO_TLS_DIRECT_SEG_REFS.
78813 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
78814 Fix argument offsets for non-PIC.
78815 [USE_AS_STRNCASECMP_L]: Likewise.
78816 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
78817 NO_TLS_DIRECT_SEG_REFS.
78818
78819 2011-11-15 Ulrich Drepper <drepper@gmail.com>
78820
78821 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
78822 O_CLOEXEC.
78823 * locale/loadlocale.c (_nl_load_locale): Likewise.
78824
78825 2011-11-15 Andreas Schwab <schwab@redhat.com>
78826
78827 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
78828 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
78829 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
78830 (SYSCALL_GETTIME): Set errno on error.
78831
78832 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
78833 count references to noai6ai_cached.
78834
78835 2011-11-15 Ulrich Drepper <drepper@gmail.com>
78836
78837 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
78838
78839 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
78840 FD_CLOEXEC for /proc/self/maps.
78841
78842 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
78843 FD_CLOEXEC for /proc/meminfo.
78844
78845 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
78846 gai.conf.
78847
78848 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
78849 FD_CLOEXEC for given file.
78850
78851 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
78852
78853 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
78854 FD_CLOEXEC for /etc/hosts.
78855 (_gethtent): Likewise.
78856
78857 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
78858
78859 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
78860 cancellation and set FD_CLOEXEC for /etc/netgroup.
78861
78862 * nss/nss_files/files-key.c (search): Don't allow cancellation when
78863 reading /etc/publickey.
78864
78865 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
78866 allow cancellation when reading /etc/group.
78867
78868 * nss/nss_files/files-alias.c (internal_setent): Don't allow
78869 cancellation.
78870 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
78871
78872 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
78873 when using data file.
78874
78875 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
78876
78877 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
78878 (write_nis_obj): Use "c" and "e" in fopen.
78879
78880 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
78881
78882 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
78883
78884 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
78885
78886 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
78887
78888 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
78889 locale.alias.
78890
78891 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
78892
78893 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
78894
78895 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
78896
78897 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
78898 file parsing and set FD_CLOEXEC.
78899
78900 2011-11-14 Ulrich Drepper <drepper@gmail.com>
78901
78902 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
78903
78904 2011-11-14 Andreas Schwab <schwab@redhat.com>
78905
78906 * malloc/arena.c (arena_get2): Don't call reused_arena when
78907 _int_new_arena failed.
78908
78909 2011-11-14 Ulrich Drepper <drepper@gmail.com>
78910
78911 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
78912 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
78913 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
78914 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
78915 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
78916 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
78917 to compile strcasecmp and strncasecmp.
78918 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
78919 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
78920
78921 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
78922
78923 2011-11-13 Ulrich Drepper <drepper@gmail.com>
78924
78925 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
78926 locale-defines.sym to gen-as-const-headers.
78927 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
78928 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
78929 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
78930 to compile strcasecmp and strncasecmp.
78931 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
78932 strcasecmp_l and strncasecmp_l.
78933 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
78934 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
78935 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
78936 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
78937 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
78938 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
78939 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
78940 * sysdeps/i386/i686/multiarch/strncase.S: New file.
78941 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
78942 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
78943 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
78944
78945 2011-11-12 Ulrich Drepper <drepper@gmail.com>
78946
78947 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
78948 result of SYSDEP_GETTIME_CPU to retval.
78949 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
78950 parameter list to macro. Remove trailing semicolon. Adjust users.
78951
78952 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
78953 variable.
78954
78955 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
78956 mantissa words.
78957 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
78958
78959 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
78960 from unused variable.
78961
78962 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
78963 DWARF definitions.
78964 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
78965 for assembling.
78966
78967 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
78968 over namespaces.
78969
78970 * sunrpc/rpc_prot.c (rejected): Fix case value.
78971
78972 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
78973 unsigned long long int to avoid warnings in shift.
78974
78975 * posix/regex_internal.c (re_string_reconstruct): Actually use result
78976 of use of trans.
78977 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
78978 variable tmp.
78979
78980 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
78981 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
78982 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
78983
78984 * nis/nis_table.c (nis_list): Use variable of correct type for
78985 result of __follow_path call.
78986
78987 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78988
78989 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
78990 of math functions ceil, trunc, floor, round, and sqrt, when
78991 avaliable on the platform.
78992 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
78993 name clash.
78994 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
78995 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
78996 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
78997
78998 2011-10-30 Marek Polacek <mpolacek@redhat.com>
78999
79000 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
79001 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
79002
79003 2011-11-11 Roland McGrath <roland@hack.frob.com>
79004
79005 * include/unistd.h: Fix __readlink return type.
79006 Reported by Chris Metcalf <cmetcalf@tilera.com>.
79007
79008 2011-11-11 Ulrich Drepper <drepper@gmail.com>
79009
79010 * stdlib/ucontext.h: Undo last change for makecontext.
79011
79012 2011-11-11 Andreas Schwab <schwab@redhat.com>
79013
79014 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
79015
79016 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
79017 * setjmp/setjmp.h: Mark functions as non-leaf.
79018 * setjmp/bits/setjmp2.h: Likewise.
79019 * stdlib/ucontext.h: Likewise.
79020
79021 2011-11-10 Andreas Schwab <schwab@redhat.com>
79022
79023 * malloc/arena.c (_int_new_arena): Don't increment narenas.
79024 (reused_arena): Don't check arena limit.
79025 (arena_get2): Atomically check arena limit.
79026
79027 2011-11-08 Ulrich Drepper <drepper@gmail.com>
79028
79029 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
79030 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
79031
79032 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
79033 instructions.
79034
79035 2011-11-07 Andreas Schwab <schwab@redhat.com>
79036
79037 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
79038 handler when locking.
79039
79040 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
79041 Fix size of allocated buffer.
79042
79043 2011-11-04 Andreas Schwab <schwab@redhat.com>
79044
79045 [BZ #10103]
79046 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
79047 declarations for long double functions.
79048 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
79049
79050 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
79051
79052 2011-11-03 Andreas Schwab <schwab@redhat.com>
79053
79054 * nscd/nscd.c (main): Don't start AVC thread until credentials are
79055 installed.
79056
79057 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
79058 is disabled.
79059
79060 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
79061
79062 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
79063
79064 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
79065
79066 * include/alloca.h (stackinfo_alloca_round): Define.
79067 (extend_alloca): Use it.
79068 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
79069 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
79070 here.
79071
79072 * scripts/check-local-headers.sh: Ignore libaudit.h.
79073
79074 * nscd/Makefile (extra-objs): Make recursively expanded.
79075
79076 2011-11-01 Ulrich Drepper <drepper@gmail.com>
79077
79078 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
79079 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
79080
79081 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
79082 * posix/tst-rfc3484-2.c: Likewise.
79083 * posix/tst-rfc3484-3.c: Likewise.
79084
79085 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79086 process_vm_writev.
79087 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
79088 process_vm_writev.
79089 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
79090 process_vm_writev from libc using GLIBC_2.15 version.
79091
79092 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
79093
79094 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
79095
79096 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
79097 stack usage.
79098
79099 2011-10-31 Ulrich Drepper <drepper@gmail.com>
79100
79101 [BZ #13367]
79102 * nss/getent.c (initgroups_keys): Show error message in case no group
79103 names are given.
79104
79105 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
79106 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
79107 __bump_nl_timestamp.
79108 * nscd/connections (nscd_init): When host database is served open
79109 netlink socket and request notification about configuration changes.
79110 (main_loop_poll): Track netlink file descriptor and bump timestamp
79111 in case data becomes available.
79112 (main_loop_epoll): Likewise.
79113 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
79114 (database_pers_head): Add extra_data fileds.
79115 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
79116 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
79117 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
79118 Adjust caller.
79119 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
79120 in6ai data, call __free_in6ai.
79121 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
79122 Add -DHAVE_NETLINK.
79123 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
79124 interface information. Reuse previous data if netlink timestamp
79125 is not changed.
79126 (__bump_nl_timestamp): New function.
79127 (__free_in6ai): New function.
79128
79129 2011-10-30 Ulrich Drepper <drepper@gmail.com>
79130
79131 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
79132 close_not_cancel_no_status here.
79133 (__check_pf): Reorganize code a bit to not call close twice if OOM.
79134
79135 2011-10-29 Ulrich Drepper <drepper@gmail.com>
79136
79137 [BZ #13276]
79138 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
79139 return value.
79140
79141 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
79142 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
79143 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
79144
79145 2011-07-03 Andreas Jaeger <aj@suse.de>
79146
79147 [BZ #10709]
79148 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
79149 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
79150 * math/libm-test.inc (sin_test): Add test case.
79151
79152 2011-10-29 Ulrich Drepper <drepper@gmail.com>
79153
79154 [BZ #13337]
79155 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
79156 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79157
79158 * elf/chroot_canon.c (chroot_canon): Cleanups.
79159
79160 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
79161
79162 [BZ #13335]
79163 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
79164 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79165
79166 * string/test-strchr.c: Make usable for strchrnul testing.
79167 * string/test-strchrnul.c: New file.
79168 * string/Makefile (strop-tests): Add strchrnul.
79169
79170 * po/it.po: Update from translation team.
79171 * po/es.po: Likewise.
79172
79173 2011-10-28 Ulrich Drepper <drepper@gmail.com>
79174
79175 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
79176 the three constants needed as parameters. Drop the others.
79177 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
79178 __m128i_strloadu_tolower.
79179 Create and initialize variable zero and use it in all the places
79180 where _mm_setzero_si128 was used.
79181
79182 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
79183 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
79184 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
79185 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
79186 anymore.
79187 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
79188 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
79189 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
79190 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
79191 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
79192 __mpranred, __mptan.
79193 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
79194 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
79195 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
79196 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
79197 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
79198 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
79199 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
79200 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
79201 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
79202
79203 2011-10-28 Andreas Schwab <schwab@redhat.com>
79204
79205 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
79206 redefine if SHARED.
79207 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
79208
79209 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
79210 wide char related routines to wcsmbs subdir.
79211
79212 2011-10-27 Andreas Schwab <schwab@redhat.com>
79213
79214 [BZ #13344]
79215 * misc/sys/cdefs.h (__THROWNL): Define.
79216 * posix/unistd.h: Use __THREADNL instead of __THREAD
79217 for memory synchronization functions.
79218
79219 2011-10-26 Roland McGrath <roland@hack.frob.com>
79220
79221 [BZ #13349]
79222 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
79223 doesn't exist.
79224 * manual/stdio.texi (Obstack Streams): Node removed.
79225
79226 2011-10-26 Andreas Schwab <schwab@redhat.com>
79227
79228 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
79229 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79230 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79231
79232 * math/math_private.h (math_force_eval): Allow non-addressable
79233 arguments.
79234 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
79235
79236 2011-10-25 Ulrich Drepper <drepper@gmail.com>
79237
79238 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
79239 file is not needed.
79240
79241 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
79242 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
79243 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
79244 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
79245 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
79246 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
79247 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
79248 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
79249 Add AVX variants.
79250 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
79251 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
79252 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
79253 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
79254 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
79255 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
79256 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
79257 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
79258 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
79259 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
79260 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
79261 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
79262 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
79263 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
79264 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
79265 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
79266 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
79267 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
79268 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
79269
79270 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
79271 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
79272
79273 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
79274 place. Use VEX encoding when compiling for AVX.
79275
79276 2011-10-25 Andreas Schwab <schwab@redhat.com>
79277
79278 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
79279 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
79280
79281 * string/test-strchr.c (do_test): Don't generate NUL bytes.
79282
79283 2011-10-25 Ulrich Drepper <drepper@gmail.com>
79284
79285 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
79286 useless if() expression.
79287 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79288 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
79289 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
79290 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79291 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
79292 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79293 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79294 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79295 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
79296 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79297 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79298 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79299 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
79300 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79301 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
79302 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79303 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79304 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79305 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
79306
79307 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
79308
79309 2011-10-25 Andreas Schwab <schwab@redhat.com>
79310
79311 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
79312 condition.
79313 * elf/dl-fini.c (_dl_sort_fini): Likewise.
79314
79315 2011-10-25 Ulrich Drepper <drepper@gmail.com>
79316
79317 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
79318 .text section. Avoid duplicate constants.
79319 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
79320 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79321 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79322 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79323 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79324 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79325 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79326 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79327 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
79328 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
79329 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
79330 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
79331 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
79332 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
79333 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
79334 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
79335 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
79336 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
79337 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
79338 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79339 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
79340 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
79341 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
79342 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
79343 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
79344 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
79345 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
79346 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
79347 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
79348 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
79349 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
79350 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
79351 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
79352 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
79353 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
79354 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
79355 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
79356 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
79357 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
79358 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
79359 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
79360 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
79361 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
79362 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
79363 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
79364
79365 2011-10-24 Ulrich Drepper <drepper@gmail.com>
79366
79367 * sysdeps/x86_64/dla.h: Move to ...
79368 * sysdeps/x86_64/fpu/dla.h: ...here.
79369 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
79370 situations. Use __builtin_fma only for gcc 4.6 and up.
79371
79372 * config.make.in: Add have-mfma4 entry.
79373 * configure.in: Substitute libc_cv_cc_fma4.
79374 * math/Makefile (dbl-only-routines): Add sincostab.
79375 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
79376 Use __sincostab not sincos.
79377 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
79378 name is a macro.
79379 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79380 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79381 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79382 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
79383 using __copysign.
79384 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
79385 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
79386 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
79387 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
79388 and __inv.
79389 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
79390 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
79391 __copysign.
79392 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
79393 define aliases when function name is a macro.
79394 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
79395 sysdeps/ieee754/dbl-64/sincos.tbl.
79396 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
79397 fma4-enabled routines.
79398 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
79399 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
79400 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
79401 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
79402 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
79403 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
79404 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
79405 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
79406 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
79407 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
79408 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
79409 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
79410 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
79411 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
79412 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
79413 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
79414 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
79415 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
79416 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
79417 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
79418 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
79419 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
79420 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
79421 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
79422 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
79423 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
79424 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
79425 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
79426 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
79427 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
79428
79429 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
79430 rename.
79431 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79432 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79433 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79434 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79435 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79436 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79437 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79438 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79439
79440 2011-10-24 Andreas Schwab <schwab@redhat.com>
79441
79442 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
79443
79444 2011-10-23 Ulrich Drepper <drepper@gmail.com>
79445
79446 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
79447
79448 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
79449 prediction.
79450 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
79451
79452 * string/strnlen.c: Don't define STRNLEN, reverse logic.
79453 Remove unused variable magic_bits.
79454 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
79455
79456 * string/strnlen.c: Define and use STRNLEN macro.
79457 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
79458 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
79459 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
79460 * wcsmbs/wcslen.c: Define and use WCSLEN.
79461 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
79462 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
79463 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
79464 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
79465 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
79466 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
79467 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
79468
79469 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79470
79471 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79472 strnlen-sse2-no-bsf.
79473 Rename strlen-no-bsf to strlen-sse2-no-bsf.
79474 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
79475 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
79476 Add strnlen support.
79477 (USE_AS_STRNLEN): New macro.
79478 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
79479 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
79480 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
79481 * sysdeps/x86_64/wcslen.S: New file.
79482
79483 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
79484
79485 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
79486 XMM-moves are used for copying on small sizes.
79487
79488 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79489
79490 * wcsmbs/Makefile (strop-tests): Add wcschr.
79491 * wcsmbs/test-wcschr.c: New file.
79492 * string/test-strchr.c: Update.
79493 Add wcschr support.
79494 (WIDE): New macro.
79495
79496 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79497
79498 * wcsmbs/Makefile (strop-tests): Add wcslen.
79499 * wcsmbs/test-wcslen.c: New file.
79500 * string/test-strlen.c: Update.
79501 Add wcslen support.
79502 (WIDE): New macro.
79503
79504 2011-10-23 Ulrich Drepper <drepper@gmail.com>
79505
79506 * po/it.po: Update from translation team.
79507
79508 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79509
79510 * sysdeps/x86_64/wcscmp.S: Update.
79511 Fix wrong comparison semantics.
79512 wcscmp shall use signed comparison not unsigned.
79513 Don't use substraction to avoid overflow bug.
79514 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
79515 * wcsmbc/wcscmp.c: Likewise.
79516 * string/test-strcmp.c: Likewise.
79517 Add new tests to check cases with negative values.
79518
79519 2011-10-23 Ulrich Drepper <drepper@gmail.com>
79520
79521 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
79522 * sysdeps/x86_64/dla.h: ...here. New file.
79523 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
79524 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79525 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79526 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79527 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79528 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
79529 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79530 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79531 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79532
79533 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
79534
79535 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
79536 __ynl_finite aliases.
79537
79538 2011-10-22 Ulrich Drepper <drepper@gmail.com>
79539
79540 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79541
79542 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
79543 define DLA_FMA.
79544 [DLA_FMA] (EMULV): Use DLA_FMA.
79545 [DLA_FMA] (MUL12): Use EMULV.
79546 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
79547 that are not needed.
79548 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79549 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79550 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79551 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79552 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79553 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79554 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79555
79556 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
79557
79558 * math/s_nan.c: Undef __nan.
79559 * math/s_nanf.c: Undef __nanf.
79560 * math/s_nanl.c: Undef __nanl.
79561 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
79562 "math_private.h".
79563
79564 2011-10-22 Ulrich Drepper <drepper@gmail.com>
79565
79566 * math/s_catan.c: Add branch predictions.
79567 * math/s_catanf.c: Likewise.
79568 * math/s_catanh.c: Likewise.
79569 * math/s_catanhf.c: Likewise.
79570 * math/s_catanhl.c: Likewise.
79571 * math/s_catanl.c: Likewise.
79572 * math/s_cexp.c: Likewise.
79573 * math/s_cexpf.c: Likewise.
79574 * math/s_cexpl.c: Likewise.
79575 * math/s_clog.c: Likewise.
79576 * math/s_clog10.c: Likewise.
79577 * math/s_clog10f.c: Likewise.
79578 * math/s_clog10l.c: Likewise.
79579 * math/s_clogf.c: Likewise.
79580 * math/s_clogl.c: Likewise.
79581 * math/s_csqrt.c: Likewise.
79582 * math/s_csqrtf.c: Likewise.
79583 * math/s_csqrtl.c: Likewise.
79584 * math/s_ctanf.c: Likewise.
79585 * math/s_ctanh.c: Likewise.
79586 * math/s_ctanhf.c: Likewise.
79587 * math/s_ctanhl.c: Likewise.
79588 * math/s_ctanl.c: Likewise.
79589
79590 * math/math_private.h: Define __nan, __nanf, __nanl.
79591 * math/s_cacosh.c: Include <math_private.h>.
79592 * math/s_cacoshl.c: Likewise.
79593 * math/s_casinh.c: Likewise.
79594 * math/s_casinhf.c: Likewise.
79595 * math/s_casinhl.c: Likewise.
79596 * math/s_ccos.c: Rely entire on ccosh.
79597 * math/s_ccosf.c: Rely entire on ccoshf.
79598 * math/s_ccosl.c: Rely entirely on ccoshl.
79599 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
79600 Remove tests for FE_INVALID.
79601 * math/s_ccoshf.c: Likewise.
79602 * math/s_ccoshl.c: Likewise.
79603 * math/s_csin.c: Likewise.
79604 * math/s_csinf.c: Likewise.
79605 * math/s_csinh.c Likewise.
79606 * math/s_csinhf.c: Likewise.
79607 * math/s_csinhl.c: Likewise.
79608 * math/s_csinl.c: Likewise.
79609 * math/s_ctan.c: Likewise.
79610 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
79611 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
79612 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
79613
79614 2011-10-21 Ulrich Drepper <drepper@gmail.com>
79615
79616 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
79617 compilation problems.
79618
79619 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
79620 __builtin_expect.
79621
79622 2011-10-20 Ulrich Drepper <drepper@gmail.com>
79623
79624 * sysdeps/i386/configure.in: Test for -mfma4 option.
79625 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
79626 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
79627 COMMON_CPUID_INDEX_80000001.
79628 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
79629 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
79630 use it if FMA3 is not supported.
79631 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
79632
79633 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
79634 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79635
79636 2011-10-20 Andreas Schwab <schwab@redhat.com>
79637
79638 [BZ #12892]
79639 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
79640 it would create a cycle with a link time dependency.
79641
79642 2011-10-19 Ulrich Drepper <drepper@gmail.com>
79643
79644 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
79645 instruction.
79646 * string/Makefile (strop-tests): Add rawmemchr.
79647 * string/test-rawmemchr.c: New file.
79648
79649 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
79650 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
79651 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
79652 when compiling str{,n}casecmp and when AVX is available. Hook up
79653 new optimized code in initializers.
79654
79655 2011-10-19 Andreas Schwab <schwab@redhat.com>
79656
79657 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
79658 __feraiseexcept instead of feraiseexcept.
79659
79660 2011-10-18 Ulrich Drepper <drepper@gmail.com>
79661
79662 * math/math_private.h: Define defaults for libc_fetestexcept and
79663 libc_feupdateenv.
79664 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
79665 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
79666 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
79667 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
79668 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
79669 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
79670 libc_fetestexcept and libc_feupdateenv.
79671
79672 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
79673 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
79674 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
79675 * sysdeps/x86_64/fpu/math_private.h: Define special version of
79676 libc_feholdexcept_setround.
79677
79678 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
79679 Add s_nearbyint-c and s_nearbyintf-c.
79680 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
79681 nearbyintf inlines.
79682 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
79683 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
79684 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
79685 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
79686
79687 * math/math_private.h: Define defaults for libc_fegetround,
79688 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
79689 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
79690 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
79691 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
79692 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
79693 standard functions.
79694 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
79695 Remove comments and hacks for old compiler versions.
79696 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
79697 libc_fegetround, libc_fesetround, libc_feholdexcept, and
79698 libc_feholdexceptl.
79699
79700 2011-10-18 Andreas Schwab <schwab@redhat.com>
79701
79702 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
79703 (__feraiseexcept_renamed): Add __NTH.
79704 (feraiseexcept): Add __NTH. Rename local variables to fix
79705 namespace violations.
79706
79707 2011-10-17 Ulrich Drepper <drepper@gmail.com>
79708
79709 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
79710
79711 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
79712
79713 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
79714 recently added interfaces.
79715 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
79716
79717 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
79718 about macro parameter expansion.
79719
79720 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
79721 __NO_MATH_INLINES is defined. Cleanups.
79722
79723 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
79724 and __floorf is target has SSE4.1.
79725 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
79726 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
79727 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
79728 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
79729
79730 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
79731 name.
79732 (floorf): Likewise.
79733
79734 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
79735
79736 2011-10-17 Andreas Schwab <schwab@redhat.com>
79737
79738 * misc/sys/cdefs.h: Fix last change.
79739
79740 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
79741 database lookup.
79742
79743 2011-10-16 Ulrich Drepper <drepper@gmail.com>
79744
79745 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
79746
79747 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
79748 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79749 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
79750 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79751 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79752 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
79753 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79754 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79755 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
79756 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
79757 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
79758 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
79759 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
79760 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
79761 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
79762 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
79763 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
79764 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
79765 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
79766 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
79767 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
79768 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
79769
79770 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
79771 ceil, ceilf, floor, floorf.
79772
79773 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
79774 Perform IRELATIVE relocations last.
79775
79776 * elf/do-rel.h: Add another parameter nrelative, replacing the
79777 local variable with the same name. Change name of the function
79778 to end in Rel or Rela (uppercase).
79779 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
79780 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
79781 elf_dynamic_do_##reloc function.
79782
79783 2011-10-15 Ulrich Drepper <drepper@gmail.com>
79784
79785 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
79786 is sufficient, at least on modern CPUs.
79787
79788 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
79789
79790 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
79791 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
79792
79793 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
79794 __expl_finite.
79795 * math/bits/math-finite.h: Add entries for exp.
79796 * math/e_expl.c: Add __*_finite alias.
79797 * sysdeps/i386/fpu/e_exp.S: Likewise.
79798 * sysdeps/i386/fpu/e_expf.S: Likewise.
79799 * sysdeps/i386/fpu/e_expl.c: Likewise.
79800 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79801 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
79802 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
79803 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
79804 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
79805 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
79806 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
79807
79808 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
79809 is sufficient, at least on modern CPUs.
79810
79811 * ctype/ctype-info.c (__ctype_init): Define.
79812 * include/ctype.h (__ctype_init): Declare.
79813 (__ctype_b_loc): The variable is always initialized.
79814 (__ctype_toupper_loc): Likewise.
79815 (__ctype_tolower_loc): Likewise.
79816 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
79817 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
79818
79819 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
79820
79821 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
79822
79823 * configure.in: Also look in $cxxmachine/include for C++ system
79824 headers.
79825
79826 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79827
79828 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
79829 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
79830 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
79831 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
79832 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
79833 (USE_AS_WMEMCMP): New macro.
79834 Fixing indents.
79835 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
79836 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
79837 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
79838 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
79839 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79840 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
79841 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
79842 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
79843 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
79844 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
79845 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
79846 (USE_AS_WMEMCMP): New macro.
79847 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
79848 * sysdeps/string/test-memcmp.c: Update.
79849 Fix simple_wmemcmp.
79850 Add new tests.
79851 * wcsmbs/wmemcmp.c: Update.
79852 (WMEMCMP): New macro.
79853 Fix overflow bug.
79854
79855 2011-10-12 Andreas Jaeger <aj@suse.de>
79856
79857 [BZ #13268]
79858 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
79859
79860 2011-10-15 Ulrich Drepper <drepper@gmail.com>
79861
79862 * libio/iofwide.c (do_length): Avoid warning.
79863
79864 * ctype/ctype.h (__isctype_f): Add missing __THROW.
79865
79866 2011-10-14 Ulrich Drepper <drepper@gmail.com>
79867
79868 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
79869
79870 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
79871 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
79872 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
79873 * sysdeps/i386/i686/fpu/e_log.S: New file.
79874 * sysdeps/i386/i686/fpu/e_logf.S: New file.
79875 * sysdeps/i386/i686/fpu/e_logl.S: New file.
79876
79877 * ctype/ctype.h: Add support for inlined isXXX functions when
79878 compiling C++ code.
79879
79880 2011-10-14 Andreas Schwab <schwab@redhat.com>
79881
79882 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79883
79884 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
79885
79886 2011-10-13 Roland McGrath <roland@hack.frob.com>
79887
79888 [BZ #13291]
79889 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
79890
79891 2011-10-13 Andreas Schwab <schwab@redhat.com>
79892
79893 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
79894 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
79895 feraiseexcept.
79896
79897 * sysdeps/x86_64/memrchr.S: Check for zero size.
79898
79899 * string/stratcliff.c: Add memrchr tests.
79900
79901 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79902
79903 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79904 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
79905 rawmemchr-sse2 rawmemchr-sse2-bsf.
79906 * sysdeps/i386/i686/multiarch/memchr.S: New file.
79907 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
79908 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
79909 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
79910 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
79911 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
79912 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
79913 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
79914 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
79915 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
79916 * string/memrchr.c (MEMRCHR): New macro.
79917
79918 2011-10-12 Ulrich Drepper <drepper@gmail.com>
79919
79920 Add integration with gcc's -ffinite-math-only and optimize wrapper
79921 functions in libm.
79922 * Versions.def: Define GLIBC_2.15 version for libm.
79923 * math/Makefile (headers): Add bits/math-finite.h.
79924 * math/bits/math-finite.h: New file.
79925 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
79926 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
79927 * math/e_acoshl.c: Add __*_finite alias.
79928 * math/e_acosl.c: Likewise.
79929 * math/e_asinl.c: Likewise.
79930 * math/e_atan2l.c: Likewise.
79931 * math/e_atanhl.c: Likewise.
79932 * math/e_coshl.c: Likewise.
79933 * math/e_exp10.c: Likewise.
79934 * math/e_exp10f.c: Likewise.
79935 * math/e_exp10l.c: Likewise.
79936 * math/e_exp2l.c: Likewise.
79937 * math/e_fmodl.c: Likewise.
79938 * math/e_gammal_r.c: Likewise.
79939 * math/e_hypotl.c: Likewise.
79940 * math/e_j0l.c: Likewise.
79941 * math/e_j1l.c: Likewise.
79942 * math/e_jnl.c: Likewise.
79943 * math/e_lgammal_r.c: Likewise.
79944 * math/e_log10l.c: Likewise.
79945 * math/e_log2l.c: Likewise.
79946 * math/e_logl.c: Likewise.
79947 * math/e_powl.c: Likewise.
79948 * math/e_sinhl.c: Likewise.
79949 * math/e_sqrtl.c: Likewise.
79950 * math/e_scalb.c: Completely rewritten and optimized.
79951 * math/e_scalbf.c: Likewise.
79952 * math/e_scalbl.c: Likewise.
79953 * math/w_acos.c: Likewise.
79954 * math/w_acosf.c: Likewise.
79955 * math/w_acosl.c: Likewise.
79956 * math/w_acosh.c: Likewise.
79957 * math/w_acoshf.c: Likewise.
79958 * math/w_acoshl.c: Likewise.
79959 * math/w_asin.c: Likewise.
79960 * math/w_asinf.c: Likewise.
79961 * math/w_asinl.c: Likewise.
79962 * math/w_atan2.c: Likewise.
79963 * math/w_atan2f.c: Likewise.
79964 * math/w_atan2l.c: Likewise.
79965 * math/w_atanh.c: Likewise.
79966 * math/w_atanhf.c: Likewise.
79967 * math/w_atanhl.c: Likewise.
79968 * math/w_exp10.c: Likewise.
79969 * math/w_exp10f.c: Likewise.
79970 * math/w_exp10l.c: Likewise.
79971 * math/w_fmod.c: Likewise.
79972 * math/w_fmodf.c: Likewise.
79973 * math/w_fmodl.c: Likewise.
79974 * math/w_j0.c: Likewise.
79975 * math/w_j0f.c: Likewise.
79976 * math/w_j0l.c: Likewise.
79977 * math/w_j1.c: Likewise.
79978 * math/w_j1f.c: Likewise.
79979 * math/w_j1l.c: Likewise.
79980 * math/w_jn.c: Likewise.
79981 * math/w_jnf.c: Likewise.
79982 * math/w_log.c: Likewise.
79983 * math/w_logf.c: Likewise.
79984 * math/w_logl.c: Likewise.
79985 * math/w_log10.c: Likewise.
79986 * math/w_log10f.c: Likewise.
79987 * math/w_log10l.c: Likewise.
79988 * math/w_log2.c: Likewise.
79989 * math/w_log2f.c: Likewise.
79990 * math/w_log2l.c: Likewise.
79991 * math/w_pow.c: Likewise.
79992 * math/w_powf.c: Likewise.
79993 * math/w_powl.c: Likewise.
79994 * math/w_remainder.c: Likewise.
79995 * math/w_remainderf.c: Likewise.
79996 * math/w_remainderl.c: Likewise.
79997 * math/w_scalb.c: Likewise.
79998 * math/w_scalbf.c: Likewise.
79999 * math/w_scalbl.c: Likewise.
80000 * math/w_sqrt.c: Likewise.
80001 * math/w_sqrtf.c: Likewise.
80002 * math/w_sqrtl.c: Likewise.
80003 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
80004 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
80005 used.
80006 * math/math_private.h: Declare __kernel_standard_f.
80007 * math/w_cosh.c: Remove cruft and optimize a bit.
80008 * math/w_coshf.c: Likewise.
80009 * math/w_coshl.c: Likewise.
80010 * math/w_exp2.c: Likewise.
80011 * math/w_exp2f.c: Likewise.
80012 * math/w_exp2l.c: Likewise.
80013 * math/w_hypot.c: Likewise.
80014 * math/w_hypotf.c: Likewise.
80015 * math/w_hypotl.c: Likewise.
80016 * math/w_lgamma.c: Likewise.
80017 * math/w_lgamma_r.c: Likewise.
80018 * math/w_lgammaf.c: Likewise.
80019 * math/w_lgammaf_r.c: Likewise.
80020 * math/w_lgammal.c: Likewise.
80021 * math/w_lgammal_r.c: Likewise.
80022 * math/w_sinh.c: Likewise.
80023 * math/w_sinhf.c: Likewise.
80024 * math/w_sinhl.c: Likewise.
80025 * math/w_tgamma.c: Likewise.
80026 * math/w_tgammaf.c: Likewise.
80027 * math/w_tgammal.c: Likewise.
80028 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80029 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80030 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
80031 Minor optimizations. Pretty printing. Remove cruft.
80032 * sysdeps/i386/fpu/e_acosf.S: Likewise.
80033 * sysdeps/i386/fpu/e_acosh.S: Likewise.
80034 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80035 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80036 * sysdeps/i386/fpu/e_acosl.c: Likewise.
80037 * sysdeps/i386/fpu/e_asin.S: Likewise.
80038 * sysdeps/i386/fpu/e_asinf.S: Likewise.
80039 * sysdeps/i386/fpu/e_atan2.S: Likewise.
80040 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
80041 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
80042 * sysdeps/i386/fpu/e_atanh.S: Likewise.
80043 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80044 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80045 * sysdeps/i386/fpu/e_exp10.S: Likewise.
80046 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
80047 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
80048 * sysdeps/i386/fpu/e_exp2.S: Likewise.
80049 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
80050 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
80051 * sysdeps/i386/fpu/e_fmod.S: Likewise.
80052 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
80053 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
80054 * sysdeps/i386/fpu/e_hypot.S: Likewise.
80055 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
80056 * sysdeps/i386/fpu/e_log.S: Likewise.
80057 * sysdeps/i386/fpu/e_log10.S: Likewise.
80058 * sysdeps/i386/fpu/e_log10f.S: Likewise.
80059 * sysdeps/i386/fpu/e_log10l.S: Likewise.
80060 * sysdeps/i386/fpu/e_log2.S: Likewise.
80061 * sysdeps/i386/fpu/e_log2f.S: Likewise.
80062 * sysdeps/i386/fpu/e_log2l.S: Likewise.
80063 * sysdeps/i386/fpu/e_logf.S: Likewise.
80064 * sysdeps/i386/fpu/e_logl.S: Likewise.
80065 * sysdeps/i386/fpu/e_pow.S: Likewise.
80066 * sysdeps/i386/fpu/e_powf.S: Likewise.
80067 * sysdeps/i386/fpu/e_powl.S: Likewise.
80068 * sysdeps/i386/fpu/e_remainder.S: Likewise.
80069 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
80070 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
80071 * sysdeps/i386/fpu/e_scalb.S: Likewise.
80072 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80073 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80074 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
80075 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
80076 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
80077 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80078 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80079 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80080 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80081 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80082 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80083 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
80084 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80085 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80086 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80087 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80088 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80089 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80090 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80091 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80092 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80093 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80094 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80095 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80096 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80097 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80098 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80099 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80100 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80101 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80102 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80103 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80104 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80105 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
80106 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80107 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80108 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80109 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80110 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80111 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80112 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80113 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80114 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80115 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80116 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80117 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80118 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80119 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80120 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80121 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80122 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80123 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80124 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80125 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80126 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
80127 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80128 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80129 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80130 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80131 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80132 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80133 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80134 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80135 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80136 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80137 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80138 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80139 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80140 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80141 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80142 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80143 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80144 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80145 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
80146 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80147 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80148 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80149 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80150 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80151 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80152 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80153 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
80154 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80155 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80156 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80157 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80158 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80159 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
80160 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80161 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80162 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80163 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80164 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80165 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80166 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80167 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80168 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
80169 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80170 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
80171 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
80172 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
80173 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
80174 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
80175 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
80176 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
80177 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
80178 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
80179 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
80180 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
80181 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
80182 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
80183 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
80184 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80185 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
80186 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
80187 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
80188 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
80189 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
80190 (__isnanf): Likewise.
80191 (__isinf_ns): Likewise.
80192 (__isinf_nsf): Likewise.
80193 (__finite): Likewise.
80194 (__finitef): Likewise.
80195 (__ieee754_sqrt): Define as macro.
80196 (__ieee754_sqrtf): Define as macro.
80197 (__ieee754_sqrtl): Define as macro.
80198 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
80199 inlined copy.
80200 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
80201 __FINITE_MATH_ONLY__ consistent.
80202 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
80203
80204 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
80205
80206 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
80207 of rawmemchr.
80208
80209 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
80210
80211 2011-10-09 Ulrich Drepper <drepper@gmail.com>
80212
80213 * po/ja.po: Update from translation team.
80214
80215 2011-10-08 Roland McGrath <roland@hack.frob.com>
80216
80217 * locale/programs/locarchive.c (prepare_address_space): New function.
80218 (create_archive, enlarge_archive, open_archive): Use it.
80219
80220 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
80221 inside [SHARED], where it is used.
80222
80223 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
80224
80225 * nss/getent.c (netgroup_keys): Remove unused variable.
80226 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
80227
80228 2011-10-08 Ulrich Drepper <drepper@gmail.com>
80229
80230 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
80231 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
80232 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
80233 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
80234 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
80235 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
80236 * math/Makefile (libm-calls): Add s_isinf_ns.
80237 * math/divtc3.c: Use __isinf_nsl instead of isinf.
80238 * math/multc3.c: Likewise.
80239 * math/s_casin.c: Likewise.
80240 * math/s_casinf.c: Likewise.
80241 * math/s_casinl.c: Likewise.
80242 * math/s_ccos.c: Likewise.
80243 * math/s_ccosf.c: Likewise.
80244 * math/s_ccosl.c: Likewise.
80245 * math/s_ctan.c: Likewise.
80246 * math/s_ctanf.c: Likewise.
80247 * math/s_ctanh.c: Likewise.
80248 * math/s_ctanhf.c: Likewise.
80249 * math/s_ctanhl.c: Likewise.
80250 * math/s_ctanl.c: Likewise.
80251 * math/w_fmod.c: Likewise.
80252 * math/w_fmodf.c: Likewise.
80253 * math/w_fmodl.c: Likewise.
80254 * math/w_remainder.c: Likewise.
80255 * math/w_remainderf.c: Likewise.
80256 * math/w_remainderl.c: Likewise.
80257 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
80258 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
80259 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
80260 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
80261 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
80262 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
80263 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
80264 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
80265
80266 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
80267 of the number.
80268 * stdio-common/printf_fphex.c: Likewise.
80269 * stdio-common/printf_size.c: Likewise.
80270
80271 * math/e_exp10.c: Include math_private.h using <...> not "...".
80272 * math/e_exp10f.c: Likewise.
80273 * math/e_exp10l.c: Likewise.
80274 * math/e_exp2l.c: Likewise.
80275 * math/e_j0l.c: Likewise.
80276 * math/e_j1l.c: Likewise.
80277 * math/e_jnl.c: Likewise.
80278 * math/e_lgammal_r.c: Likewise.
80279 * math/e_rem_pio2l.c: Likewise.
80280 * math/e_scalb.c: Likewise.
80281 * math/e_scalbf.c: Likewise.
80282 * math/e_scalbl.c: Likewise.
80283 * math/k_cosl.c: Likewise.
80284 * math/k_sinl.c: Likewise.
80285 * math/k_tanl.c: Likewise.
80286 * math/s_cacoshf.c: Likewise.
80287 * math/s_catan.c: Likewise.
80288 * math/s_catanf.c: Likewise.
80289 * math/s_catanh.c: Likewise.
80290 * math/s_catanhf.c: Likewise.
80291 * math/s_catanhl.c: Likewise.
80292 * math/s_catanl.c: Likewise.
80293 * math/s_ccosh.c: Likewise.
80294 * math/s_ccoshf.c: Likewise.
80295 * math/s_ccoshl.c: Likewise.
80296 * math/s_cexp.c: Likewise.
80297 * math/s_cexpf.c: Likewise.
80298 * math/s_cexpl.c: Likewise.
80299 * math/s_clog.c: Likewise.
80300 * math/s_clog10.c: Likewise.
80301 * math/s_clog10f.c: Likewise.
80302 * math/s_clog10l.c: Likewise.
80303 * math/s_clogf.c: Likewise.
80304 * math/s_clogl.c: Likewise.
80305 * math/s_csin.c: Likewise.
80306 * math/s_csinf.c: Likewise.
80307 * math/s_csinh.c: Likewise.
80308 * math/s_csinhf.c: Likewise.
80309 * math/s_csinhl.c: Likewise.
80310 * math/s_csinl.c: Likewise.
80311 * math/s_csqrt.c: Likewise.
80312 * math/s_csqrtf.c: Likewise.
80313 * math/s_csqrtl.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/s_ldexp.c: Likewise.
80321 * math/s_ldexpf.c: Likewise.
80322 * math/s_ldexpl.c: Likewise.
80323 * math/s_significand.c: Likewise.
80324 * math/s_significandf.c: Likewise.
80325 * math/s_significandl.c: Likewise.
80326 * math/w_acos.c: Likewise.
80327 * math/w_acosf.c: Likewise.
80328 * math/w_acosh.c: Likewise.
80329 * math/w_acoshf.c: Likewise.
80330 * math/w_acoshl.c: Likewise.
80331 * math/w_acosl.c: Likewise.
80332 * math/w_asin.c: Likewise.
80333 * math/w_asinf.c: Likewise.
80334 * math/w_asinl.c: Likewise.
80335 * math/w_atan2.c: Likewise.
80336 * math/w_atan2f.c: Likewise.
80337 * math/w_atan2l.c: Likewise.
80338 * math/w_atanh.c: Likewise.
80339 * math/w_atanhf.c: Likewise.
80340 * math/w_atanhl.c: Likewise.
80341 * math/w_cosh.c: Likewise.
80342 * math/w_coshf.c: Likewise.
80343 * math/w_coshl.c: Likewise.
80344 * math/w_dremf.c: Likewise.
80345 * math/w_exp10.c: Likewise.
80346 * math/w_exp10f.c: Likewise.
80347 * math/w_exp10l.c: Likewise.
80348 * math/w_exp2.c: Likewise.
80349 * math/w_exp2f.c: Likewise.
80350 * math/w_fmod.c: Likewise.
80351 * math/w_fmodf.c: Likewise.
80352 * math/w_fmodl.c: Likewise.
80353 * math/w_hypot.c: Likewise.
80354 * math/w_hypotf.c: Likewise.
80355 * math/w_hypotl.c: Likewise.
80356 * math/w_j0.c: Likewise.
80357 * math/w_j0f.c: Likewise.
80358 * math/w_j0l.c: Likewise.
80359 * math/w_j1.c: Likewise.
80360 * math/w_j1f.c: Likewise.
80361 * math/w_j1l.c: Likewise.
80362 * math/w_jn.c: Likewise.
80363 * math/w_jnf.c: Likewise.
80364 * math/w_jnl.c: Likewise.
80365 * math/w_lgamma.c: Likewise.
80366 * math/w_lgamma_r.c: Likewise.
80367 * math/w_lgammaf.c: Likewise.
80368 * math/w_lgammaf_r.c: Likewise.
80369 * math/w_lgammal.c: Likewise.
80370 * math/w_lgammal_r.c: Likewise.
80371 * math/w_log.c: Likewise.
80372 * math/w_log10.c: Likewise.
80373 * math/w_log10f.c: Likewise.
80374 * math/w_log10l.c: Likewise.
80375 * math/w_log2.c: Likewise.
80376 * math/w_log2f.c: Likewise.
80377 * math/w_log2l.c: Likewise.
80378 * math/w_logf.c: Likewise.
80379 * math/w_logl.c: Likewise.
80380 * math/w_pow.c: Likewise.
80381 * math/w_powf.c: Likewise.
80382 * math/w_powl.c: Likewise.
80383 * math/w_remainder.c: Likewise.
80384 * math/w_remainderf.c: Likewise.
80385 * math/w_remainderl.c: Likewise.
80386 * math/w_scalb.c: Likewise.
80387 * math/w_scalbf.c: Likewise.
80388 * math/w_scalbl.c: Likewise.
80389 * math/w_sinh.c: Likewise.
80390 * math/w_sinhf.c: Likewise.
80391 * math/w_sinhl.c: Likewise.
80392 * math/w_sqrt.c: Likewise.
80393 * math/w_sqrtf.c: Likewise.
80394 * math/w_sqrtl.c: Likewise.
80395 * math/w_tgamma.c: Likewise.
80396 * math/w_tgammaf.c: Likewise.
80397 * math/w_tgammal.c: Likewise.
80398
80399 * po/ja.po: Update from translation team.
80400
80401 2011-09-29 Andreas Jaeger <aj@suse.de>
80402
80403 [BZ #13179]
80404 * sunrpc/netname.c (netname2host): Fix logic.
80405
80406 [BZ #6779]
80407 [BZ #6783]
80408 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
80409 correctly.
80410 * math/w_remainder.c (__remainder): Likewise.
80411 * math/w_remainderf.c (__remainderf): Likewise.
80412 * math/libm-test.inc (remainder_test): Add test cases.
80413
80414 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
80415
80416 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
80417 sdiv_qrnnd.
80418
80419 2011-10-07 Ulrich Drepper <drepper@gmail.com>
80420
80421 * string/test-memcmp.c: Avoid unncessary #defines.
80422 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
80423
80424 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80425
80426 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
80427 Use new sse2 version for core i3 - i7 as it's faster
80428 than sse42 version.
80429 (bit_Prefer_PMINUB_for_stringop): New.
80430 * sysdeps/x86_64/rawmemchr.S: Update.
80431 Replace with faster SSE2 version.
80432 * sysdeps/x86_64/memrchr.S: New file.
80433 * sysdeps/x86_64/memchr.S: Update.
80434 Replace with faster SSE2 version.
80435
80436 2011-09-12 Marek Polacek <mpolacek@redhat.com>
80437
80438 * elf/dl-load.c (lose): Add cast to avoid warning.
80439
80440 2011-10-07 Ulrich Drepper <drepper@gmail.com>
80441
80442 * po/ca.po: Update from translation team.
80443
80444 * inet/getnetgrent_r.c: Hook up nscd.
80445 * nscd/Makefile (routines): Add nscd_netgroup.
80446 (nscd-modules): Add netgroupcache.
80447 (CFLAGS-netgroupcache.c): Define.
80448 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
80449 (cache_search): Add const to second parameter.
80450 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
80451 INNETGR.
80452 (dbs): Add netgrdb entry.
80453 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
80454 (verify_persistent_db): Handle netgrdb.
80455 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
80456 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
80457 GETFDNETGR.
80458 (netgroup_response_header): Define.
80459 (innetgroup_response_header): Define.
80460 (datahead): Add netgroup_response_header and innetgroup_response_header
80461 elements.
80462 * nscd/nscd.conf: Add entries for netgroup cache.
80463 * nscd/nscd.h (dbtype): Add netgrdb.
80464 (_PATH_NSCD_NETGROUP_DB): Define.
80465 (netgroup_iov_disabled): Declare.
80466 (xmalloc, xcalloc, xrealloc): Move declarations here.
80467 (cache_search): Adjust prototype.
80468 Add netgroup-related prototypes.
80469 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
80470 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
80471 (__nscd_innetgr): Declare.
80472 * nscd/selinux.c (perms): Use access_vector_t as element type and
80473 add netgroup-related initializers.
80474 * nscd/netgroupcache.c: New file.
80475 * nscd/nscd_netgroup.c: New file.
80476 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
80477 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
80478 For four parameters use innetgr.
80479 * nss/nss_files/files-init.c: Add definition and callback for netgr.
80480 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
80481 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
80482 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
80483
80484 * nscd/connections.c (register_traced_file): Don't register file
80485 for disabled databases.
80486
80487 2011-10-06 Ulrich Drepper <drepper@gmail.com>
80488
80489 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
80490
80491 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
80492 from tree and freeing node.
80493
80494 2011-09-25 Jiri Olsa <jolsa@redhat.com>
80495
80496 * nss/nsswitch.c (__nss_database_lookup): Handle
80497 nss_parse_service_list out of memory case.
80498
80499 2011-09-15 Jiri Olsa <jolsa@redhat.com>
80500
80501 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
80502 out of memory case.
80503
80504 2011-10-04 Andreas Schwab <schwab@redhat.com>
80505
80506 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
80507 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
80508 pass it down.
80509 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
80510 elf_machine_rela, elf_machine_lazy_rel.
80511 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
80512 (ELF_DYNAMIC_DO_REL): Likewise.
80513 (ELF_DYNAMIC_DO_RELA): Likewise.
80514 (ELF_DYNAMIC_RELOCATE): Likewise.
80515 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
80516 to ELF_DYNAMIC_DO_REL.
80517 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
80518 (dl_main): In trace mode always set __RTLD_NOIFUNC.
80519 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
80520 elf_machine_rela.
80521 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
80522 skip_ifunc, don't call ifunc function if non-zero.
80523 (elf_machine_rela): Likewise.
80524 (elf_machine_lazy_rel): Likewise.
80525 (elf_machine_lazy_rela): Likewise.
80526 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
80527 (elf_machine_lazy_rel): Likewise.
80528 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
80529 Likewise.
80530 (elf_machine_lazy_rel): Likewise.
80531 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80532 Likewise.
80533 (elf_machine_lazy_rel): Likewise.
80534 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
80535 (elf_machine_lazy_rel): Likewise.
80536 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
80537 (elf_machine_lazy_rel): Likewise.
80538 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
80539 (elf_machine_lazy_rel): Likewise.
80540 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
80541 (elf_machine_lazy_rel): Likewise.
80542 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
80543 (elf_machine_lazy_rel): Likewise.
80544 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
80545 (elf_machine_lazy_rel): Likewise.
80546
80547 2011-09-28 Ulrich Drepper <drepper@gmail.com>
80548
80549 * nss/nss_files/files-init.c (_nss_files_init): Use static
80550 initialization for all the *_traced_file variables.
80551
80552 2011-09-28 Andreas Schwab <schwab@redhat.com>
80553
80554 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80555
80556 2011-09-27 Roland McGrath <roland@hack.frob.com>
80557
80558 [BZ #13226]
80559 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
80560
80561 2011-09-27 Andreas Schwab <schwab@redhat.com>
80562
80563 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
80564 Reread the line before reparsing it.
80565
80566 2011-09-26 Andreas Schwab <schwab@redhat.com>
80567
80568 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
80569
80570 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
80571 Maxim Kuvyrkov <maxim@codesourcery.com>
80572 Joseph Myers <joseph@codesourcery.com>
80573
80574 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
80575 if needed for __stack_chk_guard.
80576
80577 2011-09-19 Roland McGrath <roland@hack.frob.com>
80578
80579 * sysdeps/posix/spawni.c (script_execute): Always define it.
80580 It will be optimized away if unused.
80581 (maybe_script_execute): New function.
80582 (__spawni): Call it.
80583
80584 * Makerules: Don't include tls.make.
80585 (config-tls): Always set to thread.
80586 * tls.make.c: File removed.
80587
80588 2011-09-19 Mike Frysinger <vapier@gentoo.org>
80589
80590 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
80591 * config.make.in (CPPFLAGS-config): New substituted variable.
80592
80593 2011-09-15 Ulrich Drepper <drepper@gmail.com>
80594
80595 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
80596
80597 [BZ #13192]
80598 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
80599 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
80600
80601 2011-09-15 Roland McGrath <roland@hack.frob.com>
80602
80603 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
80604 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
80605 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
80606 (CALL_FAIL): Likewise.
80607 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
80608 (CALL_FAIL): Macro removed.
80609 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
80610
80611 2011-09-15 Ulrich Drepper <drepper@gmail.com>
80612
80613 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
80614 for __FINITE_MATH_ONLY__ == 1.
80615
80616 2011-09-15 Andreas Schwab <schwab@redhat.com>
80617
80618 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
80619 __ieee754_sqrt instead of sqrt.
80620 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
80621 __ieee754_sqrtf instead of sqrtf.
80622 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
80623 __floorf instead of floorf.
80624 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
80625 __floorf, __truncf instead of floorf, truncf.
80626
80627 2011-09-14 Ulrich Drepper <drepper@gmail.com>
80628
80629 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
80630
80631 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
80632 __extern_always_inline.
80633 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
80634 32-bit.
80635
80636 2011-09-14 Andreas Schwab <schwab@redhat.com>
80637
80638 * elf/rtld.c (dl_main): Also relocate in dependency order when
80639 doing symbol dependency testing.
80640
80641 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
80642
80643 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80644 Always define `refsym'.
80645
80646 2011-09-13 Andreas Schwab <schwab@redhat.com>
80647
80648 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
80649 (__FD_ELT): Renamed from __FDELT.
80650 * misc/bits/select2.h (__FD_ELT): Likewise.
80651 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
80652 __FD_MASK instead of __FDELT, __FDMASK.
80653 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
80654 Likewise.
80655 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
80656 Likewise.
80657
80658 * elf/Makefile (gen-ldd): Fix pattern.
80659
80660 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
80661 (init_tls): Likewise.
80662
80663 2011-09-12 Ulrich Drepper <drepper@gmail.com>
80664
80665 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
80666
80667 2011-09-12 Andreas Schwab <schwab@redhat.com>
80668
80669 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
80670 `struct cmsghdr *' instead of `void *'.
80671 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
80672 Likewise.
80673
80674 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
80675
80676 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
80677 if non-absolute.
80678 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
80679 ldd_rewrite_script.
80680
80681 2011-09-11 Ulrich Drepper <drepper@gmail.com>
80682
80683 * configure.in: Remove --with-tls option.
80684 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
80685 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
80686 out in case it is missing.
80687 * sysdeps/ia64/elf/configure.in: Likewise.
80688 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
80689 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
80690 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
80691 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
80692 * sysdeps/sh/elf/configure.in: Likewise.
80693 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
80694 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
80695 * sysdeps/x86_64/elf/configure.in: Likewise.
80696 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
80697 * sysdeps/mach/hurd/tls.h: Likewise.
80698
80699 [BZ #13067]
80700 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
80701
80702 [BZ #13090]
80703 * configure.in: Fix use of AC_INIT.
80704
80705 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
80706
80707 2011-09-10 Ulrich Drepper <drepper@gmail.com>
80708
80709 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
80710 __set_errno.
80711 * malloc/hooks.c: Likewise.
80712
80713 [BZ #11929]
80714 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
80715 variables statically.
80716 (narenas): Initialize.
80717 (list_lock): Initialize.
80718 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
80719 initializtion of main_arena and list_lock. Small cleanups.
80720 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
80721 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
80722 Add initializers to main_arena and mp_.
80723 (malloc_state): Remove pagesize member. Change all users to use
80724 GLRO(dl_pagesize).
80725
80726 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
80727 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
80728 is always initialized.
80729
80730 * malloc/malloc.c: Removed unused configurations and dead code.
80731 * malloc/arena.c: Likewise.
80732 * malloc/hooks.c: Likewise.
80733 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
80734
80735 * include/tls.h: Removed. USE___THREAD must always be defined.
80736 * bits/libc-tsd.h: Don't handle !USE___THREAD.
80737 * elf/dl-libc.c: Likewise.
80738 * elf/dl-tsd.c: Likewise.
80739 * include/errno.h: Likewise.
80740 * include/netdb.h: Likewise.
80741 * include/resolv.h: Likewise.
80742 * inet/herrno-loc.c: Likewise.
80743 * inet/herrno.c: Likewise.
80744 * malloc/arena.c: Likewise.
80745 * malloc/hooks.c: Likewise.
80746 * malloc/malloc.c: Likewise.
80747 * resolv/res-state.c: Likewise.
80748 * resolv/res_libc.c: Likewise.
80749 * sysdeps/i386/dl-machine.h: Likewise.
80750 * sysdeps/ia64/dl-machine.h: Likewise.
80751 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
80752 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
80753 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
80754 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
80755 * sysdeps/sh/dl-machine.h: Likewise.
80756 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
80757 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
80758 * sysdeps/unix/i386/sysdep.S: Likewise.
80759 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
80760 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
80761 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
80762 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
80763 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
80764 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
80765 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
80766 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
80767 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80768 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
80769 * sysdeps/unix/x86_64/sysdep.S: Likewise.
80770 * sysdeps/x86_64/dl-machine.h: Likewise.
80771 * tls.make.c: Likewise.
80772
80773 * configure.in: Remove --with-__thread option. Make tests for
80774 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
80775 tls_model attribute fail if no support is available. Remove
80776 USE_IN_LIBIO.
80777 * Makeconfig: Adjust for dropped configure option. All features are
80778 now mandatory.
80779 * Makerules: Likewise.
80780 * Versions.def: Likewise.
80781 * argp/argp-fmtstream.c: Likewise.
80782 * argp/argp-fmtstream.h: Likewise.
80783 * argp/argp-help.c: Likewise.
80784 * assert/assert.c: Likewise.
80785 * config.h.in: Likewise.
80786 * config.make.in: Likewise.
80787 * configure: Likewise.
80788 * configure.in: Likewise.
80789 * csu/Versions: Likewise.
80790 * csu/init.c: Likewise.
80791 * elf/tst-audit2.c: Likewise.
80792 * elf/tst-tls10.c: Likewise.
80793 * elf/tst-tls10.h: Likewise.
80794 * elf/tst-tls11.c: Likewise.
80795 * elf/tst-tls12.c: Likewise.
80796 * elf/tst-tls14.c: Likewise.
80797 * elf/tst-tlsmod11.c: Likewise.
80798 * elf/tst-tlsmod12.c: Likewise.
80799 * elf/tst-tlsmod13.c: Likewise.
80800 * elf/tst-tlsmod13a.c: Likewise.
80801 * elf/tst-tlsmod14a.c: Likewise.
80802 * elf/tst-tlsmod15b.c: Likewise.
80803 * elf/tst-tlsmod16a.c: Likewise.
80804 * elf/tst-tlsmod16b.c: Likewise.
80805 * elf/tst-tlsmod7.c: Likewise.
80806 * elf/tst-tlsmod8.c: Likewise.
80807 * elf/tst-tlsmod9.c: Likewise.
80808 * gmon/gmon.c: Likewise.
80809 * grp/fgetgrent_r.c: Likewise.
80810 * grp/putgrent.c: Likewise.
80811 * hurd/fopenport.c: Likewise.
80812 * include/libc-symbols.h: Likewise.
80813 * include/tls.h: Likewise.
80814 * intl/gettextP.h: Likewise.
80815 * intl/loadinfo.h: Likewise.
80816 * locale/global-locale.c: Likewise.
80817 * locale/localeinfo.h: Likewise.
80818 * mach/devstream.c: Likewise.
80819 * malloc/arena.c: Likewise.
80820 * malloc/set-freeres.c: Likewise.
80821 * misc/err.c: Likewise.
80822 * misc/getttyent.c: Likewise.
80823 * misc/mntent_r.c: Likewise.
80824 * posix/getopt.c: Likewise.
80825 * posix/wordexp.c: Likewise.
80826 * pwd/fgetpwent_r.c: Likewise.
80827 * resolv/Versions: Likewise.
80828 * resolv/res_hconf.c: Likewise.
80829 * shadow/fgetspent_r.c: Likewise.
80830 * shadow/putspent.c: Likewise.
80831 * stdio-common/printf_fphex.c: Likewise.
80832 * stdio-common/tmpfile.c: Likewise.
80833 * stdlib/abort.c: Likewise.
80834 * stdlib/fmtmsg.c: Likewise.
80835 * sunrpc/auth_unix.c: Likewise.
80836 * sunrpc/clnt_perr.c: Likewise.
80837 * sunrpc/clnt_tcp.c: Likewise.
80838 * sunrpc/clnt_udp.c: Likewise.
80839 * sunrpc/clnt_unix.c: Likewise.
80840 * sunrpc/openchild.c: Likewise.
80841 * sunrpc/svc_simple.c: Likewise.
80842 * sunrpc/svc_tcp.c: Likewise.
80843 * sunrpc/svc_udp.c: Likewise.
80844 * sunrpc/svc_unix.c: Likewise.
80845 * sunrpc/xdr.c: Likewise.
80846 * sunrpc/xdr_array.c: Likewise.
80847 * sunrpc/xdr_rec.c: Likewise.
80848 * sunrpc/xdr_ref.c: Likewise.
80849 * sunrpc/xdr_stdio.c: Likewise.
80850
80851 2011-09-09 Ulrich Drepper <drepper@gmail.com>
80852
80853 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80854
80855 2011-07-03 Andreas Jaeger <aj@suse.de>
80856
80857 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
80858 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
80859 regenerate with gen-libm-tests.pl.
80860
80861 2010-05-12 Petr Baudis <pasky@suse.cz>
80862
80863 [BZ #11589]
80864 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
80865 around j0() zero points by switching to j1().
80866 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80867 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80868 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80869 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80870
80871 2011-09-09 Ulrich Drepper <drepper@gmail.com>
80872
80873 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
80874 instead of 0.
80875 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
80876 instead of 0.
80877 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80878 Patch in part by Pavel Roskin <proski@gnu.org>.
80879
80880 [BZ #13138]
80881 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
80882 realloc.
80883 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
80884 Free memory block if necessary.
80885
80886 [BZ #12847]
80887 * libio/genops.c (INTDEF): For string streams the _lock pointer can
80888 be NULL. Don't lock in this case.
80889
80890 2011-09-09 Roland McGrath <roland@hack.frob.com>
80891
80892 * elf/elf.h (ELFOSABI_GNU): New macro.
80893 (ELFOSABI_LINUX): Define to that.
80894
80895 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
80896
80897 * string/strncat.c (strncat): Undef the symbol in case it has been
80898 defined in bits/string.h.
80899
80900 2011-09-09 Ulrich Drepper <drepper@gmail.com>
80901
80902 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
80903
80904 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
80905 link map.
80906
80907 2011-08-17 Andreas Jaeger <aj@suse.de>
80908
80909 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
80910
80911 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
80912 Ian Lance Taylor <iant@google.com>
80913
80914 * math/libm-test.inc (lround_test): New testcase.
80915 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
80916
80917 2011-09-08 Ulrich Drepper <drepper@gmail.com>
80918
80919 * Makefile: Remove support for automatic cvs check-ins.
80920 * Makerules: Likewise.
80921 * config.make.in: Likewise.
80922 * configure.in: Likewise.
80923 * intl/Makefile: Likewise.
80924 * locale/Makefile: Likewise.
80925 * po/Makefile: Likewise.
80926 * posix/Makefile: Likewise.
80927 * sysdeps/gnu/Makefile: Likewise.
80928 * sysdeps/mach/hurd/Makefile: Likewise.
80929 * sysdeps/sparc/sparc32/Makefile: Likewise.
80930
80931 [BZ #13118]
80932 * posix/Makefile (bug-regex32-ENV): Define.
80933 Patch by John Stanley <jpsinthemix@verizon.net>.
80934
80935 * misc/Makefile (headers): Add bits/select2.h.
80936 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
80937 * misc/bits/select2.h: New file.
80938 * include/bits/select2.h: New file.
80939 * debug/Makefile (routines): Add fdelt_chk.
80940 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
80941 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
80942 FD_ISSET.
80943 * debug/fdelt_chk.c: New file.
80944
80945 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
80946 * wcsmbs/test-wmemcmp.c: Likewise.
80947 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
80948 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
80949
80950 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80951
80952 * string/Makefile (strop-tests): Add memcmp.
80953 * string/test-wmemcmp.c: New file.
80954 * string/test-memcmp.c: Add wmemcmp support.
80955
80956 2011-09-08 Roland McGrath <roland@hack.frob.com>
80957
80958 [BZ #13153]
80959 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
80960 2011-07-19 change.
80961
80962 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
80963 garbage value in a __mach_port_mod_refs call in the cases of the
80964 task-self and thread-self ports.
80965
80966 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
80967
80968 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
80969
80970 2011-09-08 Andreas Schwab <schwab@redhat.com>
80971
80972 * elf/dl-load.c (lose): Check for non-null L.
80973
80974 2011-09-07 Ulrich Drepper <drepper@gmail.com>
80975
80976 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
80977
80978 * elf/dl-libc.c (dlerror_run): Pass back error code from
80979 dl_catch_error.
80980
80981 [BZ #13123]
80982 * elf/dl-load.c (lose): Free l_origin if it is valid.
80983
80984 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
80985 names.
80986 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
80987 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
80988 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
80989 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
80990 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
80991 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
80992
80993 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80994
80995 * sysdeps/powerpc/fpu/e_hypot.c: New file.
80996 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
80997 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
80998 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
80999 * sysdeps/powerpc/fpu/k_cosf.c: New file.
81000 * sysdeps/powerpc/fpu/k_sinf.c: New file.
81001 * sysdeps/powerpc/fpu/s_cosf.c: New file.
81002 * sysdeps/powerpc/fpu/s_sinf.c: New file.
81003 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
81004 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
81005
81006 2011-08-15 Alan Modra <amodra@gmail.com>
81007
81008 [BZ #13092]
81009 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
81010 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
81011 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
81012 ppc_mcount to static-only-routines.
81013 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
81014 __mcount_internal.
81015 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
81016 __mcount_internal with usual JUMPTARGET. Remove useless nop.
81017
81018 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
81019
81020 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
81021 for finite and infinity parameters.
81022
81023 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
81024
81025 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
81026 and add nop instructions for throughput optimization.
81027 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81028
81029 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
81030
81031 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
81032 aligned copy for power7 with vector-scalar instructions.
81033 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
81034
81035 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
81036
81037 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
81038 AVX check.
81039
81040 2011-09-07 Andreas Schwab <schwab@redhat.com>
81041
81042 [BZ #13144]
81043 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
81044 last change.
81045
81046 2011-09-07 Ulrich Drepper <drepper@gmail.com>
81047
81048 * sysdeps/unix/sysv/linux/x86_64/init-first.c
81049 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
81050 syscall wrapper around clock_gettime in __vdso_clock_gettime.
81051 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
81052 clock_gettime.
81053
81054 2011-09-06 Ulrich Drepper <drepper@gmail.com>
81055
81056 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
81057 Forgot to demangle the pointer.
81058
81059 * sysdeps/i386/sysdep.h: Define atom_text_section.
81060 * sysdeps/x86_64/sysdep.h: Likewise.
81061 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
81062 section with atom_text_section.
81063 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81064 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81065 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
81066 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81067 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
81068
81069 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
81070 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
81071 already be defined. Change to take two parameters and don't assign
81072 result to variable. Adjust all users.
81073 Define INTERNAL_GETTIME if not already defined.
81074 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
81075 call.
81076 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
81077 HAVE_CLOCK_GETTIME_VSYSCALL.
81078 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
81079
81080 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
81081 gettimeofday vsyscall, just use time.
81082
81083 2011-09-06 Andreas Schwab <schwab@redhat.com>
81084
81085 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
81086 <errno.h>.
81087
81088 2011-09-06 Ulrich Drepper <drepper@gmail.com>
81089
81090 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
81091 syscall on x86-64.
81092 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
81093 syscall.
81094 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
81095 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
81096 syscall if possible.
81097
81098 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81099
81100 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
81101 e_ident. Don't pass to find_mapsXX.
81102 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
81103
81104 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81105
81106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81107 strchr-sse2-no-bsf strrchr-sse2-no-bsf
81108 * sysdeps/x86_64/multiarch/strchr.S: Update.
81109 Check bit_slow_BSF bit.
81110 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
81111 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
81112 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
81113
81114 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81115
81116 [BZ #13134]
81117 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
81118 before glibc 2.15.
81119 (tryshell): Define.
81120 (__spawni): Change last parameter to be flag. Test
81121 SPAWN_XFLAGS_USE_PATH flag to use path or not.
81122 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
81123 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
81124 * posix/spawni.c: Likewise.
81125 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
81126 * posix/spawnp.c: Likewise. Change normal version to use
81127 SPAWN_XFLAGS_USE_PATH.
81128 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
81129 SPAWN_XFLAGS_TRY_SHELL.
81130
81131 [BZ #13150]
81132 * posix/glob.h: Remove gcc 1.x support.
81133
81134 [BZ #13068]
81135 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
81136
81137 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81138
81139 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81140 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
81141 strrchr-sse2-bsf
81142 * sysdeps/i386/i686/multiarch/strchr.S: New file.
81143 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
81144 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
81145 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
81146 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
81147 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
81148
81149 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81150
81151 * sysdeps/x86_64/wcscmp.S: New file.
81152
81153 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
81154 wcscmp-c wcscmp-sse2
81155 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
81156 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
81157 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
81158 * wcsmbs/wcscmp.c: Allow renaming.
81159
81160 2011-09-05 David S. Miller <davem@davemloft.net>
81161
81162 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
81163 stack slot, rather than the struct return pointer slot.
81164 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
81165 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
81166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
81167 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
81168
81169 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81170
81171 * po/ja.po: Update from translation team.
81172
81173 [BZ #13144]
81174 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
81175 kernel in 64-bit binaries.
81176
81177 2011-09-01 David S. Miller <davem@davemloft.net>
81178
81179 * elf/elf.h (HWCAP_SPARC_*): Move to..
81180 * sysdeps/sparc/sysdep.h: this new file and add new values.
81181 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
81182 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
81183 _DL_HWCAP_COUNT to 24.
81184 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
81185 entries.
81186 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
81187 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
81188 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
81189 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
81190 instead of magic constants.
81191 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81192
81193 2011-08-31 David S. Miller <davem@davemloft.net>
81194
81195 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
81196 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
81197 Reimplement to do errno handling inline.
81198 (SYSCALL_ERROR_HANDLER): New macro.
81199 (__SYSCALL_STRING): Do not do errno handling in asm.
81200 (__CLONE_SYSCALL_STRING): Delete.
81201 (__INTERNAL_SYSCALL_STRING): Delete.
81202 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
81203 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
81204 (PSEUDO): Reimplement to do errno handling inline.
81205 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
81206 (SYSCALL_ERROR_HANDLER): New macro.
81207 (__SYSCALL_STRING): Do not do errno handling in asm.
81208 (__CLONE_SYSCALL_STRING): Delete.
81209 (__INTERNAL_SYSCALL_STRING): Delete.
81210 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
81211 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
81212 i386.
81213 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
81214 (inline_syscall*): Add 'err' argument.
81215 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
81216 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
81217 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
81218 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
81219
81220 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
81221 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
81222
81223 2011-08-30 Andreas Schwab <schwab@redhat.com>
81224
81225 * elf/rtld.c (dl_main): Relocate objects in dependency order.
81226
81227 2011-08-29 Jiri Olsa <jolsa@redhat.com>
81228
81229 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
81230 directive.
81231
81232 2011-08-24 David S. Miller <davem@davemloft.net>
81233
81234 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
81235
81236 2011-08-24 Andreas Schwab <schwab@redhat.com>
81237
81238 * elf/Makefile: Add rules to build and run unload8 test.
81239 * elf/unload8.c: New file.
81240 * elf/unload8mod1.c: New file.
81241 * elf/unload8mod1x.c: New file.
81242 * elf/unload8mod2.c: New file.
81243 * elf/unload8mod3.c: New file.
81244
81245 * elf/dl-close.c (_dl_close_worker): Reset private search list if
81246 it wasn't used.
81247
81248 2011-08-23 David S. Miller <davem@davemloft.net>
81249
81250 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
81251 subtract stack bias.
81252 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
81253 %sp not %fp in calculations.
81254 (_JMPBUF_UNWINDS_ADJ): Likewise.
81255
81256 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
81257 (aio_suspend): Call it to force an exception region around the
81258 AIO_MISC_WAIT() invocation.
81259
81260 2011-08-23 Andreas Schwab <schwab@redhat.com>
81261
81262 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
81263 backslash.
81264
81265 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
81266
81267 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
81268 protection macro.
81269 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
81270 and <dl-machine.h>.
81271 (Elf64_FuncDesc): Remove.
81272
81273 2011-08-22 David S. Miller <davem@davemloft.net>
81274
81275 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
81276 sigaltstack check, add missing cfi directives.
81277 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
81278 missing cfi directives, and sigaltstack handling.
81279
81280 2011-08-16 Andreas Schwab <schwab@redhat.com>
81281
81282 [BZ #11724]
81283 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
81284 object is seen twice.
81285 * elf/dl-fini.c (_dl_sort_fini): Likewise.
81286
81287 * elf/Makefile (distribute): Add tst-initorder2.c.
81288 (tests): Add tst-initorder2.
81289 (modules-names): Add tst-initorder2a tst-initorder2b
81290 tst-initorder2c tst-initorder2d. Add rules to build them.
81291 ($(objpfx)tst-initorder2.out): New rule.
81292 * elf/tst-initorder2.c: New file.
81293 * elf/tst-initorder2.exp: New file.
81294
81295 2011-08-22 Andreas Schwab <schwab@redhat.com>
81296
81297 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
81298
81299 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
81300 dependencies back to end of function.
81301
81302 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
81303 $(elfobjdir)/ld.so.
81304
81305 2011-08-21 Ulrich Drepper <drepper@gmail.com>
81306
81307 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
81308 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
81309 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
81310 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
81311 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
81312 of __vdso_gettimeofday.
81313 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
81314 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
81315 attribute_hidden.
81316 (_libc_vdso_platform_setup): Remove initialization of
81317 __vdso_gettimeofday and __vdso_time.
81318
81319 2011-08-20 Ulrich Drepper <drepper@gmail.com>
81320
81321 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
81322 and fgetc_unlocked.
81323 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
81324 getc_unlocked.
81325
81326 * elf/dl-open.c (add_to_global): Report additions to the global scope
81327 for LD_DEBUG=scopes.
81328 (dl_open_worker): Also print scope of newly loaded dependencies.
81329 (_dl_show_scope): Indicate if there is no scope.
81330
81331 [BZ #13114]
81332 * stdio-common/Makefile (tests): Add bug24.
81333 * stdio-common/bug24.c: New file.
81334
81335 2011-08-19 Andreas Jaeger <aj@suse.de>
81336
81337 [BZ #13114]
81338 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
81339 non-existant file when using close-on-exec mode.
81340
81341 2011-08-20 Ulrich Drepper <drepper@gmail.com>
81342
81343 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
81344 the very first instruction.
81345
81346 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
81347 the CFI state in the end.
81348 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
81349 inclusion of dl-trampoline.h.
81350 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
81351
81352 2011-08-19 Andreas Schwab <schwab@redhat.com>
81353
81354 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
81355 expectations for long double.
81356
81357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
81358 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
81359
81360 2011-08-14 David S. Miller <davem@davemloft.net>
81361
81362 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
81363 artificual limit depends upon the system page size.
81364
81365 2011-08-17 Ulrich Drepper <drepper@gmail.com>
81366
81367 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
81368 * resolv/Makefile: Define CFLAGS-libresolv.
81369
81370 2011-08-17 Andreas Schwab <schwab@redhat.com>
81371
81372 * nss/makedb.c (compute_tables): Make variables used in nested
81373 function static.
81374
81375 2011-08-17 Ulrich Drepper <drepper@gmail.com>
81376
81377 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
81378 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
81379 if buffer was too small.
81380
81381 * elf/pldd.c (main): Attach to all threads in the process.
81382 Rewrite /proc handling to use *at functions.
81383
81384 2011-08-16 Ulrich Drepper <drepper@gmail.com>
81385
81386 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
81387 specifies first scope to show.
81388 (dl_open_worker): Update callers. Move printing scope of new
81389 object to before the relocation.
81390 * elf/rtld.c (dl_main): Update _dl_show_scope call.
81391 * sysdeps/generic/ldsodefs.h: Update declaration.
81392
81393 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
81394 string for the scope number.
81395
81396 2011-08-14 Ulrich Drepper <drepper@gmail.com>
81397
81398 * nscd/servicescache.c (cache_addserv): Make sure written is always
81399 initialized.
81400
81401 2011-08-14 Roland McGrath <roland@hack.frob.com>
81402
81403 * sysdeps/i386/i486/bits/atomic.h
81404 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
81405 statement expression, so as to suppress "set but not used" warning.
81406 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
81407
81408 * string/strncat.c (STRNCAT): Use prototype definition.
81409
81410 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
81411 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
81412 -Iprograms here.
81413 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
81414 (localedef-modules): Add localedef.
81415 (locale-modules): Add locale.
81416
81417 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
81418 * elf/rtld.c (dl_main): Invert order of assignment in last change,
81419 to avoid a warning.
81420
81421 2011-08-14 David S. Miller <davem@davemloft.net>
81422
81423 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
81424 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
81425
81426 2011-08-13 Ulrich Drepper <drepper@gmail.com>
81427
81428 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
81429 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
81430 * elf/rtld.c (dl_main): Set l_name of vDSO.
81431 Call _dl_show_scope when DL_DEBUG_SCOPES.
81432 (process_dl_debug): Recognize scopes flag and also set it for all.
81433 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
81434 Declare _dl_show_scope.
81435
81436 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
81437 (do_dlopen): Pass caller_dlopen to dl_open.
81438 (__libc_dlopen_mode): Initialize caller_dlopen.
81439
81440 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
81441 of libc. Make tolower call locale-independent. Optimize a bit by
81442 using isdigit instead of isalnum.
81443 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
81444
81445 2011-08-12 Ulrich Drepper <drepper@gmail.com>
81446
81447 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
81448 was a dependency or dynamically loaded.
81449
81450 2011-08-11 Ulrich Drepper <drepper@gmail.com>
81451
81452 * intl/l10nflist.c: Allow architecture-specific pop function.
81453 * sysdeps/x86_64/l10nflist.c: New file.
81454
81455 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
81456 classification.
81457
81458 2011-08-10 Andreas Schwab <schwab@redhat.com>
81459
81460 * include/dirent.h: Add libc_hidden_proto for scandirat and
81461 scandirat64. Don't declare __scandirat64.
81462 * dirent/scandirat.c: Add libc_hidden_def.
81463 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
81464 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
81465
81466 2011-08-10 David S. Miller <davem@davemloft.net>
81467
81468 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
81469 enum.
81470 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
81471 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
81472 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
81473
81474 2011-08-09 Ulrich Drepper <drepper@gmail.com>
81475
81476 * Versions.def [libc]: Add GLIBC_2.15.
81477 * dirent/Makefile (routines): Add scandirat and scandirat64.
81478 * dirent/Versions [libc]: Export scandirat and scandirat64 for
81479 GLIBC_2.15.
81480 * dirent/dirent.h: Declare scandirat and scandirat64.
81481 * dirent/scandirat.c: New file.
81482 * dirent/scandirat64.c: New file.
81483 * sysdeps/wordsize-64/scandirat.c: New file.
81484 * sysdeps/wordsize-64/scandirat64.c: New file.
81485 * dirent/opendir.c: Define opendirat.
81486 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
81487 using scandirat.
81488 * dirent/scandir64.c: Adjust for scandir.c change.
81489 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
81490 __scandirat64, and __scandir_cancel_handler.
81491 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
81492 additional parameter and use openat instead of open (outside of ld.so).
81493 Add new __opendir as wrapper around __opendirat.
81494 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
81495 here without requiring old scandirat implementation.
81496
81497 2011-08-08 Ulrich Drepper <drepper@gmail.com>
81498
81499 * dirent/scandir.c (cancel_handler): Renamed to
81500 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
81501 defined. Adjust users.
81502 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
81503 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
81504
81505 2011-08-04 Ulrich Drepper <drepper@gmail.com>
81506
81507 * string/test-string.h (IMPL): Use __STRING to expand name and then
81508 stringify it.
81509
81510 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
81511 of cleanups.
81512
81513 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81514
81515 * string/Makefile: Update.
81516 (strop-tests): Append strncat.
81517 * string/test-wcscmp.c: New file.
81518 New comprehensive test for wcscmp.
81519 * string/test-strcmp.c: Update.
81520 (WIDE): New define.
81521
81522 2011-07-22 Andreas Schwab <schwab@redhat.com>
81523
81524 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
81525 line.
81526
81527 2011-07-26 Andreas Schwab <schwab@redhat.com>
81528
81529 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
81530 encoding to ACE if AI_IDN.
81531
81532 2011-08-01 Jakub Jelinek <jakub@redhat.com>
81533
81534 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
81535 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
81536
81537 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81538
81539 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
81540 Fix overflow bug in strncat.
81541 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
81542
81543 * string/test-strncat.c: Update.
81544 Add new tests for checking overflow bugs.
81545
81546 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81547
81548 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81549 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
81550 * sysdeps/i386/i686/multiarch/strcat.S: New file.
81551 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
81552 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
81553 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
81554 * sysdeps/i386/i686/multiarch/strncat.S: New file.
81555 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
81556 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
81557
81558 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
81559 (USE_AS_STRCAT): Define.
81560 Add strcat and strncat support.
81561 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81562
81563 2011-07-25 Andreas Schwab <schwab@redhat.com>
81564
81565 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
81566 __n bigger than INT_MAX+1.
81567 (__strncmp_g): Likewise.
81568
81569 2011-07-23 Ulrich Drepper <drepper@gmail.com>
81570
81571 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
81572 * libio/stido.h: Likewise.
81573
81574 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
81575 (AF_NFC): Define.
81576 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
81577 (AF_NFC): Define.
81578
81579 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
81580 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
81581 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
81582 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
81583 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
81584
81585 [BZ #13021]
81586 * scripts/test-installation.pl: Don't expect libnss_test1 to be
81587 installed.
81588
81589 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
81590 typo.
81591 (_dl_x86_64_save_sse): Likewise.
81592
81593 2011-07-22 Ulrich Drepper <drepper@gmail.com>
81594
81595 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
81596 OSXSAVE.
81597 (_dl_x86_64_save_sse): Likewise.
81598
81599 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
81600
81601 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
81602
81603 2011-07-21 Andreas Schwab <schwab@redhat.com>
81604
81605 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
81606 change.
81607 (_dl_x86_64_save_sse): Use correct AVX check.
81608
81609 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81610
81611 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
81612 bug in strncpy/strncat.
81613 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
81614
81615 2011-07-21 Ulrich Drepper <drepper@gmail.com>
81616
81617 * string/tester.c (test_strcat): Add tests for different alignments
81618 of source and destination.
81619 (test_strncat): Likewise.
81620
81621 2011-07-20 Ulrich Drepper <drepper@gmail.com>
81622
81623 [BZ #12852]
81624 * posix/glob.c (glob): Check passed in values before using them in
81625 expressions to avoid some overflows.
81626 (glob_in_dir): Likewise.
81627
81628 [BZ #13007]
81629 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
81630 check for AVX enablement so that we don't crash with old kernels and
81631 new hardware.
81632 * elf/tst-audit4.c: Add same checks here.
81633 * elf/tst-audit6.c: Likewise.
81634
81635 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
81636
81637 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
81638
81639 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
81640
81641 2011-07-20 Ulrich Drepper <drepper@gmail.com>
81642
81643 * po/cs.po: Update from translation team.
81644 * po/bg.po: Likewise.
81645
81646 2011-07-12 Marek Polacek <mpolacek@redhat.com>
81647
81648 * misc/sys/cdefs.h: Add support for const attribute.
81649 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
81650 to gnu_dev_{major,minor,makedev} functions.
81651
81652 2011-07-20 Marek Polacek <mpolacek@redhat.com>
81653
81654 * intl/dcigettext.c (get_output_charset): Add missing bracket.
81655
81656 2011-07-20 Andreas Schwab <schwab@redhat.com>
81657
81658 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
81659 strlen results.
81660
81661 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
81662
81663 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
81664 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
81665 register in order to avoid conflicts with the soft frame pointer
81666 being held in r11 when necessary.
81667 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
81668 (INTERNAL_VSYSCALL_NCS): Likewise.
81669
81670 2011-07-14 Marek Polacek <mpolacek@redhat.com>
81671
81672 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
81673 * elf/dl-fini.c (_dl_fini): Adjust caller.
81674 * elf/dl-close.c (_dl_close_worker): Likewise.
81675 * sysdeps/generic/ldsodefs.h: Adjust declaration.
81676
81677 2011-07-15 Marek Polacek <mpolacek@redhat.com>
81678
81679 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
81680 "aux_cache->nlibs < 0".
81681
81682 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
81683 in the reload-count case.
81684
81685 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81686
81687 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81688 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
81689 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
81690 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
81691 * sysdeps/x86_64/multiarch/strcat.S: New file.
81692 * sysdeps/x86_64/multiarch/strncat.S: New file.
81693 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
81694 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
81695 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
81696 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
81697 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
81698 (USE_AS_STRCAT): Define.
81699 Add strcat and strncat support.
81700 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81701 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
81702 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
81703 * string/strncat.c: Update.
81704 (USE_AS_STRNCAT): Define.
81705 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81706 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
81707 and i7.
81708 * sysdeps/x86_64/multiarch/init-arch.h
81709 (bit_Prefer_PMINUB_for_stringop): New.
81710 (index_Prefer_PMINUB_for_stringop): Likewise.
81711 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
81712 bit_Prefer_PMINUB_for_stringop.
81713
81714 2011-07-19 Ulrich Drepper <drepper@gmail.com>
81715
81716 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
81717 buffer64.
81718 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
81719 of casting of buffer.
81720 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
81721 buffer32 and buffer64.
81722 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
81723 writes instead of casting of buffer.
81724 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
81725 buffer32.
81726 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
81727 casting of buffer.
81728
81729 2011-07-19 Andreas Schwab <schwab@redhat.com>
81730
81731 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
81732
81733 2011-07-19 Ulrich Drepper <drepper@gmail.com>
81734
81735 * nscd/nscd.c (termination_handler): Don't do anything for a database
81736 if it has not yet been initialized.
81737
81738 2011-07-18 Ulrich Drepper <drepper@gmail.com>
81739
81740 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
81741
81742 2011-07-15 Marek Polacek <mpolacek@redhat.com>
81743
81744 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
81745
81746 2011-07-18 Ulrich Drepper <drepper@gmail.com>
81747
81748 * po/nl.po: Update from translation team.
81749 * po/sv.po: Likewise.
81750
81751 2011-07-16 Roland McGrath <roland@hack.frob.com>
81752
81753 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
81754 now disallowed by GCC.
81755
81756 * configure.in (use-default-link): Default to yes if a test -shared
81757 link meets our qualifications.
81758 * configure: Regenerated.
81759
81760 * config.make.in (output-format): New variable.
81761 * configure.in: Check for ld --print-output-format support.
81762 * configure: Regenerated.
81763 * Makerules ($(common-objpfx)format.lds)
81764 [$(output-format) != unknown]: Just use $(output-format),
81765 instead of the linker-script munging.
81766
81767 2011-07-14 Roland McGrath <roland@hack.frob.com>
81768
81769 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
81770 of $(common-objpfx)shlib.lds.
81771 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
81772
81773 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
81774 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
81775
81776 * configure.in (-z relro check): Adjust test code to add a large
81777 writable data section after it.
81778 * configure: Regenerated.
81779
81780 2011-07-11 Roland McGrath <roland@hack.frob.com>
81781
81782 * configure.in (-z relro check): Fix test code to make the variable
81783 truly const.
81784 * configure: Regenerated.
81785
81786 2011-07-11 Ulrich Drepper <drepper@gmail.com>
81787
81788 * nscd/nscd.h (struct traced_file): Define.
81789 (struct database_dyn): Remove inotify_descr, reset_res, and filename
81790 elements. Add traced_files.
81791 (inotify_fd): Declare.
81792 (register_traced_file): Declare.
81793 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
81794 (inotify_fd): Export.
81795 (resolv_conf_descr): Remove.
81796 (nscd_init): Move inotify descriptor creation to main.
81797 Don't register files for notification here.
81798 (register_traced_file): New function.
81799 (invalidate_cache): Don't use reset_res to determine whether to call
81800 res_init, go through the list of registered files.
81801 (main_loop_poll): The inotify descriptors are now stored in the
81802 structures for the traced files.
81803 (main_loop_epoll): Likewise.
81804 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
81805 to __nss_disable_nscd.
81806 * nscd/cache.c (prune_cache): There is no single inotify descriptor
81807 for a database anymore. Check the records for all the registered
81808 files instead.
81809 * nss/Makefile (libnss_files-routines): Add files-init.
81810 (libnss_db-routines): Add db-init.
81811 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
81812 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
81813 * nss/nss_db/db-init.c: New file.
81814 * nss/nss_files/files-init.c: New file.
81815 * nss/nsswitch.c (nss_load_library): New function. Broken out of
81816 __nss_lookup_function.
81817 (__nss_lookup_function): Call nss_load_library.
81818 (nss_load_all_libraries): New function.
81819 (__nss_disable_nscd): Take parameter with callback function for files
81820 to register. Set is_nscd. Load all the DSOs for the NSS modules
81821 used for the cached services.
81822 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
81823 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
81824 options for features to all the files in nscd.
81825
81826 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
81827
81828 2011-07-10 Roland McGrath <roland@hack.frob.com>
81829
81830 * csu/elf-init.c (__libc_csu_init): Comment typo.
81831
81832 2011-07-09 Ulrich Drepper <drepper@gmail.com>
81833
81834 * po/pl.po: Update from translation team.
81835 * po/ja.po: Likewise.
81836 * po/ru.po: Likewise.
81837 * po/ko.po: Likewise.
81838 * po/fr.po: Likewise.
81839
81840 2011-07-09 Roland McGrath <roland@hack.frob.com>
81841
81842 * configure.in (.ctors/.dtors header and trailer check):
81843 Use an empirical test on a built program.
81844 * configure: Regenerated.
81845
81846 * configure.in (-z relro check): Use an empirical test on a built DSO.
81847 Detect, but do not require, on ia64.
81848 * configure: Regenerated.
81849
81850 * configure.in (READELF): Find it with AC_CHECK_TOOL.
81851 Update tests that use readelf to use $READELF instead.
81852 * configure: Regenerated.
81853
81854 2011-07-08 Ulrich Drepper <drepper@gmail.com>
81855
81856 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
81857 if the result is not used.
81858
81859 2011-07-05 Andreas Jaeger <aj@suse.de>
81860
81861 [BZ#9696]
81862 * stdlib/tst-strtod.c: Add testcase.
81863
81864 2011-07-07 Ulrich Drepper <drepper@gmail.com>
81865
81866 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
81867 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
81868 The latter has a higher limit. Take additional parameter to pass to
81869 the new function.
81870 (__pathconf): Pass file to __statfs_link_max.
81871 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
81872 __statfs_link_max.
81873 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
81874 __statfs_link_max.
81875
81876 [BZ #12868]
81877 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
81878 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
81879 Handle Lustre.
81880 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
81881 (__statfs_filesize_max): Likewise.
81882 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
81883
81884 2011-07-05 Andreas Jaeger <aj@suse.de>
81885
81886 * resolv/res_comp.c (dn_skipname): Remove unused variable.
81887
81888 2011-07-06 Marek Polacek <mpolacek@redhat.com>
81889
81890 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
81891 `status' variable.
81892 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
81893 Likewise.
81894
81895 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
81896
81897 * Makefile (strop-tests): Add strncat.
81898 * string/test-strncat.c: New file.
81899
81900 2011-06-30 Marek Polacek <mpolacek@redhat.com>
81901
81902 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
81903
81904 2011-06-21 Andreas Jaeger <aj@suse.de>
81905
81906 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
81907 Copy rule from iconvdata/Makefile.
81908
81909 2011-07-06 Ulrich Drepper <drepper@gmail.com>
81910
81911 [BZ #12922]
81912 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
81913 but no long options are defined, just return 'W'.
81914
81915 2011-06-22 Marek Polacek <mpolacek@redhat.com>
81916
81917 [BZ #9696]
81918 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
81919
81920 2011-07-06 Ulrich Drepper <drepper@gmail.com>
81921
81922 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
81923 netgroups to read.
81924 (innetgr): Likewise.
81925
81926 2011-07-05 Roland McGrath <roland@hack.frob.com>
81927
81928 * config.make.in (install_root): Default to $(DESTDIR).
81929
81930 2011-07-05 Ulrich Drepper <drepper@gmail.com>
81931
81932 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
81933
81934 2011-07-02 Roland McGrath <roland@hack.frob.com>
81935
81936 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
81937
81938 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
81939 containing directory rather than embedding absolute directory names.
81940
81941 * scripts/check-local-headers.sh: Rewritten using awk.
81942 Match by word, not by line. Print error messages for matches.
81943 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
81944
81945 * Makerules [shlib-lds-flags empty]:
81946 ($(common-objpfx)libc_pic.opts): New target.
81947 ($(common-objpfx)libc_pic.os.clean): New target.
81948 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
81949
81950 * config.make.in (OBJCOPY): New variable.
81951 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
81952 * configure: Regenerated.
81953
81954 * config.make.in (use-default-link): New variable.
81955 * configure.in (use_default_link): Grok --with-default-link to set it.
81956 * configure: Regenerated.
81957 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
81958 (shlib-lds, shlib-lds-flags): Define to empty.
81959
81960 * Makerules (shlib-lds): New variable.
81961 (shlib-lds-flags): New variable.
81962 (build-shlib, build-moduile, build-module-asneeded): Use it.
81963 ($(common-objpfx)libc.so): Use $(shlib-lds).
81964 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
81965 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
81966
81967 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
81968 DT_FLAGS/DT_FLAGS_1 with zero flags.
81969
81970 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
81971 linker script munging.
81972
81973 2011-07-02 Ulrich Drepper <drepper@gmail.com>
81974
81975 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
81976 as 128-bit value.
81977 * crypt/sha512.c (sha512_process_block): Perform total addition using
81978 128-bit if possible.
81979 (__sha512_finish_ctx): Likewise.
81980 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
81981 as 64-bit value.
81982 * crypt/sha256.c (SWAP64): Define.
81983 (sha256_process_block): Perform total addition using 64-bit if
81984 possible.
81985 (__sha256_finish_ctx): Likewise.
81986
81987 2011-07-01 Ulrich Drepper <drepper@gmail.com>
81988
81989 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
81990 * nscd/initgrcache.c (addinitgroupsX): Likewise.
81991 * nscd/hstcache.c (cache_addhst): Likewise.
81992 * nscd/grpcache.c (cache_addgr): Likewise.
81993 * nscd/aicache.c (addhstaiX): Likewise.
81994 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
81995
81996 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
81997
81998 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
81999 * nscd/initgrcache.c (addinitgroupsX): Likewise.
82000 * nscd/hstcache.c (cache_addhst): Likewise.
82001 * nscd/grpcache.c (cache_addgr): Likewise.
82002 * nscd/aicache.c (addhstaiX): Likewise.
82003
82004 2011-07-01 Andreas Schwab <schwab@redhat.com>
82005
82006 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
82007 domain only when needed.
82008
82009 2011-06-30 Andreas Schwab <schwab@redhat.com>
82010
82011 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
82012 is always restored.
82013
82014 2011-06-29 Ulrich Drepper <drepper@gmail.com>
82015
82016 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
82017 are re-adding the entry.
82018 * nscd/servicescache.c (cache_addserv): Likewise.
82019
82020 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
82021
82022 * sysdeps/generic/dl-irel.h: fix protection against multiple
82023 inclusions.
82024 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
82025
82026 2011-06-28 Ulrich Drepper <drepper@gmail.com>
82027
82028 [BZ #12935]
82029 * malloc/memusage.sh: Fix quoting in message.
82030 * debug/xtrace.sh: Likewise.
82031
82032 * configure.in: Remove support for --experimental-malloc option, make
82033 it the default.
82034 * config.make.in: Likewise.
82035 * malloc/Makefile: Likewise.
82036
82037 2011-06-27 Andreas Schwab <schwab@redhat.com>
82038
82039 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
82040 two-byte characters.
82041
82042 2011-06-27 Roland McGrath <roland@hack.frob.com>
82043
82044 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
82045 AC_CACHE_CHECK invocation.
82046 * configure: Regenerated.
82047
82048 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
82049
82050 2011-06-27 Ulrich Drepper <drepper@gmail.com>
82051
82052 [BZ #12350]
82053 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
82054 bit from old_res_options.
82055
82056 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
82057
82058 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
82059 value type for setfct.
82060
82061 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
82062
82063 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82064 __gettimeofday instead of gettimeofday.
82065
82066 2011-06-26 Ulrich Drepper <drepper@gmail.com>
82067
82068 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
82069
82070 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
82071
82072 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
82073
82074 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
82075 info.
82076
82077 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
82078
82079 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82080 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82081 strcpy-sse2-unaligned strncpy-sse2-unaligned
82082 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
82083 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
82084 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
82085 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
82086 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
82087 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
82088 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
82089 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
82090 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
82091 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
82092 (STRCPY): Support SSE2 and SSSE3 versions.
82093
82094 2011-06-24 Ulrich Drepper <drepper@gmail.com>
82095
82096 [BZ #12874]
82097 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
82098 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
82099 kernels which artificially limit size of requests.
82100
82101 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
82102
82103 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82104 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82105 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
82106 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
82107 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
82108 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
82109 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
82110 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
82111 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
82112 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
82113 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
82114 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
82115 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
82116 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
82117 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
82118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82119 Enable unaligned load optimization for Intel Core i3, i5 and i7
82120 processors.
82121 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
82122 Define.
82123 (index_Fast_Unaligned_Load): Define.
82124 (HAS_FAST_UNALIGNED_LOAD): Define.
82125
82126 2011-06-23 Marek Polacek <mpolacek@redhat.com>
82127
82128 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
82129
82130 2011-06-22 Ulrich Drepper <drepper@gmail.com>
82131
82132 [BZ #12907]
82133 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
82134 until it is clear that the information is realy needed.
82135 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
82136
82137 2011-06-22 Andreas Schwab <schwab@redhat.com>
82138
82139 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
82140
82141 2011-06-22 Ulrich Drepper <drepper@gmail.com>
82142
82143 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82144 /sys/devices/system/cpu/online if it is usable.
82145
82146 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
82147 reading the information from the /proc filesystem to once a second.
82148
82149 2011-06-21 Andreas Jaeger <aj@suse.de>
82150
82151 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
82152 NULL after inclusion of kernel headers.
82153
82154 2011-06-21 Ulrich Drepper <drepper@gmail.com>
82155
82156 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
82157 calls to internal_setent.
82158
82159 [BZ #12885]
82160 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
82161 addresses using gethostbyname4_r ignore IPv4 addresses.
82162
82163 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
82164 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
82165
82166 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
82167
82168 2011-06-20 David S. Miller <davem@davemloft.net>
82169
82170 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
82171 inclusions.
82172 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
82173
82174 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
82175 (elf_irel): Use it.
82176 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
82177 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
82178 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
82179 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
82180 * sysdeps/x86_64/dl-irel.h: Likewise.
82181
82182 * elf/dl-runtime.c: Use elf_ifunc_invoke.
82183 * elf/dl-sym.c: Likewise.
82184
82185 2011-06-15 Ulrich Drepper <drepper@gmail.com>
82186
82187 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
82188 need to dereference resplen2.
82189
82190 2011-06-14 Andreas Schwab <schwab@redhat.com>
82191
82192 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
82193
82194 2011-06-15 Ulrich Drepper <drepper@gmail.com>
82195
82196 * Makeconfig: Define vardbdir and inst_vardbdir.
82197 * nss/Makefile: Add rules to install db-Makefile.
82198
82199 * nss/nss_db/db-XXX.c: Cleanup.
82200
82201 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
82202 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
82203 GLIBC_PRIVATE.
82204 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
82205 * nss/makedb.c: Implement -g option to specify that value strings
82206 are generated and should not be added to table iterated over for
82207 get*ent calls.
82208 * nss/nss_db/db-initgroups.c: New file.
82209
82210 * nss/getent.c: Add support for initgroups lookups through getgrouplist
82211 interface.
82212
82213 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
82214 (internal_getgrouplist): Adjust to name change.
82215 Update use_initgroups_entry if this is not the first call.
82216 * nss/databases.def: Add initgroups entry.
82217
82218 * nss/makedb.c (compute_tables): Check result of multiple hash table
82219 sizes to minimize maximum chain length.
82220
82221 2011-06-14 Ulrich Drepper <drepper@gmail.com>
82222
82223 * Versions.def: Add entry for libnss_db.
82224 * shlib-versions: Likewise.
82225 * nss/Makefile: Add rules to build libnss_db.
82226 * nss/Versions: Add libnss_db information. Organize libnss_files
82227 entries better.
82228 * nss/db-Makefile: Add gshadow support. Change rules for the new
82229 makedb progra. Some minor improvements to generate smaller files.
82230 * nss/nss_db/nss_db.h: Move NSS database header data structures to
82231 here from...
82232 * nss/makedb.c: ...here.
82233 Improve database format to be smaller and require less memory at
82234 runtime.
82235 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
82236 db anymore.
82237 * nss/nss_db/db-netgrp.c: Likewise.
82238 * nss/nss_db/db-open.c: Likewise.
82239 * nss/nss_files/flies-XXX.x: Adjust comments.
82240 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
82241 * nss/nss_files/files-grp.c: Likewise.
82242 * nss/nss_files/files-hosts.c: Likewise.
82243 * nss/nss_files/files-network.c: Likewise.
82244 * nss/nss_files/files-proto.c: Likewise.
82245 * nss/nss_files/files-pwd.c: Likewise.
82246 * nss/nss_files/files-rpc.c: Likewise.
82247 * nss/nss_files/files-service.c: Likewise.
82248 * nss/nss_files/files-sgrp.c: Likewise.
82249 * nss/nss_files/files-spwd.c: Likewise.
82250 * nss/nss_db/db-alias.c: Removed.
82251 * nss/nss_db/dummy-db.h: Removed.
82252
82253 2011-06-02 Ulrich Drepper <drepper@gmail.com>
82254
82255 * nss/makedb.c: Rewritten to not use database library.
82256 * nss/Makefile: Update to build new makedb program.
82257
82258 2011-06-14 Andreas Jaeger <aj@suse.de>
82259
82260 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
82261 memset declaration.
82262
82263 2011-06-10 Andreas Schwab <schwab@redhat.com>
82264
82265 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
82266 tmpbuf.
82267
82268 2011-06-10 Roland McGrath <roland@hack.frob.com>
82269
82270 * Makerules (shlib.lds): Fail if the linker script comes out empty.
82271 * elf/Makefile ($(objpfx)ld.so): Likewise.
82272
82273 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
82274 Don't list ld.so twice in dependencies.
82275
82276 * posix/bug-regex31.c: Include <stdlib.h>.
82277
82278 * nscd/hstcache.c (cache_addhst): Remove unused variable.
82279
82280 * nis/nss_compat/compat-spwd.c
82281 (getspent_next_nss_netgr): Remove unused variable.
82282 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
82283
82284 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
82285 nonmembers" output to use the right array.
82286
82287 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
82288
82289 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
82290
82291 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
82292 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
82293 * catgets/gencat.c (read_input_file): Likewise.
82294 * locale/programs/locarchive.c (enlarge_archive): Likewise.
82295
82296 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
82297 variable definition inside #if's controlling its use.
82298
82299 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
82300
82301 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
82302
82303 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
82304
82305 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
82306 unreachable code.
82307
82308 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
82309
82310 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
82311 * configure: Regenerated.
82312
82313 * Makerules: Revert last change.
82314 * elf/Makefile: Likewise.
82315
82316 2011-06-09 Roland McGrath <roland@hack.frob.com>
82317
82318 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
82319 * elf/Makefile ($(objpfx)librtld.os): Likewise.
82320 (reloc-link): Likewise.
82321
82322 2011-06-09 Ulrich Drepper <drepper@gmail.com>
82323
82324 * elf/Makefile: Add rules to build pldd.
82325 * elf/pldd.c: New file.
82326 * elf/pldd-xx.c: New file.
82327
82328 2011-06-07 Ulrich Drepper <drepper@gmail.com>
82329
82330 * version.h: Update for 2.15 development version.
82331
82332 2011-06-07 David S. Miller <davem@davemloft.net>
82333
82334 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
82335 ifuncs.
82336 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
82337 elf_machine_lazy_rel): Likewise.
82338 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
82339 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
82340 elf_machine_lazy_rel): Likewise.
82341 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
82342 dl_hwcap via passed in argument.
82343 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
82344 Likewise.
82345
82346 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
82347
82348 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
82349
82350 2011-06-06 Roland McGrath <roland@hack.frob.com>
82351
82352 [BZ #12849]
82353 * manual/fdl-1.1.texi: New file, verbatim from:
82354 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
82355 * manual/lgpl-2.1.texi: New file, verbatim from:
82356 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
82357 * manual/Makefile (licenses): New variable, list those new file names.
82358 (texis): Use it.
82359 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
82360
82361 * manual/fdl.texi: File removed.
82362 * manual/lesser.texi: File removed.
82363 * manual/libc.texinfo (Copying, Documentation License):
82364 Use new @include file names, put @appendix directive before @include.
82365
82366 2011-06-04 Jakub Jelinek <jakub@redhat.com>
82367
82368 [BZ #12841]
82369 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
82370 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
82371 (mq_open): Add __NTH.
82372
82373 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
82374
82375 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82376 Assume Intel Core i3/i5/i7 processor if AVX is available.
82377
82378 2011-05-31 Ulrich Drepper <drepper@gmail.com>
82379
82380 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
82381 typo.
82382
82383 2011-05-31 Andreas Schwab <schwab@redhat.com>
82384
82385 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
82386 memory. Use alloca_account. Fix memory leak when retrying.
82387
82388 2011-05-31 Ulrich Drepper <drepper@gmail.com>
82389
82390 * version.h (RELEASE): Bump for 2.14 release.
82391 * include/features.h (__GLIBC_MINOR__): Bump to 14.
82392
82393 * config.make.in (RANLIB): Remove entry.
82394
82395 2011-05-30 Ulrich Drepper <drepper@gmail.com>
82396
82397 * po/Makefile (po-sed-cmd): Add ksh to extensions.
82398 (libc.pot): Work around missing support for .ksh extension in xgettext.
82399
82400 [BZ #12684]
82401 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
82402 if both request failed.
82403 (send_dg): In case of server errors clear resplen or *resplen2.
82404
82405 [BZ #12454]
82406 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
82407 when there are multiple maps.
82408 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
82409 (_dl_fini): Remove test here.
82410
82411 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
82412
82413 2011-05-29 Ulrich Drepper <drepper@gmail.com>
82414
82415 [BZ #12350]
82416 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
82417 bit from old_res_options.
82418 (gaih_inet): Likewise.
82419
82420 [BZ #11099]
82421 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
82422 as signed.
82423
82424 * resolv/res_init.c (res_setoptions): Make the code more compact.
82425
82426 [BZ #11558]
82427 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
82428 set RES_USEVC.
82429
82430 [BZ #11634]
82431 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
82432
82433 * malloc/malloc.h: Mark malloc hook variables as deprecated.
82434
82435 [BZ #11781]
82436 * malloc/malloc.h: Declare malloc hook variables as volatile.
82437
82438 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
82439 in last patch.
82440
82441 [BZ #11799]
82442 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
82443 raise in the comment.
82444 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
82445 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
82446 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
82447
82448 2011-05-28 Ulrich Drepper <drepper@gmail.com>
82449
82450 [BZ #12811]
82451 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
82452 grow the buffers more if it already has to be sufficient.
82453 (build_wcs_upper_buffer): Likewise.
82454 * posix/regexec.c (check_matching): Likewise.
82455 (clean_state_log_if_needed): Likewise.
82456 (extend_buffers): Don't enlarge buffers beyond size of the input
82457 buffer.
82458 Patches mostly by Emil Wojak <emil@wojak.eu>.
82459 * posix/bug-regex32.c: New file.
82460 * posix/Makefile (tests): Add bug-regex32.
82461
82462 * locale/findlocale.c (_nl_find_locale): Return right away if
82463 _nl_explode_name failed.
82464 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
82465
82466 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
82467
82468 * debug/xtrace.sh: Unify messages.
82469 * malloc/memusage.sh: Likewise.
82470
82471 [BZ #12813]
82472 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
82473 time symbol from vDSO. Substitute with vsyscall if not available.
82474 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
82475 __vdso_time.
82476
82477 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
82478 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
82479 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
82480 Add sendmmsg and internal_sendmmsg.
82481 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
82482 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
82483 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
82484
82485 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
82486 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
82487 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
82488
82489 2011-05-27 Ulrich Drepper <drepper@gmail.com>
82490
82491 [BZ #12813]
82492 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
82493 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
82494 available.
82495 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
82496 __vdso_getcpu.
82497
82498 [BZ #12814]
82499 * iconvdata/Makefile (tests): Add bug-iconv9.
82500 * iconvdata/bug-iconv9.c: New file.
82501
82502 2011-05-27 Andreas Schwab <schwab@redhat.com>
82503
82504 [BZ #12814]
82505 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
82506
82507 2011-05-25 Jakub Jelinek <jakub@redhat.com>
82508
82509 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
82510 (struct user_regs_struct): Change intcs field back to cs.
82511
82512 2011-05-25 Ulrich Drepper <drepper@gmail.com>
82513
82514 * po/ja.po: Update from translation team.
82515
82516 2011-05-23 Ulrich Drepper <drepper@gmail.com>
82517
82518 [BZ #12795]
82519 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
82520 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
82521
82522 2011-05-20 Andreas Schwab <schwab@redhat.com>
82523
82524 * stdlib/longlong.h: Update from GCC.
82525
82526 2011-05-23 Andreas Schwab <schwab@redhat.com>
82527
82528 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
82529 parameter name.
82530 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
82531 Add parameter name.
82532 (__sysconf): Pass it down.
82533
82534 2011-05-22 Ulrich Drepper <drepper@gmail.com>
82535
82536 [BZ #12671]
82537 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
82538 some situations.
82539 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
82540 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
82541 add in in __libc_use_alloca calls. Adjust callers.
82542 (glob): Use malloc in some situations.
82543
82544 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
82545 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
82546 pltexit.
82547
82548 2011-05-21 Ulrich Drepper <drepper@gmail.com>
82549
82550 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
82551 and CLOCK_BOOTTIME_ALARM.
82552
82553 [BZ #12782]
82554 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
82555 is returned.
82556
82557 * string/_strerror.c (__strerror_r): Print negative errors as signed
82558 numbers.
82559
82560 [BZ #12777]
82561 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
82562 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
82563 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
82564
82565 * configure.in: Fix typo in redirection and correct removal of test
82566 files in two cases.
82567
82568 [BZ #12788]
82569 * locale/setlocale.c (new_composite_name): Fix test to check for
82570 identical name of all categories.
82571
82572 [BZ #12792]
82573 * libio/filedoalloc.c (local_isatty): New function.
82574 (_IO_file_doallocate): Use local_isatty.
82575 * stdio-common/perror.c (perror): In case a new stream is used
82576 forward the stream error.
82577 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
82578 error flag.
82579
82580 2011-05-20 Ulrich Drepper <drepper@gmail.com>
82581
82582 [BZ #11884]
82583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
82584 alloca.
82585 * include/alloca.h (extend_alloca_account): Define.
82586
82587 [BZ #11857]
82588 * posix/regex.h: Fix comments with documentation of user-accessible
82589 fields after compilation and describe correct free'ing of pattern
82590 after re_compile_pattern.
82591 Patch by Reuben Thomas <rrt@sc3d.org>.
82592
82593 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
82594
82595 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
82596 and -mno-altivec to prevent the compiler from using Altivec and/or
82597 VSX instructions when the corresponding registers are not available.
82598
82599 2011-05-19 Andreas Schwab <schwab@redhat.com>
82600
82601 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
82602
82603 2011-05-19 Ulrich Drepper <drepper@gmail.com>
82604
82605 * libio/freopen.c (freopen): Use __dup2, not dup2.
82606 * libio/freopen64.c (freopen64): Likewise.
82607
82608 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
82609
82610 [BZ #12775]
82611 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
82612 * math/Makefile (tests): Add test-powl.
82613 (CFLAGS-test-powl.c): Define.
82614 * math/test-powl.c: New file.
82615
82616 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
82617
82618 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
82619
82620 2011-05-17 Ulrich Drepper <drepper@gmail.com>
82621
82622 [BZ #11837]
82623 * iconvdata/gb18030.c: Update to GB18020-2005.
82624
82625 2011-05-16 Ulrich Drepper <drepper@gmail.com>
82626
82627 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
82628 RE_SYNTAX_POSIX_AWK): Update to match recent development.
82629 Patch by Aharon Robbins <arnold@skeeve.com>.
82630
82631 [BZ #11892]
82632 * stdlib/putenv.c (putenv): Don't always create copy of the variable
82633 on the stack.
82634
82635 [BZ #11895]
82636 * misc/pselect.c (__pselect): Handle timeout value errors hidden
82637 through underflows.
82638
82639 [BZ #12766]
82640 * misc/error.c (error_at_line): Ensure file_name and old_file_name
82641 point to strings before performing equality test for error_one_per_line
82642 mode.
82643
82644 [BZ #11697]
82645 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
82646
82647 [BZ #11820]
82648 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
82649 (struct user_fpregs_struct): Avoid __uint*_t types.
82650
82651 [BZ #6420]
82652 * malloc/mtrace.c (tr_where): Add additional parameter to point to
82653 symbol info. Use it instead of calling _dl_addr locally.
82654 (lock_and_info): New function.
82655 (tr_freehook): Call lock_and_info and pass symbol info as additional
82656 parameter to tr_where.
82657 (tr_mallochook): Likewise.
82658 (tr_reallochook): Likewise.
82659 (tr_memalignhook): Likewise.
82660
82661 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
82662 used and couldn't be at all thread-safe.
82663
82664 2011-05-15 Ulrich Drepper <drepper@gmail.com>
82665
82666 * libio/freopen.c (freopen): Don't close old file descriptor
82667 before the new one is opened. Instead dup the new file descriptor
82668 to the old one after the new stream is created.
82669 * libio/freopen64.c (freopen64): Likewise.
82670 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
82671 * libio/fileops.c (_IO_new_file_close_it): Handle new
82672 _IO_FLAGS2_NOCLOSE flag.
82673 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
82674 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
82675 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
82676 _IO_FLAGS2_NOCLOSE flag.
82677 * include/unistd.h: Add hidden_proto for dup3.
82678 Define __have_dup3.
82679 * io/dup3.c: Define hidden symbol.
82680 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
82681
82682 [BZ #7101]
82683 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
82684 when an incomplete long option is used.
82685 * posix/tst-getopt_long1.c: New file.
82686 * posix/Makefile (tests): Add tst-getopt_long1.
82687
82688 [BZ #10138]
82689 * scripts/config.guess: Update from autoconf-2.68.
82690 * scripts/config.sub: Likewise.
82691
82692 [BZ #10157]
82693 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
82694 tests into ...
82695 (has_cpuclock): ...this. New function.
82696 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
82697 macro here based on has_cpuclock code.
82698
82699 [BZ #10149]
82700 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82701 First byte (not low byte) is now always NUL.
82702 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
82703
82704 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82705 Use non-cancelable interfaces.
82706
82707 [BZ #9809]
82708 * locale/iso-639.def: Add entry for Sorani.
82709
82710 [BZ #11901]
82711 * include/stdlib.h: Move include protection to the right place.
82712 Define abort_msg_s. Declare __abort_msg with it.
82713 * stdlib/abort.c (__abort_msg): Adjust type.
82714 * assert/assert.c (__assert_fail_base): New function. Majority
82715 of code from __assert_fail. Allocate memory for __abort_msg with
82716 mmap.
82717 (__assert_fail): Now call __assert_fail_base.
82718 * assert/assert-perr.c: Remove bulk of implementation. Use
82719 __assert_fail_base.
82720 * include/assert.hL Declare __assert_fail_base.
82721 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
82722 mmap.
82723 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
82724
82725 2011-05-14 Ulrich Drepper <drepper@gmail.com>
82726
82727 [BZ #11952]
82728 [BZ #12453]
82729 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
82730 until all modules are registered in the DTV.
82731 * elf/Makefile: Add rules to build and run tst-tls19.
82732 * elf/tst-tls19.c: New file.
82733 * elf/tst-tls19mod1.c: New file.
82734 * elf/tst-tls19mod2.c: New file.
82735 * elf/tst-tls19mod3.c: New file.
82736 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
82737
82738 [BZ #12083]
82739 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
82740 correctly.
82741
82742 [BZ #12601]
82743 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
82744 two-byte sequence errors.
82745 * iconvdata/Makefile (tests): Add bug-iconv8.
82746 * iconvdata/bug-iconv8.c: New file.
82747
82748 [BZ #12626]
82749 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
82750 buf2 definition.
82751
82752 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
82753
82754 [BZ #12432]
82755 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
82756 (dummy_getcfa): New function.
82757 (init): Get _Unwind_GetCFA address, use dummy if not found.
82758 (backtrace_helper): In recursion check, also check whether CFA changes.
82759 (__backtrace): Completely initialize arg.
82760
82761 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
82762 storing incomplete byte sequence in state object. Avoid testing for
82763 guaranteed too small input if we know there is enough data available.
82764
82765 2011-05-11 Andreas Schwab <schwab@redhat.com>
82766
82767 * Makeconfig (+link-pie): Indent.
82768 * Rules (binaries-pie): Define if $(have-fpie) and
82769 $(build-shared).
82770 (binaries-shared): Also filter out $(binaries-pie).
82771 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
82772 * nscd/Makefile (others-pie): Add nscd.
82773 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
82774 ($(objpfx)nscd): Remove command override.
82775 * login/Makefile (others-pie): Add pt_chown.
82776 ($(objpfx)pt_chown): Remove command override.
82777 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
82778 remove command overrides.
82779
82780 2011-05-13 Ulrich Drepper <drepper@gmail.com>
82781
82782 * libio/tst_putwc.c: Fix error messages.
82783
82784 [BZ #12724]
82785 * libio/fileops.c (_IO_new_file_close_it): Always flush when
82786 currently writing and seek to current position when not.
82787 * libio/Makefile (tests): Add bug-fclose1.
82788 * libio/bug-fclose1.c: New file.
82789
82790 2011-05-12 Ulrich Drepper <drepper@gmail.com>
82791
82792 [BZ #12511]
82793 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
82794 don't set DF_1_NODELETE here.
82795 (do_lookup_x): When entering new entry test for copy relocation
82796 and if necessary set DF_1_NODELETE flag.
82797 * elf/tst-unique4.cc: New file.
82798 * elf/tst-unique4.h: New file.
82799 * elf/tst-unique4lib.cc: New file.
82800 * elf/Makefile: Add rules to build and run tst-unique4.
82801 Patch by Piotr Bury <pbury@goahead.com>.
82802
82803 2011-05-11 Ulrich Drepper <drepper@gmail.com>
82804
82805 [BZ #12052]
82806 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
82807
82808 [BZ #12625]
82809 * misc/mntent_r.c (addmntent): Flush the stream after the output
82810
82811 [BZ #12393]
82812 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
82813 (is_trusted_path_normalize): Skip initial colon. Append slash
82814 to empty buffer. Duplicate is_trusted_path code but allow
82815 constructed patch to be prefix.
82816 (is_dst): Allow $ORIGIN followed by /.
82817 (_dl_dst_substitute): Correct clearing of check_for_trusted.
82818 Correct testing of result of is_trusted_path_normalize
82819 (decompose_rpath): Fix warning.
82820
82821 2011-05-10 Ulrich Drepper <drepper@gmail.com>
82822
82823 [BZ #11257]
82824 * grp/initgroups.c (internal_getgrouplist): When we found the service
82825 list through the initgroups entry in nsswitch.conf do not always
82826 continue on a successful lookup. Don't always use the
82827 __nss_group_database value if it is set.
82828 * nss/nsswitch.conf (initgroups): Change action for successful db
82829 lookup to continue for compatibility.
82830
82831 2011-05-09 Ulrich Drepper <drepper@gmail.com>
82832
82833 [BZ #11532]
82834 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
82835 and CP774 modules.
82836 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
82837 and CP774 modules.
82838 * iconvdata/tst-tables.sh: Likewise.
82839 * iconvdata/cp770.c: New file.
82840 * iconvdata/cp771.c: New file.
82841 * iconvdata/cp772.c: New file.
82842 * iconvdata/cp773.c: New file.
82843 * iconvdata/cp774.c: New file.
82844 * iconvdata/testdata/CP770: New file.
82845 * iconvdata/testdata/CP770..UTF8: New file.
82846 * iconvdata/testdata/CP771: New file.
82847 * iconvdata/testdata/CP771..UTF8: New file.
82848 * iconvdata/testdata/CP772: New file.
82849 * iconvdata/testdata/CP772..UTF8: New file.
82850 * iconvdata/testdata/CP773: New file.
82851 * iconvdata/testdata/CP773..UTF8: New file.
82852 * iconvdata/testdata/CP774: New file.
82853 * iconvdata/testdata/CP774..UTF8: New file.
82854
82855 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
82856 END CHARMAP line.
82857 * iconvdata/gen-8bit-gap.sh: Likewise.
82858 * iconvdata/gen-8bit.sh: Likewise.
82859
82860 * locale/iso-639.def: Add ary entry.
82861
82862 [BZ #11258]
82863 * locale/C-translit.h.in: Add U20A1 transliteration.
82864
82865 [BZ #12178]
82866 * locale/iso-639.def: Add wae entry.
82867 Patch by Kevin Bortis <bortis@translate-wae.ch>.
82868
82869 [BZ #12545]
82870 * locale/programs/localedef.c (construct_output_path): Use ssize_t
82871 for n.
82872
82873 [BZ #12711]
82874 * locale/C-translit.h.in: Add entry for U20B9.
82875 Patch by pravin.d.s@gmail.com.
82876
82877 2011-05-08 Ulrich Drepper <drepper@gmail.com>
82878
82879 [BZ #12713]
82880 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
82881 ENAMETOOLONG use generic getcwd.
82882 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
82883 in rtld. Use *stat64.
82884 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
82885 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
82886 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
82887 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
82888 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
82889 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
82890 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
82891 __fstatat64 macros.
82892 * include/dirent.h: Add libc_hidden_proto for rewinddir.
82893 * dirent/rewinddir.c: Add libc_hidden_def.
82894 * sysdeps/mach/hurd/rewinddir.c: Likewise.
82895 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
82896
82897 * include/dirent.h (__alloc_dir): Add flags parameter.
82898 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
82899 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
82900 __alloc_dir.
82901 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
82902 from fdopendir if O_CLOEXEC is already set.
82903
82904 2011-03-15 Alan Modra <amodra@gmail.com>
82905
82906 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
82907 l_tls_firstbyte_offset non-zero. Save padding offset in
82908 l_tls_firstbyte_offset for later use.
82909 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
82910 freeing static tls block.
82911
82912 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
82913
82914 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
82915 where #ifdef was intended. The intent is to prevent ARG_MAX from
82916 being defined by the kernel headers.
82917
82918 2011-05-07 Ulrich Drepper <drepper@gmail.com>
82919
82920 [BZ #12734]
82921 * resolv/resolv.h: Define RES_NOTLDQUERY.
82922 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
82923 no-tld-query and set RES_NOTLDQUERY.
82924 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
82925 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
82926 modern BIND to search name as TLD unless forbidden.
82927
82928 2011-05-07 Petr Baudis <pasky@suse.cz>
82929 Ulrich Drepper <drepper@gmail.com>
82930
82931 [BZ #12393]
82932 * elf/dl-load.c (fillin_rpath): Move trusted path check...
82933 (is_trusted_path): ...to here.
82934 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
82935 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
82936 using is_trusted_path_normalize() in setuid scripts.
82937
82938 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
82939
82940 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
82941 __BEGIN/__END_DECLS.
82942
82943 2011-05-06 Ulrich Drepper <drepper@gmail.com>
82944
82945 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
82946 NSS_STATUS_NOTFOUND if no record was found.
82947
82948 2011-05-05 Andreas Schwab <schwab@redhat.com>
82949
82950 * sunrpc/Makefile (headers): Add rpc/netdb.h.
82951 (headers-not-in-tirpc): Remove rpc/netdb.h
82952 * resolv/netdb.h: Revert last change.
82953
82954 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
82955
82956 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
82957 circular dependency between libgcc.a and libc.a.
82958
82959 2011-05-05 Andreas Schwab <schwab@redhat.com>
82960
82961 * resolv/netdb.h: Don't include <rpc/netdb.h>.
82962 * nis/Makefile: Don't install rpcsvc/*.
82963 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
82964 instead of <rpc/types.h>.
82965 (MAXHOSTNAMELEN): Define.
82966
82967 2011-05-03 Andreas Schwab <schwab@redhat.com>
82968
82969 * elf/ldconfig.c (add_dir): Don't crash on empty path.
82970
82971 2011-04-28 Maciej Babinski <mbabinski@google.com>
82972
82973 [BZ #12714]
82974 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
82975 gethostbyname4_r when IPv6 results are possible.
82976
82977 2011-05-02 Ulrich Drepper <drepper@gmail.com>
82978
82979 [BZ #12723]
82980 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
82981 _PC_PIPE_BUF handling.
82982
82983 2011-04-30 Bruno Haible <bruno@clisp.org>
82984
82985 [BZ #12717]
82986 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
82987 * resolv/netdb.h (getnameinfo): Change type of flags parameter
82988 to 'int'.
82989 * inet/getnameinfo.c (getnameinfo): Likewise.
82990
82991 2011-04-29 Ulrich Drepper <drepper@gmail.com>
82992
82993 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
82994 to groups setting in database lookup.
82995 * nss/nsswitch.conf: Add initgroups entry.
82996
82997 2011-04-22 Ulrich Drepper <drepper@gmail.com>
82998
82999 [BZ #12685]
83000 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
83001 mode string.
83002 Patch by Eric Blake <eblake@redhat.com>.
83003
83004 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
83005
83006 * sunrpc/Makefile (need-export-routines): Add svc_run.
83007 (routines): Remove svc_run.
83008 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
83009 * sunrpc/clnt_perr.c (clnt_perrno): Export.
83010 * sunrpc/svc_run.c (svc_run): Likewise.
83011 * sunrpc/svc_udp.c (svcudp_create): Likewise.
83012
83013 2011-04-21 Ulrich Drepper <drepper@gmail.com>
83014
83015 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
83016 problem in reallocation in last patch.
83017
83018 2011-04-20 Ulrich Drepper <drepper@gmail.com>
83019
83020 * sunrpc/Makefile: Move inclusion of Rules.
83021
83022 2011-04-19 Ulrich Drepper <drepper@gmail.com>
83023
83024 * nss/nss_files/files-initgroups.c: New file.
83025 * nss/Makefile (libnss_files-routines): Add files-initgroups.
83026 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
83027 _nss_files_initgroups_dyn.
83028
83029 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
83030
83031 * elf/elf.h (R_ARM_IRELATIVE): Define.
83032
83033 2011-04-19 Ulrich Drepper <drepper@gmail.com>
83034
83035 * po/ru.po: Update from translation team.
83036
83037 2011-04-17 Ulrich Drepper <drepper@gmail.com>
83038
83039 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
83040 dependencies.
83041
83042 2011-02-06 Mike Frysinger <vapier@gentoo.org>
83043
83044 [BZ #12653]
83045 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
83046 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
83047 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
83048 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
83049 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
83050
83051 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
83052
83053 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
83054 differing bytes.
83055 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
83056 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
83057 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83058
83059 2011-04-17 Ulrich Drepper <drepper@gmail.com>
83060
83061 [BZ #12420]
83062 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
83063 storing it.
83064 * stdlib/bug-getcontext.c: New file.
83065 * stdlib/Makefile: Add rules to build and run bug-getcontext.
83066
83067 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83068
83069 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
83070 instructions into .machine "z9-109".
83071 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
83072 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
83073
83074 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83075
83076 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
83077 between environment variables and auxiliary vector.
83078
83079 2011-04-16 Ulrich Drepper <drepper@gmail.com>
83080
83081 * Makefile: Add rules to build linkobj/libc.so.
83082 * include/libc-symbols.h: Define libc_hidden_nolink.
83083 * include/rpc/auth.h: Mark functions which are to be hidden.
83084 * include/rpc/auth_des.h: Likewise.
83085 * include/rpc/auth_unix.h: Likewise.
83086 * include/rpc/clnt.h: Likewise.
83087 * include/rpc/des_crypt.h: Likewise.
83088 * include/rpc/key_prot.h: Likewise.
83089 * include/rpc/pmap_clnt.h: Likewise.
83090 * include/rpc/pmap_prot.h: Likewise.
83091 * include/rpc/pmap_rmt.h: Likewise.
83092 * include/rpc/rpc_msg.h: Likewise.
83093 * include/rpc/svc.h: Likewise.
83094 * include/rpc/svc_auth.h: Likewise.
83095 * include/rpc/xdr.h: Likewise.
83096 * nis/Makefile: Link all DSOs against linkobj/libc.so.
83097 * nss/Makefile: Likewise.
83098 * sunrpc/Makefile: Don't install headers. Build library with normal
83099 entry points. Don't build rpcinfo. Link RPC tests appropriately.
83100 * sunrpc/auth_des.c: Hide exported symbols by default, export some
83101 for the compat linking library. Remove use of INTDEF/INTUSE.
83102 * sunrpc/auth_none.c: Likewise.
83103 * sunrpc/auth_unix.c: Likewise.
83104 * sunrpc/authdes_prot.c: Likewise.
83105 * sunrpc/authuxprot.c: Likewise.
83106 * sunrpc/clnt_gen.c: Likewise.
83107 * sunrpc/clnt_perr.c: Likewise.
83108 * sunrpc/clnt_raw.c: Likewise.
83109 * sunrpc/clnt_simp.c: Likewise.
83110 * sunrpc/clnt_tcp.c: Likewise.
83111 * sunrpc/clnt_udp.c: Likewise.
83112 * sunrpc/clnt_unix.c: Likewise.
83113 * sunrpc/des_crypt.c: Likewise.
83114 * sunrpc/des_soft.c: Likewise.
83115 * sunrpc/get_myaddr.c: Likewise.
83116 * sunrpc/key_call.c: Likewise.
83117 * sunrpc/key_prot.c: Likewise.
83118 * sunrpc/netname.c: Likewise.
83119 * sunrpc/pm_getmaps.c: Likewise.
83120 * sunrpc/pm_getport.c: Likewise.
83121 * sunrpc/pmap_clnt.c: Likewise.
83122 * sunrpc/pmap_prot.c: Likewise.
83123 * sunrpc/pmap_prot2.c: Likewise.
83124 * sunrpc/pmap_rmt.c: Likewise.
83125 * sunrpc/publickey.c: Likewise.
83126 * sunrpc/rpc_cmsg.c: Likewise.
83127 * sunrpc/rpc_common.c: Likewise.
83128 * sunrpc/rpc_dtable.c: Likewise.
83129 * sunrpc/rpc_prot.c: Likewise.
83130 * sunrpc/rpc_thread.c: Likewise.
83131 * sunrpc/rtime.c: Likewise.
83132 * sunrpc/svc.c: Likewise.
83133 * sunrpc/svc_auth.c: Likewise.
83134 * sunrpc/svc_authux.c: Likewise.
83135 * sunrpc/svc_raw.c: Likewise.
83136 * sunrpc/svc_run.c: Likewise.
83137 * sunrpc/svc_simple.c: Likewise.
83138 * sunrpc/svc_tcp.c: Likewise.
83139 * sunrpc/svc_udp.c: Likewise.
83140 * sunrpc/svc_unix.c: Likewise.
83141 * sunrpc/svcauth_des.c: Likewise.
83142 * sunrpc/xcrypt.c: Likewise.
83143 * sunrpc/xdr.c: Likewise.
83144 * sunrpc/xdr_array.c: Likewise.
83145 * sunrpc/xdr_float.c: Likewise.
83146 * sunrpc/xdr_intXX_t.c: Likewise.
83147 * sunrpc/xdr_mem.c: Likewise.
83148 * sunrpc/xdr_rec.c: Likewise.
83149 * sunrpc/xdr_ref.c: Likewise.
83150 * sunrpc/xdr_sizeof.c: Likewise.
83151 * sunrpc/xdr_stdio.c: Likewise.
83152
83153 2011-04-10 Ulrich Drepper <drepper@gmail.com>
83154
83155 [BZ #12650]
83156 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
83157 * sysdeps/ia64/dl-tls.h: Likewise.
83158 * sysdeps/powerpc/dl-tls.h: Likewise.
83159 * sysdeps/s390/dl-tls.h: Likewise.
83160 * sysdeps/sh/dl-tls.h: Likewise.
83161 * sysdeps/sparc/dl-tls.h: Likewise.
83162 * sysdeps/x86_64/dl-tls.h: Likewise.
83163 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
83164
83165 2011-03-14 Andreas Schwab <schwab@redhat.com>
83166
83167 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
83168 rpath element also skip the following colon.
83169 (expand_dynamic_string_token): Add is_path parameter and pass
83170 down to DL_DST_REQUIRED and _dl_dst_substitute.
83171 (decompose_rpath): Call expand_dynamic_string_token with
83172 non-zero is_path. Ignore empty rpaths.
83173 (_dl_map_object_from_fd): Call expand_dynamic_string_token
83174 with zero is_path.
83175
83176 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
83177
83178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
83179 Make cancelable.
83180
83181 2011-04-09 Ulrich Drepper <drepper@gmail.com>
83182
83183 [BZ #12655]
83184 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
83185 Patch by Filipe David Manana <fdmanana@apache.org>.
83186
83187 2011-04-07 Andreas Schwab <schwab@redhat.com>
83188
83189 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
83190 Maintain aligned stack.
83191 (CHECK_RSP): Remove unused macro.
83192
83193 2011-04-03 Ulrich Drepper <drepper@gmail.com>
83194
83195 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
83196 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
83197
83198 2011-04-02 Ulrich Drepper <drepper@gmail.com>
83199
83200 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
83201
83202 * include/features.h: Mention __USE_XOPEN2K8 in comment.
83203
83204 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
83205
83206 [BZ #12518]
83207 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
83208 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
83209 * sysdeps/x86_64/memmove.c: New file.
83210 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
83211 (memcpy): Renamed to ...
83212 (__new_memcpy): This.
83213 (memcpy): Provide GLIBC_2_14 memcpy.
83214 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
83215 (memcpy): Provide GLIBC_2_2_5 memcpy.
83216
83217 2011-04-01 Ulrich Drepper <drepper@gmail.com>
83218
83219 [BZ #12631]
83220 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
83221
83222 2011-03-30 Andreas Schwab <schwab@redhat.com>
83223
83224 * misc/syncfs.c: New file.
83225 * misc/Makefile (routines): Add syncfs.
83226 * posix/unistd.h: Declare syncfs.
83227 * sysdeps/unix/syscalls.list: Add syncfs.
83228
83229 2011-04-01 Andreas Schwab <schwab@redhat.com>
83230
83231 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
83232 open_by_handle_at.
83233 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83234 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83235 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83236 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83237 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83238 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
83239 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83240
83241 2011-04-01 Ulrich Drepper <drepper@gmail.com>
83242
83243 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
83244 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83245 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
83246 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83247 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83248 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83249 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83250
83251 * io/Makefile: Compile fallocate.c, fallocate64.c, and
83252 sync_file_range.c with -fexceptions.
83253 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
83254 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
83255 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
83256 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
83257 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
83258 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
83259 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
83260 sync_file_range as cancellation point
83261 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
83262 now a wrapper around __call_sync_file_range with cancellation handling.
83263 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
83264 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
83265 function name to __call_sync_file_range.
83266 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
83267 Add call_sync_file_range.
83268
83269 2011-04-01 Andreas Schwab <schwab@redhat.com>
83270
83271 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83272 bits/timex.h.
83273
83274 2011-04-01 Ulrich Drepper <drepper@gmail.com>
83275
83276 * iconv/iconv.h: Fix typo in comment.
83277 * io/fcntl.h: Likewise.
83278 * libio/stdio.h: Likewise.
83279 * posix/spawn.h: Likewise.
83280 * posix/unistd.h: Likewise.
83281 * stdlib/stdlib.h: Likewise.
83282 * time/time.h: Likewise.
83283 * wcsmbs/wchar.h: Likewise.
83284
83285 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
83286 open_by_handle): Add.
83287 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
83288 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
83289 Augment a few comments.
83290 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83291 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83292 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83293 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83294 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83295 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
83296 open_by_handle.
83297
83298 * io/fcntl.h (AT_EMPTY_PATH): Define.
83299
83300 2011-03-30 Ulrich Drepper <drepper@gmail.com>
83301
83302 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
83303 * sysdeps/unix/sysv/linux/bits/time.h: New file.
83304 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
83305 to...
83306 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
83307 * Versions.def: Add GLIBC_2.14.
83308 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
83309 Export.
83310
83311 2011-03-22 Ulrich Drepper <drepper@gmail.com>
83312
83313 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
83314 round counter.
83315 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83316
83317 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
83318
83319 [BZ #12597]
83320 * string/test-strncmp.c (do_page_test): New function.
83321 (check2): Likewise.
83322 (test_main): Call check2.
83323 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
83324
83325 2011-03-20 Ulrich Drepper <drepper@gmail.com>
83326
83327 [BZ #12587]
83328 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
83329 Handle cache information in CPU leaf 4.
83330 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83331
83332 2011-03-18 Ulrich Drepper <drepper@gmail.com>
83333
83334 [BZ #12583]
83335 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
83336 character representation.
83337 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
83338
83339 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
83340
83341 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
83342 END(__isnan) to END(__isnanf) to match function entry point/label
83343 EALIGN(__isnanf,...).
83344
83345 2011-03-10 Jakub Jelinek <jakub@redhat.com>
83346
83347 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
83348
83349 2011-03-10 Ulrich Drepper <drepper@gmail.com>
83350
83351 [BZ #12510]
83352 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
83353 copy from the symbol referenced in the relocation to initialize the
83354 used variable.
83355 Patch by Piotr Bury <pbury@goahead.com>.
83356 * elf/Makefile: Add rules to build and tst-unique3.
83357 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
83358 * elf/tst-unique3.cc: New file.
83359 * elf/tst-unique3.h: New file.
83360 * elf/tst-unique3lib.cc: New file.
83361 * elf/tst-unique3lib2.cc: New file.
83362
83363 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
83364
83365 2011-03-10 Mike Frysinger <vapier@gentoo.org>
83366
83367 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
83368 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
83369 to _start.
83370
83371 2011-03-06 Ulrich Drepper <drepper@gmail.com>
83372
83373 * elf/dl-load.c (_dl_map_object): If we are looking for the first
83374 to-be-loaded object along a path to loader is ld.so.
83375
83376 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
83377 Ulrich Drepper <drepper@gmail.com>
83378
83379 * sysdeps/x86_64/memset.S: After aligning destination, code
83380 branches to different locations depending on the value of
83381 misalignment, when multiarch is enabled. Fix this.
83382
83383 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
83384
83385 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
83386 Set _x86_64_preferred_memory_instruction for AMD processsors.
83387 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83388 Set bit_Prefer_SSE_for_memop for AMD processors.
83389
83390 2011-03-04 Ulrich Drepper <drepper@gmail.com>
83391
83392 * libio/fmemopen.c (fmemopen): Optimize a bit.
83393
83394 2011-03-03 Andreas Schwab <schwab@redhat.com>
83395
83396 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
83397
83398 2011-03-03 Roland McGrath <roland@redhat.com>
83399
83400 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
83401
83402 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
83403
83404 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
83405 __bzero_ultra1 instead of __memset_ultra1.
83406
83407 2011-02-23 Andreas Schwab <schwab@redhat.com>
83408 Ulrich Drepper <drepper@gmail.com>
83409
83410 [BZ #12509]
83411 * include/link.h (struct link_map): Add l_orig_initfini.
83412 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
83413 returning unsuccessfully.
83414 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
83415 close of a file loaded at startup, restore the original l_initfini
83416 list.
83417 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
83418 list, store the pointer.
83419 * elf/Makefile ($(objpfx)noload-mem): New rule.
83420 (noload-ENV): Define.
83421 (tests): Add $(objpfx)noload-mem.
83422 * elf/noload.c: Include <memcheck.h>.
83423 (main): Call mtrace. Close all opened handles.
83424
83425 2011-02-17 Andreas Schwab <schwab@redhat.com>
83426
83427 [BZ #12454]
83428 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
83429 dependencies are missing.
83430
83431 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
83432
83433 Fix __if_freereq crash: Unlike the generic version which uses free,
83434 Hurd needs munmap.
83435 * sysdeps/mach/hurd/ifreq.h: New file.
83436
83437 2011-01-27 Petr Baudis <pasky@suse.cz>
83438 Ulrich Drepper <drepper@gmail.com>
83439
83440 [BZ 12445]#
83441 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
83442 to extend_alloca().
83443 * stdio-common/bug23.c: New file.
83444 * stdio-common/Makefile (tests): Add bug23.
83445
83446 2010-09-28 Andreas Schwab <schwab@redhat.com>
83447 Ulrich Drepper <drepper@gmail.com>
83448
83449 [BZ #12489]
83450 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
83451 before performing relro protection. At old place add assertion
83452 to make sure nothing changed.
83453
83454 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
83455 Glauber de Oliveira Costa <glommer@gmail.com>
83456
83457 * elf/elf.h: Add new ARM TLS relocs.
83458
83459 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
83460
83461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
83462 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
83463 cast from r3.
83464 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
83465 'tests' variable.
83466 * sysdeps/wordsize-64/tst-writev.c: New file.
83467
83468 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
83469
83470 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
83471 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
83472 insns in _dl_start to prevent a TOC reference before relocs are
83473 resolved.
83474
83475 2011-02-15 Ulrich Drepper <drepper@gmail.com>
83476
83477 [BZ #12469]
83478 * Makeconfig: Remove RANLIB definition.
83479 * Makerules: Don't use RANLIB.
83480 * aclocal.m4: Remove ranlib test.
83481 * configure.in: No need to check for ranlib.
83482 * elf/rtld-Rules: Don't use RANLIB.
83483
83484 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
83485
83486 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
83487 protection macro.
83488 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
83489 inclusion protection macro.
83490
83491 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
83492 SIGRTMIN and SIGRTMAX and print information in that case only when
83493 SIGRTMIN is defined.
83494
83495 2011-02-11 Jakub Jelinek <jakub@redhat.com>
83496
83497 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
83498 arginfo fn returning -1.
83499
83500 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
83501 and thousands string is zero terminated.
83502
83503 2011-02-03 Andreas Schwab <schwab@redhat.com>
83504
83505 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
83506 sysdeps/unix/sysv/linux/bits/socket.h.
83507
83508 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
83509
83510 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
83511 (__CPU_COUNT): Remove old macros.
83512 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
83513 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
83514 (__CPU_ALLOC, __CPU_FREE): Add macros.
83515 (__sched_cpualloc, __sched_cpufree): Add declarations.
83516
83517 2011-02-05 Ulrich Drepper <drepper@gmail.com>
83518
83519 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
83520 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
83521 * nscd/aicache.c (addhstaiX): Return timeout of added value.
83522 (readdhstai): Return value of addhstaiX call.
83523 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
83524 (addgrbyX): Return value returned by cache_addgr.
83525 (readdgrbyname): Return value returned by addgrbyX.
83526 (readdgrbygid): Likewise.
83527 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
83528 (addpwbyX): Return value returned by cache_addpw.
83529 (readdpwbyname): Return value returned by addhstbyX.
83530 (readdpwbyuid): Likewise.
83531 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
83532 (addservbyX): Return value returned by cache_addserv.
83533 (readdservbyname): Return value returned by addservbyX:
83534 (readdservbyport): Likewise.
83535 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
83536 (addhstbyX): Return value returned by cache_addhst.
83537 (readdhstbyname): Return value returned by addhstbyX.
83538 (readdhstbyaddr): Likewise.
83539 (readdhstbynamev6): Likewise.
83540 (readdhstbyaddrv6): Likewise.
83541 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
83542 (readdinitgroups): Return value returned by addinitgroupsX.
83543 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
83544 (prune_cache): Keep track of timeout value of re-added entries.
83545 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
83546 * nscd/nscd.h: Adjust prototypes of readd* functions.
83547
83548 2011-02-04 Roland McGrath <roland@redhat.com>
83549
83550 * nis/nis_server.c (nis_servstate): Use the right name for 0.
83551 (nis_stats): Likewise.
83552 * nis/nis_modify.c (nis_modify): Likewise.
83553 * nis/nis_remove.c (nis_remove): Likewise.
83554 * nis/nis_add.c (nis_add): Likewise.
83555
83556 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
83557
83558 * posix/fnmatch_loop.c: Add some consts.
83559
83560 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
83561
83562 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
83563
83564 [BZ #12460]
83565 * config.make.in (config-cflags-novzeroupper): Define.
83566 * configure.in: Substitute libc_cv_cc_novzeroupper.
83567 * elf/Makefile (AVX-CFLAGS): Define.
83568 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
83569 (CFLAGS-tst-auditmod4a.c): Likewise.
83570 (CFLAGS-tst-auditmod4b.c): Likewise.
83571 (CFLAGS-tst-auditmod6b.c): Likewise.
83572 (CFLAGS-tst-auditmod6c.c): Likewise.
83573 (CFLAGS-tst-auditmod7b.c): Likewise.
83574 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
83575
83576 2011-02-02 Ulrich Drepper <drepper@gmail.com>
83577
83578 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
83579 function to the callback.
83580 Patch partly by Jiri Olsa <jolsa@redhat.com>.
83581
83582 2011-02-02 Andreas Schwab <schwab@redhat.com>
83583
83584 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
83585 of errno.
83586
83587 2011-01-19 Ulrich Drepper <drepper@gmail.com>
83588
83589 [BZ #11724]
83590 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
83591 of constructors.
83592 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
83593 of destructors.
83594 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
83595
83596 [BZ #11724]
83597 * elf/Makefile: Add rules to build and run new test.
83598 * elf/tst-initorder.c: New file.
83599 * elf/tst-initorder.exp: New file.
83600 * elf/tst-initordera1.c: New file.
83601 * elf/tst-initordera2.c: New file.
83602 * elf/tst-initordera3.c: New file.
83603 * elf/tst-initordera4.c: New file.
83604 * elf/tst-initorderb1.c: New file.
83605 * elf/tst-initorderb2.c: New file.
83606 * elf/tst-order-a1.c: New file.
83607 * elf/tst-order-a2.c: New file.
83608 * elf/tst-order-a3.c: New file.
83609 * elf/tst-order-a4.c: New file.
83610 * elf/tst-order-b1.c: New file.
83611 * elf/tst-order-b2.c: New file.
83612 * elf/tst-order-main.c: New file.
83613 New test case by George Gensure <werkt0@gmail.com>.
83614
83615 2010-10-01 Andreas Schwab <schwab@redhat.com>
83616
83617 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
83618 decoding ACE if AI_CANONIDN.
83619
83620 2011-01-18 Ulrich Drepper <drepper@gmail.com>
83621
83622 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
83623
83624 2011-01-17 Ulrich Drepper <drepper@gmail.com>
83625
83626 * version.h (RELEASE): Bump for 2.13 release.
83627 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
83628
83629 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
83630
83631 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
83632 MADV_NOHUGEPAGE.
83633 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
83634 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
83635 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
83636 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
83637 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
83638 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
83639
83640 * posix/getconf.c: Update copyright year.
83641 * catgets/gencat.c: Likewise.
83642 * csu/version.c: Likewise.
83643 * debug/catchsegv.sh: Likewise.
83644 * debug/xtrace.sh: Likewise.
83645 * elf/ldconfig.c: Likewise.
83646 * elf/ldd.bash.in: Likewise.
83647 * elf/sprof.c (print_version): Likewise.
83648 * iconv/iconv_prog.c: Likewise.
83649 * iconv/iconvconfig.c: Likewise.
83650 * locale/programs/locale.c: Likewise.
83651 * locale/programs/localedef.c: Likewise.
83652 * malloc/memusage.sh: Likewise.
83653 * malloc/mtrace.pl: Likewise.
83654 * nscd/nscd.c (print_version): Likewise.
83655 * nss/getent.c: Likewise.
83656
83657 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
83658 PF_CAIF, and PF_ALG.
83659 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83660
83661 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
83662
83663 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
83664 (modules-names): Use them.
83665 (ifunc-test-modules, ifunc-pie-tests): Define.
83666 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
83667 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
83668 (test-extras): Likewise.
83669 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
83670 $(compile-command.c).
83671 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
83672 (all-built-dso): Define.
83673 (check-textrel.out, check-execstack.out): Depend on it.
83674
83675 * configure.in: Don't override --enable-multi-arch.
83676
83677 2011-01-15 Ulrich Drepper <drepper@gmail.com>
83678
83679 [BZ #6812]
83680 * nscd/hstcache.c (tryagain): Define.
83681 (cache_addhst): Return tryagain not notfound for temporary errors.
83682 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
83683 failed.
83684
83685 2011-01-14 Ulrich Drepper <drepper@gmail.com>
83686
83687 [BZ #10563]
83688 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
83689 to make the syscall.
83690 * sysdeps/unix/sysv/linux/setgroups.c: New file.
83691
83692 [BZ #12378]
83693 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
83694 and fall back to matching as normal character if the string ends before
83695 the matching ']' is found. This is what POSIX requires.
83696 * posix/testfnm.c: Adjust test result.
83697 * posix/globtest.sh: Adjust test result. Add new test.
83698 * posix/tst-fnmatch.input: Likewise.
83699 * posix/tst-fnmatch2.c: Add new test.
83700
83701 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
83702
83703 * elf/Makefile (check-execstack): Revert last change. Depend on
83704 check-execstack.h.
83705 (check-execstack.h): New target.
83706 (generated): Add check-execstack.h.
83707 * elf/check-execstack.c: Include "check-execstack.h".
83708 (main): Revert last change.
83709 (handle_file): Return zero if GNU_STACK is absent and
83710 DEFAULT_STACK_PERMS doesn't include PF_X.
83711
83712 2011-01-13 Ulrich Drepper <drepper@gmail.com>
83713
83714 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
83715 in child fails because the descriptor is already closed.
83716 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
83717 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
83718 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
83719
83720 [BZ #12397]
83721 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
83722 syscall.
83723
83724 [BZ #10484]
83725 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
83726 temporary buffer used to handle multi lookups locally.
83727 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
83728
83729 2011-01-12 Ulrich Drepper <drepper@gmail.com>
83730
83731 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
83732 loader is ld.so.
83733
83734 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
83735
83736 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
83737 alignment for SSE2.
83738
83739 2011-01-12 Ulrich Drepper <drepper@gmail.com>
83740
83741 [BZ #12394]
83742 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
83743 characters. When rounding increased number of integer digits recompute
83744 number of groups.
83745 * stdio-common/tst-grouping.c: New file.
83746 * stdio-common/Makefile: Add rules to build and run tst-grouping.
83747
83748 2011-01-09 Ulrich Drepper <drepper@gmail.com>
83749
83750 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
83751 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
83752
83753 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
83754 void.
83755 * bits/select.h: Likewise.
83756
83757 2011-01-08 Ulrich Drepper <drepper@gmail.com>
83758
83759 * po/ja.po: Update from translation team.
83760
83761 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
83762
83763 [BZ #11155]
83764 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
83765 implementation just like for lxstat, fxstatat, et al.
83766
83767 2010-12-27 Jim Meyering <meyering@redhat.com>
83768
83769 [BZ #12348]
83770 * posix/regexec.c (build_trtable): Return failure indication upon
83771 calloc failure. Otherwise, re_search_internal could infloop on OOM.
83772
83773 2010-12-25 Ulrich Drepper <drepper@gmail.com>
83774
83775 [BZ #12201]
83776 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
83777 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
83778 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
83779 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
83780
83781 [BZ #12207]
83782 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
83783
83784 [BZ #12204]
83785 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
83786 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
83787
83788 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
83789
83790 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
83791 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
83792 script has SORT_BY_INIT_PRIORITY.
83793 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
83794 NO_CTORS_DTORS_SECTIONS is defined.
83795 * elf/soinit.c: Likewise.
83796 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
83797 NO_CTORS_DTORS_SECTIONS is defined.
83798 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
83799 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
83800 * sysdeps/sh/init-first.c: Likewise.
83801 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
83802
83803 2010-12-24 Ulrich Drepper <drepper@gmail.com>
83804
83805 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
83806 always use the slow path.
83807
83808 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
83809
83810 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
83811 similar rule which adds the sysdep directories to the header search in
83812 order to pick up the correct platform stackinfo.h.
83813 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
83814 perform test if it is, otherwise return successfully without testing.
83815 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
83816 DEFAULT_STACK_PERMS define in stackinfo.h.
83817 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
83818 defined in stackinfo.h.
83819 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
83820 DEFAULT_STACK_PERMS defined in stackinfo.h.
83821 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
83822 * sysdeps/ia64/stackinfo.h: Likewise.
83823 * sysdeps/s390/stackinfo.h: Likewise.
83824 * sysdeps/sh/stackinfo.h: Likewise.
83825 * sysdeps/sparc/stackinfo.h: Likewise.
83826 * sysdeps/x86_64/stackinfo.h: Likewise.
83827 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
83828 PF_X for powerpc64. Retain PF_X for powerpc32.
83829
83830 2010-12-19 Ulrich Drepper <drepper@gmail.com>
83831
83832 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
83833 accurately.
83834 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
83835 GETDENTS_64BIT_ALIGNED.
83836
83837 2010-12-14 Ulrich Drepper <dreper@gmail.com>
83838
83839 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
83840
83841 2010-12-10 Andreas Schwab <schwab@redhat.com>
83842
83843 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
83844 _GNU_SOURCE.
83845
83846 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
83847 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
83848 Remove __restrict.
83849 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
83850 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
83851
83852 2010-12-09 Ulrich Drepper <drepper@gmail.com>
83853
83854 [BZ #11655]
83855 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
83856 are initialized.
83857
83858 2010-12-09 Jakub Jelinek <jakub@redhat.com>
83859
83860 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
83861
83862 2010-12-03 Ulrich Drepper <drepper@gmail.com>
83863
83864 * po/it.po: Update from translation team.
83865
83866 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
83867
83868 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
83869 unused codes.
83870
83871 2010-11-30 Ulrich Drepper <drepper@gmail.com>
83872
83873 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
83874
83875 2010-11-24 Andreas Schwab <schwab@redhat.com>
83876
83877 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
83878 specially.
83879 (gaih_getanswer_slice): Likewise.
83880
83881 2010-10-20 Jakub Jelinek <jakub@redhat.com>
83882
83883 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
83884
83885 2010-05-31 Petr Baudis <pasky@suse.cz>
83886
83887 [BZ #11149]
83888 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
83889 silently even in the chroot mode.
83890
83891 2010-11-22 Ulrich Drepper <drepper@gmail.com>
83892
83893 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
83894 last patch a bit. Pretty printing
83895
83896 2010-05-31 Petr Baudis <pasky@suse.cz>
83897
83898 [BZ #10085]
83899 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
83900 initialization of skip_initgroups_dyn.
83901
83902 2010-11-19 Ulrich Drepper <drepper@gmail.com>
83903
83904 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
83905 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
83906
83907 2010-11-16 Ulrich Drepper <drepper@gmail.com>
83908
83909 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
83910
83911 2010-11-11 Andreas Schwab <schwab@redhat.com>
83912
83913 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
83914 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
83915 (tst-fnmatch-ENV): Set MALLOC_TRACE.
83916 ($(objpfx)tst-fnmatch-mem): New rule.
83917 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
83918 * posix/tst-fnmatch.c (main): Call mtrace.
83919
83920 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
83921
83922 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83923 Support Intel processor model 6 and model 0x2c.
83924
83925 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
83926
83927 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
83928 signed comparison.
83929
83930 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
83931
83932 [BZ #12205]
83933 * string/test-strncasecmp.c (check_result): New function.
83934 (do_one_test): Use it.
83935 (check1): New function.
83936 (test_main): Use it.
83937 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
83938 Support strcasecmp and strncasecmp.
83939
83940 2010-11-08 Ulrich Drepper <drepper@gmail.com>
83941
83942 [BZ #12194]
83943 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
83944 * sysdeps/x86_64/bits/byteswap.h: Likewise.
83945
83946 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
83947
83948 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
83949 IFUNC support.
83950 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83951 memset-x86-64.
83952 * sysdeps/x86_64/multiarch/bzero.S: New file.
83953 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
83954 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
83955 * sysdeps/x86_64/multiarch/memset.S: New file.
83956 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
83957 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83958 Set bit_Prefer_SSE_for_memop for Intel processors.
83959 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
83960 Define.
83961 (index_Prefer_SSE_for_memop): Define.
83962 (HAS_PREFER_SSE_FOR_MEMOP): Define.
83963
83964 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
83965
83966 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
83967 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
83968
83969 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
83970
83971 [BZ #12191]
83972 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
83973 (__x86_64_raw_data_cache_size_half): Likewise.
83974 (__x86_64_raw_shared_cache_size): Likewise.
83975 (__x86_64_raw_shared_cache_size_half): Likewise.
83976
83977 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
83978 (__x86_64_raw_data_cache_size_half): Likewise.
83979 (__x86_64_raw_shared_cache_size): Likewise.
83980 (__x86_64_raw_shared_cache_size_half): Likewise.
83981 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
83982 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
83983 and __x86_64_raw_shared_cache_size_half. Round
83984 __x86_64_data_cache_size_half, __x86_64_data_cache_size
83985 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
83986 to multiple of 256 bytes.
83987
83988 2010-11-03 Ulrich Drepper <drepper@gmail.com>
83989
83990 [BZ #12167]
83991 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
83992 of inacessible symlinks. Verify result of symlink before returning it.
83993 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
83994 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
83995
83996 2010-10-28 Erich Ritz <erichritz@gmail.com>
83997
83998 * math/math.h (isinf): Fix typo in comment.
83999
84000 2010-11-01 Ulrich Drepper <drepper@gmail.com>
84001
84002 * po/da.po: Update from translation team.
84003
84004 2010-10-26 Ulrich Drepper <drepper@gmail.com>
84005
84006 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
84007 is added to the list.
84008
84009 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
84010 Ulrich Drepper <drepper@gmail.com>
84011
84012 * elf/dl-object.c (_dl_new_object): Don't append the new object to
84013 the global list here. Move code to...
84014 (_dl_add_to_namespace_list): ...here. New function.
84015 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
84016 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
84017 * elf/dl-load.c (lose): Don't remove the element from the list.
84018 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
84019 (_dl_map_object): Likewise.
84020
84021 2010-10-25 Ulrich Drepper <drepper@gmail.com>
84022
84023 [BZ #12159]
84024 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
84025 into all bytes of SSE register.
84026 Patch by Richard Li <richardpku@gmail.com>.
84027
84028 2010-10-24 Ulrich Drepper <drepper@gmail.com>
84029
84030 [BZ #12140]
84031 * malloc/malloc.c (_int_free): Fill correct number of bytes when
84032 perturbing.
84033
84034 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
84035
84036 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
84037 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
84038 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
84039 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
84040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
84041 submachine.
84042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
84043
84044 2010-10-22 Andreas Schwab <schwab@redhat.com>
84045
84046 * include/dlfcn.h (__RTLD_SECURE): Define.
84047 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
84048 mode & __RTLD_SECURE instead.
84049 (open_path): Rename preloaded parameter to secure.
84050 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
84051 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
84052 * elf/dl-deps.c (openaux): Likewise.
84053 * elf/rtld.c (struct map_args): Remove is_preloaded.
84054 (map_doit): Don't use it.
84055 (dl_main): Likewise.
84056 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
84057 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
84058
84059 2010-09-09 Andreas Schwab <schwab@redhat.com>
84060
84061 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
84062 (sysd-rules-targets): Remove duplicates.
84063 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
84064 rtld-%.$o dependency.
84065
84066 2010-10-18 Andreas Schwab <schwab@redhat.com>
84067
84068 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
84069 _dl_map_object do it.
84070
84071 2010-10-19 Ulrich Drepper <drepper@gmail.com>
84072
84073 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
84074 fast fma builtins, define the macros in the C99 standard.
84075 (FP_FAST_FMAF): Likewise.
84076 (FP_FAST_FMAL): Likewise.
84077 * sysdeps/x86_64/bits/mathdef.h: Likewise.
84078
84079 * bits/mathdef.h: Update copyright year.
84080 * sysdeps/powerpc/bits/mathdef.h: Likewise.
84081
84082 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
84083
84084 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
84085 builtins, define the macros in the C99 standard.
84086 (FP_FAST_FMAF): Likewise.
84087 (FP_FAST_FMAL): Likewise.
84088 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
84089 multiply/add.
84090 (FP_FAST_FMAF): Likewise.
84091
84092 2010-10-15 Jakub Jelinek <jakub@redhat.com>
84093
84094 [BZ #3268]
84095 * math/libm-test.inc (fma_test): Some new testcases.
84096 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
84097 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
84098 y and infinite z. Do multiplication by C already in long double.
84099 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
84100 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
84101 y and infinite z. Do bitwise or of inexact bit into u.d.
84102 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
84103 * sysdeps/i386/fpu/s_fmaf.S: Removed.
84104 * sysdeps/i386/fpu/s_fma.S: Removed.
84105 * sysdeps/i386/fpu/s_fmal.S: Removed.
84106
84107 2010-10-16 Jakub Jelinek <jakub@redhat.com>
84108
84109 [BZ #3268]
84110 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
84111 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
84112 computation is not scheduled after fetestexcept. Fix value
84113 of minimum denormal long double.
84114
84115 2010-10-14 Jakub Jelinek <jakub@redhat.com>
84116
84117 [BZ #3268]
84118 * math/libm-test.inc (fma_test): Add some more tests.
84119 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
84120 correctly.
84121
84122 2010-10-15 Andreas Schwab <schwab@redhat.com>
84123
84124 * scripts/data/localplt-s390-linux-gnu.data: New file.
84125 * scripts/data/localplt-s390x-linux-gnu.data: New file.
84126
84127 2010-10-13 Jakub Jelinek <jakub@redhat.com>
84128
84129 [BZ #3268]
84130 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
84131 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
84132 instead of dbl-64.
84133 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
84134 inlines.
84135 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
84136 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
84137 if one of x and y is very large and the other is subnormal.
84138 * sysdeps/s390/fpu/s_fmaf.c: New file.
84139 * sysdeps/s390/fpu/s_fma.c: New file.
84140 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
84141 * sysdeps/powerpc/fpu/s_fma.S: New file.
84142 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
84143 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
84144 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
84145
84146 2010-10-12 Jakub Jelinek <jakub@redhat.com>
84147
84148 [BZ #3268]
84149 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
84150 fma tests.
84151 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
84152 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
84153 * sysdeps/i386/i686/multiarch/s_fma.c: Include
84154 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
84155 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
84156 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
84157 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
84158
84159 2010-10-12 Ulrich Drepper <drepper@redhat.com>
84160
84161 [BZ #12078]
84162 * posix/regcomp.c (parse_branch): One more memory leak plugged.
84163 * posix/bug-regex31.input: Add test case.
84164
84165 2010-10-11 Ulrich Drepper <drepper@gmail.com>
84166
84167 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
84168 * posix/bug-regex31.input: New file.
84169
84170 [BZ #12078]
84171 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
84172 (parse_sub_exp): Fix last change, use postorder.
84173
84174 * posix/bug-regex31.c: New file.
84175 * posix/Makefile: Add rules to build and run bug-regex31.
84176
84177 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
84178
84179 [BZ #12078]
84180 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
84181
84182 [BZ #12108]
84183 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
84184 to have entries in sys_siglist.
84185
84186 [BZ #12093]
84187 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
84188 be NULL.
84189
84190 2010-10-07 Jakub Jelinek <jakub@redhat.com>
84191
84192 [BZ #3268]
84193 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
84194 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
84195 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
84196 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
84197 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84198 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
84199 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
84200 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
84201 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
84202 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
84203 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
84204 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
84205 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
84206 * math/ftestexcept.c (fetestexcept): Likewise.
84207 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
84208 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
84209 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
84210 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
84211 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
84212 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
84213 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
84214
84215 2010-10-11 Ulrich Drepper <drepper@gmail.com>
84216
84217 [BZ #12107]
84218 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
84219 newline.
84220
84221 2010-10-06 Ulrich Drepper <drepper@gmail.com>
84222
84223 * string/bug-strstr1.c: New file.
84224 * string/Makefile: Add rules to build and run bug-strstr1.
84225
84226 2010-10-05 Eric Blake <eblake@redhat.com>
84227
84228 [BZ #12092]
84229 * string/str-two-way.h (two_way_long_needle): Always clear memory
84230 when skipping input due to the shift table.
84231
84232 2010-10-03 Ulrich Drepper <drepper@gmail.com>
84233
84234 [BZ #12005]
84235 * malloc/mcheck.c: Handle large requests.
84236
84237 [BZ #12077]
84238 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
84239 for strncmp and strncasecmp.
84240 * string/stratcliff.c: Add tests for strcmp and strncmp.
84241 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
84242
84243 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84244
84245 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
84246 __set_fpscr.
84247
84248 2010-09-30 Andreas Jaeger <aj@suse.de>
84249
84250 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
84251 (CGROUP_SUPER_MAGIC): Define.
84252 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84253 Handle btrfs and cgroup file systems.
84254 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
84255 Likewise.
84256
84257 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
84258
84259 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
84260 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
84261
84262 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
84263
84264 [BZ #12067]
84265 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
84266 trying to locate the ELF header.
84267
84268 2010-09-27 Andreas Schwab <schwab@redhat.com>
84269
84270 [BZ #11611]
84271 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
84272 Mask out sign-bit copies when constructing f_fsid.
84273
84274 2010-09-24 Petr Baudis <pasky@suse.cz>
84275
84276 * debug/stack_chk_fail_local.c: Add missing licence exception.
84277 * debug/warning-nop.c: Likewise.
84278
84279 2010-09-15 Joseph Myers <joseph@codesourcery.com>
84280
84281 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
84282 implementing getdents64 using getdents syscall, set d_type if
84283 __ASSUME_GETDENTS32_D_TYPE.
84284
84285 2010-09-16 Andreas Schwab <schwab@redhat.com>
84286
84287 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
84288 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
84289
84290 2010-09-21 Ulrich Drepper <drepper@redhat.com>
84291
84292 [BZ #12037]
84293 * posix/unistd.h: Undo change of feature selection for ftruncate from
84294 2010-01-11.
84295
84296 2010-09-20 Ulrich Drepper <drepper@redhat.com>
84297
84298 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
84299 detection.
84300
84301 2010-09-20 Andreas Schwab <schwab@redhat.com>
84302
84303 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
84304 fanotify_mark.
84305 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
84306
84307 2010-09-14 Andreas Schwab <schwab@redhat.com>
84308
84309 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
84310 variables after CHECK_SP call.
84311 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
84312
84313 2010-09-13 Andreas Schwab <schwab@redhat.com>
84314 Ulrich Drepper <drepper@redhat.com>
84315
84316 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
84317 re-relocationg ld.so.
84318 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
84319 _dl_init_paths call.
84320 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
84321 here anymore.
84322
84323 2010-09-14 Ulrich Drepper <drepper@redhat.com>
84324
84325 * resolv/res_init.c (__res_vinit): Count the default server we added.
84326
84327 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
84328 Ulrich Drepper <drepper@redhat.com>
84329
84330 [BZ #11968]
84331 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
84332 (____longjmp_chk): Use %ebx for saving value across system call.
84333 Add unwind info.
84334
84335 2010-09-06 Andreas Schwab <schwab@redhat.com>
84336
84337 * manual/Makefile: Don't mix pattern rules with normal rules.
84338
84339 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
84340
84341 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
84342 operation.
84343 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
84344 * libio/iofopncook.c (_IO_cookie_init): Likewise.
84345 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
84346 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
84347 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84348 Likewise.
84349
84350 2010-09-04 Ulrich Drepper <drepper@redhat.com>
84351
84352 [BZ #11979]
84353 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
84354 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
84355
84356 2010-09-02 Ulrich Drepper <drepper@redhat.com>
84357
84358 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
84359 * sysdeps/x86_64/addmul_1.S: Likewise.
84360 * sysdeps/x86_64/lshift.S: Likewise.
84361 * sysdeps/x86_64/mul_1.S: Likewise.
84362 * sysdeps/x86_64/rshift.S: Likewise.
84363 * sysdeps/x86_64/sub_n.S: Likewise.
84364 * sysdeps/x86_64/submul_1.S: Likewise.
84365
84366 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
84367
84368 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
84369 Define __sched_param instead of SCHED_* and sched_param when
84370 <bits/sched.h> is included with __need_schedparam defined.
84371 * bits/sched.h [__need_schedparam]
84372 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
84373 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
84374 (__defined_schedparam): Define to 1.
84375 (__sched_param): New structure, identical to sched_param.
84376 (__need_schedparam): Undefine.
84377
84378 2010-08-31 Mike Frysinger <vapier@gentoo.org>
84379
84380 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
84381 (epoll_create1): Declare.
84382
84383 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
84384
84385 2010-08-31 Andreas Schwab <schwab@redhat.com>
84386
84387 [BZ #7066]
84388 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
84389 shifting retval into place.
84390
84391 2010-09-01 Ulrich Drepper <drepper@redhat.com>
84392
84393 * nis/rpcsvc/nis.h: Update copyright notice.
84394 * nis/rpcsvc/nis.x: Likewise.
84395 * nis/rpcsvc/nis_callback.h: Likewise.
84396 * nis/rpcsvc/nis_callback.x: Likewise.
84397 * nis/rpcsvc/nis_object.x: Likewise.
84398 * nis/rpcsvc/nis_tags.h: Likewise.
84399 * nis/rpcsvc/yp.h: Likewise.
84400 * nis/rpcsvc/yp.x: Likewise.
84401 * nis/rpcsvc/ypupd.h: Likewise.
84402 * nis/yp_xdr.c: Likewise.
84403 * nis/ypupdate_xdr.c: Likewise.
84404
84405 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
84406 mainly the body of pmap_getport. Add parameters to specify timeouts.
84407 (pmap_getport): Use __libc_rpc_getport.
84408 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
84409 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
84410 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
84411
84412 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
84413
84414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
84415 fanotify_mark.
84416
84417 2010-08-27 Roland McGrath <roland@redhat.com>
84418
84419 * sysdeps/i386/i686/multiarch/Makefile
84420 (CFLAGS-varshift.c): New variable.
84421
84422 2010-08-27 Ulrich Drepper <drepper@redhat.com>
84423
84424 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
84425 * sysdeps/i386/i686/multiarch/varshift.c: New file.
84426
84427 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
84428
84429 * sysdeps/x86_64/strlen.S: Minimal code improvement.
84430
84431 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
84432
84433 * sysdeps/x86_64/strlen.S: Unroll the loop.
84434 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84435 strlen-sse2 strlen-sse2-bsf.
84436 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
84437 __strlen_no_bsf if bit_Slow_BSF is set.
84438 (__strlen_sse42): Removed.
84439 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
84440 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
84441
84442 2010-08-25 Roland McGrath <roland@redhat.com>
84443
84444 * sysdeps/x86_64/multiarch/varshift.S: File removed.
84445 * sysdeps/x86_64/multiarch/varshift.c: New file.
84446 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
84447 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
84448 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
84449 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
84450
84451 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
84452
84453 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84454 strlen-sse2 strlen-sse2-bsf.
84455 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
84456 __strlen_sse2_bsf if bit_Slow_BSF is unset.
84457 (__strlen_sse2): Removed.
84458 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
84459 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
84460 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
84461 bit_Slow_BSF for Atom.
84462 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
84463 (index_Slow_BSF): Define.
84464 (HAS_SLOW_BSF): Define.
84465
84466 2010-08-25 Ulrich Drepper <drepper@redhat.com>
84467
84468 [BZ #10851]
84469 * resolv/res_init.c (__res_vinit): When no server address at all
84470 is given default to loopback.
84471
84472 2010-08-24 Roland McGrath <roland@redhat.com>
84473
84474 * configure.in: Remove config-name.h generation.
84475 * configure: Regenerated.
84476 * config-name.in: File removed.
84477 * scripts/config-uname.sh: New file.
84478 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
84479 ($(objdir)config-name.h): New target.
84480
84481 * sunrpc/rpc_parse.h: Avoid nested comment.
84482
84483 2010-08-24 Richard Henderson <rth@redhat.com>
84484 Ulrich Drepper <drepper@redhat.com>
84485 H.J. Lu <hongjiu.lu@intel.com>
84486
84487 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
84488 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
84489 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
84490 Replace _mm_srli_si128 with __m128i_shift_right. Replace
84491 _mm_alignr_epi8 with _mm_loadu_si128.
84492 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
84493 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
84494 (__m128i_shift_right): Removed.
84495 * sysdeps/i386/i686/multiarch/varshift.h: New file.
84496 * sysdeps/i386/i686/multiarch/varshift.S: New file.
84497 * sysdeps/x86_64/multiarch/varshift.h: New file.
84498 * sysdeps/x86_64/multiarch/varshift.S: New file.
84499
84500 2010-08-21 Mike Frysinger <vapier@gentoo.org>
84501
84502 * configure.in: Move assembler checks to before sysdep dir checking.
84503
84504 2010-08-20 Petr Baudis <pasky@suse.cz>
84505
84506 * LICENSES: Sync the sunrpc license.
84507
84508 2010-08-19 Ulrich Drepper <drepper@redhat.com>
84509
84510 * sunrpc/auth_des.c: Update copyright notice once again.
84511 * sunrpc/auth_none.c: Likewise.
84512 * sunrpc/auth_unix.c: Likewise.
84513 * sunrpc/authdes_prot.c: Likewise.
84514 * sunrpc/authuxprot.c: Likewise.
84515 * sunrpc/bindrsvprt.c: Likewise.
84516 * sunrpc/clnt_gen.c: Likewise.
84517 * sunrpc/clnt_perr.c: Likewise.
84518 * sunrpc/clnt_raw.c: Likewise.
84519 * sunrpc/clnt_simp.c: Likewise.
84520 * sunrpc/clnt_tcp.c: Likewise.
84521 * sunrpc/clnt_udp.c: Likewise.
84522 * sunrpc/clnt_unix.c: Likewise.
84523 * sunrpc/des_crypt.c: Likewise.
84524 * sunrpc/des_soft.c: Likewise.
84525 * sunrpc/get_myaddr.c: Likewise.
84526 * sunrpc/getrpcport.c: Likewise.
84527 * sunrpc/key_call.c: Likewise.
84528 * sunrpc/key_prot.c: Likewise.
84529 * sunrpc/openchild.c: Likewise.
84530 * sunrpc/pm_getmaps.c: Likewise.
84531 * sunrpc/pm_getport.c: Likewise.
84532 * sunrpc/pmap_clnt.c: Likewise.
84533 * sunrpc/pmap_prot.c: Likewise.
84534 * sunrpc/pmap_prot2.c: Likewise.
84535 * sunrpc/pmap_rmt.c: Likewise.
84536 * sunrpc/rpc/auth.h: Likewise.
84537 * sunrpc/rpc/auth_unix.h: Likewise.
84538 * sunrpc/rpc/clnt.h: Likewise.
84539 * sunrpc/rpc/des_crypt.h: Likewise.
84540 * sunrpc/rpc/key_prot.h: Likewise.
84541 * sunrpc/rpc/netdb.h: Likewise.
84542 * sunrpc/rpc/pmap_clnt.h: Likewise.
84543 * sunrpc/rpc/pmap_prot.h: Likewise.
84544 * sunrpc/rpc/pmap_rmt.h: Likewise.
84545 * sunrpc/rpc/rpc.h: Likewise.
84546 * sunrpc/rpc/rpc_des.h: Likewise.
84547 * sunrpc/rpc/rpc_msg.h: Likewise.
84548 * sunrpc/rpc/svc.h: Likewise.
84549 * sunrpc/rpc/svc_auth.h: Likewise.
84550 * sunrpc/rpc/types.h: Likewise.
84551 * sunrpc/rpc/xdr.h: Likewise.
84552 * sunrpc/rpc_clntout.c: Likewise.
84553 * sunrpc/rpc_cmsg.c: Likewise.
84554 * sunrpc/rpc_common.c: Likewise.
84555 * sunrpc/rpc_cout.c: Likewise.
84556 * sunrpc/rpc_dtable.c: Likewise.
84557 * sunrpc/rpc_hout.c: Likewise.
84558 * sunrpc/rpc_main.c: Likewise.
84559 * sunrpc/rpc_parse.c: Likewise.
84560 * sunrpc/rpc_parse.h: Likewise.
84561 * sunrpc/rpc_prot.c: Likewise.
84562 * sunrpc/rpc_sample.c: Likewise.
84563 * sunrpc/rpc_scan.c: Likewise.
84564 * sunrpc/rpc_scan.h: Likewise.
84565 * sunrpc/rpc_svcout.c: Likewise.
84566 * sunrpc/rpc_tblout.c: Likewise.
84567 * sunrpc/rpc_util.c: Likewise.
84568 * sunrpc/rpc_util.h: Likewise.
84569 * sunrpc/rpcinfo.c: Likewise.
84570 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
84571 * sunrpc/rpcsvc/key_prot.x: Likewise.
84572 * sunrpc/rpcsvc/klm_prot.x: Likewise.
84573 * sunrpc/rpcsvc/mount.x: Likewise.
84574 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
84575 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
84576 * sunrpc/rpcsvc/rex.x: Likewise.
84577 * sunrpc/rpcsvc/rstat.x: Likewise.
84578 * sunrpc/rpcsvc/rusers.x: Likewise.
84579 * sunrpc/rpcsvc/sm_inter.x: Likewise.
84580 * sunrpc/rpcsvc/spray.x: Likewise.
84581 * sunrpc/rpcsvc/yppasswd.x: Likewise.
84582 * sunrpc/rtime.c: Likewise.
84583 * sunrpc/svc.c: Likewise.
84584 * sunrpc/svc_auth.c: Likewise.
84585 * sunrpc/svc_authux.c: Likewise.
84586 * sunrpc/svc_raw.c: Likewise.
84587 * sunrpc/svc_run.c: Likewise.
84588 * sunrpc/svc_simple.c: Likewise.
84589 * sunrpc/svc_tcp.c: Likewise.
84590 * sunrpc/svc_udp.c: Likewise.
84591 * sunrpc/svc_unix.c: Likewise.
84592 * sunrpc/svcauth_des.c: Likewise.
84593 * sunrpc/xcrypt.c: Likewise.
84594 * sunrpc/xdr.c: Likewise.
84595 * sunrpc/xdr_array.c: Likewise.
84596 * sunrpc/xdr_float.c: Likewise.
84597 * sunrpc/xdr_mem.c: Likewise.
84598 * sunrpc/xdr_rec.c: Likewise.
84599 * sunrpc/xdr_ref.c: Likewise.
84600 * sunrpc/xdr_sizeof.c: Likewise.
84601 * sunrpc/xdr_stdio.c: Likewise.
84602
84603 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
84604 handling.
84605
84606 2010-08-19 Andreas Schwab <schwab@redhat.com>
84607
84608 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
84609
84610 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
84611
84612 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
84613 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
84614 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
84615 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
84616 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
84617 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
84618 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
84619 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
84620 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
84621 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
84622 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
84623 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
84624 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
84625 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
84626
84627 2010-07-26 Anton Blanchard <anton@samba.org>
84628
84629 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
84630 * malloc/arena.c (heap_trim): Likewise.
84631
84632 2010-08-16 Ulrich Drepper <drepper@redhat.com>
84633
84634 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
84635 here. Not...
84636 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
84637 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
84638
84639 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
84640
84641 * sysdeps/i386/elf/Makefile: New file.
84642
84643 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
84644
84645 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
84646 from fanotify_init.
84647 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
84648 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
84649
84650 2010-08-15 Ulrich Drepper <drepper@redhat.com>
84651
84652 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
84653 of strncasecmp_l.
84654 * sysdeps/multiarch/strcmp.S: Likewise.
84655
84656 2010-08-14 Ulrich Drepper <drepper@redhat.com>
84657
84658 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
84659 strncase_l-nonascii.
84660 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
84661 Add strncase_l-ssse3.
84662 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
84663 * sysdeps/x86_64/strcmp.S: Likewise.
84664 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
84665 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
84666 * sysdeps/x86_64/strncase.S: New file.
84667 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
84668 * sysdeps/x86_64/strncase_l.S: New file.
84669 * string/Makefile (strop-tests): Add strncasecmp.
84670 * string/test-strncasecmp.c: New file.
84671
84672 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
84673 warning.
84674
84675 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
84676 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
84677
84678 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
84679
84680 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
84681
84682 2010-08-12 Ulrich Drepper <drepper@redhat.com>
84683
84684 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
84685 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
84686 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
84687
84688 2010-05-01 Alan Modra <amodra@gmail.com>
84689
84690 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
84691 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
84692 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
84693 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
84694 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
84695 tidying. Don't tail-call __sigjmp_save for static lib.
84696 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
84697 save location.
84698 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
84699 (CALL_MCOUNT): Add eh info, and nop after bl.
84700 (TAIL_CALL_SYSCALL_ERROR): New macro.
84701 (PSEUDO_RET): Use it.
84702 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
84703 Correct save location of integer regs and cr.
84704 (_dl_profile_resolve): Correct cr save location. Delete nops
84705 after bl when SHARED. Reduce cfi size a little by better
84706 placement of cfi directives.
84707 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
84708 make a stack frame. Instead use parm save area as a temp.
84709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
84710 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
84711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
84712 Don't make a stack frame for parent, use parm save area.
84713 Increase child stack frame to 112 bytes. Don't save unused reg,
84714 and adjust reg usage. Set up cfi on error recovery and
84715 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
84716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
84717 (__makecontext): Add dummy nop after jump to exit.
84718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
84719 Use correct parm save area and cr save, reduce stack frame.
84720 Correct cfi for possible PSEUDO_RET frame setup.
84721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
84722 Branch to local label emitted by PSEUDO_RET rather than
84723 __syscall_error.
84724
84725 2010-08-12 Andreas Schwab <schwab@redhat.com>
84726
84727 [BZ #11904]
84728 * locale/programs/locale.c (print_assignment): New function.
84729 (show_locale_vars): Use it.
84730
84731 2010-08-11 Ulrich Drepper <drepper@redhat.com>
84732
84733 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
84734 field.
84735 (struct statfs64): Likewise.
84736 (_STATFS_F_FLAGS): Define.
84737 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
84738 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84739 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
84740 (ST_VALID): Define locally.
84741 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
84742 __statvfs_getflags, use the provided value.
84743 * sysdeps/unix/sysv/linux/kernel-features.h: Define
84744 __ASSUME_STATFS_F_FLAGS.
84745
84746 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
84747
84748 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
84749 Add sys/fanotify.h.
84750 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
84751 fanotify_mask for GLIBC_2.13.
84752 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
84753 fanotify_init and fanotify_mark.
84754 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
84755 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
84756
84757 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
84758 Add prlimit.
84759 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
84760 prlimit64 for GLIBC_2.13.
84761 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
84762 prlimit64.
84763 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
84764 syscall.
84765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
84766 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
84767 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
84768 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
84769 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
84770 add prlimit alias.
84771 * sysdeps/unix/sysv/linux/prlimit.c: New file.
84772
84773 [BZ #11903]
84774 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
84775 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
84776
84777 * nss/Makefile: Add rules to build and run tst-nss-test1.
84778 * shlib-versions: Add entry for libnss_test1.
84779 * nss/nss_test1.c: New file.
84780 * nss/tst-nss-test1.c: New file.
84781
84782 * nss/nsswitch.c (__nss_database_custom): Define new variable.
84783 (__nss_configure_lookup): Set appropriate entry in
84784 __nss_configure_lookup to true.
84785 * nss/nsswitch.h: Define enum with indeces of databases in
84786 databases and __nss_database_custom arrays. Declare
84787 __nss_database_custom.
84788 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
84789 to avoid using nscd when custom rules are installed.
84790 * nss/getXXbyYY_r.c: Likewise.
84791 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
84792
84793 * nss/nss_files/files-parse.c: Whitespace fixes.
84794
84795 2010-08-09 Ulrich Drepper <drepper@redhat.com>
84796
84797 [BZ #11883]
84798 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
84799 * posix/fnmatch_loop.c: Likewise.
84800
84801 2010-07-17 Andi Kleen <ak@linux.intel.com>
84802
84803 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
84804 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
84805 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
84806 * Versions.def [GLIBC_2.13]: Add.
84807
84808 2010-08-06 Ulrich Drepper <drepper@redhat.com>
84809
84810 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
84811 Also fail if tpwd after pwuid call is NULL.
84812
84813 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
84814
84815 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
84816 when converting to ms.
84817
84818 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
84819
84820 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
84821 EOPNOTSUPP errors with ENOTTY.
84822 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
84823 EOPNOTSUPP errors with ENOTTY.
84824
84825 2010-07-31 Ulrich Drepper <drepper@redhat.com>
84826
84827 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
84828 Add strcasecmp_l-ssse3.
84829 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
84830 strcasecmp.
84831 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
84832 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
84833 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
84834
84835 2010-07-30 Ulrich Drepper <drepper@redhat.com>
84836
84837 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
84838
84839 * string/Makefile (strop-tests): Add strcasecmp.
84840 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
84841 strcasecmp_l-nonascii.
84842 (gen-as-const-headers): Add locale-defines.sym.
84843 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
84844 * sysdeps/x86_64/strcasecmp.S: New file.
84845 * sysdeps/x86_64/strcasecmp_l.S: New file.
84846 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
84847 * sysdeps/x86_64/locale-defines.sym: New file.
84848 * string/test-strcasecmp.c: New file.
84849
84850 * string/test-strcasestr.c: Test both ends of the range of characters.
84851 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
84852
84853 2010-07-29 Roland McGrath <roland@redhat.com>
84854
84855 [BZ #11856]
84856 * manual/locale.texi (Yes-or-No Questions): Fix example code.
84857
84858 2010-07-27 Ulrich Drepper <drepper@redhat.com>
84859
84860 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
84861 for ld.so.
84862
84863 2010-07-27 Andreas Schwab <schwab@redhat.com>
84864
84865 * manual/memory.texi (Malloc Tunable Parameters): Document
84866 M_PERTURB.
84867
84868 2010-07-26 Roland McGrath <roland@redhat.com>
84869
84870 [BZ #11840]
84871 * configure.in (-fgnu89-inline check): Set and substitute
84872 gnu89_inline, not libc_cv_gnu89_inline.
84873 * configure: Regenerated.
84874 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
84875
84876 2010-07-26 Ulrich Drepper <drepper@redhat.com>
84877
84878 * string/test-strnlen.c: New file.
84879 * string/Makefile (strop-tests): Add strnlen.
84880 * string/tester.c (test_strnlen): Add a few more test cases.
84881 * string/tst-strlen.c: Better error reporting.
84882
84883 * sysdeps/x86_64/strnlen.S: New file.
84884
84885 2010-07-24 Ulrich Drepper <drepper@redhat.com>
84886
84887 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
84888 lower-latency instructions.
84889
84890 2010-07-23 Ulrich Drepper <drepper@redhat.com>
84891
84892 * string/test-strcasestr.c: New file.
84893 * string/test-strstr.c: New file.
84894 * string/Makefile (strop-tests): Add strstr and strcasestr.
84895 * string/str-two-way.h: Don't undefine MAX.
84896 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
84897
84898 2010-07-21 Andreas Schwab <schwab@redhat.com>
84899
84900 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84901 strcasestr-nonascii.
84902 (CFLAGS-strcasestr-nonascii.c): Define.
84903 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
84904 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
84905 Remove unused attribute.
84906
84907 2010-07-20 Roland McGrath <roland@redhat.com>
84908
84909 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
84910 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
84911 ld.so.cache was broken. With it, there is no way to disable dsocaps
84912 like LD_HWCAP_MASK can disable hwcaps.
84913
84914 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
84915
84916 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
84917
84918 2010-07-16 Ulrich Drepper <drepper@redhat.com>
84919
84920 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
84921 call in strcasestr.
84922 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
84923 __strcasestr_sse42_nonascii.
84924 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
84925 strcasestr-nonascii.c.
84926 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
84927
84928 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
84929
84930 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
84931 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
84932 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
84933 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
84934
84935 2010-07-09 Ulrich Drepper <drepper@redhat.com>
84936
84937 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
84938 fcntl.
84939
84940 2010-07-06 Andreas Schwab <schwab@redhat.com>
84941
84942 [BZ #11577]
84943 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
84944 dl_signal_cerror.
84945
84946 2010-07-06 Ulrich Drepper <drepper@redhat.com>
84947
84948 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
84949 _PC_PIPE_BUF using F_GETPIPE_SZ.
84950
84951 2010-07-05 Roland McGrath <roland@redhat.com>
84952
84953 * manual/arith.texi (Rounding Functions): Fix rint description
84954 implicit in round description.
84955
84956 2010-07-02 Ulrich Drepper <drepper@redhat.com>
84957
84958 * elf/Makefile: Fix linking for a few tests to make recent linker
84959 happy.
84960
84961 2010-06-30 Andreas Schwab <schwab@redhat.com>
84962
84963 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
84964 $(common-objpfx)libc_nonshared.a.
84965
84966 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
84967
84968 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
84969 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
84970 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
84971 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
84972 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
84973 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
84974 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
84975 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
84976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
84977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
84978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
84979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
84980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
84981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
84982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
84983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
84984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
84985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
84986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
84987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
84988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
84989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
84990 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
84991 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
84992 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
84993 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
84994 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
84995 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
84996 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
84997 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
84998 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
84999 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
85000 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
85001 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
85002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
85003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
85004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
85005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
85006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
85007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
85008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
85009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
85010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
85011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
85012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
85013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
85014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
85015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
85016
85017 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
85018
85019 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
85020 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
85021 * string/memmove.c (memmove): Renamed to ...
85022 (MEMMOVE): ...this. Default to memmove.
85023 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
85024 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
85025 (END_CHK): Define.
85026 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85027 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
85028 mempcpy-ssse3-back memmove-ssse3-back.
85029 * sysdeps/x86_64/multiarch/bcopy.S: New file .
85030 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
85031 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
85032 * sysdeps/x86_64/multiarch/memcpy.S: New file.
85033 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
85034 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
85035 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
85036 * sysdeps/x86_64/multiarch/memmove.c: New file.
85037 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
85038 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
85039 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
85040 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
85041 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
85042 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
85043 Define.
85044 (index_Fast_Copy_Backward): Define.
85045 (HAS_ARCH_FEATURE): Define.
85046 (HAS_FAST_REP_STRING): Define.
85047 (HAS_FAST_COPY_BACKWARD): Define.
85048
85049 2010-06-21 Andreas Schwab <schwab@redhat.com>
85050
85051 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85052 Restore proper fallback handling.
85053
85054 2010-06-19 Ulrich Drepper <drepper@redhat.com>
85055
85056 [BZ #11701]
85057 * posix/group_member.c (__group_member): Correct checking loop.
85058
85059 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
85060 OOM in getpwuid_r correctly. Return error number when the caller
85061 should return, otherwise -1.
85062 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
85063 call returning > 0 value.
85064 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
85065
85066 2010-06-07 Andreas Schwab <schwab@redhat.com>
85067
85068 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
85069 libc_nonshared.a from targets in modules-names.
85070
85071 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
85072
85073 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
85074 requires it.
85075
85076 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
85077
85078 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
85079 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
85080 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
85081 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
85082
85083 2010-06-02 Andreas Schwab <schwab@redhat.com>
85084
85085 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
85086
85087 2010-06-14 Ulrich Drepper <drepper@redhat.com>
85088
85089 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
85090 and F_GETPIPE_SZ.
85091 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85092 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85093 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85094 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85095 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85096 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85097
85098 2010-06-14 Roland McGrath <roland@redhat.com>
85099
85100 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
85101
85102 2010-06-07 Jakub Jelinek <jakub@redhat.com>
85103
85104 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
85105 __REDIRECT followed by __THROW.
85106 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
85107 * posix/getopt.h (getopt): Likewise.
85108
85109 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
85110
85111 * hurd/lookup-at.c (__file_name_lookup_at): Accept
85112 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
85113 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
85114 in AT_FLAGS.
85115 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
85116 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
85117
85118 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
85119
85120 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
85121
85122 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
85123
85124 [BZ #11640]
85125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85126 Properly check family and model.
85127
85128 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
85129
85130 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
85131
85132 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
85133
85134 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
85135
85136 2010-05-21 Ulrich Drepper <drepper@redhat.com>
85137
85138 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
85139 symbol reference.
85140
85141 2010-05-19 Andreas Schwab <schwab@redhat.com>
85142
85143 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
85144 symbol reference.
85145
85146 2010-05-21 Andreas Schwab <schwab@redhat.com>
85147
85148 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
85149 and internal_recvmmsg.
85150 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
85151 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
85152 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
85153 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
85154
85155 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
85156 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
85157 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
85158
85159 2010-05-20 Andreas Schwab <schwab@redhat.com>
85160
85161 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
85162
85163 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
85164
85165 POWER7 optimizations.
85166 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
85167 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
85168
85169 2010-05-19 Ulrich Drepper <drepper@redhat.com>
85170
85171 * version.h: Update for 2.13 development version.
85172
85173 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
85174
85175 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
85176 exceptions. Return 0.
85177
85178 2010-05-07 Roland McGrath <roland@redhat.com>
85179
85180 * elf/ldconfig.c (main): Add a const.
85181
85182 2010-05-06 Ulrich Drepper <drepper@redhat.com>
85183
85184 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
85185 (args_options): Add no-idn option.
85186 (ahosts_keys_int): Add idn_flags to ai_flags.
85187 (parse_option): Handle 'i' option to clear idn_flags.
85188
85189 * malloc/malloc.c (_int_free): Possible race in the most recently
85190 added check. Only act on the data if no current modification
85191 happened.
85192
85193 See ChangeLog.17 for earlier changes.